Skip navigation links


oracle.iam.request.vo
Class BasicRequest

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

All Implemented Interfaces:
java.io.Serializable, Request

public class BasicRequest
extends java.lang.Object
implements Request, java.io.Serializable

Value object storing information about a request

See Also:
Serialized Form

Constructor Summary
BasicRequest()
           
BasicRequest(RequestData requestData)
           
BasicRequest(java.lang.String requestTemplateName)
           
BasicRequest(java.lang.String name, boolean isModel)
           

 

Method Summary
 java.util.List getBeneficiaries()
          Gets a list of Beneficiary objects set with this request
 java.lang.String getBeneficiaryType()
          Gets the beneficiary type for this request.
 java.util.List getChildRequests()
          Gets a list of requests set as child of this request
 java.util.Date getCreationDate()
          Gets the date on which this request was created
 java.util.Date getEndDate()
          Gets the date on which this request ended
 long getEventID()
          Gets the orchestration event id for this request
 java.util.Date getExecutionDate()
          Gets the requested operation initiated date
 java.lang.String getJustification()
          Gets the justification of this request
 long getOrchID()
          Gets the orchestration id set for this request
 Request getParentRequest()
          Gets the parent request object of this request
 java.lang.String getReasonForFailure()
           
 java.lang.String getRequesterKey()
           
 java.lang.String getRequestID()
          Gets the request id of this request
 java.lang.Long getRequestKey()
          Gets the unique key of this request
 java.lang.String getRequestModelName()
          Gets the request model name set with this request
 long getRequestStage()
          Gets the request stage key set with this request
 java.lang.String getRequestStatus()
          Gets the status set with this request
 java.lang.String getRequestTemplateName()
          Gets the request template name set with this request
 java.util.List getTargetEntities()
          Gets a list of request entities set with this request
 java.util.List getTemplateAttributes()
          Gets the list of additional attributes defined in Request template set in this request
 java.lang.String isParent()
          Checks if this request has child requests
 void setEndDate(java.util.Date endDate)
           
 void setIsParent(java.lang.String isParent)
           

 

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

 

Methods inherited from interface oracle.iam.request.vo.Request
getApprovalData, setApprovalData, setBeneficiaries, setBeneficiaryType, setChildRequests, setCreationDate, setEventID, setExecutionDate, setJustification, setOrchID, setParentRequest, setReasonForFailure, setRequesterKey, setRequestID, setRequestKey, setRequestModelName, setRequestStage, setRequestStatus, setRequestTemplateName, setTargetEntities, setTemplateAttributes

 

Constructor Detail

BasicRequest

public BasicRequest()

BasicRequest

public BasicRequest(java.lang.String requestTemplateName)

BasicRequest

public BasicRequest(java.lang.String name,
                    boolean isModel)

BasicRequest

public BasicRequest(RequestData requestData)

Method Detail

getRequesterKey

public java.lang.String getRequesterKey()
Specified by:
getRequesterKey in interface Request

getCreationDate

public java.util.Date getCreationDate()
Description copied from interface: Request
Gets the date on which this request was created
Specified by:
getCreationDate in interface Request
Returns:
The date on which this request was created

getBeneficiaryType

public java.lang.String getBeneficiaryType()
Description copied from interface: Request
Gets the beneficiary type for this request. If the request raised is for provision based model, it returns either User or Organization
Specified by:
getBeneficiaryType in interface Request
Returns:
Beneficiary type for this request

getRequestTemplateName

public java.lang.String getRequestTemplateName()
Description copied from interface: Request
Gets the request template name set with this request
Specified by:
getRequestTemplateName in interface Request
Returns:
request template name set with this request

getRequestModelName

public java.lang.String getRequestModelName()
Description copied from interface: Request
Gets the request model name set with this request
Specified by:
getRequestModelName in interface Request
Returns:
request model name set with this request

getJustification

public java.lang.String getJustification()
Description copied from interface: Request
Gets the justification of this request
Specified by:
getJustification in interface Request
Returns:
justification of this request

getRequestStatus

public java.lang.String getRequestStatus()
Description copied from interface: Request
Gets the status set with this request
Specified by:
getRequestStatus in interface Request
Returns:
The status set with this request

getRequestStage

public long getRequestStage()
Description copied from interface: Request
Gets the request stage key set with this request
Specified by:
getRequestStage in interface Request
Returns:
The request stage key

getRequestID

public java.lang.String getRequestID()
Description copied from interface: Request
Gets the request id of this request
Specified by:
getRequestID in interface Request
Returns:
The request id

getExecutionDate

public java.util.Date getExecutionDate()
Description copied from interface: Request
Gets the requested operation initiated date
Specified by:
getExecutionDate in interface Request
Returns:
The requested operation initiated date

getBeneficiaries

public java.util.List getBeneficiaries()
Description copied from interface: Request
Gets a list of Beneficiary objects set with this request
Specified by:
getBeneficiaries in interface Request
Returns:
A list of Beneficiary

getTargetEntities

public java.util.List getTargetEntities()
Description copied from interface: Request
Gets a list of request entities set with this request
Specified by:
getTargetEntities in interface Request
Returns:
A list of RequestEntity

getRequestKey

public java.lang.Long getRequestKey()
Description copied from interface: Request
Gets the unique key of this request
Specified by:
getRequestKey in interface Request
Returns:
key of this request

isParent

public java.lang.String isParent()
Description copied from interface: Request
Checks if this request has child requests
Specified by:
isParent in interface Request
Returns:
"true" if this request has child request, "false" otherwise

setIsParent

public void setIsParent(java.lang.String isParent)
Specified by:
setIsParent in interface Request

getOrchID

public long getOrchID()
Description copied from interface: Request
Gets the orchestration id set for this request
Specified by:
getOrchID in interface Request
Returns:
orchestration id set for this request

getEventID

public long getEventID()
Description copied from interface: Request
Gets the orchestration event id for this request
Specified by:
getEventID in interface Request
Returns:
The Orchestration event id

getParentRequest

public Request getParentRequest()
Description copied from interface: Request
Gets the parent request object of this request
Specified by:
getParentRequest in interface Request
Returns:
The parent request

getChildRequests

public java.util.List getChildRequests()
Description copied from interface: Request
Gets a list of requests set as child of this request
Specified by:
getChildRequests in interface Request
Returns:
A list of request set as child of this request

getEndDate

public java.util.Date getEndDate()
Description copied from interface: Request
Gets the date on which this request ended
Specified by:
getEndDate in interface Request
Returns:
End date of this request

setEndDate

public void setEndDate(java.util.Date endDate)
Specified by:
setEndDate in interface Request

getTemplateAttributes

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

getReasonForFailure

public java.lang.String getReasonForFailure()
Specified by:
getReasonForFailure in interface Request
Returns:

Skip navigation links


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