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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(liquibase.database.Database database) getWhere()voidsetBusinessUnitId(String businessUnitId) voidsetEntityName(String entityName) voidvoidsetFileOpener(liquibase.resource.ResourceAccessor resourceAccessor) voidsetListenerName(String listenerName) voidsetUp()voidliquibase.exception.ValidationErrorsvalidate(liquibase.database.Database database)
-
Constructor Details
-
CallEntityListenerChange
public CallEntityListenerChange()
-
-
Method Details
-
execute
public void execute(liquibase.database.Database database) throws liquibase.exception.CustomChangeException - Specified by:
executein interfaceliquibase.change.custom.CustomTaskChange- Throws:
liquibase.exception.CustomChangeException
-
getConfirmationMessage
- Specified by:
getConfirmationMessagein interfaceliquibase.change.custom.CustomChange
-
setUp
public void setUp() throws liquibase.exception.SetupException- Specified by:
setUpin interfaceliquibase.change.custom.CustomChange- Throws:
liquibase.exception.SetupException
-
setFileOpener
public void setFileOpener(liquibase.resource.ResourceAccessor resourceAccessor) - Specified by:
setFileOpenerin interfaceliquibase.change.custom.CustomChange
-
validate
public liquibase.exception.ValidationErrors validate(liquibase.database.Database database) - Specified by:
validatein interfaceliquibase.change.custom.CustomChange
-
getListenerName
-
setListenerName
-
getEntityName
-
setEntityName
-
getWhere
-
setWhere
-
getFields
-
setFields
-
getBusinessUnitId
-
setBusinessUnitId
-