edu.internet2.middleware.grouper.hooks
Class AttributeDefHooks

java.lang.Object
  extended by edu.internet2.middleware.grouper.hooks.AttributeDefHooks
Direct Known Subclasses:
UniqueObjectAttributeDefHook

public abstract class AttributeDefHooks
extends Object

Extend this class and configure in grouper.properties for hooks on new attribute framework related actions


Field Summary
static String METHOD_ATTRIBUTE_DEF_POST_COMMIT_DELETE
          constant for method name for: attributeDefPostCommitDelete
static String METHOD_ATTRIBUTE_DEF_POST_COMMIT_INSERT
          constant for method name for: attributeDefPostCommitInsert
static String METHOD_ATTRIBUTE_DEF_POST_COMMIT_UPDATE
          constant for method name for: attributeDefPostCommitUpdate
static String METHOD_ATTRIBUTE_DEF_POST_DELETE
          constant for method name for: attributeDefPostDelete
static String METHOD_ATTRIBUTE_DEF_POST_INSERT
          constant for method name for: attributeDefPostInsert
static String METHOD_ATTRIBUTE_DEF_POST_UPDATE
          constant for method name for: attributeDefPostUpdate
static String METHOD_ATTRIBUTE_DEF_PRE_DELETE
          constant for method name for: attributeDefPreDelete
static String METHOD_ATTRIBUTE_DEF_PRE_INSERT
          constant for method name for: attributeDefPreInsert
static String METHOD_ATTRIBUTE_DEF_PRE_UPDATE
          constant for method name for: attributeDefPreUpdate
 
Constructor Summary
AttributeDefHooks()
           
 
Method Summary
 void attributeDefPostCommitDelete(HooksContext hooksContext, HooksAttributeDefBean postCommitDeleteBean)
          called right after a commit involving a attribute delete commit
 void attributeDefPostCommitInsert(HooksContext hooksContext, HooksAttributeDefBean postCommitInsertBean)
          called right after the commit of a post insert commit.
 void attributeDefPostCommitUpdate(HooksContext hooksContext, HooksAttributeDefBean postCommitUpdateBean)
          called right after a commit on a attribute update commit
 void attributeDefPostDelete(HooksContext hooksContext, HooksAttributeDefBean postDeleteBean)
          called right after a attribute delete
 void attributeDefPostInsert(HooksContext hooksContext, HooksAttributeDefBean postInsertBean)
          called right after a attribute insert
 void attributeDefPostUpdate(HooksContext hooksContext, HooksAttributeDefBean postUpdateBean)
          called right after a attribute update
 void attributeDefPreDelete(HooksContext hooksContext, HooksAttributeDefBean preDeleteBean)
          called right before a attribute delete
 void attributeDefPreInsert(HooksContext hooksContext, HooksAttributeDefBean preInsertBean)
          called right before a attribute insert
 void attributeDefPreUpdate(HooksContext hooksContext, HooksAttributeDefBean preUpdateBean)
          called right before a attribute update
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

METHOD_ATTRIBUTE_DEF_POST_COMMIT_DELETE

public static final String METHOD_ATTRIBUTE_DEF_POST_COMMIT_DELETE
constant for method name for: attributeDefPostCommitDelete

See Also:
Constant Field Values

METHOD_ATTRIBUTE_DEF_POST_COMMIT_INSERT

public static final String METHOD_ATTRIBUTE_DEF_POST_COMMIT_INSERT
constant for method name for: attributeDefPostCommitInsert

See Also:
Constant Field Values

METHOD_ATTRIBUTE_DEF_POST_COMMIT_UPDATE

public static final String METHOD_ATTRIBUTE_DEF_POST_COMMIT_UPDATE
constant for method name for: attributeDefPostCommitUpdate

See Also:
Constant Field Values

METHOD_ATTRIBUTE_DEF_POST_DELETE

public static final String METHOD_ATTRIBUTE_DEF_POST_DELETE
constant for method name for: attributeDefPostDelete

See Also:
Constant Field Values

METHOD_ATTRIBUTE_DEF_POST_INSERT

public static final String METHOD_ATTRIBUTE_DEF_POST_INSERT
constant for method name for: attributeDefPostInsert

See Also:
Constant Field Values

METHOD_ATTRIBUTE_DEF_POST_UPDATE

public static final String METHOD_ATTRIBUTE_DEF_POST_UPDATE
constant for method name for: attributeDefPostUpdate

See Also:
Constant Field Values

METHOD_ATTRIBUTE_DEF_PRE_DELETE

public static final String METHOD_ATTRIBUTE_DEF_PRE_DELETE
constant for method name for: attributeDefPreDelete

See Also:
Constant Field Values

METHOD_ATTRIBUTE_DEF_PRE_INSERT

public static final String METHOD_ATTRIBUTE_DEF_PRE_INSERT
constant for method name for: attributeDefPreInsert

See Also:
Constant Field Values

METHOD_ATTRIBUTE_DEF_PRE_UPDATE

public static final String METHOD_ATTRIBUTE_DEF_PRE_UPDATE
constant for method name for: attributeDefPreUpdate

See Also:
Constant Field Values
Constructor Detail

AttributeDefHooks

public AttributeDefHooks()
Method Detail

attributeDefPreUpdate

public void attributeDefPreUpdate(HooksContext hooksContext,
                                  HooksAttributeDefBean preUpdateBean)
called right before a attribute update

Parameters:
hooksContext -
preUpdateBean -

attributeDefPostUpdate

public void attributeDefPostUpdate(HooksContext hooksContext,
                                   HooksAttributeDefBean postUpdateBean)
called right after a attribute update

Parameters:
hooksContext -
postUpdateBean -

attributeDefPreInsert

public void attributeDefPreInsert(HooksContext hooksContext,
                                  HooksAttributeDefBean preInsertBean)
called right before a attribute insert

Parameters:
hooksContext -
preInsertBean -

attributeDefPostInsert

public void attributeDefPostInsert(HooksContext hooksContext,
                                   HooksAttributeDefBean postInsertBean)
called right after a attribute insert

Parameters:
hooksContext -
postInsertBean -

attributeDefPostCommitInsert

public void attributeDefPostCommitInsert(HooksContext hooksContext,
                                         HooksAttributeDefBean postCommitInsertBean)
called right after the commit of a post insert commit. Note, cant veto this or participate in the tx

Parameters:
hooksContext -
postCommitInsertBean -

attributeDefPreDelete

public void attributeDefPreDelete(HooksContext hooksContext,
                                  HooksAttributeDefBean preDeleteBean)
called right before a attribute delete

Parameters:
hooksContext -
preDeleteBean -

attributeDefPostDelete

public void attributeDefPostDelete(HooksContext hooksContext,
                                   HooksAttributeDefBean postDeleteBean)
called right after a attribute delete

Parameters:
hooksContext -
postDeleteBean -

attributeDefPostCommitDelete

public void attributeDefPostCommitDelete(HooksContext hooksContext,
                                         HooksAttributeDefBean postCommitDeleteBean)
called right after a commit involving a attribute delete commit

Parameters:
hooksContext -
postCommitDeleteBean -

attributeDefPostCommitUpdate

public void attributeDefPostCommitUpdate(HooksContext hooksContext,
                                         HooksAttributeDefBean postCommitUpdateBean)
called right after a commit on a attribute update commit

Parameters:
hooksContext -
postCommitUpdateBean -