nl.gx.webmanager.authorization
Interface PermissionGroup

All Superinterfaces:
HtmlObjectWrapper
All Known Implementing Classes:
PermissionGroupImpl

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
 boolean checkAccess(java.lang.String permissionValue)
          Returns true if this permission group contains the given permission.
 java.lang.String getName()
          Return the language dependend name of this permission group.
 Permission[] getPermissions()
          Returns all permissions assigned to the permission group.
 java.lang.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(java.lang.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

java.lang.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

java.lang.String getName()
Return the language dependend name of this permission group.

Returns:
Language dependend name of this permission group


Copyright © 2007-2011 GX Software BV. All Rights Reserved.