Schnittstelle TurbineAccessControlList<T extends TurbineAccessControlList<T>>
- Alle Superschnittstellen:
- AccessControlList,- Serializable
- Alle bekannten Implementierungsklassen:
- TurbineAccessControlListImpl
public interface TurbineAccessControlList<T extends TurbineAccessControlList<T>>
extends Serializable, AccessControlList
This interface describes a control class that makes it
 easy to find out if a particular User has a given Permission.
 It also determines if a User has a a particular Role.
- Version:
- $Id: AccessControlList.java 615328 2008-01-25 20:25:05Z tv $
- Autor:
- John D. McNally, Brett McLaughlin, Greg Ritter, Rafal Krzewski, Marco Knüttel, Henning P. Schmiedehausen
- 
MethodenübersichtModifizierer und TypMethodeBeschreibungGroup[]Returns all groups defined in the system.Retrieves a set of Groups an user is assigned to.Retrieves a set of Permissions an user is assigned in the global Group.getPermissions(Group group) Retrieves a set of Permissions an user is assigned in a Group.getRoles()Retrieves a set of Roles an user is assigned in the global Group.Retrieves a set of Roles an user is assigned in a Group.booleanhasPermission(String permission) Checks if the user is assigned a specific Permission in the global Group.booleanhasPermission(String permission, String group) Checks if the user is assigned a specific Permission in the Group.booleanhasPermission(String permission, Group group) Checks if the user is assigned a specific Permission in the Group.booleanhasPermission(String permissionName, GroupSet groupset) Checks if the user is assigned a specifie Permission in any of the given GroupsbooleanhasPermission(Permission permission) Checks if the user is assigned a specific Permission in the global Group.booleanhasPermission(Permission permission, Group group) Checks if the user is assigned a specific Permission in the Group.booleanhasPermission(Permission permission, GroupSet groupset) Checks if the user is assigned a specific Permission in any of the given GroupsbooleanChecks if the user is assigned a specific Role in the global Group.booleanChecks if the user is assigned a specific Role in the Group.booleanChecks if the user is assigned a specifie Role in any of the given GroupsbooleanChecks if the user is assigned a specific Role in the global Group.booleanChecks if the user is assigned a specific Role in the Group.booleanChecks if the user is assigned a specific Role in any of the given Groups
- 
Methodendetails- 
getRolesRetrieves a set of Roles an user is assigned in a Group.- Parameter:
- group- the Group
- Gibt zurück:
- the set of Roles this user has within the Group.
 
- 
getRolesRoleSet getRoles()Retrieves a set of Roles an user is assigned in the global Group.- Gibt zurück:
- the set of Roles this user has within the global Group or null.
 
- 
getPermissionsRetrieves a set of Permissions an user is assigned in a Group.- Parameter:
- group- the Group
- Gibt zurück:
- the set of Permissions this user has within the Group.
 
- 
getPermissionsPermissionSet getPermissions()Retrieves a set of Permissions an user is assigned in the global Group.- Gibt zurück:
- the set of Permissions this user has within the global Group.
 
- 
hasRoleChecks if the user is assigned a specific Role in the Group.- Parameter:
- role- the Role
- group- the Group
- Gibt zurück:
- trueif the user is assigned the Role in the Group.
 
- 
hasRoleChecks if the user is assigned a specific Role in any of the given Groups- Parameter:
- role- the Role
- groupset- a Groupset
- Gibt zurück:
- trueif the user is assigned the Role in any of the given Groups.
 
- 
hasRoleChecks if the user is assigned a specific Role in the Group.- Parameter:
- role- the Role
- group- the Group
- Gibt zurück:
- trueif the user is assigned the Role in the Group.
 
- 
hasRoleChecks if the user is assigned a specifie Role in any of the given Groups- Parameter:
- rolename- the name of the Role
- groupset- a Groupset
- Gibt zurück:
- trueif the user is assigned the Role in any of the given Groups.
 
- 
hasRoleChecks if the user is assigned a specific Role in the global Group.- Parameter:
- role- the Role
- Gibt zurück:
- trueif the user is assigned the Role in the global Group.
 
- 
hasRoleChecks if the user is assigned a specific Role in the global Group.- Parameter:
- role- the Role
- Gibt zurück:
- trueif the user is assigned the Role in the global Group.
 
- 
hasPermissionChecks if the user is assigned a specific Permission in the Group.- Parameter:
- permission- the Permission
- group- the Group
- Gibt zurück:
- trueif the user is assigned the Permission in the Group.
 
- 
hasPermissionChecks if the user is assigned a specific Permission in any of the given Groups- Parameter:
- permission- the Permission
- groupset- a Groupset
- Gibt zurück:
- trueif the user is assigned the Permission in any of the given Groups.
 
- 
hasPermissionChecks if the user is assigned a specific Permission in the Group.- Parameter:
- permission- the Permission
- group- the Group
- Gibt zurück:
- trueif the user is assigned the Permission in the Group.
 
- 
hasPermissionChecks if the user is assigned a specific Permission in the Group.- Parameter:
- permission- the Permission
- group- the Group
- Gibt zurück:
- trueif the user is assigned the Permission in the Group.
 
- 
hasPermissionChecks if the user is assigned a specifie Permission in any of the given Groups- Parameter:
- permissionName- the name of the Permission
- groupset- a Groupset
- Gibt zurück:
- trueif the user is assigned the Permission in any of the given Groups.
 
- 
hasPermissionChecks if the user is assigned a specific Permission in the global Group.- Parameter:
- permission- the Permission
- Gibt zurück:
- trueif the user is assigned the Permission in the global Group.
 
- 
hasPermissionChecks if the user is assigned a specific Permission in the global Group.- Parameter:
- permission- the Permission
- Gibt zurück:
- trueif the user is assigned the Permission in the global Group.
 
- 
getAllGroupsGroup[] getAllGroups()Returns all groups defined in the system.- Gibt zurück:
- An Array of all defined Groups This is useful for debugging, when you want to display all roles and permissions an user is assigned. This method is needed because you can't call static methods of TurbineSecurity class from within WebMacro/Velocity template
 
- 
getGroupSetGroupSet getGroupSet()Retrieves a set of Groups an user is assigned to.- Gibt zurück:
- the set of Groups this user is assigned to.
 
 
-