Class AttributeHooks

java.lang.Object
edu.internet2.middleware.grouper.hooks.AttributeHooks
Direct Known Subclasses:
AttributeHooksImplExampleEmail, AttributeIncludeExcludeHook, AttributeSecurityFromTypeHook, GroupAttributeNameValidationAttrHook

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

    • METHOD_ATTRIBUTE_POST_COMMIT_DELETE

      public static final String METHOD_ATTRIBUTE_POST_COMMIT_DELETE
      constant for method name for: attributePostCommitDelete
      See Also:
    • METHOD_ATTRIBUTE_POST_COMMIT_INSERT

      public static final String METHOD_ATTRIBUTE_POST_COMMIT_INSERT
      constant for method name for: attributePostCommitInsert
      See Also:
    • METHOD_ATTRIBUTE_POST_COMMIT_UPDATE

      public static final String METHOD_ATTRIBUTE_POST_COMMIT_UPDATE
      constant for method name for: attributePostCommitUpdate
      See Also:
    • METHOD_ATTRIBUTE_POST_DELETE

      public static final String METHOD_ATTRIBUTE_POST_DELETE
      constant for method name for: attributePostDelete
      See Also:
    • METHOD_ATTRIBUTE_POST_INSERT

      public static final String METHOD_ATTRIBUTE_POST_INSERT
      constant for method name for: attributePostInsert
      See Also:
    • METHOD_ATTRIBUTE_POST_UPDATE

      public static final String METHOD_ATTRIBUTE_POST_UPDATE
      constant for method name for: attributePostUpdate
      See Also:
    • METHOD_ATTRIBUTE_PRE_DELETE

      public static final String METHOD_ATTRIBUTE_PRE_DELETE
      constant for method name for: attributePreDelete
      See Also:
    • METHOD_ATTRIBUTE_PRE_INSERT

      public static final String METHOD_ATTRIBUTE_PRE_INSERT
      constant for method name for: attributePreInsert
      See Also:
    • METHOD_ATTRIBUTE_PRE_UPDATE

      public static final String METHOD_ATTRIBUTE_PRE_UPDATE
      constant for method name for: attributePreUpdate
      See Also:
  • Constructor Details

    • AttributeHooks

      public AttributeHooks()
  • Method Details

    • attributePreUpdate

      public void attributePreUpdate(HooksContext hooksContext, HooksAttributeBean preUpdateBean)
      called right before a attribute update
      Parameters:
      hooksContext -
      preUpdateBean -
    • attributePostUpdate

      public void attributePostUpdate(HooksContext hooksContext, HooksAttributeBean postUpdateBean)
      called right after a attribute update
      Parameters:
      hooksContext -
      postUpdateBean -
    • attributePreInsert

      public void attributePreInsert(HooksContext hooksContext, HooksAttributeBean preInsertBean)
      called right before a attribute insert
      Parameters:
      hooksContext -
      preInsertBean -
    • attributePostInsert

      public void attributePostInsert(HooksContext hooksContext, HooksAttributeBean postInsertBean)
      called right after a attribute insert
      Parameters:
      hooksContext -
      postInsertBean -
    • attributePostCommitInsert

      public void attributePostCommitInsert(HooksContext hooksContext, HooksAttributeBean postCommitInsertBean)
      called right after the commit of a post insert commit. Note, cant veto this or participate in the tx
      Parameters:
      hooksContext -
      postCommitInsertBean -
    • attributePreDelete

      public void attributePreDelete(HooksContext hooksContext, HooksAttributeBean preDeleteBean)
      called right before a attribute delete
      Parameters:
      hooksContext -
      preDeleteBean -
    • attributePostDelete

      public void attributePostDelete(HooksContext hooksContext, HooksAttributeBean postDeleteBean)
      called right after a attribute delete
      Parameters:
      hooksContext -
      postDeleteBean -
    • attributePostCommitDelete

      public void attributePostCommitDelete(HooksContext hooksContext, HooksAttributeBean postCommitDeleteBean)
      called right after a commit involving a attribute delete commit
      Parameters:
      hooksContext -
      postCommitDeleteBean -
    • attributePostCommitUpdate

      public void attributePostCommitUpdate(HooksContext hooksContext, HooksAttributeBean postCommitUpdateBean)
      called right after a commit on a attribute update commit
      Parameters:
      hooksContext -
      postCommitUpdateBean -