|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.gx.webmanager.authorization.impl.HtmlObjectWrapperImpl
nl.gx.webmanager.authorization.impl.PermissionGroupImpl
public class PermissionGroupImpl
Implementation of the PermissionGroup interface. This implementation wraps the rbac_permission_group siteworks objecttype.
| Field Summary |
|---|
| Fields inherited from class nl.gx.webmanager.authorization.impl.HtmlObjectWrapperImpl |
|---|
id |
| Constructor Summary | |
|---|---|
PermissionGroupImpl()
Default constructor for a PermissionGroup implementation instance. |
|
PermissionGroupImpl(java.lang.String id)
Constructor for a PermissionGroup implementation taking the id of the siteworks object it wraps as a parameter. |
|
PermissionGroupImpl(java.lang.String id,
int webid)
Constructor for a permission group when it is used within a webinitiatif, this way it returns only licensed permissions for that webinitiatif. |
|
| Method Summary | |
|---|---|
boolean |
checkAccess(java.lang.String permissionValue)
Returns true if this permission group contains the given permission. |
boolean |
equals(java.lang.Object obj)
|
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 class nl.gx.webmanager.authorization.impl.HtmlObjectWrapperImpl |
|---|
assignRelatedObject, delete, getAssignment, getAssignmentObjects, getAssignments, getId, getUuid, removeRelatedObjects, setAssignment, setAssignments, setComponent, setId, setNode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface nl.gx.webmanager.authorization.HtmlObjectWrapper |
|---|
getId, getUuid |
| Constructor Detail |
|---|
public PermissionGroupImpl()
public PermissionGroupImpl(java.lang.String id)
id - Id of a rbac_permission_group siteworks object
public PermissionGroupImpl(java.lang.String id,
int webid)
id - Id of a rbac_permission_group siteworks objectwebid - Id of a wm_webinitiatif siteworks object| Method Detail |
|---|
public java.lang.String getValue()
PermissionGroup
getValue in interface PermissionGrouppublic Permission[] getPermissions()
PermissionGroup
getPermissions in interface PermissionGrouppublic boolean isDevelopment()
PermissionGroup
isDevelopment in interface PermissionGrouppublic boolean equals(java.lang.Object obj)
equals in class HtmlObjectWrapperImplpublic boolean checkAccess(java.lang.String permissionValue)
PermissionGroup
checkAccess in interface PermissionGrouppermissionValue - Value that uniquely identifies the permission to check
public java.lang.String getName()
PermissionGroup
getName in interface PermissionGroup
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||