public class ProjectMigrator extends NodeMigrator
NodeMigrator.getNodeMigrator(java.lang.String) specifying the name identifier: MIGRATOR_NAME. Migrator helpers registered with the ProjectMigrator will execute after migrator helpers registered with WorkspaceMigrator.| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
MIGRATOR_NAME
String identifier used to lookup a specific node migrator. 
 | 
MIGRATOR_MAP_DATA| Constructor and Description | 
|---|
ProjectMigrator()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
callHelpersMigrate(MigrationInfo info, TraversableContext context)  | 
protected NodeMigratorHelperReference[] | 
getHelperReferences(MigrationInfo info)
Returns references to NodeMigratorHelpers that are newer than the version number stored in the project file. 
 | 
protected NodeMigratorHelper[] | 
getHelpers(MigrationInfo info)
Deprecated.  
 | 
MigrationInfo | 
getMigrationInfo(Node node)
Get the current  
MigrationInfo for the specified node. | 
protected java.lang.String | 
getMsg(MigrationInfo[] infos)
Get the wizard welcome page message. 
 | 
protected java.lang.String | 
getSummaryMsg(MigrationInfo[] infos)
Get the message for the wizard summary page. 
 | 
protected java.lang.String | 
getTitle()
Get the wizard title. 
 | 
protected float | 
getWeight()
Returns the weight which we wish to give to the migrator when migrating it. 
 | 
protected NodeMigratorHook.MigratorType | 
migratorType()  | 
protected void | 
postMigrate(MigrationInfo[] infos, TraversableContext context)
Method called after migration is complete. 
 | 
protected void | 
preMigrate(MigrationInfo[] infos, TraversableContext context)
Method called before migration is initiated. 
 | 
addHelper, callHelperMigrate, checkVersioning, checkVersions, doMigration, doMigration, finishMigration, getHelperReferences, getHelpers, getInfoToMigratorMap, getLookupKey, getMigrationInfos, getNodeMigrator, getPages, getTraversableContext, invokeWizard, mapInfoToMigrator, migrate, migrate, removeHelperpublic static final java.lang.String MIGRATOR_NAME
protected NodeMigratorHook.MigratorType migratorType()
migratorType in class NodeMigratorprotected void callHelpersMigrate(MigrationInfo info, TraversableContext context)
callHelpersMigrate in class NodeMigratorprotected void preMigrate(MigrationInfo[] infos, TraversableContext context)
NodeMigratorpreMigrate in class NodeMigratorinfos - information about the nodes that may require migration. All nodes held in the MigrationInfo must be of the same type.context - contains a Map that can be obtained from the context using the name identifier: NodeMigrator.MIGRATOR_MAP_DATA. The information needed to do the migration is held by this map.protected void postMigrate(MigrationInfo[] infos, TraversableContext context)
NodeMigratorpostMigrate in class NodeMigratorinfos - information about the nodes that may require migration. All nodes held in the MigrationInfo must be of the same type.context - contains addin specific migration data that is passed on to the helpers such that they can use that information when migrating their data.protected java.lang.String getMsg(MigrationInfo[] infos)
NodeMigratorgetMsg in class NodeMigratorprotected java.lang.String getTitle()
NodeMigratorgetTitle in class NodeMigratorprotected java.lang.String getSummaryMsg(MigrationInfo[] infos)
NodeMigratorgetSummaryMsg in class NodeMigratorprotected float getWeight()
NodeMigratorgetWeight in class NodeMigratorpublic MigrationInfo getMigrationInfo(Node node)
NodeMigratorMigrationInfo for the specified node.getMigrationInfo in class NodeMigratornode - the target node for which migration information is being requested.@Deprecated protected NodeMigratorHelper[] getHelpers(MigrationInfo info)
NodeMigratorNodeMigratorHelpers that are newer than the version number stored in the project file.getHelpers in class NodeMigratorprotected NodeMigratorHelperReference[] getHelperReferences(MigrationInfo info)
NodeMigratorgetHelperReferences in class NodeMigrator