public class AttributeDefNameUniqueNameCaseInsensitiveHook extends AttributeDefNameHooks
built in hook to grouper, which is turned on when it is configured in the grouper.properties. folder names will case insensitive be unique set that with grouper.properties: hooks.attributeDefName.class = edu.internet2.middleware.grouper.hooks.examples.AttributeDefNameUniqueNameCaseInsensitiveHook or grouperHook.AttributeDefNameUniqueNameCaseInsensitiveHook.autoRegister = true (default)
Modifier and Type | Field and Description |
---|---|
static String |
VETO_ATTRIBUTE_DEF_NAME_UNIQUE_ID_CASE_INSENSITIVE |
static String |
VETO_ATTRIBUTE_DEF_NAME_UNIQUE_NAME_CASE_INSENSITIVE |
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 |
---|
AttributeDefNameUniqueNameCaseInsensitiveHook() |
Modifier and Type | Method and Description |
---|---|
void |
attributeDefNamePreInsert(HooksContext hooksContext,
HooksAttributeDefNameBean preInsertBean)
called right before a attribute insert
|
void |
attributeDefNamePreUpdate(HooksContext hooksContext,
HooksAttributeDefNameBean preUpdateBean)
called right before a attribute update
|
static void |
registerHookIfNecessary()
see if this is configured in the grouper.properties, if so, register this hook
|
static void |
verifyCaseInsensitiveName(AttributeDefName attributeDefName) |
attributeDefNamePostCommitDelete, attributeDefNamePostCommitInsert, attributeDefNamePostCommitUpdate, attributeDefNamePostDelete, attributeDefNamePostInsert, attributeDefNamePostUpdate, attributeDefNamePreDelete
public static final String VETO_ATTRIBUTE_DEF_NAME_UNIQUE_NAME_CASE_INSENSITIVE
public static final String VETO_ATTRIBUTE_DEF_NAME_UNIQUE_ID_CASE_INSENSITIVE
public AttributeDefNameUniqueNameCaseInsensitiveHook()
public static void registerHookIfNecessary()
public void attributeDefNamePreInsert(HooksContext hooksContext, HooksAttributeDefNameBean preInsertBean)
AttributeDefNameHooks
public static void verifyCaseInsensitiveName(AttributeDefName attributeDefName)
attributeDefName
- public void attributeDefNamePreUpdate(HooksContext hooksContext, HooksAttributeDefNameBean preUpdateBean)
AttributeDefNameHooks
Copyright © 2016 Internet2. All rights reserved.