Class CallEntityListenerChange

java.lang.Object
ch.tocco.nice2.netui.actions.impl.call.CallEntityListenerChange
All Implemented Interfaces:
liquibase.change.custom.CustomChange, liquibase.change.custom.CustomTaskChange

public class CallEntityListenerChange extends Object implements liquibase.change.custom.CustomTaskChange
Used to copy entities from the one business unit to another Parameters: * listenerName name of the listener to be called * entityName name of the entity from which the listener should be called * where condition, which entities should be "touched" * fields comma seperated list of fields or relations to be "touched"
  • Constructor Details

    • CallEntityListenerChange

      public CallEntityListenerChange()
  • 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
    • getListenerName

      public String getListenerName()
    • setListenerName

      public void setListenerName(String listenerName)
    • getEntityName

      public String getEntityName()
    • setEntityName

      public void setEntityName(String entityName)
    • getWhere

      public String getWhere()
    • setWhere

      public void setWhere(String where)
    • getFields

      public String getFields()
    • setFields

      public void setFields(String fields)
    • getBusinessUnitId

      public String getBusinessUnitId()
    • setBusinessUnitId

      public void setBusinessUnitId(String businessUnitId)