Class AttributeDefHooks
java.lang.Object
edu.internet2.middleware.grouper.hooks.AttributeDefHooks
- Direct Known Subclasses:
AttributeDefAttributeNameValidationHook
,AttributeDefUniqueNameCaseInsensitiveHook
,UniqueObjectAttributeDefHook
Extend this class and configure in grouper.properties for hooks on
new attribute framework related actions
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
constant for method name for: attributeDefPostCommitDeletestatic final String
constant for method name for: attributeDefPostCommitInsertstatic final String
constant for method name for: attributeDefPostCommitUpdatestatic final String
constant for method name for: attributeDefPostDeletestatic final String
constant for method name for: attributeDefPostInsertstatic final String
constant for method name for: attributeDefPostUpdatestatic final String
constant for method name for: attributeDefPreDeletestatic final String
constant for method name for: attributeDefPreInsertstatic final String
constant for method name for: attributeDefPreUpdate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
attributeDefPostCommitDelete
(HooksContext hooksContext, HooksAttributeDefBean postCommitDeleteBean) called right after a commit involving a attribute delete commitvoid
attributeDefPostCommitInsert
(HooksContext hooksContext, HooksAttributeDefBean postCommitInsertBean) called right after the commit of a post insert commit.void
attributeDefPostCommitUpdate
(HooksContext hooksContext, HooksAttributeDefBean postCommitUpdateBean) called right after a commit on a attribute update commitvoid
attributeDefPostDelete
(HooksContext hooksContext, HooksAttributeDefBean postDeleteBean) called right after a attribute deletevoid
attributeDefPostInsert
(HooksContext hooksContext, HooksAttributeDefBean postInsertBean) called right after a attribute insertvoid
attributeDefPostUpdate
(HooksContext hooksContext, HooksAttributeDefBean postUpdateBean) called right after a attribute updatevoid
attributeDefPreDelete
(HooksContext hooksContext, HooksAttributeDefBean preDeleteBean) called right before a attribute deletevoid
attributeDefPreInsert
(HooksContext hooksContext, HooksAttributeDefBean preInsertBean) called right before a attribute insertvoid
attributeDefPreUpdate
(HooksContext hooksContext, HooksAttributeDefBean preUpdateBean) called right before a attribute update
-
Field Details
-
METHOD_ATTRIBUTE_DEF_POST_COMMIT_DELETE
constant for method name for: attributeDefPostCommitDelete- See Also:
-
METHOD_ATTRIBUTE_DEF_POST_COMMIT_INSERT
constant for method name for: attributeDefPostCommitInsert- See Also:
-
METHOD_ATTRIBUTE_DEF_POST_COMMIT_UPDATE
constant for method name for: attributeDefPostCommitUpdate- See Also:
-
METHOD_ATTRIBUTE_DEF_POST_DELETE
constant for method name for: attributeDefPostDelete- See Also:
-
METHOD_ATTRIBUTE_DEF_POST_INSERT
constant for method name for: attributeDefPostInsert- See Also:
-
METHOD_ATTRIBUTE_DEF_POST_UPDATE
constant for method name for: attributeDefPostUpdate- See Also:
-
METHOD_ATTRIBUTE_DEF_PRE_DELETE
constant for method name for: attributeDefPreDelete- See Also:
-
METHOD_ATTRIBUTE_DEF_PRE_INSERT
constant for method name for: attributeDefPreInsert- See Also:
-
METHOD_ATTRIBUTE_DEF_PRE_UPDATE
constant for method name for: attributeDefPreUpdate- See Also:
-
-
Constructor Details
-
AttributeDefHooks
public AttributeDefHooks()
-
-
Method Details
-
attributeDefPreUpdate
called right before a attribute update- Parameters:
hooksContext
-preUpdateBean
-
-
attributeDefPostUpdate
called right after a attribute update- Parameters:
hooksContext
-postUpdateBean
-
-
attributeDefPreInsert
called right before a attribute insert- Parameters:
hooksContext
-preInsertBean
-
-
attributeDefPostInsert
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
called right before a attribute delete- Parameters:
hooksContext
-preDeleteBean
-
-
attributeDefPostDelete
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
-
-