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

public abstract class BaseObjectTrigger<T> extends BaseTrigger<T>
See Also:
  • Constructor Details

    • BaseObjectTrigger

      public BaseObjectTrigger()
  • Method Details

    • onBeforeCreate

      public void onBeforeCreate(T object)
      This method gets called before creating an object
    • onBeforeSave

      public void onBeforeSave(T object)
      This method gets called before saving an object
    • onAfterSave

      public void onAfterSave(T object)
      This method gets called after saving an object
    • onBeforeDelete

      public void onBeforeDelete(T object)
      This method gets called before deleting an object
    • onAfterDelete

      public void onAfterDelete(T object)
      This method gets called after deleting an object
    • onFieldChanged

      public void onFieldChanged(T object, String fieldName, Object oldValue, Object newValue)
      This method gets called when a field referenced in the trigger definition is modified