public interface IPrivateExportImportService extends IExportImportService
IExportImportService
.
Copyright 2007 SAP AG
KEY
Modifier and Type | Method and Description |
---|---|
void |
checkConcurrentTransports(IPackage tp,
IResourceContext ctx)
Checks if the specified transport package
tp can be processed or is in conflict
with another running export resp. import. |
IExportPackage |
deserializeExportPackage(IPropertyMap props)
Deserializes the export package that is represented by the specified resource properties.
|
IImportPackage |
deserializeImportPackage(IPropertyMap props)
Deserializes the import package that is represented by the specified resource properties.
|
com.sap.tc.di.draft.ts.TransportRequest |
getCtsTransport(IResourceContext ctx)
Gets the default CTS transport request.
|
com.sap.tc.di.draft.ts.TransportRequest |
getCtsTransport(IResourceContext ctx,
boolean refreshMode)
Gets the default CTS transport request.
|
com.sap.tc.di.draft.ts.TransportRequest |
getCtsTransport(String id,
IResourceContext ctx)
Gets the CTS transport request with the specified identifier.
|
String |
getCtsUi(com.sap.tc.di.draft.ts.TransportRequest req,
IResourceContext ctx)
Gets the URL of the user interface for selecting a transport request.
|
boolean |
isCtsConnected(IResourceContext ctx)
Checks if the connection to CTS service is established.
|
void |
saveAsTemplate(IPackage tp,
String name,
IResourceContext ctx)
Saves the transport package
tp as template that can later be reused. |
void |
updatePendingImports()
Updates the list of pending imports.
|
RID |
useTemplate(IPackage tp,
IResourceContext ctx)
Uses the template represented by transport package
tp as new pending export
package. |
createExportPackage, createImportPackage, retransmitExport, startExport, startImport
void checkConcurrentTransports(IPackage tp, IResourceContext ctx) throws ConflictException, TransportException
tp
can be processed or is in conflict
with another running export resp. import.
Two transport packages are in conflict if both conditions hold true:
Examples:
tp
- the transport package to be checkedctx
- the resource context for authorizationConflictException
- if a conflict has been foundTransportException
- on errorvoid saveAsTemplate(IPackage tp, String name, IResourceContext ctx) throws TransportException
tp
as template that can later be reused.tp
- the transport package to be saved as templatename
- the name to be used for the templatectx
- the resource context for authorizationTransportException
- on errorRID useTemplate(IPackage tp, IResourceContext ctx) throws TransportException
tp
as new pending export
package.tp
- the template transport package to be usedctx
- the resource context for authorizationTransportException
- on errorboolean isCtsConnected(IResourceContext ctx)
ctx
- the resource context for authorizationtrue
if connection is established, false
otherwiseString getCtsUi(com.sap.tc.di.draft.ts.TransportRequest req, IResourceContext ctx)
req
- the transport request to be preselected (or null
)ctx
- the resource context for authorizationnull
com.sap.tc.di.draft.ts.TransportRequest getCtsTransport(IResourceContext ctx) throws com.sap.tc.di.draft.ts.TsException
ctx
- the resource context for authorizationnull
if no one specified)com.sap.tc.di.draft.ts.TsException
- if CTS cannot be accessedcom.sap.tc.di.draft.ts.TransportRequest getCtsTransport(String id, IResourceContext ctx) throws com.sap.tc.di.draft.ts.TsException
id
- the identifier of the request to be retrievedctx
- the resource context for authorizationnull
if not found)com.sap.tc.di.draft.ts.TsException
- if CTS cannot be accessedvoid updatePendingImports() throws TransportException
TransportException
- on errorIExportPackage deserializeExportPackage(IPropertyMap props) throws TransportException
props
- the resource properties representing the export packageTransportException
- on errorIImportPackage deserializeImportPackage(IPropertyMap props) throws TransportException
props
- the resource properties representing the import packageTransportException
- on errorcom.sap.tc.di.draft.ts.TransportRequest getCtsTransport(IResourceContext ctx, boolean refreshMode) throws com.sap.tc.di.draft.ts.TsException
ctx
- the resource context for authorizationrefreshMode
- parameter for the new CTS+ API (create mode)null
if no one specified)com.sap.tc.di.draft.ts.TsException
- if CTS cannot be accessedAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice