public class UniqueObjectStemHook extends 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 and Description |
---|
UniqueObjectStemHook() |
Modifier and Type | Method and Description |
---|---|
static void |
assertNoStemsWithThisNameExist(String name)
make sure no groups by this name exist
|
void |
stemPreInsert(HooksContext hooksContext,
HooksStemBean preInsertBean)
called right before a stem insert
|
void |
stemPreUpdate(HooksContext hooksContext,
HooksStemBean preUpdateBean)
called right before a stem update
|
stemPostCommitDelete, stemPostCommitInsert, stemPostCommitUpdate, stemPostDelete, stemPostInsert, stemPostUpdate, stemPreDelete
public void stemPreUpdate(HooksContext hooksContext, HooksStemBean preUpdateBean)
StemHooks
public void stemPreInsert(HooksContext hooksContext, HooksStemBean preInsertBean)
StemHooks
public static void assertNoStemsWithThisNameExist(String name)
name
- Copyright © 2016 Internet2. All rights reserved.