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übersicht
Modifizierer und TypMethodeBeschreibungvoid
Add a role to this groupgetRoles()
Get the roles that are part of this groupGet the roles that are part of this group as Setvoid
removeRole
(Role role) Remove a role from this groupvoid
Set 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.BasicGroup
addUser, getUsers, getUsersAsSet, removeUser, setUsers, setUsersAsSet
Von Schnittstelle geerbte Methoden org.apache.fulcrum.security.entity.SecurityEntity
getId, getName, setId, setName
-
Methodendetails
-
getRoles
RoleSet getRoles()Get the roles that are part of this group- Gibt zurück:
- a set of roles
-
setRoles
Set the roles that are part of this group- Parameter:
roleSet
- a set of roles
-
addRole
Add a role to this group- Parameter:
role
- the role to add
-
removeRole
Remove a role from this group- Parameter:
role
- the role to remove
-
setRolesAsSet
Set the roles that are part of this group as Set- Parameter:
roles
- a set of roles
-
getRolesAsSet
Get the roles that are part of this group as Set- Gibt zurück:
- a set of roles
-