Klasse DynamicGroupImpl
java.lang.Object
org.apache.fulcrum.security.entity.impl.SecurityEntityImpl
org.apache.fulcrum.security.model.basic.entity.impl.BasicGroupImpl
org.apache.fulcrum.security.model.dynamic.entity.impl.DynamicGroupImpl
- Alle implementierten Schnittstellen:
Serializable,Group,SecurityEntity,BasicGroup,DynamicGroup
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: DynamicGroup.java 223057 2004-07-05 19:28:23Z epugh $
- Autor:
- Eric Pugh
- Siehe auch:
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer 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 Klasse geerbte Methoden org.apache.fulcrum.security.model.basic.entity.impl.BasicGroupImpl
addUser, getUsers, getUsersAsSet, removeUser, setUsers, setUsersAsSetVon Klasse geerbte Methoden org.apache.fulcrum.security.entity.impl.SecurityEntityImpl
equals, getId, getName, hashCode, setId, setName, toStringVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden org.apache.fulcrum.security.model.basic.entity.BasicGroup
addUser, getUsers, getUsersAsSet, removeUser, setUsers, setUsersAsSetVon Schnittstelle geerbte Methoden org.apache.fulcrum.security.entity.SecurityEntity
getId, getName, setId, setName
-
Konstruktordetails
-
DynamicGroupImpl
public DynamicGroupImpl()
-
-
Methodendetails
-
getRoles
Get the roles that are part of this group- Angegeben von:
getRolesin SchnittstelleDynamicGroup- Gibt zurück:
- a set of roles
-
setRoles
Set the roles that are part of this group- Angegeben von:
setRolesin SchnittstelleDynamicGroup- Parameter:
roleSet- a set of roles
-
addRole
Add a role to this group- Angegeben von:
addRolein SchnittstelleDynamicGroup- Parameter:
role- the role to add
-
removeRole
Remove a role from this group- Angegeben von:
removeRolein SchnittstelleDynamicGroup- Parameter:
role- the role to remove
-
setRolesAsSet
Set the roles that are part of this group as Set- Angegeben von:
setRolesAsSetin SchnittstelleDynamicGroup- Parameter:
roles- a set of roles
-
getRolesAsSet
Get the roles that are part of this group as Set- Angegeben von:
getRolesAsSetin SchnittstelleDynamicGroup- Gibt zurück:
- a set of roles
-