Class Bidib2LabelMigrator

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

public class Bidib2LabelMigrator extends AbstractWizardLabelMigrator
  • Constructor Details

    • Bidib2LabelMigrator

      public Bidib2LabelMigrator()
  • Method Details

    • 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: AbstractWizardLabelMigrator
      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
      Returns:
      the nodeLabels that were migrated from dataXML
    • findAllNodesInWizardLabels

      public Nodes findAllNodesInWizardLabels(String searchpath)
      Description copied from class: AbstractWizardLabelMigrator
      Find all nodes in wizard labels.
      Specified by:
      findAllNodesInWizardLabels in class AbstractWizardLabelMigrator
      Parameters:
      searchpath - the search path
      Returns:
      the node labels with all nodes