|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ace.mws.tenants.Role
class Role
A role defines a set of permissions that are based on the proxy-user. If no proxy user is specified then access to objects in MWS are limited to its application permissions. For example if the application has permission to update all resources in MWS and no proxy-user is specified in the request then the request can access all resources in MWS.
Field Summary | |
---|---|
private String |
description
The role description. |
private String |
id
The unique ID of this role. |
private String |
name
The unique human-readable name of this role. |
private List |
permissions
(Permission collection)The set of permissions enforced based on the proxy-user. |
Constructor Summary | |
Role()
|
Method Summary | |
---|---|
String
|
getDescription()
The role description. |
String
|
getId()
The unique ID of this role. |
String
|
getName()
The unique human-readable name of this role. |
List
|
getPermissions()
(Permission collection)The set of permissions enforced based on the proxy-user. |
void
|
setDescription(String description)
The role description. |
void
|
setId(String id)
The unique ID of this role. |
void
|
setName(String name)
The unique human-readable name of this role. |
void
|
setPermissions(List permissions)
(Permission collection)The set of permissions enforced based on the proxy-user. |
String
|
toString()
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
private String description
private String id
private String name
private List permissions
Constructor Detail |
---|
Role()
Method Detail |
---|
String getDescription()
String getId()
String getName()
List getPermissions()
void setDescription(String description)
void setId(String id)
void setName(String name)
void setPermissions(List permissions)
String toString()
Groovy Documentation