|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.iam.request.vo.RequestEntity
public class RequestEntity
This is the value object that stores User or Role entity details associated with a request. This object needs to be associated with a request only for following request types:
Field Summary | |
---|---|
static java.lang.String |
ROLE_ENTITY_TYPE A constant for Role entity-type. |
static java.lang.String |
USER_ENTITY_TYPE A constant for User entity-type. |
Constructor Summary | |
---|---|
RequestEntity() Constructs RequestEntity object with default construct |
Method Summary | |
---|---|
java.util.List |
getEntityData() Gets the request data associated with this RequestEntity |
java.lang.String |
getEntityKey() Gets the associated entity key set for this object. |
java.lang.String |
getEntitySubType() Gets Role name in case of Role based request type, otherwise null. |
java.lang.String |
getEntityType() Gets the entity-type for this object |
RequestEntityAttribute |
getRequestEntityAttribute(java.lang.String attributeName) Gets a list of entity attributes from the request data. |
void |
setEntityData(java.util.List entityAttributes) Sets the Request data for this RequestEntity. |
void |
setEntityKey(java.lang.String entityKey) Sets the entity key for this RequestEntity. |
void |
setEntitySubType(java.lang.String entitySubType) Sets entity name associated with the entity.Only in case of Role based request type,set this value to Role name. |
void |
setEntityType(java.lang.String entityType) Sets the request entity type i.e User/Role |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String USER_ENTITY_TYPE
public static final java.lang.String ROLE_ENTITY_TYPE
Constructor Detail |
---|
public RequestEntity()
Method Detail |
---|
public void setEntityType(java.lang.String entityType)
entityType
- Request entity type.public java.lang.String getEntityType()
public void setEntityData(java.util.List entityAttributes)
entityAttributes
- List of entity attributes objects. Each attribute defined needs to be a valid attribute defined in dataset for the request type and its data-value based on data-type.public java.util.List getEntityData()
public java.lang.String getEntitySubType()
public void setEntitySubType(java.lang.String entitySubType)
entitySubType
- Role name incase of Role based request type.public java.lang.String getEntityKey()
public void setEntityKey(java.lang.String entityKey)
entityKey
- usr_key for User and ugp_key for Role entity, when request type is of non-create type.public RequestEntityAttribute getRequestEntityAttribute(java.lang.String attributeName)
attributeName
- Attribute name based on dataset attribute name .
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |