public interface IExportImportService
NOTE: This interface should be used by applications that need this functionality. It must NOT be implemented by other applications.
KM content that can be exported comprises:
.kmc)Copyright 2007 SAP AG
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY
identifier that can be used to lookup this KM global service
|
| Modifier and Type | Method and Description |
|---|---|
IExportPackage |
createExportPackage(String name,
IResourceContext ctx)
Creates a new export package.
|
IImportPackage |
createImportPackage(File file,
IResourceContext ctx)
Creates a new import package.
|
void |
retransmitExport(IExportPackage ep,
IResourceContext ctx,
boolean async)
Retransmits the already exported package
ep to OTO/CTS server. |
void |
startExport(IExportPackage ep,
IResourceContext ctx,
boolean async)
Exports the package
ep to the filesystem. |
void |
startImport(IImportPackage ip,
IImportPackage.ImportMode mode,
IResourceContext ctx,
boolean async)
Imports the package
ip from the filesystem. |
static final String KEY
IExportPackage createExportPackage(String name, IResourceContext ctx)
name - the name of the packagectx - the resource context for authorizationIImportPackage createImportPackage(File file, IResourceContext ctx)
file - the file representing the import packagectx - the resource context for authorizationvoid startExport(IExportPackage ep, IResourceContext ctx, boolean async) throws TransportException
ep to the filesystem.ep - the transport package to be exportedctx - the resource context for authorizationasync - true if the export should be processed asynchronously in another
thread, false otherwiseTransportException - on errorvoid retransmitExport(IExportPackage ep, IResourceContext ctx, boolean async) throws TransportException
ep to OTO/CTS server.ep - the transport package to be retransmittedctx - the resource context for authorizationasync - true if the retransmit should be processed asynchronously in
another thread, false otherwiseTransportException - on errorvoid startImport(IImportPackage ip, IImportPackage.ImportMode mode, IResourceContext ctx, boolean async) throws TransportException
ip from the filesystem.ip - the transport package to be importedmode - the import mode specifying how to deal with collisionsctx - the resource context for authorizationasync - true if the export should be processed asynchronously in another
thread, false otherwiseTransportException - on error| Access 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 2021 SAP SE Complete Copyright Notice