|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserRole
The abstraction of the user role.
The user may belong to one of the roles: admin, user or registry. Perticipation in admin and registry allows to list all the jobs running on the system. Participation in admin also allows to use TS management interface. Plain user role is for ordinary users. They may list only their jobs and don't have access to system private information.
Method Summary | |
---|---|
boolean |
isAdmin()
|
boolean |
isRegistry()
|
boolean |
isUser()
|
void |
setAdmin()
Set the role to admin . |
void |
setRegistry()
Set the role to registry . |
void |
setUser()
Set the role to user . |
Method Detail |
---|
boolean isAdmin()
true
if the user role is admin
boolean isUser()
true
if the user role is user
boolean isRegistry()
true
if the user role is registry
void setAdmin()
admin
.
void setUser()
user
.
void setRegistry()
registry
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |