Class MigrateLocalizedEntityChange

java.lang.Object
ch.tocco.nice2.dbrefactoring.impl.liquibase.MigrateLocalizedEntityChange
All Implemented Interfaces:
liquibase.change.custom.CustomChange, liquibase.change.custom.CustomTaskChange

public class MigrateLocalizedEntityChange extends Object implements liquibase.change.custom.CustomTaskChange
  • Constructor Details

    • MigrateLocalizedEntityChange

      public MigrateLocalizedEntityChange()
    • MigrateLocalizedEntityChange

      public MigrateLocalizedEntityChange(L10N l10n)
  • Method Details

    • execute

      public void execute(liquibase.database.Database database) throws liquibase.exception.CustomChangeException
      Specified by:
      execute in interface liquibase.change.custom.CustomTaskChange
      Throws:
      liquibase.exception.CustomChangeException
    • getConfirmationMessage

      public String getConfirmationMessage()
      Specified by:
      getConfirmationMessage in interface liquibase.change.custom.CustomChange
    • setUp

      public void setUp() throws liquibase.exception.SetupException
      Specified by:
      setUp in interface liquibase.change.custom.CustomChange
      Throws:
      liquibase.exception.SetupException
    • setFileOpener

      public void setFileOpener(liquibase.resource.ResourceAccessor resourceAccessor)
      Specified by:
      setFileOpener in interface liquibase.change.custom.CustomChange
    • validate

      public liquibase.exception.ValidationErrors validate(liquibase.database.Database database)
      Specified by:
      validate in interface liquibase.change.custom.CustomChange
    • getMapToLocalized

      public String getMapToLocalized()
    • setMapToLocalized

      public void setMapToLocalized(String mapToLocalized)
    • getSourceFields

      public String getSourceFields()
    • setSourceFields

      public void setSourceFields(String sourceFields)
    • getTargetFields

      public String getTargetFields()
    • setTargetFields

      public void setTargetFields(String targetFields)
    • getSourceTable

      public String getSourceTable()
    • setSourceTable

      public void setSourceTable(String sourceTable)
    • getTargetTable

      public String getTargetTable()
    • setTargetTable

      public void setTargetTable(String targetTable)
    • getWhereClause

      public String getWhereClause()
    • setWhereClause

      public void setWhereClause(String whereClause)
    • getMapLocalizedToLocalized

      public String getMapLocalizedToLocalized()
    • setMapLocalizedToLocalized

      public void setMapLocalizedToLocalized(String mapLocalizedToLocalized)