public class DynamicGroupImpl extends BasicGroupImpl implements DynamicGroup
| Constructor and Description |
|---|
DynamicGroupImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRole(Role role)
Add a role to this group
|
RoleSet |
getRoles()
Get the roles that are part of this group
|
<T extends Role> |
getRolesAsSet()
Get the roles that are part of this group as Set
|
void |
removeRole(Role role)
Remove a role from this group
|
void |
setRoles(RoleSet roleSet)
Set the roles that are part of this group
|
<T extends Role> |
setRolesAsSet(Set<T> roles)
Set the roles that are part of this group as Set
|
addUser, getUsers, getUsersAsSet, removeUser, setUsers, setUsersAsSetequals, getId, getName, hashCode, setId, setName, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddUser, getUsers, getUsersAsSet, removeUser, setUsers, setUsersAsSetgetId, getName, setId, setNamepublic RoleSet getRoles()
getRoles in interface DynamicGrouppublic void setRoles(RoleSet roleSet)
setRoles in interface DynamicGrouproleSet - a set of rolespublic void addRole(Role role)
addRole in interface DynamicGrouprole - the role to addpublic void removeRole(Role role)
removeRole in interface DynamicGrouprole - the role to removepublic <T extends Role> void setRolesAsSet(Set<T> roles)
setRolesAsSet in interface DynamicGrouproles - a set of rolespublic <T extends Role> Set<T> getRolesAsSet()
getRolesAsSet in interface DynamicGroupCopyright © 2011-2015 The Apache Software Foundation. All Rights Reserved.