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.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addNextApproverId
(String nextApproverId) applyTemplate
(ApprovalRequest template) Creates newApprovalRequest
by combining values from the given template with the values currently present.boolean
int
hashCode()
boolean
void
setActionType
(ApprovalRequest.Action actionType) void
setComments
(String comments) void
setContextActorId
(String contextActorId) void
setContextId
(String contextId) void
setNextApproverIds
(String nextApproverId) void
setNextApproverIds
(List<String> nextApproverIds) void
setProcessDefinitionNameOrId
(String processDefinitionNameOrId) void
setSkipEntryCriteria
(boolean skipEntryCriteria) toString()
-
Constructor Details
-
ApprovalRequest
public ApprovalRequest()
-
-
Method Details
-
addNextApproverId
-
applyTemplate
Creates newApprovalRequest
by 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 anApprovalRequest
are 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
-