public class GrouperAttributeAssignValueRulesConfigHook extends AttributeAssignValueHooks
METHOD_ATTRIBUTE_ASSIGN_VALUE_POST_COMMIT_DELETE, METHOD_ATTRIBUTE_ASSIGN_VALUE_POST_COMMIT_INSERT, METHOD_ATTRIBUTE_ASSIGN_VALUE_POST_COMMIT_UPDATE, METHOD_ATTRIBUTE_ASSIGN_VALUE_POST_DELETE, METHOD_ATTRIBUTE_ASSIGN_VALUE_POST_INSERT, METHOD_ATTRIBUTE_ASSIGN_VALUE_POST_UPDATE, METHOD_ATTRIBUTE_ASSIGN_VALUE_PRE_DELETE, METHOD_ATTRIBUTE_ASSIGN_VALUE_PRE_INSERT, METHOD_ATTRIBUTE_ASSIGN_VALUE_PRE_UPDATE
Constructor and Description |
---|
GrouperAttributeAssignValueRulesConfigHook() |
Modifier and Type | Method and Description |
---|---|
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 ThreadLocal<Boolean> |
getThreadLocalInValidateRule() |
static void |
registerHookIfNecessary(boolean tryAgainIfNotBefore)
register this hook
|
void |
validateRule(AttributeAssignValue attributeAssignValue,
boolean isDelete)
validate this rule
|
attributeAssignValuePostCommitDelete, attributeAssignValuePostCommitInsert, attributeAssignValuePostCommitUpdate, attributeAssignValuePreDelete, attributeAssignValuePreInsert, attributeAssignValuePreUpdate
public GrouperAttributeAssignValueRulesConfigHook()
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 ThreadLocal<Boolean> getThreadLocalInValidateRule()
Copyright © 2016 Internet2. All rights reserved.