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
FieldsModifier and TypeFieldDescriptionstatic final Stringconstant for method name for: groupPostCommitDeletestatic final Stringconstant for method name for: groupPostCommitInsertstatic final Stringconstant for method name for: groupPostCommitUpdatestatic final Stringconstant for method name for: groupPostDeletestatic final Stringconstant for method name for: groupPostInsertstatic final Stringconstant for method name for: groupPostUpdatestatic final Stringconstant for method name for: groupPreDeletestatic final Stringconstant for method name for: groupPreInsertstatic final Stringconstant for method name for: groupPreUpdate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgroupPostCommitDelete(HooksContext hooksContext, HooksGroupBean postCommitDeleteBean) called right after a commit involving a group delete commitvoidgroupPostCommitInsert(HooksContext hooksContext, HooksGroupBean postCommitInsertBean) called right after the commit of a post insert commit.voidgroupPostCommitUpdate(HooksContext hooksContext, HooksGroupBean postCommitUpdateBean) called right after a commit on a group update commitvoidgroupPostDelete(HooksContext hooksContext, HooksGroupBean postDeleteBean) called right after a group deletevoidgroupPostInsert(HooksContext hooksContext, HooksGroupBean postInsertBean) called right after a group insertvoidgroupPostUpdate(HooksContext hooksContext, HooksGroupBean postUpdateBean) called right after a group updatevoidgroupPreDelete(HooksContext hooksContext, HooksGroupBean preDeleteBean) called right before a group deletevoidgroupPreInsert(HooksContext hooksContext, HooksGroupBean preInsertBean) called right before a group insertvoidgroupPreUpdate(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-
-