edu.internet2.middleware.grouper.hooks
Class StemHooks

java.lang.Object
  extended by edu.internet2.middleware.grouper.hooks.StemHooks

public abstract class StemHooks
extends Object

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


Field Summary
static String METHOD_STEM_POST_COMMIT_DELETE
          constant for method name for: stemPostCommitDelete
static String METHOD_STEM_POST_COMMIT_INSERT
          constant for method name for: stemPostCommitInsert
static String METHOD_STEM_POST_COMMIT_UPDATE
          constant for method name for: stemPostCommitUpdate
static String METHOD_STEM_POST_DELETE
          constant for method name for: stemPostDelete
static String METHOD_STEM_POST_INSERT
          constant for method name for: stemPostInsert
static String METHOD_STEM_POST_UPDATE
          constant for method name for: stemPostUpdate
static String METHOD_STEM_PRE_DELETE
          constant for method name for: stemPreDelete
static String METHOD_STEM_PRE_INSERT
          constant for method name for: stemPreInsert
static String METHOD_STEM_PRE_UPDATE
          constant for method name for: stemPreUpdate
 
Constructor Summary
StemHooks()
           
 
Method Summary
 void stemPostCommitDelete(HooksContext hooksContext, HooksStemBean postCommitDeleteBean)
          called right after a stem delete commit
 void stemPostCommitInsert(HooksContext hooksContext, HooksStemBean postCommitInsertBean)
          called right after a stem insert commit
 void stemPostCommitUpdate(HooksContext hooksContext, HooksStemBean postCommitUpdateBean)
          called right after a stem update commit
 void stemPostDelete(HooksContext hooksContext, HooksStemBean postDeleteBean)
          called right after a stem delete
 void stemPostInsert(HooksContext hooksContext, HooksStemBean postInsertBean)
          called right after a stem insert
 void stemPostUpdate(HooksContext hooksContext, HooksStemBean postUpdateBean)
          called right after a stem update
 void stemPreDelete(HooksContext hooksContext, HooksStemBean preDeleteBean)
          called right before a stem delete
 void stemPreInsert(HooksContext hooksContext, HooksStemBean preInsertBean)
          called right before a stem insert
 void stemPreUpdate(HooksContext hooksContext, HooksStemBean preUpdateBean)
          called right before a stem update
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

METHOD_STEM_POST_COMMIT_DELETE

public static final String METHOD_STEM_POST_COMMIT_DELETE
constant for method name for: stemPostCommitDelete

See Also:
Constant Field Values

METHOD_STEM_POST_COMMIT_INSERT

public static final String METHOD_STEM_POST_COMMIT_INSERT
constant for method name for: stemPostCommitInsert

See Also:
Constant Field Values

METHOD_STEM_POST_COMMIT_UPDATE

public static final String METHOD_STEM_POST_COMMIT_UPDATE
constant for method name for: stemPostCommitUpdate

See Also:
Constant Field Values

METHOD_STEM_POST_DELETE

public static final String METHOD_STEM_POST_DELETE
constant for method name for: stemPostDelete

See Also:
Constant Field Values

METHOD_STEM_POST_INSERT

public static final String METHOD_STEM_POST_INSERT
constant for method name for: stemPostInsert

See Also:
Constant Field Values

METHOD_STEM_POST_UPDATE

public static final String METHOD_STEM_POST_UPDATE
constant for method name for: stemPostUpdate

See Also:
Constant Field Values

METHOD_STEM_PRE_DELETE

public static final String METHOD_STEM_PRE_DELETE
constant for method name for: stemPreDelete

See Also:
Constant Field Values

METHOD_STEM_PRE_INSERT

public static final String METHOD_STEM_PRE_INSERT
constant for method name for: stemPreInsert

See Also:
Constant Field Values

METHOD_STEM_PRE_UPDATE

public static final String METHOD_STEM_PRE_UPDATE
constant for method name for: stemPreUpdate

See Also:
Constant Field Values
Constructor Detail

StemHooks

public StemHooks()
Method Detail

stemPreUpdate

public void stemPreUpdate(HooksContext hooksContext,
                          HooksStemBean preUpdateBean)
called right before a stem update

Parameters:
hooksContext -
preUpdateBean -

stemPostUpdate

public void stemPostUpdate(HooksContext hooksContext,
                           HooksStemBean postUpdateBean)
called right after a stem update

Parameters:
hooksContext -
postUpdateBean -

stemPreInsert

public void stemPreInsert(HooksContext hooksContext,
                          HooksStemBean preInsertBean)
called right before a stem insert

Parameters:
hooksContext -
preInsertBean -

stemPostInsert

public void stemPostInsert(HooksContext hooksContext,
                           HooksStemBean postInsertBean)
called right after a stem insert

Parameters:
hooksContext -
postInsertBean -

stemPreDelete

public void stemPreDelete(HooksContext hooksContext,
                          HooksStemBean preDeleteBean)
called right before a stem delete

Parameters:
hooksContext -
preDeleteBean -

stemPostDelete

public void stemPostDelete(HooksContext hooksContext,
                           HooksStemBean postDeleteBean)
called right after a stem delete

Parameters:
hooksContext -
postDeleteBean -

stemPostCommitDelete

public void stemPostCommitDelete(HooksContext hooksContext,
                                 HooksStemBean postCommitDeleteBean)
called right after a stem delete commit

Parameters:
hooksContext -
postCommitDeleteBean -

stemPostCommitInsert

public void stemPostCommitInsert(HooksContext hooksContext,
                                 HooksStemBean postCommitInsertBean)
called right after a stem insert commit

Parameters:
hooksContext -
postCommitInsertBean -

stemPostCommitUpdate

public void stemPostCommitUpdate(HooksContext hooksContext,
                                 HooksStemBean postCommitUpdateBean)
called right after a stem update commit

Parameters:
hooksContext -
postCommitUpdateBean -