Groovy Documentation

com.ace.mws.tenants
[Groovy] Class Role

java.lang.Object
  com.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.

Authors:
jpratt


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

description

private String description
The role description.


id

private String id
The unique ID of this role.


name

private String name
The unique human-readable name of this role. Required during POST.


permissions

private List permissions
(Permission collection)The set of permissions enforced based on the proxy-user.
See Also:
Permission


 
Constructor Detail

Role

Role()


 
Method Detail

getDescription

String getDescription()
The role description.


getId

String getId()
The unique ID of this role.


getName

String getName()
The unique human-readable name of this role. Required during POST.


getPermissions

List getPermissions()
(Permission collection)The set of permissions enforced based on the proxy-user.
See Also:
Permission


setDescription

void setDescription(String description)
The role description.


setId

void setId(String id)
The unique ID of this role.


setName

void setName(String name)
The unique human-readable name of this role. Required during POST.


setPermissions

void setPermissions(List permissions)
(Permission collection)The set of permissions enforced based on the proxy-user.
See Also:
Permission


toString

String toString()


 

Groovy Documentation