Schnittstelle TurbineRole
- Alle Superschnittstellen:
- Role,- SecurityEntity,- Serializable,- TurbineUserGroupRoleEntity
- Alle bekannten Implementierungsklassen:
- TurbineRoleImpl
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 TypMethodeBeschreibungvoidaddPermission(Permission permission) This method should only be used by a RoleManager.Get the permission that are part of this role<T extends Permission>
 Set<T>Get the permission that are part of this role as SetvoidremovePermission(Permission permission) This method should only be used by a RoleManager.voidsetPermissions(PermissionSet permissionSet) Set the permission that are part of this role<T extends Permission>
 voidsetPermissionsAsSet(Set<T> permissions) Set the permission that are part of this role as SetVon Schnittstelle geerbte Methoden org.apache.fulcrum.security.entity.SecurityEntitygetId, getName, setId, setNameVon Schnittstelle geerbte Methoden org.apache.fulcrum.security.model.turbine.entity.TurbineUserGroupRoleEntityaddUserGroupRole, getUserGroupRoleSet, removeUserGroupRole, setUserGroupRoleSet
- 
Methodendetails- 
getPermissionsPermissionSet getPermissions()Get the permission that are part of this role- Gibt zurück:
- a set of permissions
 
- 
getPermissionsAsSetGet the permission that are part of this role as Set- Gibt zurück:
- a set of permissions
 
- 
setPermissionsSet the permission that are part of this role- Parameter:
- permissionSet- a set of permissions
 
- 
setPermissionsAsSetSet the permission that are part of this role as Set- Typparameter:
- T- Permission
- Parameter:
- permissions- a set of permissions
 
- 
addPermissionThis method should only be used by a RoleManager. Not directly.- Parameter:
- permission- perm to add
 
- 
removePermissionThis method should only be used by a RoleManager. Not directly.- Parameter:
- permission- perm to remove
 
 
-