com.plumtree.server
Interface IPTMigrationProvider


public interface IPTMigrationProvider

Interface for Migration providers which allow remote applications to plug migration features into the migration utility.

Author:
jennifersu

Method Summary
 java.lang.String ExportPackage(com.plumtree.openfoundation.util.IXPPropertyBag pbagMigrationInfo, int[] classIDs, int[] objectIDs)
          Exports resources based on property bag of SCI settings.
 int ImportPackage(com.plumtree.openfoundation.util.IXPPropertyBag pbagMigrationInfo, java.lang.String strPackageData)
          Imports resources based on a property bag of SCI settings, and XML data extracted from the import package.
 

Method Detail

ExportPackage

java.lang.String ExportPackage(com.plumtree.openfoundation.util.IXPPropertyBag pbagMigrationInfo,
                               int[] classIDs,
                               int[] objectIDs)
Exports resources based on property bag of SCI settings.

Parameters:
pbagMigrationInfo - migration settings
Returns:
String - package data to be inserted as XML in the file

ImportPackage

int ImportPackage(com.plumtree.openfoundation.util.IXPPropertyBag pbagMigrationInfo,
                  java.lang.String strPackageData)
Imports resources based on a property bag of SCI settings, and XML data extracted from the import package.

Parameters:
pbagMigrationInfo - migration settings
strPackageData - - XML package data extracted from the import file
Returns:
int - number of resources successfully imported