|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.accounting.security.authz.Role
public class Role
| Constructor Summary | |
|---|---|
Role(String name)
Basic constructor |
|
| Method Summary | |
|---|---|
void |
addAction(Action act)
Add the given action to this role |
void |
addActions(Action... acts)
Add the given actions to this role |
void |
addActions(Collection<Action> actions)
Add the given actions to this role |
String |
getName()
Return the name of the role |
boolean |
isAllowed(Action action)
Check whether the role can perform the given action |
void |
setName(String name)
Set the role name |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Role(String name)
name - | Method Detail |
|---|
public void setName(String name)
name - public String getName()
public boolean isAllowed(Action action)
action -
public void addAction(Action act)
act - public void addActions(Action... acts)
acts - public void addActions(Collection<Action> actions)
actions -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||