Class Bidib2LabelMigrator
java.lang.Object
org.bidib.wizard.migration.labels.AbstractWizardLabelMigrator
org.bidib.wizard.migration.labels.Bidib2LabelMigrator
-
Field Summary
Fields inherited from class org.bidib.wizard.migration.labels.AbstractWizardLabelMigrator
INPUT2_XSL, INPUT2A_XSL, KEY_MIGRATIONXSL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindAllNodesInWizardLabels(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
-
Constructor Details
-
Bidib2LabelMigrator
public Bidib2LabelMigrator()
-
-
Method Details
-
moveSourceFileToBackupDir
-
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
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
-