Skip navigation links


oracle.iam.request.vo
Class RequestEntity

java.lang.Object
  extended by oracle.iam.request.vo.RequestEntity

All Implemented Interfaces:
java.io.Serializable

public class RequestEntity
extends java.lang.Object
implements java.io.Serializable

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:

See Also:
Serialized Form

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

USER_ENTITY_TYPE

public static final java.lang.String USER_ENTITY_TYPE
A constant for User entity-type.
See Also:
Constant Field Values

ROLE_ENTITY_TYPE

public static final java.lang.String ROLE_ENTITY_TYPE
A constant for Role entity-type.
See Also:
Constant Field Values

Constructor Detail

RequestEntity

public RequestEntity()
Constructs RequestEntity object with default construct

Method Detail

setEntityType

public void setEntityType(java.lang.String entityType)
Sets the request entity type i.e User/Role
Parameters:
entityType - Request entity type.

getEntityType

public java.lang.String getEntityType()
Gets the entity-type for this object
Returns:
Entity-type i.e. "User"/"Role"

setEntityData

public void setEntityData(java.util.List entityAttributes)
Sets the Request data for this RequestEntity. List of RequestEntityAttribute represents the data to be collected by request for the operation, based on the attributes defined in dataset and request type.
Parameters:
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.

getEntityData

public java.util.List getEntityData()
Gets the request data associated with this RequestEntity
Returns:
List of entity attribute objects

getEntitySubType

public java.lang.String getEntitySubType()
Gets Role name in case of Role based request type, otherwise null.
Returns:
entity sub type.

setEntitySubType

public 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. This value is used to generate request Preview by Request Engine and pass details to SOA.
Parameters:
entitySubType - Role name incase of Role based request type.

getEntityKey

public java.lang.String getEntityKey()
Gets the associated entity key set for this object. For request type that is associated with User entity and non-create, it returns usr_key, and for request type associated with Role entity, it returns ugp_key.For request type that is of create type , it returns null.
Returns:
entity key i.e. usr_key for User and ugp_key for Role entity, otherwise null.

setEntityKey

public void setEntityKey(java.lang.String entityKey)
Sets the entity key for this RequestEntity.
Parameters:
entityKey - usr_key for User and ugp_key for Role entity, when request type is of non-create type.

getRequestEntityAttribute

public RequestEntityAttribute getRequestEntityAttribute(java.lang.String attributeName)
Gets a list of entity attributes from the request data. These attributes are based on request dataset attributes, for the specific request type, and its associated data-value.
Parameters:
attributeName - Attribute name based on dataset attribute name .
Returns:
attribute list of attribute object and its value.

Skip navigation links


Copyright © 2010, Oracle and/or its affiliates. All rights reserved.