Class ApprovalRequest
java.lang.Object
org.apache.camel.component.salesforce.api.dto.approval.ApprovalRequest
- All Implemented Interfaces:
Serializable
Represents approval request sent to submit, approve or reject record.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNextApproverId(String nextApproverId) applyTemplate(ApprovalRequest template) Creates newApprovalRequestby combining values from the given template with the values currently present.booleaninthashCode()booleanvoidsetActionType(ApprovalRequest.Action actionType) voidsetComments(String comments) voidsetContextActorId(String contextActorId) voidsetContextId(String contextId) voidsetNextApproverIds(String nextApproverId) voidsetNextApproverIds(List<String> nextApproverIds) voidsetProcessDefinitionNameOrId(String processDefinitionNameOrId) voidsetSkipEntryCriteria(boolean skipEntryCriteria) toString()
-
Constructor Details
-
ApprovalRequest
public ApprovalRequest()
-
-
Method Details
-
addNextApproverId
-
applyTemplate
Creates newApprovalRequestby combining values from the given template with the values currently present. If the value is not present and the template has the corresponding value, then the template value is set. The net result is that all set values of anApprovalRequestare preserved, while the values set on template are used for undefined (null) values.- Parameters:
template- template to apply- Returns:
- newly created object with applied template
-
equals
-
getActionType
-
getComments
-
getContextActorId
-
getContextId
-
getNextApproverIds
-
getProcessDefinitionNameOrId
-
hashCode
public int hashCode() -
isSkipEntryCriteria
public boolean isSkipEntryCriteria() -
setActionType
-
setComments
-
setContextActorId
-
setContextId
-
setNextApproverIds
-
setNextApproverIds
-
setProcessDefinitionNameOrId
-
setSkipEntryCriteria
public void setSkipEntryCriteria(boolean skipEntryCriteria) -
toString
-