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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(liquibase.database.Database database) getWhere()
void
setBusinessUnitId
(String businessUnitId) void
setEntityName
(String entityName) void
void
setFileOpener
(liquibase.resource.ResourceAccessor resourceAccessor) void
setListenerName
(String listenerName) void
setUp()
void
liquibase.exception.ValidationErrors
validate
(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:
execute
in interfaceliquibase.change.custom.CustomTaskChange
- Throws:
liquibase.exception.CustomChangeException
-
getConfirmationMessage
- Specified by:
getConfirmationMessage
in interfaceliquibase.change.custom.CustomChange
-
setUp
public void setUp() throws liquibase.exception.SetupException- Specified by:
setUp
in interfaceliquibase.change.custom.CustomChange
- Throws:
liquibase.exception.SetupException
-
setFileOpener
public void setFileOpener(liquibase.resource.ResourceAccessor resourceAccessor) - Specified by:
setFileOpener
in interfaceliquibase.change.custom.CustomChange
-
validate
public liquibase.exception.ValidationErrors validate(liquibase.database.Database database) - Specified by:
validate
in interfaceliquibase.change.custom.CustomChange
-
getListenerName
-
setListenerName
-
getEntityName
-
setEntityName
-
getWhere
-
setWhere
-
getFields
-
setFields
-
getBusinessUnitId
-
setBusinessUnitId
-