|
||||||||||
| 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.PermissionImpl
public class PermissionImpl
Implementation of the Permission interface. This implementation can wrap the rbac_permission siteworks objecttype, but not necessarily does so.
| Field Summary |
|---|
| Fields inherited from class nl.gx.webmanager.authorization.impl.HtmlObjectWrapperImpl |
|---|
id |
| Constructor Summary | |
|---|---|
PermissionImpl()
Default constructor for a Permission implementation instance. |
|
PermissionImpl(java.lang.String value,
java.lang.String labelid,
PermissionCategory permissionCategory)
Constructor used in component definitions to create the permissions which are used in a component. |
|
| Method Summary | |
|---|---|
boolean |
checkAccess(java.lang.String permissionValue)
Returns true if this permission is identified by the given value. |
boolean |
equals(java.lang.Object obj)
|
PermissionCategory |
getCategory()
Return the permission category of this permission. |
java.lang.String |
getLabelId()
Return the id of the label assosiated with this permission. |
java.lang.String |
getName()
Return the language dependend name of this permission group. |
java.lang.String |
getValue()
Returns the unique, externally defined, value of the permission. |
| 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 PermissionImpl()
public PermissionImpl(java.lang.String value,
java.lang.String labelid,
PermissionCategory permissionCategory)
value - Value of a permission used to describe itlabelid - Id of the label assosiated with the permissionpermissionCategory - Permission category of the permission| Method Detail |
|---|
public boolean checkAccess(java.lang.String permissionValue)
Permission
checkAccess in interface PermissionpermissionValue - Value that uniquely identifies the permission to check
public java.lang.String getValue()
Permission
getValue in interface Permissionpublic PermissionCategory getCategory()
Permission
getCategory in interface Permissionpublic java.lang.String getLabelId()
Permission
getLabelId in interface Permissionpublic boolean equals(java.lang.Object obj)
equals in class HtmlObjectWrapperImplpublic java.lang.String getName()
Permission
getName in interface Permission
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||