Class Bidib2LabelMigrator
- java.lang.Object
-
- org.bidib.wizard.migration.labels.AbstractWizardLabelMigrator
-
- org.bidib.wizard.migration.labels.Bidib2LabelMigrator
-
public class Bidib2LabelMigrator extends AbstractWizardLabelMigrator
-
-
Field Summary
-
Fields inherited from class org.bidib.wizard.migration.labels.AbstractWizardLabelMigrator
INPUT2_XSL, INPUT2A_XSL, KEY_MIGRATIONXSL
-
-
Constructor Summary
Constructors Constructor Description Bidib2LabelMigrator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NodesfindAllNodesInWizardLabels(String searchpath)Find all nodes in wizard labels.static StringmoveSourceFileToBackupDir(String searchpath, long uniqueId)org.bidib.jbidibc.core.schema.bidiblabels.NodeLabelsperformWizardLabelsMigration(ApplicationContext context, long uniqueId, String searchpath)Perform migration from wizard labels to new node labels.-
Methods inherited from class org.bidib.wizard.migration.labels.AbstractWizardLabelMigrator
appendNodeLabels, doTransform, migrateAndAppendWizardPortLabels, performFindAllNodesInWizardLabels, performFindNodes, performMigration, performWizardLabelsMigration
-
-
-
-
Method Detail
-
moveSourceFileToBackupDir
public static String moveSourceFileToBackupDir(String searchpath, long uniqueId)
-
performWizardLabelsMigration
public org.bidib.jbidibc.core.schema.bidiblabels.NodeLabels performWizardLabelsMigration(ApplicationContext context, long uniqueId, String searchpath)
Description copied from class:AbstractWizardLabelMigratorPerform migration from wizard labels to new node labels.The old wizard labels of a node must be collected from multiple files, because each label type has it's own file.
- Specified by:
performWizardLabelsMigrationin classAbstractWizardLabelMigrator- Parameters:
context- the migration contextuniqueId- the uniqueId- Returns:
- the nodeLabels that were migrated from dataXML
-
findAllNodesInWizardLabels
public Nodes findAllNodesInWizardLabels(String searchpath)
Description copied from class:AbstractWizardLabelMigratorFind all nodes in wizard labels.- Specified by:
findAllNodesInWizardLabelsin classAbstractWizardLabelMigrator- Parameters:
searchpath- the search path- Returns:
- the node labels with all nodes
-
-