Package oracle.iam.request.vo
Interface Request
public interface Request
This value object stores information about a Request.
-
Method Summary
Modifier and TypeMethodDescriptionGets the list of additional attributes set in this requestList<oracle.iam.request.vo.ApprovalData>Gets the Approval details i.e process id, current status, for this requestGets a list of Beneficiary objects set with this requestGets the beneficiary type for this request.Gets a list of requests set as child of this requestGets the date on which this request was createdGets the date on which this request endedlongGets the orchestration event id for this requestGets the requested operation initiated dateGets the justification of this requestlongGets the orchestration id set for this requestGets the parent request object of this requestGets the request id of this requestGets the unique key of this requestGets the request model name set with this requestlongGets the request stage key set with this requestGets the status set with this requestDeprecated.Gets a list of request entities set with this requestGets the list of additional attributes defined in Request template set in this requestbooleanisParent()Checks if this request has child requestsbooleanisRequestWithdrawAllowed(List<RequestStage> requestStages) Checks whether the requester is allowed to be close/withdrawn or not.voidsetAdditionalAttributes(List<RequestTemplateAttribute> additionalAttributes) Sets addition attributes to this request.voidsetApprovalData(List<oracle.iam.request.vo.ApprovalData> approvalData) voidsetBeneficiaries(List<Beneficiary> beneficiary) voidsetBeneficiaryType(String beneficiaryType) voidsetChildRequests(List<Request> childRequests) voidsetCreationDate(Date date) voidsetEndDate(Date date) voidsetEventID(long eventID) voidsetExecutionDate(Date date) voidsetIsDirectOperation(boolean isDirectOperation) Sets the flag to determine if the request turns into a direct operation or not.voidsetIsParent(String isParent) voidsetJustification(String justification) voidsetOrchID(long orchID) voidsetParentRequest(Request parent) voidsetReasonForFailure(String error) voidsetRequestID(String id) voidsetRequestKey(Long key) voidsetRequestModelName(String modelName) voidsetRequestStage(long stageKey) voidsetRequestStatus(String status) voidsetRequestTemplateName(String templateName) Deprecated.voidsetTargetEntities(List<RequestEntity> entities) voidsetTemplateAttributes(List<RequestTemplateAttribute> templateAttributes)
-
Method Details
-
setRequestModelName
-
getRequestModelName
String getRequestModelName()Gets the request model name set with this request- Returns:
- request model name set with this request
-
setRequestTemplateName
Deprecated. -
getRequestTemplateName
Deprecated.Gets the request template name set with this request- Returns:
- request template name set with this request
-
setJustification
-
getJustification
String getJustification()Gets the justification of this request- Returns:
- justification of this request
-
setRequestStatus
-
getRequestStatus
String getRequestStatus()Gets the status set with this request- Returns:
- The status set with this request
-
setRequestStage
void setRequestStage(long stageKey) -
getRequestStage
long getRequestStage()Gets the request stage key set with this request- Returns:
- The request stage key
-
setRequestID
-
getRequestID
String getRequestID()Gets the request id of this request- Returns:
- The request id
-
setParentRequest
-
getParentRequest
Request getParentRequest()Gets the parent request object of this request- Returns:
- The parent request
-
setChildRequests
-
getChildRequests
Gets a list of requests set as child of this request- Returns:
- A list of request set as child of this request
-
setExecutionDate
-
getExecutionDate
Date getExecutionDate()Gets the requested operation initiated date- Returns:
- The requested operation initiated date
-
setTargetEntities
-
getTargetEntities
List<RequestEntity> getTargetEntities()Gets a list of request entities set with this request- Returns:
- A list of RequestEntity
-
setBeneficiaries
-
getBeneficiaries
List<Beneficiary> getBeneficiaries()Gets a list of Beneficiary objects set with this request- Returns:
- A list of Beneficiary
-
setRequestKey
-
getRequestKey
Long getRequestKey()Gets the unique key of this request- Returns:
- key of this request
-
getRequesterKey
String getRequesterKey() -
getCreationDate
Date getCreationDate()Gets the date on which this request was created- Returns:
- The date on which this request was created
-
setCreationDate
-
isParent
String isParent()Checks if this request has child requests- Returns:
- "true" if this request has child request, "false" otherwise
-
setIsParent
-
getOrchID
long getOrchID()Gets the orchestration id set for this request- Returns:
- orchestration id set for this request
-
setOrchID
void setOrchID(long orchID) -
getEventID
long getEventID()Gets the orchestration event id for this request- Returns:
- The Orchestration event id
-
setEventID
void setEventID(long eventID) -
getBeneficiaryType
String getBeneficiaryType()Gets the beneficiary type for this request. If the request raised is for provision based model, it returns either User or Organization- Returns:
- Beneficiary type for this request
-
setBeneficiaryType
-
getApprovalData
List<oracle.iam.request.vo.ApprovalData> getApprovalData()Gets the Approval details i.e process id, current status, for this request- Returns:
- Approval details for this request
-
setApprovalData
-
getEndDate
Date getEndDate()Gets the date on which this request ended- Returns:
- End date of this request
-
setEndDate
-
getTemplateAttributes
List<RequestTemplateAttribute> getTemplateAttributes()Gets the list of additional attributes defined in Request template set in this request- Returns:
- List of RequestTemplateAttributes
-
setTemplateAttributes
-
getReasonForFailure
String getReasonForFailure()- Returns:
-
setReasonForFailure
- Parameters:
error-
-
isRequestWithdrawAllowed
Checks whether the requester is allowed to be close/withdrawn or not. If the child requests status is not in approval status, then the request cann't be withdrawn or closed.- Returns:
-
getAdditionalAttributes
List<RequestTemplateAttribute> getAdditionalAttributes()Gets the list of additional attributes set in this request- Returns:
- List of RequestTemplateAttributes
-
setAdditionalAttributes
Sets addition attributes to this request.- Parameters:
templateAttributes- List of RequestTemplateAttribute
-
getDependsOnRequestId
String getDependsOnRequestId() -
setIsDirectOperation
void setIsDirectOperation(boolean isDirectOperation) Sets the flag to determine if the request turns into a direct operation or not.- Parameters:
isDirectOperation- - true if request results in direct operation, false otherwise
-
isDirectOperation
boolean isDirectOperation()- Returns:
- true - if request resulted into a direct operation, false otherwise
-