|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Permission
A Permission is a privilege that allows to perform a specific operation on a specific resource, e.g. to view a specific page.
This class models the concept of a permission for the purpose of querying if
a principal has a permission or a set of permissions. New permission objects
can be created using the AccessControlEnvironment
and then be
used in a hasPermission
query on
AccessControlGlobalRuntimeModel
.
AccessControlEnvironment
,
AccessControlGlobalRuntimeModel
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Returns true if this Permission is equal to the given object. |
int |
hashCode()
Returns the hash code of this permission. |
Method Detail |
---|
int hashCode()
hashCode
in class java.lang.Object
boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- The object for the equals check with this Permission.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |