Class FieldHooks

java.lang.Object
edu.internet2.middleware.grouper.hooks.FieldHooks

public abstract class FieldHooks extends Object
Extend this class and configure in grouper.properties for hooks on field related actions
  • Field Details

    • METHOD_FIELD_POST_COMMIT_DELETE

      public static final String METHOD_FIELD_POST_COMMIT_DELETE
      constant for method name for: fieldPostCommitDelete
      See Also:
    • METHOD_FIELD_POST_COMMIT_INSERT

      public static final String METHOD_FIELD_POST_COMMIT_INSERT
      constant for method name for: fieldPostCommitInsert
      See Also:
    • METHOD_FIELD_POST_COMMIT_UPDATE

      public static final String METHOD_FIELD_POST_COMMIT_UPDATE
      constant for method name for: fieldPostCommitUpdate
      See Also:
    • METHOD_FIELD_POST_DELETE

      public static final String METHOD_FIELD_POST_DELETE
      constant for method name for: fieldPostDelete
      See Also:
    • METHOD_FIELD_POST_INSERT

      public static final String METHOD_FIELD_POST_INSERT
      constant for method name for: fieldPostInsert
      See Also:
    • METHOD_FIELD_POST_UPDATE

      public static final String METHOD_FIELD_POST_UPDATE
      constant for method name for: fieldPostUpdate
      See Also:
    • METHOD_FIELD_PRE_DELETE

      public static final String METHOD_FIELD_PRE_DELETE
      constant for method name for: fieldPreDelete
      See Also:
    • METHOD_FIELD_PRE_INSERT

      public static final String METHOD_FIELD_PRE_INSERT
      constant for method name for: fieldPreInsert
      See Also:
    • METHOD_FIELD_PRE_UPDATE

      public static final String METHOD_FIELD_PRE_UPDATE
      constant for method name for: fieldPreUpdate
      See Also:
  • Constructor Details

    • FieldHooks

      public FieldHooks()
  • Method Details

    • fieldPreUpdate

      public void fieldPreUpdate(HooksContext hooksContext, HooksFieldBean preUpdateBean)
      called right before a field update
      Parameters:
      hooksContext -
      preUpdateBean -
    • fieldPostUpdate

      public void fieldPostUpdate(HooksContext hooksContext, HooksFieldBean postUpdateBean)
      called right after a field update
      Parameters:
      hooksContext -
      postUpdateBean -
    • fieldPreInsert

      public void fieldPreInsert(HooksContext hooksContext, HooksFieldBean preInsertBean)
      called right before a field insert
      Parameters:
      hooksContext -
      preInsertBean -
    • fieldPostInsert

      public void fieldPostInsert(HooksContext hooksContext, HooksFieldBean postInsertBean)
      called right after a field insert
      Parameters:
      hooksContext -
      postInsertBean -
    • fieldPreDelete

      public void fieldPreDelete(HooksContext hooksContext, HooksFieldBean preDeleteBean)
      called right before a field delete
      Parameters:
      hooksContext -
      preDeleteBean -
    • fieldPostDelete

      public void fieldPostDelete(HooksContext hooksContext, HooksFieldBean postDeleteBean)
      called right after a field delete
      Parameters:
      hooksContext -
      postDeleteBean -
    • fieldPostCommitDelete

      public void fieldPostCommitDelete(HooksContext hooksContext, HooksFieldBean postCommitDeleteBean)
      called right after a field delete commit
      Parameters:
      hooksContext -
      postCommitDeleteBean -
    • fieldPostCommitInsert

      public void fieldPostCommitInsert(HooksContext hooksContext, HooksFieldBean postCommitInsertBean)
      called right after a field insert commit
      Parameters:
      hooksContext -
      postCommitInsertBean -
    • fieldPostCommitUpdate

      public void fieldPostCommitUpdate(HooksContext hooksContext, HooksFieldBean postCommitUpdateBean)
      called right after a field update commit
      Parameters:
      hooksContext -
      postCommitUpdateBean -