Klasse TurbinePermissionImpl
java.lang.Object
org.apache.fulcrum.security.entity.impl.SecurityEntityImpl
org.apache.fulcrum.security.model.turbine.entity.impl.TurbinePermissionImpl
- Alle implementierten Schnittstellen:
- Serializable,- Permission,- SecurityEntity,- TurbinePermission
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: TurbinePermission.java 223081 2004-10-07 15:11:58Z epugh $
- Autor:
- Eric Pugh
- Siehe auch:
- 
KonstruktorübersichtKonstruktoren
- 
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 Klasse geerbte Methoden org.apache.fulcrum.security.entity.impl.SecurityEntityImplequals, getId, getName, hashCode, setId, setName, toStringVon Klasse geerbte Methoden java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden org.apache.fulcrum.security.entity.SecurityEntitygetId, getName, setId, setName
- 
Konstruktordetails- 
TurbinePermissionImplpublic TurbinePermissionImpl()
 
- 
- 
Methodendetails- 
getRolesGet the roles that this permission belongs to- Angegeben von:
- getRolesin Schnittstelle- TurbinePermission
- Gibt zurück:
- a set of roles
 
- 
setRolesSet the roles that this permission belongs to- Angegeben von:
- setRolesin Schnittstelle- TurbinePermission
- Parameter:
- roleSet- a set of roles
 
- 
addRoleAdd a role to this permission- Angegeben von:
- addRolein Schnittstelle- TurbinePermission
- Parameter:
- role- the role to add
 
- 
removeRoleRemove a role from this permission- Angegeben von:
- removeRolein Schnittstelle- TurbinePermission
- Parameter:
- role- the role to remove
 
- 
setRolesAsSetSet the roles that this permission belongs to as Set- Angegeben von:
- setRolesAsSetin Schnittstelle- TurbinePermission
- Typparameter:
- T- Role
- Parameter:
- roles- a set of roles
 
- 
getRolesAsSetGet the roles that this permission belongs to as Set- Angegeben von:
- getRolesAsSetin Schnittstelle- TurbinePermission
- Typparameter:
- T-
- Gibt zurück:
- a set of roles
 
 
-