|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ace.mws.tenants.Permission
class Permission
Represents a permission
Field Summary | |
---|---|
private String |
action
The action that can be performed on the resource. |
private String |
description
A description of this permission. |
private String |
id
The unique ID of this role. |
private String |
label
A human readable label for this permission. |
private String |
resource
The resource the permission applies to. |
private Map |
resourceFilter
(Map of String => String) A map used to limit which resource instances this permission applies to. |
private String |
type
The type of the permission. |
Constructor Summary | |
Permission()
|
Method Summary | |
---|---|
String
|
getAction()
The action that can be performed on the resource. |
String
|
getDescription()
A description of this permission. |
String
|
getId()
The unique ID of this role. |
String
|
getLabel()
A human readable label for this permission. |
String
|
getResource()
The resource the permission applies to. |
Map
|
getResourceFilter()
(Map of String => String) A map used to limit which resource instances this permission applies to. |
String
|
getType()
The type of the permission. |
void
|
setAction(String action)
The action that can be performed on the resource. |
void
|
setDescription(String description)
A description of this permission. |
void
|
setId(String id)
The unique ID of this role. |
void
|
setLabel(String label)
A human readable label for this permission. |
void
|
setResource(String resource)
The resource the permission applies to. |
void
|
setResourceFilter(Map resourceFilter)
(Map of String => String) A map used to limit which resource instances this permission applies to. |
void
|
setType(String type)
The type of the permission. |
String
|
toString()
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
private String action
private String description
private String id
private String label
private String resource
private Map resourceFilter
private String type
Constructor Detail |
---|
Permission()
Method Detail |
---|
String getAction()
String getDescription()
String getId()
String getLabel()
String getResource()
Map getResourceFilter()
String getType()
void setAction(String action)
void setDescription(String description)
void setId(String id)
void setLabel(String label)
void setResource(String resource)
void setResourceFilter(Map resourceFilter)
void setType(String type)
String toString()
Groovy Documentation