|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.dataservices.model.Permission
Class that represents a permission within an AccessRight, or ACI. A Permission may consist of class level rights and/or attribute level rights.
Field Summary | |
---|---|
static java.lang.String |
DENY
Constant defining the action for denying permission. |
static java.lang.String |
GRANT
Constant defining the action for granting permission. |
Constructor Summary | |
---|---|
Permission()
|
Method Summary | |
---|---|
void |
addAttributeRight(AttributeRight attributeRight)
Deprecated. Add rights directly to Collection returned in getAttributeRights() instead. |
void |
addClassRight(java.lang.String classRight)
Deprecated. Add rights directly to Collection returned in getClassRights() instead. |
java.lang.String |
getAction()
Returns the action of the Permission. |
java.util.Collection |
getAttributeRights()
Returns a collection of attribute level rights. |
java.util.Collection |
getClassRights()
Returns a collection of class level rights. |
void |
setAction(java.lang.String action)
Changes the action of the Permission. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String GRANT
public static final java.lang.String DENY
Constructor Detail |
public Permission()
Method Detail |
public java.lang.String getAction()
public void setAction(java.lang.String action)
action
- Enumerated String action, GRANT or DENY.public java.util.Collection getAttributeRights()
public java.util.Collection getClassRights()
public void addClassRight(java.lang.String classRight)
classRight
- name of an operation that may be executed
on the subject class of entity(s) being protected.public void addAttributeRight(AttributeRight attributeRight)
attributeRight
- represents an operation that may be performed
on an attribute of the subject class of entity(s)
being protected.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |