Class GroupHooks

java.lang.Object
edu.internet2.middleware.grouper.hooks.GroupHooks
Direct Known Subclasses:
AssignReadonlyAdminPrivilegeGroupHook, AssignSelfOptOutGroupPrivilegeHook, GroupAttributeNameValidationHook, GroupHooksImplExample, GroupLdapUniqueHookExample, GroupUniqueExtensionHook, GroupUniqueExtensionInFoldersHook, GroupUniqueNameCaseInsensitiveHook, LDAPProvisioningHook, UniqueObjectGroupHook

public abstract class GroupHooks extends Object
Extend this class and configure in grouper.properties for hooks on group related actions
  • Field Details

    • METHOD_GROUP_POST_COMMIT_DELETE

      public static final String METHOD_GROUP_POST_COMMIT_DELETE
      constant for method name for: groupPostCommitDelete
      See Also:
    • METHOD_GROUP_POST_COMMIT_INSERT

      public static final String METHOD_GROUP_POST_COMMIT_INSERT
      constant for method name for: groupPostCommitInsert
      See Also:
    • METHOD_GROUP_POST_COMMIT_UPDATE

      public static final String METHOD_GROUP_POST_COMMIT_UPDATE
      constant for method name for: groupPostCommitUpdate
      See Also:
    • METHOD_GROUP_POST_DELETE

      public static final String METHOD_GROUP_POST_DELETE
      constant for method name for: groupPostDelete
      See Also:
    • METHOD_GROUP_POST_INSERT

      public static final String METHOD_GROUP_POST_INSERT
      constant for method name for: groupPostInsert
      See Also:
    • METHOD_GROUP_POST_UPDATE

      public static final String METHOD_GROUP_POST_UPDATE
      constant for method name for: groupPostUpdate
      See Also:
    • METHOD_GROUP_PRE_DELETE

      public static final String METHOD_GROUP_PRE_DELETE
      constant for method name for: groupPreDelete
      See Also:
    • METHOD_GROUP_PRE_INSERT

      public static final String METHOD_GROUP_PRE_INSERT
      constant for method name for: groupPreInsert
      See Also:
    • METHOD_GROUP_PRE_UPDATE

      public static final String METHOD_GROUP_PRE_UPDATE
      constant for method name for: groupPreUpdate
      See Also:
  • Constructor Details

    • GroupHooks

      public GroupHooks()
  • Method Details

    • groupPreUpdate

      public void groupPreUpdate(HooksContext hooksContext, HooksGroupBean preUpdateBean)
      called right before a group update
      Parameters:
      hooksContext -
      preUpdateBean -
    • groupPostUpdate

      public void groupPostUpdate(HooksContext hooksContext, HooksGroupBean postUpdateBean)
      called right after a group update
      Parameters:
      hooksContext -
      postUpdateBean -
    • groupPreInsert

      public void groupPreInsert(HooksContext hooksContext, HooksGroupBean preInsertBean)
      called right before a group insert
      Parameters:
      hooksContext -
      preInsertBean -
    • groupPostInsert

      public void groupPostInsert(HooksContext hooksContext, HooksGroupBean postInsertBean)
      called right after a group insert
      Parameters:
      hooksContext -
      postInsertBean -
    • groupPostCommitInsert

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

      public void groupPreDelete(HooksContext hooksContext, HooksGroupBean preDeleteBean)
      called right before a group delete
      Parameters:
      hooksContext -
      preDeleteBean -
    • groupPostDelete

      public void groupPostDelete(HooksContext hooksContext, HooksGroupBean postDeleteBean)
      called right after a group delete
      Parameters:
      hooksContext -
      postDeleteBean -
    • groupPostCommitDelete

      public void groupPostCommitDelete(HooksContext hooksContext, HooksGroupBean postCommitDeleteBean)
      called right after a commit involving a group delete commit
      Parameters:
      hooksContext -
      postCommitDeleteBean -
    • groupPostCommitUpdate

      public void groupPostCommitUpdate(HooksContext hooksContext, HooksGroupBean postCommitUpdateBean)
      called right after a commit on a group update commit
      Parameters:
      hooksContext -
      postCommitUpdateBean -