Class AttributeDefNameHooks
java.lang.Object
edu.internet2.middleware.grouper.hooks.AttributeDefNameHooks
- Direct Known Subclasses:
AttributeDefNameAttributeNameValidationHook
,AttributeDefNameUniqueNameCaseInsensitiveHook
,UniqueObjectAttributeDefNameHook
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: attributeDefNamePostCommitDeletestatic final String
constant for method name for: attributeDefNamePostCommitInsertstatic final String
constant for method name for: attributeDefNamePostCommitUpdatestatic final String
constant for method name for: attributeDefNamePostDeletestatic final String
constant for method name for: attributeDefNamePostInsertstatic final String
constant for method name for: attributeDefNamePostUpdatestatic final String
constant for method name for: attributeDefNamePreDeletestatic final String
constant for method name for: attributeDefNamePreInsertstatic final String
constant for method name for: attributeDefNamePreUpdate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
attributeDefNamePostCommitDelete
(HooksContext hooksContext, HooksAttributeDefNameBean postCommitDeleteBean) called right after a commit involving a attribute delete commitvoid
attributeDefNamePostCommitInsert
(HooksContext hooksContext, HooksAttributeDefNameBean postCommitInsertBean) called right after the commit of a post insert commit.void
attributeDefNamePostCommitUpdate
(HooksContext hooksContext, HooksAttributeDefNameBean postCommitUpdateBean) called right after a commit on a attribute update commitvoid
attributeDefNamePostDelete
(HooksContext hooksContext, HooksAttributeDefNameBean postDeleteBean) called right after a attribute deletevoid
attributeDefNamePostInsert
(HooksContext hooksContext, HooksAttributeDefNameBean postInsertBean) called right after a attribute insertvoid
attributeDefNamePostUpdate
(HooksContext hooksContext, HooksAttributeDefNameBean postUpdateBean) called right after a attribute updatevoid
attributeDefNamePreDelete
(HooksContext hooksContext, HooksAttributeDefNameBean preDeleteBean) called right before a attribute deletevoid
attributeDefNamePreInsert
(HooksContext hooksContext, HooksAttributeDefNameBean preInsertBean) called right before a attribute insertvoid
attributeDefNamePreUpdate
(HooksContext hooksContext, HooksAttributeDefNameBean preUpdateBean) called right before a attribute update
-
Field Details
-
METHOD_ATTRIBUTE_DEF_NAME_POST_COMMIT_DELETE
constant for method name for: attributeDefNamePostCommitDelete- See Also:
-
METHOD_ATTRIBUTE_DEF_NAME_POST_COMMIT_INSERT
constant for method name for: attributeDefNamePostCommitInsert- See Also:
-
METHOD_ATTRIBUTE_DEF_NAME_POST_COMMIT_UPDATE
constant for method name for: attributeDefNamePostCommitUpdate- See Also:
-
METHOD_ATTRIBUTE_DEF_NAME_POST_DELETE
constant for method name for: attributeDefNamePostDelete- See Also:
-
METHOD_ATTRIBUTE_DEF_NAME_POST_INSERT
constant for method name for: attributeDefNamePostInsert- See Also:
-
METHOD_ATTRIBUTE_DEF_NAME_POST_UPDATE
constant for method name for: attributeDefNamePostUpdate- See Also:
-
METHOD_ATTRIBUTE_DEF_NAME_PRE_DELETE
constant for method name for: attributeDefNamePreDelete- See Also:
-
METHOD_ATTRIBUTE_DEF_NAME_PRE_INSERT
constant for method name for: attributeDefNamePreInsert- See Also:
-
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
-
-