trm-client
Version:
TRM (Transport Request Manager) Client
109 lines (108 loc) • 8.96 kB
JavaScript
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.NoConnection = void 0;
class NoConnection {
constructor() {
this.supportedBulk = {
getExistingObjects: false,
getTransportObjects: false
};
this.getConnectionData = () => this._throw();
this.getDest = () => 'NONE';
this.getLogonLanguage = (c) => {
if (c) {
return 'X';
}
else {
return 'XX';
}
};
this.getLogonUser = () => 'NONE';
this.connect = () => __awaiter(this, void 0, void 0, function* () {
return;
});
this.checkConnection = () => __awaiter(this, void 0, void 0, function* () { return true; });
this.ping = () => __awaiter(this, void 0, void 0, function* () { return 'PONG'; });
this.getFileSystem = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.getDirTrans = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.getBinaryFile = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.writeBinaryFile = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.createTocTransport = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.createWbTransport = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.setTransportDoc = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.addToTransportRequest = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.repositoryEnvironment = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.deleteTrkorr = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.releaseTrkorr = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.addSkipTrkorr = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.addSrcTrkorr = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.readTmsQueue = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.createPackage = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.getDefaultTransportLayer = () => __awaiter(this, void 0, void 0, function* () { return 'NONE'; });
this.tadirInterface = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.dequeueTransport = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.forwardTransport = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.importTransport = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.setInstallDevc = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.getObjectsList = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.renameTransportRequest = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.setPackageIntegrity = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.addTranslationToTr = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.trCopy = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.getTransportObjectsBulk = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.getExistingObjectsBulk = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.addNamespace = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.getMessage = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.getTransportStatus = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.getPackageWorkbenchTransport = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.getSourceTrkorr = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.getIgnoredTrkorr = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.getObject = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.getInstalledPackages = () => __awaiter(this, void 0, void 0, function* () {
return [];
});
this.getDevclass = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.getTransportTargets = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.getSubpackages = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.getDevclassObjects = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.getInstallPackages = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.setPackageSuperpackage = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.clearPackageSuperpackage = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.setPackageTransportLayer = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.checkSapEntryExists = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.getPackageIntegrity = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.getFunctionModule = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.getExistingObjects = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.getNamespace = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.getR3transVersion = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.getR3transUnicode = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.isTransportLayerExist = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.getTrmServerPackage = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.getTrmRestPackage = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.removeComments = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.removeSkipTrkorr = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.migrateTransport = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.deleteTmsTransport = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.refreshTransportTmsTxt = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.getDotAbapgit = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.getAbapgitSource = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.executePostActivity = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.readClassDescriptions = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.isServerApisAllowed = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
this.changeTrOwner = () => __awaiter(this, void 0, void 0, function* () { return this._throw(); });
}
_throw() {
throw new Error(`No connection to SAP server.`);
return null;
}
}
exports.NoConnection = NoConnection;