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übersicht
Modifizierer und TypMethodeBeschreibungvoid
addPermission
(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 Setvoid
removePermission
(Permission permission) This method should only be used by a RoleManager.void
setPermissions
(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.SecurityEntity
getId, getName, setId, setName
Von Schnittstelle geerbte Methoden org.apache.fulcrum.security.model.turbine.entity.TurbineUserGroupRoleEntity
addUserGroupRole, getUserGroupRoleSet, removeUserGroupRole, setUserGroupRoleSet
-
Methodendetails
-
getPermissions
PermissionSet getPermissions()Get the permission that are part of this role- Gibt zurück:
- a set of permissions
-
getPermissionsAsSet
Get the permission that are part of this role as Set- Gibt zurück:
- a set of permissions
-
setPermissions
Set the permission that are part of this role- Parameter:
permissionSet
- a set of permissions
-
setPermissionsAsSet
Set the permission that are part of this role as Set- Typparameter:
T
- Permission- Parameter:
permissions
- a set of permissions
-
addPermission
This method should only be used by a RoleManager. Not directly.- Parameter:
permission
- perm to add
-
removePermission
This method should only be used by a RoleManager. Not directly.- Parameter:
permission
- perm to remove
-