public class UniqueObjectAttributeDefNameHook extends AttributeDefNameHooks
METHOD_ATTRIBUTE_DEF_NAME_POST_COMMIT_DELETE, METHOD_ATTRIBUTE_DEF_NAME_POST_COMMIT_INSERT, METHOD_ATTRIBUTE_DEF_NAME_POST_COMMIT_UPDATE, METHOD_ATTRIBUTE_DEF_NAME_POST_DELETE, METHOD_ATTRIBUTE_DEF_NAME_POST_INSERT, METHOD_ATTRIBUTE_DEF_NAME_POST_UPDATE, METHOD_ATTRIBUTE_DEF_NAME_PRE_DELETE, METHOD_ATTRIBUTE_DEF_NAME_PRE_INSERT, METHOD_ATTRIBUTE_DEF_NAME_PRE_UPDATE
Constructor and Description |
---|
UniqueObjectAttributeDefNameHook() |
Modifier and Type | Method and Description |
---|---|
static void |
assertNoAttributeDefNamesWithThisNameExist(String name)
make sure no groups by this name exist
|
void |
attributeDefNamePreInsert(HooksContext hooksContext,
HooksAttributeDefNameBean preInsertBean)
called right before a attribute insert
|
void |
attributeDefNamePreUpdate(HooksContext hooksContext,
HooksAttributeDefNameBean preUpdateBean)
called right before a attribute update
|
attributeDefNamePostCommitDelete, attributeDefNamePostCommitInsert, attributeDefNamePostCommitUpdate, attributeDefNamePostDelete, attributeDefNamePostInsert, attributeDefNamePostUpdate, attributeDefNamePreDelete
public void attributeDefNamePreUpdate(HooksContext hooksContext, HooksAttributeDefNameBean preUpdateBean)
AttributeDefNameHooks
public void attributeDefNamePreInsert(HooksContext hooksContext, HooksAttributeDefNameBean preInsertBean)
AttributeDefNameHooks
public static void assertNoAttributeDefNamesWithThisNameExist(String name)
name
- Copyright © 2016 Internet2. All rights reserved.