edu.internet2.middleware.grouper.hooks
Class GroupHooks

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

public abstract class GroupHooks
extends Object

Extend this class and configure in grouper.properties for hooks on group related actions


Field Summary
static String METHOD_GROUP_POST_COMMIT_DELETE
          constant for method name for: groupPostCommitDelete
static String METHOD_GROUP_POST_COMMIT_INSERT
          constant for method name for: groupPostCommitInsert
static String METHOD_GROUP_POST_COMMIT_UPDATE
          constant for method name for: groupPostCommitUpdate
static String METHOD_GROUP_POST_DELETE
          constant for method name for: groupPostDelete
static String METHOD_GROUP_POST_INSERT
          constant for method name for: groupPostInsert
static String METHOD_GROUP_POST_UPDATE
          constant for method name for: groupPostUpdate
static String METHOD_GROUP_PRE_DELETE
          constant for method name for: groupPreDelete
static String METHOD_GROUP_PRE_INSERT
          constant for method name for: groupPreInsert
static String METHOD_GROUP_PRE_UPDATE
          constant for method name for: groupPreUpdate
 
Constructor Summary
GroupHooks()
           
 
Method Summary
 void groupPostCommitDelete(HooksContext hooksContext, HooksGroupBean postCommitDeleteBean)
          called right after a commit involving a group delete commit
 void 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 commit
 void groupPostDelete(HooksContext hooksContext, HooksGroupBean postDeleteBean)
          called right after a group delete
 void groupPostInsert(HooksContext hooksContext, HooksGroupBean postInsertBean)
          called right after a group insert
 void groupPostUpdate(HooksContext hooksContext, HooksGroupBean postUpdateBean)
          called right after a group update
 void groupPreDelete(HooksContext hooksContext, HooksGroupBean preDeleteBean)
          called right before a group delete
 void groupPreInsert(HooksContext hooksContext, HooksGroupBean preInsertBean)
          called right before a group insert
 void groupPreUpdate(HooksContext hooksContext, HooksGroupBean preUpdateBean)
          called right before a group update
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

METHOD_GROUP_POST_COMMIT_DELETE

public static final String METHOD_GROUP_POST_COMMIT_DELETE
constant for method name for: groupPostCommitDelete

See Also:
Constant Field Values

METHOD_GROUP_POST_COMMIT_INSERT

public static final String METHOD_GROUP_POST_COMMIT_INSERT
constant for method name for: groupPostCommitInsert

See Also:
Constant Field Values

METHOD_GROUP_POST_COMMIT_UPDATE

public static final String METHOD_GROUP_POST_COMMIT_UPDATE
constant for method name for: groupPostCommitUpdate

See Also:
Constant Field Values

METHOD_GROUP_POST_DELETE

public static final String METHOD_GROUP_POST_DELETE
constant for method name for: groupPostDelete

See Also:
Constant Field Values

METHOD_GROUP_POST_INSERT

public static final String METHOD_GROUP_POST_INSERT
constant for method name for: groupPostInsert

See Also:
Constant Field Values

METHOD_GROUP_POST_UPDATE

public static final String METHOD_GROUP_POST_UPDATE
constant for method name for: groupPostUpdate

See Also:
Constant Field Values

METHOD_GROUP_PRE_DELETE

public static final String METHOD_GROUP_PRE_DELETE
constant for method name for: groupPreDelete

See Also:
Constant Field Values

METHOD_GROUP_PRE_INSERT

public static final String METHOD_GROUP_PRE_INSERT
constant for method name for: groupPreInsert

See Also:
Constant Field Values

METHOD_GROUP_PRE_UPDATE

public static final String METHOD_GROUP_PRE_UPDATE
constant for method name for: groupPreUpdate

See Also:
Constant Field Values
Constructor Detail

GroupHooks

public GroupHooks()
Method Detail

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 -