|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAuthorizationHierarchy
Defines an Hierarchy of authorization levels such as guest < user < priviledged
user < administrator as these are defined in Priviledges
.
Extends the Comparable Interface and uses the method compareTo(IAuthorizationHierarchy other)
to define a relationship between the various access levels.
Method Summary | |
---|---|
int |
compareTo(IAuthorizationHierarchy other)
Compares two Access Levels and returns an integer that describes a comparison relationship between them. |
java.lang.String |
getLevel()
The priviledges as a string, i.e. |
Method Detail |
---|
int compareTo(IAuthorizationHierarchy other)
compareTo
in interface java.lang.Comparable<IAuthorizationHierarchy>
other
- The Access Level (IAuthorizationHierarchy
) to compare with.
java.lang.String getLevel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |