public class UniqueObjectAttributeDefHook extends AttributeDefHooks
METHOD_ATTRIBUTE_DEF_POST_COMMIT_DELETE, METHOD_ATTRIBUTE_DEF_POST_COMMIT_INSERT, METHOD_ATTRIBUTE_DEF_POST_COMMIT_UPDATE, METHOD_ATTRIBUTE_DEF_POST_DELETE, METHOD_ATTRIBUTE_DEF_POST_INSERT, METHOD_ATTRIBUTE_DEF_POST_UPDATE, METHOD_ATTRIBUTE_DEF_PRE_DELETE, METHOD_ATTRIBUTE_DEF_PRE_INSERT, METHOD_ATTRIBUTE_DEF_PRE_UPDATE| Constructor and Description |
|---|
UniqueObjectAttributeDefHook() |
| Modifier and Type | Method and Description |
|---|---|
static void |
assertNoAttributeDefsWithThisNameExist(String name)
make sure no groups by this name exist
|
void |
attributeDefPreInsert(HooksContext hooksContext,
HooksAttributeDefBean preInsertBean)
called right before a attribute insert
|
void |
attributeDefPreUpdate(HooksContext hooksContext,
HooksAttributeDefBean preUpdateBean)
called right before a attribute update
|
attributeDefPostCommitDelete, attributeDefPostCommitInsert, attributeDefPostCommitUpdate, attributeDefPostDelete, attributeDefPostInsert, attributeDefPostUpdate, attributeDefPreDeletepublic void attributeDefPreUpdate(HooksContext hooksContext, HooksAttributeDefBean preUpdateBean)
AttributeDefHookspublic void attributeDefPreInsert(HooksContext hooksContext, HooksAttributeDefBean preInsertBean)
AttributeDefHookspublic static void assertNoAttributeDefsWithThisNameExist(String name)
name - Copyright © 2016 Internet2. All rights reserved.