public class UniqueObjectGroupHook extends GroupHooks
METHOD_GROUP_POST_COMMIT_DELETE, METHOD_GROUP_POST_COMMIT_INSERT, METHOD_GROUP_POST_COMMIT_UPDATE, METHOD_GROUP_POST_DELETE, METHOD_GROUP_POST_INSERT, METHOD_GROUP_POST_UPDATE, METHOD_GROUP_PRE_DELETE, METHOD_GROUP_PRE_INSERT, METHOD_GROUP_PRE_UPDATE
Constructor and Description |
---|
UniqueObjectGroupHook() |
Modifier and Type | Method and Description |
---|---|
static void |
assertNoGroupsWithThisNameExist(String name)
make sure no groups by this name exist
|
void |
groupPreInsert(HooksContext hooksContext,
HooksGroupBean preInsertBean)
called right before a group insert
|
void |
groupPreUpdate(HooksContext hooksContext,
HooksGroupBean preUpdateBean)
called right before a group update
|
groupPostCommitDelete, groupPostCommitInsert, groupPostCommitUpdate, groupPostDelete, groupPostInsert, groupPostUpdate, groupPreDelete
public void groupPreUpdate(HooksContext hooksContext, HooksGroupBean preUpdateBean)
GroupHooks
public void groupPreInsert(HooksContext hooksContext, HooksGroupBean preInsertBean)
GroupHooks
public static void assertNoGroupsWithThisNameExist(String name)
name
- Copyright © 2016 Internet2. All rights reserved.