Package nl.gx.webmanager.authorization
Interface PermissionGroup
-
- All Superinterfaces:
HtmlObjectWrapper
public interface PermissionGroup extends HtmlObjectWrapper
A grouping of permissions. Adds no real functionality but is mainly intended for backward compatibility to support the depracated Supergod, maineditor and GX_users groups.- Author:
- arjans
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
checkAccess(String permissionValue)
Returns true if this permission group contains the given permission.String
getName()
Return the language dependend name of this permission group.Permission[]
getPermissions()
Returns all permissions assigned to the permission group.String
getValue()
Returns String representation of a value of a permission group.boolean
isDevelopment()
Returns true if the permission group applies for developers only.-
Methods inherited from interface nl.gx.webmanager.authorization.HtmlObjectWrapper
getId, getUuid
-
-
-
-
Method Detail
-
checkAccess
boolean checkAccess(String permissionValue)
Returns true if this permission group contains the given permission.- Parameters:
permissionValue
- Value that uniquely identifies the permission to check- Returns:
- true if this permission group contains the given permission
-
getValue
String getValue()
Returns String representation of a value of a permission group.- Returns:
- String representation of a value of a permission group
-
getPermissions
Permission[] getPermissions()
Returns all permissions assigned to the permission group.- Returns:
- all permissions assigned to the permission group
-
isDevelopment
boolean isDevelopment()
Returns true if the permission group applies for developers only.- Returns:
- true if the permission group applies for developers only
-
getName
String getName()
Return the language dependend name of this permission group.- Returns:
- Language dependend name of this permission group
-
-