Class GroupHooks
java.lang.Object
edu.internet2.middleware.grouper.hooks.GroupHooks
- Direct Known Subclasses:
AssignReadonlyAdminPrivilegeGroupHook
,AssignSelfOptOutGroupPrivilegeHook
,GroupAttributeNameValidationHook
,GroupHooksImplExample
,GroupLdapUniqueHookExample
,GroupUniqueExtensionHook
,GroupUniqueExtensionInFoldersHook
,GroupUniqueNameCaseInsensitiveHook
,LDAPProvisioningHook
,UniqueObjectGroupHook
Extend this class and configure in grouper.properties for hooks on
group related actions
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
constant for method name for: groupPostCommitDeletestatic final String
constant for method name for: groupPostCommitInsertstatic final String
constant for method name for: groupPostCommitUpdatestatic final String
constant for method name for: groupPostDeletestatic final String
constant for method name for: groupPostInsertstatic final String
constant for method name for: groupPostUpdatestatic final String
constant for method name for: groupPreDeletestatic final String
constant for method name for: groupPreInsertstatic final String
constant for method name for: groupPreUpdate -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
groupPostCommitDelete
(HooksContext hooksContext, HooksGroupBean postCommitDeleteBean) called right after a commit involving a group delete commitvoid
groupPostCommitInsert
(HooksContext hooksContext, HooksGroupBean postCommitInsertBean) called right after the commit of a post insert commit.void
groupPostCommitUpdate
(HooksContext hooksContext, HooksGroupBean postCommitUpdateBean) called right after a commit on a group update commitvoid
groupPostDelete
(HooksContext hooksContext, HooksGroupBean postDeleteBean) called right after a group deletevoid
groupPostInsert
(HooksContext hooksContext, HooksGroupBean postInsertBean) called right after a group insertvoid
groupPostUpdate
(HooksContext hooksContext, HooksGroupBean postUpdateBean) called right after a group updatevoid
groupPreDelete
(HooksContext hooksContext, HooksGroupBean preDeleteBean) called right before a group deletevoid
groupPreInsert
(HooksContext hooksContext, HooksGroupBean preInsertBean) called right before a group insertvoid
groupPreUpdate
(HooksContext hooksContext, HooksGroupBean preUpdateBean) called right before a group update
-
Field Details
-
METHOD_GROUP_POST_COMMIT_DELETE
constant for method name for: groupPostCommitDelete- See Also:
-
METHOD_GROUP_POST_COMMIT_INSERT
constant for method name for: groupPostCommitInsert- See Also:
-
METHOD_GROUP_POST_COMMIT_UPDATE
constant for method name for: groupPostCommitUpdate- See Also:
-
METHOD_GROUP_POST_DELETE
constant for method name for: groupPostDelete- See Also:
-
METHOD_GROUP_POST_INSERT
constant for method name for: groupPostInsert- See Also:
-
METHOD_GROUP_POST_UPDATE
constant for method name for: groupPostUpdate- See Also:
-
METHOD_GROUP_PRE_DELETE
constant for method name for: groupPreDelete- See Also:
-
METHOD_GROUP_PRE_INSERT
constant for method name for: groupPreInsert- See Also:
-
METHOD_GROUP_PRE_UPDATE
constant for method name for: groupPreUpdate- See Also:
-
-
Constructor Details
-
GroupHooks
public GroupHooks()
-
-
Method Details
-
groupPreUpdate
called right before a group update- Parameters:
hooksContext
-preUpdateBean
-
-
groupPostUpdate
called right after a group update- Parameters:
hooksContext
-postUpdateBean
-
-
groupPreInsert
called right before a group insert- Parameters:
hooksContext
-preInsertBean
-
-
groupPostInsert
called right after a group insert- Parameters:
hooksContext
-postInsertBean
-
-
groupPostCommitInsert
called right after the commit of a post insert commit. Note, cant veto this or participate in the tx- Parameters:
hooksContext
-postCommitInsertBean
-
-
groupPreDelete
called right before a group delete- Parameters:
hooksContext
-preDeleteBean
-
-
groupPostDelete
called right after a group delete- Parameters:
hooksContext
-postDeleteBean
-
-
groupPostCommitDelete
called right after a commit involving a group delete commit- Parameters:
hooksContext
-postCommitDeleteBean
-
-
groupPostCommitUpdate
called right after a commit on a group update commit- Parameters:
hooksContext
-postCommitUpdateBean
-
-