Schnittstelle DynamicGroup
- Alle Superschnittstellen:
- BasicGroup,- Group,- SecurityEntity,- Serializable
- Alle bekannten Implementierungsklassen:
- DynamicGroupImpl
Represents the "dynamic" model where permissions are related to roles, roles
 are related to groups and groups are related to userSet, all in many to many
 relationships.
- Version:
- $Id$
- Autor:
- Eric Pugh
- 
MethodenübersichtModifizierer und TypMethodeBeschreibungvoidAdd a role to this groupgetRoles()Get the roles that are part of this groupGet the roles that are part of this group as SetvoidremoveRole(Role role) Remove a role from this groupvoidSet the roles that are part of this group<T extends Role>
 voidsetRolesAsSet(Set<T> roles) Set the roles that are part of this group as SetVon Schnittstelle geerbte Methoden org.apache.fulcrum.security.model.basic.entity.BasicGroupaddUser, getUsers, getUsersAsSet, removeUser, setUsers, setUsersAsSetVon Schnittstelle geerbte Methoden org.apache.fulcrum.security.entity.SecurityEntitygetId, getName, setId, setName
- 
Methodendetails- 
getRolesRoleSet getRoles()Get the roles that are part of this group- Gibt zurück:
- a set of roles
 
- 
setRolesSet the roles that are part of this group- Parameter:
- roleSet- a set of roles
 
- 
addRoleAdd a role to this group- Parameter:
- role- the role to add
 
- 
removeRoleRemove a role from this group- Parameter:
- role- the role to remove
 
- 
setRolesAsSetSet the roles that are part of this group as Set- Parameter:
- roles- a set of roles
 
- 
getRolesAsSetGet the roles that are part of this group as Set- Gibt zurück:
- a set of roles
 
 
-