Class WizardLabelMigrator
- java.lang.Object
-
- org.bidib.wizard.migration.labels.AbstractWizardLabelMigrator
-
- org.bidib.wizard.migration.labels.WizardLabelMigrator
-
public class WizardLabelMigrator 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 WizardLabelMigrator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodesfindAllNodesInWizardLabels(String searchpath)Find all nodes in wizard labels.protected NodesperformFindAllNodesInWizardLabels(String fileName, String transformationXSL, String searchpath)Search labels of one type.protected org.bidib.jbidibc.core.schema.bidiblabels.NodeLabelsperformWizardLabelsMigration(Map<String,String> params, String fileName, String migrationXSL, String searchpath)Search labels of one type.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, performFindNodes, performMigration
-
-
-
-
Method Detail
-
findAllNodesInWizardLabels
public Nodes findAllNodesInWizardLabels(String searchpath)
Find all nodes in wizard labels.- Specified by:
findAllNodesInWizardLabelsin classAbstractWizardLabelMigrator- Parameters:
searchpath- the search path- Returns:
- the node labels with all nodes
-
performFindAllNodesInWizardLabels
protected Nodes performFindAllNodesInWizardLabels(String fileName, String transformationXSL, String searchpath)
Description copied from class:AbstractWizardLabelMigratorSearch labels of one type.- Overrides:
performFindAllNodesInWizardLabelsin classAbstractWizardLabelMigrator- Parameters:
fileName- the filename to searchsearchpath- the search path- Returns:
- the labels or
nullif no labels were found
-
performWizardLabelsMigration
public org.bidib.jbidibc.core.schema.bidiblabels.NodeLabels performWizardLabelsMigration(ApplicationContext context, long uniqueId, String searchpath)
Perform 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 uniqueIddataXML- the data XML- Returns:
- the nodeLabels that were migrated from dataXML
-
performWizardLabelsMigration
protected org.bidib.jbidibc.core.schema.bidiblabels.NodeLabels performWizardLabelsMigration(Map<String,String> params, String fileName, String migrationXSL, String searchpath)
Description copied from class:AbstractWizardLabelMigratorSearch labels of one type.- Overrides:
performWizardLabelsMigrationin classAbstractWizardLabelMigrator- Parameters:
params- the paramsfileName- the filename to searchsearchpath- the search path- Returns:
- the labels or
nullif no labels were found
-
-