public class DefaultUserGroupModificationCallback extends Object implements IUserGroupModificationCallback
IUserGroupModificationCallback. Use
this class as the base class of custom implementations so that no change is
necessary when the interface gets extended.| Constructor and Description |
|---|
DefaultUserGroupModificationCallback() |
| Modifier and Type | Method and Description |
|---|---|
void |
onUserGroupCreated(IUserGroup aUserGroup,
boolean bPredefinedUserGroup)
Called after a user group was created.
|
void |
onUserGroupDeleted(IUserGroup aUserGroup)
Called after a user group was deleted.
|
void |
onUserGroupRenamed(IUserGroup aUserGroup)
Called after a user group was renamed.
|
void |
onUserGroupRoleAssignment(IUserGroup aUserGroup,
String sRoleID,
boolean bAssign)
Called after a role was assigned/unassigned to/from a user group.
|
void |
onUserGroupUpdated(IUserGroup aUserGroup)
Called after a user group was edited fully.
|
void |
onUserGroupUserAssignment(IUserGroup aUserGroup,
String sUserID,
boolean bAssign)
Called after a user was assigned/unassigned to/from a user group.
|
public DefaultUserGroupModificationCallback()
public void onUserGroupCreated(@Nonnull IUserGroup aUserGroup, boolean bPredefinedUserGroup)
IUserGroupModificationCallbackonUserGroupCreated in interface IUserGroupModificationCallbackaUserGroup - The created user group. Never null.bPredefinedUserGroup - true if it is a predefined user group,
false if it is a regular user grouppublic void onUserGroupUpdated(@Nonnull IUserGroup aUserGroup)
IUserGroupModificationCallbackonUserGroupUpdated in interface IUserGroupModificationCallbackaUserGroup - The modified user group. Never null.public void onUserGroupRenamed(@Nonnull IUserGroup aUserGroup)
IUserGroupModificationCallbackonUserGroupRenamed in interface IUserGroupModificationCallbackaUserGroup - The modified user group. Never null.public void onUserGroupDeleted(@Nonnull IUserGroup aUserGroup)
IUserGroupModificationCallbackonUserGroupDeleted in interface IUserGroupModificationCallbackaUserGroup - The deleted user group. Never null.public void onUserGroupUserAssignment(@Nonnull IUserGroup aUserGroup, @Nonnull@Nonempty String sUserID, boolean bAssign)
IUserGroupModificationCallbackonUserGroupUserAssignment in interface IUserGroupModificationCallbackaUserGroup - The modified user group. Never null.sUserID - The ID of the user that was assigned/unassigned.bAssign - true if the user was assigned, false if it
was unassignedpublic void onUserGroupRoleAssignment(@Nonnull IUserGroup aUserGroup, @Nonnull@Nonempty String sRoleID, boolean bAssign)
IUserGroupModificationCallbackonUserGroupRoleAssignment in interface IUserGroupModificationCallbackaUserGroup - The modified user group. Never null.sRoleID - The ID of the role that was assigned/unassigned.bAssign - true if the role was assigned, false if it
was unassignedCopyright © 2014–2015 Philip Helger. All rights reserved.