nl.gx.webmanager.authorization
Interface PermissionCategory

All Superinterfaces:
HtmlObjectWrapper
All Known Implementing Classes:
PermissionCategoryImpl

public interface PermissionCategory
extends HtmlObjectWrapper

Category bundling a number of permissions. Each permission is assigned to exactly one category.

Author:
arjans

Method Summary
 void addPermission(Permission permission)
          Adds a permission to the volatile permissions
 java.lang.String getLabelId()
          Return the id of the label assosiated with this permission category.
 java.lang.String getName()
          Return the language dependent description of the permission category.
 Permission[] getPermissions()
          Returns an array of all permission class instances in the category.
 boolean getShowAsComponent()
          Return if the permission category should also be visible in the components tab of the Web Initiative configuration panel
 java.lang.String getValue()
          Returns a unique identifying value of the category.
 
Methods inherited from interface nl.gx.webmanager.authorization.HtmlObjectWrapper
getId, getUuid
 

Method Detail

getValue

java.lang.String getValue()
Returns a unique identifying value of the category.

Returns:
a unique identifying value of the category

getLabelId

java.lang.String getLabelId()
Return the id of the label assosiated with this permission category.

Returns:
The label id of the category.

getPermissions

Permission[] getPermissions()
Returns an array of all permission class instances in the category.

Returns:
an array of all permission class instances in the category

addPermission

void addPermission(Permission permission)
Adds a permission to the volatile permissions

Parameters:
permission - Permission to add

getName

java.lang.String getName()
Return the language dependent description of the permission category.

Returns:
the language dependent description of the permission category

getShowAsComponent

boolean getShowAsComponent()
Return if the permission category should also be visible in the components tab of the Web Initiative configuration panel

Returns:
true if the permission category should also be visible in the components tab of the Web Initiative configuration panel, false otherwise


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