Class StemUniqueNameCaseInsensitiveHook
java.lang.Object
edu.internet2.middleware.grouper.hooks.StemHooks
edu.internet2.middleware.grouper.hooks.examples.StemUniqueNameCaseInsensitiveHook
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.stem.class = edu.internet2.middleware.grouper.hooks.examples.StemUniqueNameCaseInsensitiveHook or grouperHook.StemUniqueNameCaseInsensitiveHook.autoRegister = true (default)
-
Field Summary
FieldsFields inherited from class edu.internet2.middleware.grouper.hooks.StemHooks
METHOD_STEM_POST_COMMIT_DELETE, METHOD_STEM_POST_COMMIT_INSERT, METHOD_STEM_POST_COMMIT_UPDATE, METHOD_STEM_POST_DELETE, METHOD_STEM_POST_INSERT, METHOD_STEM_POST_UPDATE, METHOD_STEM_PRE_DELETE, METHOD_STEM_PRE_INSERT, METHOD_STEM_PRE_UPDATE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidsee if this is configured in the grouper.properties, if so, register this hookvoidstemPreInsert(HooksContext hooksContext, HooksStemBean preInsertBean) called right before a stem insertvoidstemPreUpdate(HooksContext hooksContext, HooksStemBean preUpdateBean) called right before a stem updatestatic voidMethods inherited from class edu.internet2.middleware.grouper.hooks.StemHooks
stemPostCommitDelete, stemPostCommitInsert, stemPostCommitUpdate, stemPostDelete, stemPostInsert, stemPostUpdate, stemPreDelete
-
Field Details
-
VETO_STEM_UNIQUE_NAME_CASE_INSENSITIVE
- See Also:
-
VETO_STEM_UNIQUE_ID_CASE_INSENSITIVE
- See Also:
-
-
Constructor Details
-
StemUniqueNameCaseInsensitiveHook
public StemUniqueNameCaseInsensitiveHook()
-
-
Method Details
-
registerHookIfNecessary
public static void registerHookIfNecessary()see if this is configured in the grouper.properties, if so, register this hook -
stemPreInsert
Description copied from class:StemHookscalled right before a stem insert- Overrides:
stemPreInsertin classStemHooks- See Also:
-
verifyCaseInsensitiveName
- Parameters:
stem-
-
stemPreUpdate
Description copied from class:StemHookscalled right before a stem update- Overrides:
stemPreUpdatein classStemHooks- See Also:
-
clearHook
public static void clearHook()
-