Skip navigation links


oracle.iam.request.vo
Class RequestData

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

All Implemented Interfaces:
java.io.Serializable

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

This value object stores request information to be submitted for Request creation.

See Also:
Serialized Form

Constructor Summary
RequestData()
          Constructs a new RequestData object with default constructs.
RequestData(Request request)
          This constructor is only for internal use
RequestData(java.lang.String templateName)
          Constructs a new RequestData with the specified Request template name.
RequestData(java.lang.String requestTemplateName, java.lang.String justification, java.util.Date executionDate, java.util.List beneficiaries, java.util.List targetEntities)
          Note: This constructor is only for internal use.

 

Method Summary
 java.util.List getBeneficiaries()
          Gets the list of all Beneficiary details set with this request
 java.util.Date getExecutionDate()
          Gets the requested operation initiated date
 java.lang.String getJustification()
          Gets the justification for creating this request
 java.lang.String getRequestTemplateName()
          Gets the request template name set with this request
 java.util.List getTargetEntities()
          Gets a list of request entity objects set with this request.
 java.util.List getTemplateAttributes()
          Gets the list of additional attributes defined in Request template set in this request
 void setBeneficiaries(java.util.List beneficiaries)
          Sets a list of beneficiary objects to this RequestData.
 void setExecutionDate(java.util.Date date)
          Sets the date on which this request starts the initiation of request
 void setJustification(java.lang.String justification)
          Sets justification to this request
 void setRequestTemplateName(java.lang.String templateName)
          Sets Request template name to this request
 void setTargetEntities(java.util.List targetEntities)
          Sets a list of RequestEntity object to this request.
 void setTemplateAttributes(java.util.List templateAttributes)
          Sets addition attributes to this request.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

RequestData

public RequestData()
Constructs a new RequestData object with default constructs.

RequestData

public RequestData(java.lang.String templateName)
Constructs a new RequestData with the specified Request template name.
Parameters:
templateName - Request Template name

RequestData

public RequestData(java.lang.String requestTemplateName,
                   java.lang.String justification,
                   java.util.Date executionDate,
                   java.util.List beneficiaries,
                   java.util.List targetEntities)
Note: This constructor is only for internal use.

Constructs a new RequestData with specified Request template name, justification, date to initiate request operation , list of Beneficiary object, list of RequestEntity object. A requestData object is created either with a list of Beneficiary or with a list of RequestEntity object for a Request Template.

Parameters:
requestTemplateName - Request Template name
justification - Justification for request creation
executionDate - Date to initiate this request operation
beneficiaries - List of Beneficiaries
targetEntities - List of RequestEntity
See Also:
oracle.iam.request.vo.Beneficiary, oracle.iam.request.vo.RequestEntity

RequestData

public RequestData(Request request)
This constructor is only for internal use
Parameters:
request - Request object

Method Detail

getRequestTemplateName

public java.lang.String getRequestTemplateName()
Gets the request template name set with this request
Returns:
request template name set with this request

setRequestTemplateName

public void setRequestTemplateName(java.lang.String templateName)
Sets Request template name to this request
Parameters:
templateName - The request template name to be set in this request

getJustification

public java.lang.String getJustification()
Gets the justification for creating this request
Returns:
justification of this request

setJustification

public void setJustification(java.lang.String justification)
Sets justification to this request
Parameters:
justification - The justification to create this request

getExecutionDate

public java.util.Date getExecutionDate()
Gets the requested operation initiated date
Returns:
The requested operation initiated date

setExecutionDate

public void setExecutionDate(java.util.Date date)
Sets the date on which this request starts the initiation of request
Parameters:
date - The date on which requested operation needs initiation

getBeneficiaries

public java.util.List getBeneficiaries()
Gets the list of all Beneficiary details set with this request
Returns:
A list of Beneficiary

setBeneficiaries

public void setBeneficiaries(java.util.List beneficiaries)
Sets a list of beneficiary objects to this RequestData. A RequestData object needs to be set with a list beneficiary objects, only when the request type is one of the below:

Setting the beneficiary object is meant to create/delete/modify an one-to-one relationship between beneficiary (an user) and entities which can be Resource, Resource instance or Role. For the above request types, RequestData can be set with a list of beneficiaries and each beneficiary can have a list of entities associated with the relationship.

Parameters:
beneficiaries - A list of Beneficiary objects

getTargetEntities

public java.util.List getTargetEntities()
Gets a list of request entity objects set with this request. RequestEntity (refer to as "Target Entity") object represents the target "User" or "Role" entity on which requested operation is performed.
Returns:
A list of RequestEntity

setTargetEntities

public void setTargetEntities(java.util.List targetEntities)
Sets a list of RequestEntity object to this request. RequestEntity (refer to as "Target Entity") object represents the target "User" or "Role" entity on which requested operation is performed. A RequestData object needs to be set with a list of RequestEntity objects, only when the request type is one of the below:

Requested operation is directly performed on the target RequestEntity. For the above request types, RequestData can be set with a list of Target Entities.

Parameters:
targetEntities - List of RequestEntity object

getTemplateAttributes

public java.util.List getTemplateAttributes()
Gets the list of additional attributes defined in Request template set in this request
Returns:
List of RequestTemplateAttributes

setTemplateAttributes

public void setTemplateAttributes(java.util.List templateAttributes)
Sets addition attributes to this request. These additional attributes are defined at request template and is used only for reporting purpose.
Parameters:
templateAttributes - List of RequestTemplateAttribute

Skip navigation links


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