Class AttributeDefNameHooks

java.lang.Object
edu.internet2.middleware.grouper.hooks.AttributeDefNameHooks
Direct Known Subclasses:
AttributeDefNameAttributeNameValidationHook, AttributeDefNameUniqueNameCaseInsensitiveHook, UniqueObjectAttributeDefNameHook

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

    • METHOD_ATTRIBUTE_DEF_NAME_POST_COMMIT_DELETE

      public static final String METHOD_ATTRIBUTE_DEF_NAME_POST_COMMIT_DELETE
      constant for method name for: attributeDefNamePostCommitDelete
      See Also:
    • METHOD_ATTRIBUTE_DEF_NAME_POST_COMMIT_INSERT

      public static final String METHOD_ATTRIBUTE_DEF_NAME_POST_COMMIT_INSERT
      constant for method name for: attributeDefNamePostCommitInsert
      See Also:
    • METHOD_ATTRIBUTE_DEF_NAME_POST_COMMIT_UPDATE

      public static final String METHOD_ATTRIBUTE_DEF_NAME_POST_COMMIT_UPDATE
      constant for method name for: attributeDefNamePostCommitUpdate
      See Also:
    • METHOD_ATTRIBUTE_DEF_NAME_POST_DELETE

      public static final String METHOD_ATTRIBUTE_DEF_NAME_POST_DELETE
      constant for method name for: attributeDefNamePostDelete
      See Also:
    • METHOD_ATTRIBUTE_DEF_NAME_POST_INSERT

      public static final String METHOD_ATTRIBUTE_DEF_NAME_POST_INSERT
      constant for method name for: attributeDefNamePostInsert
      See Also:
    • METHOD_ATTRIBUTE_DEF_NAME_POST_UPDATE

      public static final String METHOD_ATTRIBUTE_DEF_NAME_POST_UPDATE
      constant for method name for: attributeDefNamePostUpdate
      See Also:
    • METHOD_ATTRIBUTE_DEF_NAME_PRE_DELETE

      public static final String METHOD_ATTRIBUTE_DEF_NAME_PRE_DELETE
      constant for method name for: attributeDefNamePreDelete
      See Also:
    • METHOD_ATTRIBUTE_DEF_NAME_PRE_INSERT

      public static final String METHOD_ATTRIBUTE_DEF_NAME_PRE_INSERT
      constant for method name for: attributeDefNamePreInsert
      See Also:
    • METHOD_ATTRIBUTE_DEF_NAME_PRE_UPDATE

      public static final String METHOD_ATTRIBUTE_DEF_NAME_PRE_UPDATE
      constant for method name for: attributeDefNamePreUpdate
      See Also:
  • Constructor Details

    • AttributeDefNameHooks

      public AttributeDefNameHooks()
  • Method Details

    • attributeDefNamePreUpdate

      public void attributeDefNamePreUpdate(HooksContext hooksContext, HooksAttributeDefNameBean preUpdateBean)
      called right before a attribute update
      Parameters:
      hooksContext -
      preUpdateBean -
    • attributeDefNamePostUpdate

      public void attributeDefNamePostUpdate(HooksContext hooksContext, HooksAttributeDefNameBean postUpdateBean)
      called right after a attribute update
      Parameters:
      hooksContext -
      postUpdateBean -
    • attributeDefNamePreInsert

      public void attributeDefNamePreInsert(HooksContext hooksContext, HooksAttributeDefNameBean preInsertBean)
      called right before a attribute insert
      Parameters:
      hooksContext -
      preInsertBean -
    • attributeDefNamePostInsert

      public void attributeDefNamePostInsert(HooksContext hooksContext, HooksAttributeDefNameBean postInsertBean)
      called right after a attribute insert
      Parameters:
      hooksContext -
      postInsertBean -
    • attributeDefNamePostCommitInsert

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

      public void attributeDefNamePreDelete(HooksContext hooksContext, HooksAttributeDefNameBean preDeleteBean)
      called right before a attribute delete
      Parameters:
      hooksContext -
      preDeleteBean -
    • attributeDefNamePostDelete

      public void attributeDefNamePostDelete(HooksContext hooksContext, HooksAttributeDefNameBean postDeleteBean)
      called right after a attribute delete
      Parameters:
      hooksContext -
      postDeleteBean -
    • attributeDefNamePostCommitDelete

      public void attributeDefNamePostCommitDelete(HooksContext hooksContext, HooksAttributeDefNameBean postCommitDeleteBean)
      called right after a commit involving a attribute delete commit
      Parameters:
      hooksContext -
      postCommitDeleteBean -
    • attributeDefNamePostCommitUpdate

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