edu.internet2.middleware.grouper.hooks
Class FieldHooks

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

public abstract class FieldHooks
extends Object

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


Field Summary
static String METHOD_FIELD_POST_COMMIT_DELETE
          constant for method name for: fieldPostCommitDelete
static String METHOD_FIELD_POST_COMMIT_INSERT
          constant for method name for: fieldPostCommitInsert
static String METHOD_FIELD_POST_COMMIT_UPDATE
          constant for method name for: fieldPostCommitUpdate
static String METHOD_FIELD_POST_DELETE
          constant for method name for: fieldPostDelete
static String METHOD_FIELD_POST_INSERT
          constant for method name for: fieldPostInsert
static String METHOD_FIELD_POST_UPDATE
          constant for method name for: fieldPostUpdate
static String METHOD_FIELD_PRE_DELETE
          constant for method name for: fieldPreDelete
static String METHOD_FIELD_PRE_INSERT
          constant for method name for: fieldPreInsert
static String METHOD_FIELD_PRE_UPDATE
          constant for method name for: fieldPreUpdate
 
Constructor Summary
FieldHooks()
           
 
Method Summary
 void fieldPostCommitDelete(HooksContext hooksContext, HooksFieldBean postCommitDeleteBean)
          called right after a field delete commit
 void fieldPostCommitInsert(HooksContext hooksContext, HooksFieldBean postCommitInsertBean)
          called right after a field insert commit
 void fieldPostCommitUpdate(HooksContext hooksContext, HooksFieldBean postCommitUpdateBean)
          called right after a field update commit
 void fieldPostDelete(HooksContext hooksContext, HooksFieldBean postDeleteBean)
          called right after a field delete
 void fieldPostInsert(HooksContext hooksContext, HooksFieldBean postInsertBean)
          called right after a field insert
 void fieldPostUpdate(HooksContext hooksContext, HooksFieldBean postUpdateBean)
          called right after a field update
 void fieldPreDelete(HooksContext hooksContext, HooksFieldBean preDeleteBean)
          called right before a field delete
 void fieldPreInsert(HooksContext hooksContext, HooksFieldBean preInsertBean)
          called right before a field insert
 void fieldPreUpdate(HooksContext hooksContext, HooksFieldBean preUpdateBean)
          called right before a field update
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

METHOD_FIELD_POST_COMMIT_DELETE

public static final String METHOD_FIELD_POST_COMMIT_DELETE
constant for method name for: fieldPostCommitDelete

See Also:
Constant Field Values

METHOD_FIELD_POST_COMMIT_INSERT

public static final String METHOD_FIELD_POST_COMMIT_INSERT
constant for method name for: fieldPostCommitInsert

See Also:
Constant Field Values

METHOD_FIELD_POST_COMMIT_UPDATE

public static final String METHOD_FIELD_POST_COMMIT_UPDATE
constant for method name for: fieldPostCommitUpdate

See Also:
Constant Field Values

METHOD_FIELD_POST_DELETE

public static final String METHOD_FIELD_POST_DELETE
constant for method name for: fieldPostDelete

See Also:
Constant Field Values

METHOD_FIELD_POST_INSERT

public static final String METHOD_FIELD_POST_INSERT
constant for method name for: fieldPostInsert

See Also:
Constant Field Values

METHOD_FIELD_POST_UPDATE

public static final String METHOD_FIELD_POST_UPDATE
constant for method name for: fieldPostUpdate

See Also:
Constant Field Values

METHOD_FIELD_PRE_DELETE

public static final String METHOD_FIELD_PRE_DELETE
constant for method name for: fieldPreDelete

See Also:
Constant Field Values

METHOD_FIELD_PRE_INSERT

public static final String METHOD_FIELD_PRE_INSERT
constant for method name for: fieldPreInsert

See Also:
Constant Field Values

METHOD_FIELD_PRE_UPDATE

public static final String METHOD_FIELD_PRE_UPDATE
constant for method name for: fieldPreUpdate

See Also:
Constant Field Values
Constructor Detail

FieldHooks

public FieldHooks()
Method Detail

fieldPreUpdate

public void fieldPreUpdate(HooksContext hooksContext,
                           HooksFieldBean preUpdateBean)
called right before a field update

Parameters:
hooksContext -
preUpdateBean -

fieldPostUpdate

public void fieldPostUpdate(HooksContext hooksContext,
                            HooksFieldBean postUpdateBean)
called right after a field update

Parameters:
hooksContext -
postUpdateBean -

fieldPreInsert

public void fieldPreInsert(HooksContext hooksContext,
                           HooksFieldBean preInsertBean)
called right before a field insert

Parameters:
hooksContext -
preInsertBean -

fieldPostInsert

public void fieldPostInsert(HooksContext hooksContext,
                            HooksFieldBean postInsertBean)
called right after a field insert

Parameters:
hooksContext -
postInsertBean -

fieldPreDelete

public void fieldPreDelete(HooksContext hooksContext,
                           HooksFieldBean preDeleteBean)
called right before a field delete

Parameters:
hooksContext -
preDeleteBean -

fieldPostDelete

public void fieldPostDelete(HooksContext hooksContext,
                            HooksFieldBean postDeleteBean)
called right after a field delete

Parameters:
hooksContext -
postDeleteBean -

fieldPostCommitDelete

public void fieldPostCommitDelete(HooksContext hooksContext,
                                  HooksFieldBean postCommitDeleteBean)
called right after a field delete commit

Parameters:
hooksContext -
postCommitDeleteBean -

fieldPostCommitInsert

public void fieldPostCommitInsert(HooksContext hooksContext,
                                  HooksFieldBean postCommitInsertBean)
called right after a field insert commit

Parameters:
hooksContext -
postCommitInsertBean -

fieldPostCommitUpdate

public void fieldPostCommitUpdate(HooksContext hooksContext,
                                  HooksFieldBean postCommitUpdateBean)
called right after a field update commit

Parameters:
hooksContext -
postCommitUpdateBean -