Klasse TurbineRoleImpl
java.lang.Object
org.apache.fulcrum.security.entity.impl.SecurityEntityImpl
org.apache.fulcrum.security.model.turbine.entity.impl.AbstractTurbineSecurityEntityImpl
org.apache.fulcrum.security.model.turbine.entity.impl.TurbineRoleImpl
- Alle implementierten Schnittstellen:
Serializable
,Role
,SecurityEntity
,TurbineRole
,TurbineUserGroupRoleEntity
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: TurbineRole.java 437451 2006-08-27 20:20:44Z tv $
- Autor:
- Eric Pugh
- Siehe auch:
-
Konstruktorübersicht
Konstruktoren -
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 Klasse geerbte Methoden org.apache.fulcrum.security.model.turbine.entity.impl.AbstractTurbineSecurityEntityImpl
addUserGroupRole, getUserGroupRoleSet, removeUserGroupRole, setUserGroupRoleSet
Von Klasse geerbte Methoden org.apache.fulcrum.security.entity.impl.SecurityEntityImpl
equals, getId, getName, hashCode, setId, setName, toString
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von 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
-
Konstruktordetails
-
TurbineRoleImpl
public TurbineRoleImpl()
-
-
Methodendetails
-
getPermissions
Get the permission that are part of this role- Angegeben von:
getPermissions
in SchnittstelleTurbineRole
- Gibt zurück:
- a set of permissions
-
getPermissionsAsSet
Get the permission that are part of this role as Set- Angegeben von:
getPermissionsAsSet
in SchnittstelleTurbineRole
- Gibt zurück:
- a set of permissions
-
setPermissions
Set the permission that are part of this role- Angegeben von:
setPermissions
in SchnittstelleTurbineRole
- Parameter:
permissionSet
- a set of permissions
-
setPermissionsAsSet
Set the permission that are part of this role as Set- Angegeben von:
setPermissionsAsSet
in SchnittstelleTurbineRole
- Typparameter:
T
- Permission- Parameter:
permissions
- a set of permissions
-
addPermission
This method should only be used by a RoleManager. Not directly.- Angegeben von:
addPermission
in SchnittstelleTurbineRole
- Parameter:
permission
- the permission to add
-
removePermission
This method should only be used by a RoleManager. Not directly.- Angegeben von:
removePermission
in SchnittstelleTurbineRole
- Parameter:
permission
- the permission to remove
-