|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouper.hooks.AttributeAssignValueHooks
edu.internet2.middleware.grouper.hooks.examples.GrouperAttributeAssignValueRulesConfigHook
public class GrouperAttributeAssignValueRulesConfigHook
Fire on attribute assign value changes, validate the rules and set the answer in "valid" T|F attribute value
Field Summary |
---|
Constructor Summary | |
---|---|
GrouperAttributeAssignValueRulesConfigHook()
|
Method Summary | |
---|---|
void |
attributeAssignValuePostDelete(HooksContext hooksContext,
HooksAttributeAssignValueBean postDeleteBean)
called right after a attribute assign value delete |
void |
attributeAssignValuePostInsert(HooksContext hooksContext,
HooksAttributeAssignValueBean postInsertBean)
called right after a attribute assign value insert |
void |
attributeAssignValuePostUpdate(HooksContext hooksContext,
HooksAttributeAssignValueBean postUpdateBean)
called right after a attribute assign value update |
static java.lang.ThreadLocal<java.lang.Boolean> |
getThreadLocalInValidateRule()
|
static void |
registerHookIfNecessary(boolean tryAgainIfNotBefore)
register this hook |
void |
validateRule(AttributeAssignValue attributeAssignValue,
boolean isDelete)
validate this rule |
Methods inherited from class edu.internet2.middleware.grouper.hooks.AttributeAssignValueHooks |
---|
attributeAssignValuePostCommitDelete, attributeAssignValuePostCommitInsert, attributeAssignValuePostCommitUpdate, attributeAssignValuePreDelete, attributeAssignValuePreInsert, attributeAssignValuePreUpdate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GrouperAttributeAssignValueRulesConfigHook()
Method Detail |
---|
public void attributeAssignValuePostDelete(HooksContext hooksContext, HooksAttributeAssignValueBean postDeleteBean)
AttributeAssignValueHooks
attributeAssignValuePostDelete
in class AttributeAssignValueHooks
public void attributeAssignValuePostInsert(HooksContext hooksContext, HooksAttributeAssignValueBean postInsertBean)
AttributeAssignValueHooks
attributeAssignValuePostInsert
in class AttributeAssignValueHooks
public void attributeAssignValuePostUpdate(HooksContext hooksContext, HooksAttributeAssignValueBean postUpdateBean)
AttributeAssignValueHooks
attributeAssignValuePostUpdate
in class AttributeAssignValueHooks
public void validateRule(AttributeAssignValue attributeAssignValue, boolean isDelete)
attributeAssignValue
- isDelete
- public static void registerHookIfNecessary(boolean tryAgainIfNotBefore)
tryAgainIfNotBefore
- public static java.lang.ThreadLocal<java.lang.Boolean> getThreadLocalInValidateRule()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |