Schnittstelle TurbinePermission
- Alle Superschnittstellen:
- Permission,- SecurityEntity,- Serializable
- Alle bekannten Implementierungsklassen:
- TurbinePermissionImpl
Represents the "turbine" model where permissions are in a many to many
 relationship to roles, roles are related to groups are related to users, all
 in many to many relationships.
- Version:
- $Id$
- Autor:
- Eric Pugh
- 
MethodenübersichtModifizierer und TypMethodeBeschreibungvoidAdd a role to this permissiongetRoles()Get the roles that this permission belongs toGet the roles that this permission belongs to as SetvoidremoveRole(Role role) Remove a role from this permissionvoidSet the roles that this permission belongs to<T extends Role>
 voidsetRolesAsSet(Set<T> roles) Set the roles that this permission belongs to as SetVon Schnittstelle geerbte Methoden org.apache.fulcrum.security.entity.SecurityEntitygetId, getName, setId, setName
- 
Methodendetails- 
getRolesRoleSet getRoles()Get the roles that this permission belongs to- Gibt zurück:
- a set of roles
 
- 
setRolesSet the roles that this permission belongs to- Parameter:
- roleSet- a set of roles
 
- 
addRoleAdd a role to this permission- Parameter:
- role- the role to add
 
- 
removeRoleRemove a role from this permission- Parameter:
- role- the role to remove
 
- 
setRolesAsSetSet the roles that this permission belongs to as Set- Typparameter:
- T- Role
- Parameter:
- roles- a set of roles
 
- 
getRolesAsSetGet the roles that this permission belongs to as Set- Typparameter:
- T-
- Gibt zurück:
- a set of roles
 
 
-