Class WizardLabelMigrator

java.lang.Object
org.bidib.wizard.migration.labels.AbstractWizardLabelMigrator
org.bidib.wizard.migration.labels.WizardLabelMigrator

public class WizardLabelMigrator extends AbstractWizardLabelMigrator
  • Constructor Details

    • WizardLabelMigrator

      public WizardLabelMigrator()
  • Method Details

    • findAllNodesInWizardLabels

      public Nodes findAllNodesInWizardLabels(String searchpath)
      Find all nodes in wizard labels.
      Specified by:
      findAllNodesInWizardLabels in class AbstractWizardLabelMigrator
      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: AbstractWizardLabelMigrator
      Search labels of one type.
      Overrides:
      performFindAllNodesInWizardLabels in class AbstractWizardLabelMigrator
      Parameters:
      fileName - the filename to search
      searchpath - the search path
      Returns:
      the labels or null if 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:
      performWizardLabelsMigration in class AbstractWizardLabelMigrator
      Parameters:
      context - the migration context
      uniqueId - the uniqueId
      dataXML - 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: AbstractWizardLabelMigrator
      Search labels of one type.
      Overrides:
      performWizardLabelsMigration in class AbstractWizardLabelMigrator
      Parameters:
      params - the params
      fileName - the filename to search
      searchpath - the search path
      Returns:
      the labels or null if no labels were found