|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portalpages.admin.ptutilities.migrationutility.PTMigrationTask com.plumtree.portalpages.admin.ptutilities.migrationutility.exp.PTExportMigrationTask
public class PTExportMigrationTask
This class is what calls the actual server migration code. It runs in a separate thread to prevent UI timeouts.
Field Summary | |
---|---|
protected XPHashtable |
m_htMWSPropBags
Hashtable of MWS property bags to send. |
protected IPTSession |
m_ptSession
IPTSession |
protected XPHashtable |
m_xphtUUIDs
Hashtable of migrated objects Key=UUID; Value=IPTMigrationElement |
static java.lang.String |
PACKAGE_DESCRIPTION
|
static java.lang.String |
PACKAGE_NAME
|
static java.lang.String |
PUBLISHER_NAME
|
Fields inherited from class com.plumtree.portalpages.admin.ptutilities.migrationutility.PTMigrationTask |
---|
CANCEL, CREATED, DONE, FAILED, INPROGRESS, m_intStatus, m_MigrationManager |
Constructor Summary | |
---|---|
PTExportMigrationTask(IPTMigrationManager _MigrationManager,
IPTSession _ptSession,
PTGrowableSortedArrayWrapper _saData,
java.lang.String _strName,
java.lang.String _strDescription,
java.lang.String _strPublisher,
boolean exportParentFoldersWhenExportDeps)
|
Method Summary | |
---|---|
void |
ExportAdminFolderContents(IPTAdminCatalog ptAC,
IPTAdminFolder ptAF,
boolean bExportAllDependencies)
Recursively export all contents of the given IPTAdminFolder |
void |
ExportDependentObjects(IPTMigrationElement ptME,
boolean bExportAllDependencies,
DependencyBundle dbOrig)
Recursively export all dependencies of the given IPTMigrationElement |
void |
ExportDirectoryFolderContents(IPTCatalog ptCatalog,
IPTFolder ptFolder,
boolean bExportAllDependencies)
Recursively export all contents of the given IPTFolder. |
XPArrayList |
GetMWSMessages()
|
static boolean |
IsNonMigratableObject(int nClassID,
int nObjectID)
Check for any migration restrictions |
void |
run()
Performs the actual migration. |
void |
SetMWSPropBags(XPHashtable _htMWSPropBags)
Set the hashtable of property bags to send to MWS's. |
void |
WriteExportPackage()
Write package content to file |
Methods inherited from class com.plumtree.portalpages.admin.ptutilities.migrationutility.PTMigrationTask |
---|
Cancel, GetStatus |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PACKAGE_NAME
public static final java.lang.String PACKAGE_DESCRIPTION
public static final java.lang.String PUBLISHER_NAME
protected XPHashtable m_xphtUUIDs
protected IPTSession m_ptSession
protected XPHashtable m_htMWSPropBags
Constructor Detail |
---|
public PTExportMigrationTask(IPTMigrationManager _MigrationManager, IPTSession _ptSession, PTGrowableSortedArrayWrapper _saData, java.lang.String _strName, java.lang.String _strDescription, java.lang.String _strPublisher, boolean exportParentFoldersWhenExportDeps)
exportParentFoldersWhenExportDeps
- If true, export parent folders when exporting dependenciesMethod Detail |
---|
public void run()
run
in class PTMigrationTask
public void WriteExportPackage()
public XPArrayList GetMWSMessages()
GetMWSMessages
in class PTMigrationTask
public void ExportDependentObjects(IPTMigrationElement ptME, boolean bExportAllDependencies, DependencyBundle dbOrig)
ptME
- bExportAllDependencies
- dbOrig
- public void ExportAdminFolderContents(IPTAdminCatalog ptAC, IPTAdminFolder ptAF, boolean bExportAllDependencies)
ptME
- bExportAllDependencies
- dbOrig
- public void ExportDirectoryFolderContents(IPTCatalog ptCatalog, IPTFolder ptFolder, boolean bExportAllDependencies)
ptME
- bExportAllDependencies
- dbOrig
- public static boolean IsNonMigratableObject(int nClassID, int nObjectID)
nClassID
- nObjectID
-
public void SetMWSPropBags(XPHashtable _htMWSPropBags)
_htMWSPropBags
-
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |