Class AttributeDefHooks

java.lang.Object
edu.internet2.middleware.grouper.hooks.AttributeDefHooks
Direct Known Subclasses:
AttributeDefAttributeNameValidationHook, AttributeDefUniqueNameCaseInsensitiveHook, UniqueObjectAttributeDefHook

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

    • METHOD_ATTRIBUTE_DEF_POST_COMMIT_DELETE

      public static final String METHOD_ATTRIBUTE_DEF_POST_COMMIT_DELETE
      constant for method name for: attributeDefPostCommitDelete
      See Also:
    • METHOD_ATTRIBUTE_DEF_POST_COMMIT_INSERT

      public static final String METHOD_ATTRIBUTE_DEF_POST_COMMIT_INSERT
      constant for method name for: attributeDefPostCommitInsert
      See Also:
    • METHOD_ATTRIBUTE_DEF_POST_COMMIT_UPDATE

      public static final String METHOD_ATTRIBUTE_DEF_POST_COMMIT_UPDATE
      constant for method name for: attributeDefPostCommitUpdate
      See Also:
    • METHOD_ATTRIBUTE_DEF_POST_DELETE

      public static final String METHOD_ATTRIBUTE_DEF_POST_DELETE
      constant for method name for: attributeDefPostDelete
      See Also:
    • METHOD_ATTRIBUTE_DEF_POST_INSERT

      public static final String METHOD_ATTRIBUTE_DEF_POST_INSERT
      constant for method name for: attributeDefPostInsert
      See Also:
    • METHOD_ATTRIBUTE_DEF_POST_UPDATE

      public static final String METHOD_ATTRIBUTE_DEF_POST_UPDATE
      constant for method name for: attributeDefPostUpdate
      See Also:
    • METHOD_ATTRIBUTE_DEF_PRE_DELETE

      public static final String METHOD_ATTRIBUTE_DEF_PRE_DELETE
      constant for method name for: attributeDefPreDelete
      See Also:
    • METHOD_ATTRIBUTE_DEF_PRE_INSERT

      public static final String METHOD_ATTRIBUTE_DEF_PRE_INSERT
      constant for method name for: attributeDefPreInsert
      See Also:
    • METHOD_ATTRIBUTE_DEF_PRE_UPDATE

      public static final String METHOD_ATTRIBUTE_DEF_PRE_UPDATE
      constant for method name for: attributeDefPreUpdate
      See Also:
  • Constructor Details

    • AttributeDefHooks

      public AttributeDefHooks()
  • Method Details

    • attributeDefPreUpdate

      public void attributeDefPreUpdate(HooksContext hooksContext, HooksAttributeDefBean preUpdateBean)
      called right before a attribute update
      Parameters:
      hooksContext -
      preUpdateBean -
    • attributeDefPostUpdate

      public void attributeDefPostUpdate(HooksContext hooksContext, HooksAttributeDefBean postUpdateBean)
      called right after a attribute update
      Parameters:
      hooksContext -
      postUpdateBean -
    • attributeDefPreInsert

      public void attributeDefPreInsert(HooksContext hooksContext, HooksAttributeDefBean preInsertBean)
      called right before a attribute insert
      Parameters:
      hooksContext -
      preInsertBean -
    • attributeDefPostInsert

      public void attributeDefPostInsert(HooksContext hooksContext, HooksAttributeDefBean postInsertBean)
      called right after a attribute insert
      Parameters:
      hooksContext -
      postInsertBean -
    • attributeDefPostCommitInsert

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

      public void attributeDefPreDelete(HooksContext hooksContext, HooksAttributeDefBean preDeleteBean)
      called right before a attribute delete
      Parameters:
      hooksContext -
      preDeleteBean -
    • attributeDefPostDelete

      public void attributeDefPostDelete(HooksContext hooksContext, HooksAttributeDefBean postDeleteBean)
      called right after a attribute delete
      Parameters:
      hooksContext -
      postDeleteBean -
    • attributeDefPostCommitDelete

      public void attributeDefPostCommitDelete(HooksContext hooksContext, HooksAttributeDefBean postCommitDeleteBean)
      called right after a commit involving a attribute delete commit
      Parameters:
      hooksContext -
      postCommitDeleteBean -
    • attributeDefPostCommitUpdate

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