public class Group extends Permissionable
name, parents, productPermissionSets| Modifier and Type | Method and Description |
|---|---|
void |
addMember(Permissionable member)
Adds a member to the group.
|
java.util.Set<Permissionable> |
getMembers()
Gets the members that have been added to the group.
|
void |
removeMember(Permissionable member)
Removes a member from the group.
|
java.lang.String |
toString()
Returns a string representation of
Group. |
applyPermission, copyPermissions, deny, equals, getName, hashCode, permit, removeAllPermissions, removePermissionpublic java.util.Set<Permissionable> getMembers()
Set of Group members.java.lang.IllegalStateException - if this Group was removed from the PermissioningDatasource.public void addMember(Permissionable member) throws InvalidHierarchyException
member - The member that you want to add.NoTransactionInProgressException - if this method is called outside the scope of a PermissioningDataSource transactionInvalidHierarchyException - if adding the member will create a cycle in the group hierarchyjava.lang.IllegalStateException - if this Group was removed from the PermissioningDatasource. It will also occur if you are
attempting to add a member that has been removed from the PermissioningDataSource.public void removeMember(Permissionable member) throws NoTransactionInProgressException
member - The member to be removed from this group.NoTransactionInProgressException - if this method is called outside the scope of a PermissioningDataSource transactionjava.lang.IllegalStateException - if this Group was removed from the PermissioningDatasource.public java.lang.String toString()
Group.toString in class java.lang.ObjectPlease send bug reports and comments to Caplin support