public class StemUniqueNameCaseInsensitiveHook extends StemHooks
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
Modifier and Type | Field and Description |
---|---|
static String |
VETO_STEM_UNIQUE_NAME_CASE_INSENSITIVE |
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 and Description |
---|
StemUniqueNameCaseInsensitiveHook() |
Modifier and Type | Method and Description |
---|---|
void |
stemPreInsert(HooksContext hooksContext,
HooksStemBean preInsertBean)
called right before a stem insert
|
void |
stemPreUpdate(HooksContext hooksContext,
HooksStemBean preUpdateBean)
called right before a stem update
|
static void |
verifyCaseInsensitiveName(Stem stem) |
stemPostCommitDelete, stemPostCommitInsert, stemPostCommitUpdate, stemPostDelete, stemPostInsert, stemPostUpdate, stemPreDelete
public static final String VETO_STEM_UNIQUE_NAME_CASE_INSENSITIVE
public void stemPreInsert(HooksContext hooksContext, HooksStemBean preInsertBean)
StemHooks
stemPreInsert
in class StemHooks
StemHooks.stemPreInsert(HooksContext, edu.internet2.middleware.grouper.hooks.beans.HooksStemBean)
public static void verifyCaseInsensitiveName(Stem stem)
stem
- public void stemPreUpdate(HooksContext hooksContext, HooksStemBean preUpdateBean)
StemHooks
stemPreUpdate
in class StemHooks
StemHooks.stemPreUpdate(HooksContext, HooksStemBean)
Copyright © 2016 Internet2. All rights reserved.