edu.internet2.middleware.grouper.hooks
Class CompositeHooks

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

public abstract class CompositeHooks
extends Object

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


Field Summary
static String METHOD_COMPOSITE_POST_COMMIT_DELETE
          constant for method name for: compositePostCommitDelete
static String METHOD_COMPOSITE_POST_COMMIT_INSERT
          constant for method name for: compositePostCommitInsert
static String METHOD_COMPOSITE_POST_COMMIT_UPDATE
          constant for method name for: compositePostCommitUpdate
static String METHOD_COMPOSITE_POST_DELETE
          constant for method name for: compositePostDelete
static String METHOD_COMPOSITE_POST_INSERT
          constant for method name for: compositePostInsert
static String METHOD_COMPOSITE_POST_UPDATE
          constant for method name for: compositePostUpdate
static String METHOD_COMPOSITE_PRE_DELETE
          constant for method name for: compositePreDelete
static String METHOD_COMPOSITE_PRE_INSERT
          constant for method name for: compositePreInsert
static String METHOD_COMPOSITE_PRE_UPDATE
          constant for method name for: compositePreUpdate
 
Constructor Summary
CompositeHooks()
           
 
Method Summary
 void compositePostCommitDelete(HooksContext hooksContext, HooksCompositeBean postCommitDeleteBean)
          called right after a composite delete commit
 void compositePostCommitInsert(HooksContext hooksContext, HooksCompositeBean postCommitInsertBean)
          called right after a composite insert commit
 void compositePostCommitUpdate(HooksContext hooksContext, HooksCompositeBean postCommitUpdateBean)
          called right after a composite update commit
 void compositePostDelete(HooksContext hooksContext, HooksCompositeBean postDeleteBean)
          called right after a composite delete
 void compositePostInsert(HooksContext hooksContext, HooksCompositeBean postInsertBean)
          called right after a composite insert
 void compositePostUpdate(HooksContext hooksContext, HooksCompositeBean postUpdateBean)
          called right after a composite update
 void compositePreDelete(HooksContext hooksContext, HooksCompositeBean preDeleteBean)
          called right before a composite delete
 void compositePreInsert(HooksContext hooksContext, HooksCompositeBean preInsertBean)
          called right before a composite insert
 void compositePreUpdate(HooksContext hooksContext, HooksCompositeBean preUpdateBean)
          called right before a composite update
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

METHOD_COMPOSITE_POST_COMMIT_DELETE

public static final String METHOD_COMPOSITE_POST_COMMIT_DELETE
constant for method name for: compositePostCommitDelete

See Also:
Constant Field Values

METHOD_COMPOSITE_POST_COMMIT_INSERT

public static final String METHOD_COMPOSITE_POST_COMMIT_INSERT
constant for method name for: compositePostCommitInsert

See Also:
Constant Field Values

METHOD_COMPOSITE_POST_COMMIT_UPDATE

public static final String METHOD_COMPOSITE_POST_COMMIT_UPDATE
constant for method name for: compositePostCommitUpdate

See Also:
Constant Field Values

METHOD_COMPOSITE_POST_DELETE

public static final String METHOD_COMPOSITE_POST_DELETE
constant for method name for: compositePostDelete

See Also:
Constant Field Values

METHOD_COMPOSITE_POST_INSERT

public static final String METHOD_COMPOSITE_POST_INSERT
constant for method name for: compositePostInsert

See Also:
Constant Field Values

METHOD_COMPOSITE_POST_UPDATE

public static final String METHOD_COMPOSITE_POST_UPDATE
constant for method name for: compositePostUpdate

See Also:
Constant Field Values

METHOD_COMPOSITE_PRE_DELETE

public static final String METHOD_COMPOSITE_PRE_DELETE
constant for method name for: compositePreDelete

See Also:
Constant Field Values

METHOD_COMPOSITE_PRE_INSERT

public static final String METHOD_COMPOSITE_PRE_INSERT
constant for method name for: compositePreInsert

See Also:
Constant Field Values

METHOD_COMPOSITE_PRE_UPDATE

public static final String METHOD_COMPOSITE_PRE_UPDATE
constant for method name for: compositePreUpdate

See Also:
Constant Field Values
Constructor Detail

CompositeHooks

public CompositeHooks()
Method Detail

compositePreUpdate

public void compositePreUpdate(HooksContext hooksContext,
                               HooksCompositeBean preUpdateBean)
called right before a composite update

Parameters:
hooksContext -
preUpdateBean -

compositePostUpdate

public void compositePostUpdate(HooksContext hooksContext,
                                HooksCompositeBean postUpdateBean)
called right after a composite update

Parameters:
hooksContext -
postUpdateBean -

compositePreInsert

public void compositePreInsert(HooksContext hooksContext,
                               HooksCompositeBean preInsertBean)
called right before a composite insert

Parameters:
hooksContext -
preInsertBean -

compositePostInsert

public void compositePostInsert(HooksContext hooksContext,
                                HooksCompositeBean postInsertBean)
called right after a composite insert

Parameters:
hooksContext -
postInsertBean -

compositePreDelete

public void compositePreDelete(HooksContext hooksContext,
                               HooksCompositeBean preDeleteBean)
called right before a composite delete

Parameters:
hooksContext -
preDeleteBean -

compositePostDelete

public void compositePostDelete(HooksContext hooksContext,
                                HooksCompositeBean postDeleteBean)
called right after a composite delete

Parameters:
hooksContext -
postDeleteBean -

compositePostCommitDelete

public void compositePostCommitDelete(HooksContext hooksContext,
                                      HooksCompositeBean postCommitDeleteBean)
called right after a composite delete commit

Parameters:
hooksContext -
postCommitDeleteBean -

compositePostCommitInsert

public void compositePostCommitInsert(HooksContext hooksContext,
                                      HooksCompositeBean postCommitInsertBean)
called right after a composite insert commit

Parameters:
hooksContext -
postCommitInsertBean -

compositePostCommitUpdate

public void compositePostCommitUpdate(HooksContext hooksContext,
                                      HooksCompositeBean postCommitUpdateBean)
called right after a composite update commit

Parameters:
hooksContext -
postCommitUpdateBean -