java.lang.Object
org.apache.camel.component.salesforce.api.dto.approval.ApprovalRequest
All Implemented Interfaces:
Serializable

@UriParams public final class ApprovalRequest extends Object implements Serializable
Represents approval request sent to submit, approve or reject record.
See Also:
  • Constructor Details

    • ApprovalRequest

      public ApprovalRequest()
  • Method Details

    • addNextApproverId

      public void addNextApproverId(String nextApproverId)
    • applyTemplate

      public ApprovalRequest applyTemplate(ApprovalRequest template)
      Creates new ApprovalRequest 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 an ApprovalRequest 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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getActionType

      public ApprovalRequest.Action getActionType()
    • getComments

      public String getComments()
    • getContextActorId

      public String getContextActorId()
    • getContextId

      public String getContextId()
    • getNextApproverIds

      public List<String> getNextApproverIds()
    • getProcessDefinitionNameOrId

      public String getProcessDefinitionNameOrId()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • isSkipEntryCriteria

      public boolean isSkipEntryCriteria()
    • setActionType

      public void setActionType(ApprovalRequest.Action actionType)
    • setComments

      public void setComments(String comments)
    • setContextActorId

      public void setContextActorId(String contextActorId)
    • setContextId

      public void setContextId(String contextId)
    • setNextApproverIds

      public void setNextApproverIds(List<String> nextApproverIds)
    • setNextApproverIds

      public void setNextApproverIds(String nextApproverId)
    • setProcessDefinitionNameOrId

      public void setProcessDefinitionNameOrId(String processDefinitionNameOrId)
    • setSkipEntryCriteria

      public void setSkipEntryCriteria(boolean skipEntryCriteria)
    • toString

      public String toString()
      Overrides:
      toString in class Object