Class BaseObjectTrigger<T>
java.lang.Object
com.axemble.vdoc.sdk.triggers.base.BaseTrigger<T>
com.axemble.vdoc.sdk.triggers.base.BaseObjectTrigger<T>
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onAfterDelete
(T object) This method gets called after deleting an objectvoid
onAfterSave
(T object) This method gets called after saving an objectvoid
onBeforeCreate
(T object) This method gets called before creating an objectvoid
onBeforeDelete
(T object) This method gets called before deleting an objectvoid
onBeforeSave
(T object) This method gets called before saving an objectvoid
onFieldChanged
(T object, String fieldName, Object oldValue, Object newValue) This method gets called when a field referenced in the trigger definition is modifiedMethods inherited from class com.axemble.vdoc.sdk.triggers.base.BaseTrigger
fireEvent, getCompletionStatus, getConfiguration, getContext, getEventContext, getEventId, setCompletionStatus, setCompletionTotal, setCurrentTask, setEventContext
-
Constructor Details
-
BaseObjectTrigger
public BaseObjectTrigger()
-
-
Method Details
-
onBeforeCreate
This method gets called before creating an object -
onBeforeSave
This method gets called before saving an object -
onAfterSave
This method gets called after saving an object -
onBeforeDelete
This method gets called before deleting an object -
onAfterDelete
This method gets called after deleting an object -
onFieldChanged
This method gets called when a field referenced in the trigger definition is modified
-