| Constructor and Description |
|---|
SalesforceEndpointConfig() |
| Modifier and Type | Method and Description |
|---|---|
SalesforceEndpointConfig |
copy() |
String |
getApexMethod() |
Map<String,Object> |
getApexQueryParams() |
String |
getApexUrl() |
String |
getApiVersion() |
ApprovalRequest |
getApproval() |
ApprovalRequest.Action |
getApprovalActionType() |
String |
getApprovalComments() |
String |
getApprovalContextActorId() |
String |
getApprovalContextId() |
List<String> |
getApprovalNextApproverIds() |
String |
getApprovalProcessDefinitionNameOrId() |
long |
getBackoffIncrement() |
String |
getBatchId() |
String |
getCompositeMethod() |
ContentType |
getContentType() |
Long |
getDefaultReplayId() |
Long |
getFallBackReplayId() |
PayloadFormat |
getFormat() |
SalesforceHttpClient |
getHttpClient() |
Boolean |
getIncludeDetails() |
Map<String,Long> |
getInitialReplayIdMap() |
String |
getInstanceId() |
String |
getJobId() |
Integer |
getLimit() |
String |
getLocator() |
long |
getMaxBackoff() |
Integer |
getMaxRecords() |
NotFoundBehaviour |
getNotFoundBehaviour() |
NotifyForFieldsEnum |
getNotifyForFields() |
Boolean |
getNotifyForOperationCreate() |
Boolean |
getNotifyForOperationDelete() |
NotifyForOperationsEnum |
getNotifyForOperations() |
Boolean |
getNotifyForOperationUndelete() |
Boolean |
getNotifyForOperationUpdate() |
com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
Boolean |
getPkChunking() |
Integer |
getPkChunkingChunkSize() |
String |
getPkChunkingParent() |
String |
getPkChunkingStartRow() |
String |
getQueryLocator() |
String |
getRawHttpHeaders() |
String |
getRawMethod() |
String |
getRawPath() |
String |
getRawQueryParameters() |
String |
getReportId() |
ReportMetadata |
getReportMetadata() |
String |
getResultId() |
String |
getSObjectBlobFieldName() |
String |
getSObjectClass() |
String |
getSObjectFields() |
String |
getSObjectId() |
String |
getSObjectIdName() |
String |
getSObjectIdValue() |
String |
getSObjectName() |
String |
getSObjectQuery() |
String |
getSObjectSearch() |
boolean |
isAllOrNone() |
boolean |
isApprovalSkipEntryCriteria() |
boolean |
isRawPayload() |
boolean |
isUpdateTopic() |
void |
setAllOrNone(boolean allOrNone) |
void |
setApexMethod(String apexMethod)
APEX method name
|
void |
setApexQueryParams(Map<String,Object> apexQueryParams)
Query params for APEX method
|
void |
setApexUrl(String apexUrl)
APEX method URL
|
void |
setApiVersion(String apiVersion)
Salesforce API version.
|
void |
setApproval(ApprovalRequest approval)
The approval request for Approval API.
|
void |
setApprovalActionType(ApprovalRequest.Action actionType)
Represents the kind of action to take: Submit, Approve, or Reject.
|
void |
setApprovalComments(String comments)
The comment to add to the history step associated with this request.
|
void |
setApprovalContextActorId(String contextActorId)
The ID of the submitter who’s requesting the approval record.
|
void |
setApprovalContextId(String contextId)
The ID of the item that is being acted upon.
|
void |
setApprovalNextApproverIds(List<String> nextApproverIds)
If the process requires specification of the next approval, the ID of the user to be assigned the next request.
|
void |
setApprovalNextApproverIds(String nextApproverId)
If the process requires specification of the next approval, the ID of the user to be assigned the next request.
|
void |
setApprovalProcessDefinitionNameOrId(String processDefinitionNameOrId)
The developer name or ID of the process definition.
|
void |
setApprovalSkipEntryCriteria(boolean skipEntryCriteria)
Determines whether to evaluate the entry criteria for the process (true) or not (false) if the process definition
name or ID isn’t null.
|
void |
setBackoffIncrement(long backoffIncrement)
Backoff interval increment for Streaming connection restart attempts for failures beyond CometD auto-reconnect.
|
void |
setBatchId(String batchId)
Bulk API Batch ID
|
void |
setCompositeMethod(String compositeMethod)
Composite (raw) method.
|
void |
setContentType(ContentType contentType)
Bulk API content type, one of XML, CSV, ZIP_XML, ZIP_CSV
|
void |
setDefaultReplayId(Long defaultReplayId)
Default replayId setting if no value is found in
initialReplayIdMap |
void |
setFallBackReplayId(Long fallBackReplayId)
ReplayId to fall back to after an Invalid Replay Id response
|
void |
setFormat(PayloadFormat format)
Payload format to use for Salesforce API calls, either JSON or XML, defaults to JSON.
|
void |
setHttpClient(SalesforceHttpClient httpClient)
Custom Jetty Http Client to use to connect to Salesforce.
|
void |
setIncludeDetails(Boolean includeDetails)
Include details in Salesforce1 Analytics report, defaults to false.
|
void |
setInitialReplayIdMap(Map<String,Long> initialReplayIdMap)
Replay IDs to start from per channel name.
|
void |
setInstanceId(String instanceId)
Salesforce1 Analytics report execution instance ID
|
void |
setJobId(String jobId)
Bulk API Job ID
|
void |
setLimit(Integer limit)
Limit on number of returned records.
|
void |
setLocator(String locator)
Locator provided by salesforce Bulk 2.0 API for use in getting results for a Query job.
|
void |
setMaxBackoff(long maxBackoff)
Maximum backoff interval for Streaming connection restart attempts for failures beyond CometD auto-reconnect.
|
void |
setMaxRecords(Integer maxRecords)
The maximum number of records to retrieve per set of results for a Bulk 2.0 Query.
|
void |
setNotFoundBehaviour(NotFoundBehaviour notFoundBehaviour)
Sets the behaviour of 404 not found status received from Salesforce API.
|
void |
setNotifyForFields(NotifyForFieldsEnum notifyForFields)
Notify for fields, options are ALL, REFERENCED, SELECT, WHERE
|
void |
setNotifyForOperationCreate(Boolean notifyForOperationCreate)
Notify for create operation, defaults to false (API version >= 29.0)
|
void |
setNotifyForOperationDelete(Boolean notifyForOperationDelete)
Notify for delete operation, defaults to false (API version >= 29.0)
|
void |
setNotifyForOperations(NotifyForOperationsEnum notifyForOperations)
Notify for operations, options are ALL, CREATE, EXTENDED, UPDATE (API version < 29.0)
|
void |
setNotifyForOperationUndelete(Boolean notifyForOperationUndelete)
Notify for un-delete operation, defaults to false (API version >= 29.0)
|
void |
setNotifyForOperationUpdate(Boolean notifyForOperationUpdate)
Notify for update operation, defaults to false (API version >= 29.0)
|
void |
setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Custom Jackson ObjectMapper to use when serializing/deserializing Salesforce objects.
|
void |
setPkChunking(Boolean pkChunking)
Use PK Chunking.
|
void |
setPkChunkingChunkSize(Integer pkChunkingChunkSize)
Chunk size for use with PK Chunking.
|
void |
setPkChunkingParent(String pkChunkingParent)
Specifies the parent object when you're enabling PK chunking for queries on sharing objects.
|
void |
setPkChunkingStartRow(String pkChunkingStartRow)
Specifies the 15-character or 18-character record ID to be used as the lower boundary for the first chunk.
|
void |
setQueryLocator(String queryLocator)
Query Locator provided by salesforce for use when a query results in more records than can be retrieved in a
single call.
|
void |
setRawHttpHeaders(String rawHttpHeaders)
Comma separated list of message headers to include as HTTP parameters for Raw operation.
|
void |
setRawMethod(String rawMethod)
HTTP method to use for the Raw operation
|
void |
setRawPath(String rawPath)
The portion of the endpoint URL after the domain name.
|
void |
setRawPayload(boolean rawPayload)
Use raw payload
String for request and response (either JSON or XML depending on format), instead
of DTOs, false by default |
void |
setRawQueryParameters(String rawQueryParameters)
Comma separated list of message headers to include as query parameters for Raw operation.
|
void |
setReportId(String reportId)
Salesforce1 Analytics report Id
|
void |
setReportMetadata(ReportMetadata reportMetadata)
Salesforce1 Analytics report metadata for filtering
|
void |
setResultId(String resultId)
Bulk API Result ID
|
void |
setSObjectBlobFieldName(String sObjectBlobFieldName)
SObject blob field name
|
void |
setSObjectClass(String sObjectClass)
Fully qualified SObject class name, usually generated using camel-salesforce-maven-plugin
|
void |
setSObjectFields(String sObjectFields)
SObject fields to retrieve
|
void |
setSObjectId(String sObjectId)
SObject ID if required by API
|
void |
setSObjectIdName(String sObjectIdName)
SObject external ID field name
|
void |
setSObjectIdValue(String sObjectIdValue)
SObject external ID field value
|
void |
setSObjectName(String sObjectName)
SObject name if required or supported by API
|
void |
setSObjectQuery(String sObjectQuery)
Salesforce SOQL query string
|
void |
setSObjectSearch(String sObjectSearch)
Salesforce SOSL search string
|
void |
setUpdateTopic(boolean updateTopic)
Whether to update an existing Push Topic when using the Streaming API, defaults to false
|
Map<String,Object> |
toValueMap() |
public static final String DEFAULT_VERSION
public static final String API_VERSION
public static final String FORMAT
public static final String RAW_PAYLOAD
public static final String SOBJECT_NAME
public static final String SOBJECT_ID
public static final String SOBJECT_IDS
public static final String SOBJECT_FIELDS
public static final String SOBJECT_EXT_ID_NAME
public static final String SOBJECT_EXT_ID_VALUE
public static final String SOBJECT_BLOB_FIELD_NAME
public static final String SOBJECT_CLASS
public static final String SOBJECT_QUERY
public static final String SOBJECT_SEARCH
public static final String APEX_METHOD
public static final String APEX_URL
public static final String COMPOSITE_METHOD
public static final String LIMIT
public static final String ALL_OR_NONE
public static final String APEX_QUERY_PARAM_PREFIX
public static final String CONTENT_TYPE
public static final String JOB_ID
public static final String BATCH_ID
public static final String RESULT_ID
public static final String QUERY_LOCATOR
public static final String LOCATOR
public static final String MAX_RECORDS
public static final String PK_CHUNKING
public static final String PK_CHUNKING_CHUNK_SIZE
public static final String PK_CHUNKING_PARENT
public static final String PK_CHUNKING_START_ROW
public static final String REPORT_ID
public static final String INCLUDE_DETAILS
public static final String REPORT_METADATA
public static final String INSTANCE_ID
public static final String DEFAULT_REPLAY_ID
public static final String FALL_BACK_REPLAY_ID
public static final String INITIAL_REPLAY_ID_MAP
public static final long REPLAY_FROM_TIP
public static final String APPROVAL
public static final String RAW_PATH
public static final String RAW_METHOD
public static final String RAW_QUERY_PARAMETERS
public static final String RAW_HTTP_HEADERS
public static final int DEFAULT_MAX_AUTHENTICATION_RETRIES
public static final long DEFAULT_BACKOFF_INCREMENT
public static final long DEFAULT_MAX_BACKOFF
public static final String NOT_FOUND_BEHAVIOUR
public SalesforceEndpointConfig copy()
public PayloadFormat getFormat()
public void setFormat(PayloadFormat format)
public boolean isRawPayload()
public void setRawPayload(boolean rawPayload)
String for request and response (either JSON or XML depending on format), instead
of DTOs, false by defaultpublic String getApiVersion()
public void setApiVersion(String apiVersion)
public String getSObjectName()
public void setSObjectName(String sObjectName)
public String getSObjectId()
public void setSObjectId(String sObjectId)
public String getSObjectFields()
public void setSObjectFields(String sObjectFields)
public String getSObjectIdName()
public void setSObjectIdName(String sObjectIdName)
public String getSObjectIdValue()
public void setSObjectIdValue(String sObjectIdValue)
public String getSObjectBlobFieldName()
public void setSObjectBlobFieldName(String sObjectBlobFieldName)
public String getSObjectClass()
public void setSObjectClass(String sObjectClass)
public String getSObjectQuery()
public void setSObjectQuery(String sObjectQuery)
public String getSObjectSearch()
public void setSObjectSearch(String sObjectSearch)
public String getApexMethod()
public void setApexMethod(String apexMethod)
public String getApexUrl()
public void setApexUrl(String apexUrl)
public void setApexQueryParams(Map<String,Object> apexQueryParams)
public String getCompositeMethod()
public void setCompositeMethod(String compositeMethod)
public boolean isAllOrNone()
public void setAllOrNone(boolean allOrNone)
public ApprovalRequest getApproval()
public void setApproval(ApprovalRequest approval)
approval - public ContentType getContentType()
public void setContentType(ContentType contentType)
public String getJobId()
public void setJobId(String jobId)
public String getBatchId()
public void setBatchId(String batchId)
public String getResultId()
public void setResultId(String resultId)
public boolean isUpdateTopic()
public String getQueryLocator()
public void setQueryLocator(String queryLocator)
public String getLocator()
public void setLocator(String locator)
public Integer getMaxRecords()
public void setMaxRecords(Integer maxRecords)
public Boolean getPkChunking()
public void setPkChunking(Boolean pkChunking)
public Integer getPkChunkingChunkSize()
public void setPkChunkingChunkSize(Integer pkChunkingChunkSize)
public String getPkChunkingParent()
public void setPkChunkingParent(String pkChunkingParent)
public String getPkChunkingStartRow()
public void setPkChunkingStartRow(String pkChunkingStartRow)
public void setUpdateTopic(boolean updateTopic)
public NotifyForFieldsEnum getNotifyForFields()
public void setNotifyForFields(NotifyForFieldsEnum notifyForFields)
public NotifyForOperationsEnum getNotifyForOperations()
public void setNotifyForOperations(NotifyForOperationsEnum notifyForOperations)
public Boolean getNotifyForOperationCreate()
public void setNotifyForOperationCreate(Boolean notifyForOperationCreate)
public Boolean getNotifyForOperationUpdate()
public void setNotifyForOperationUpdate(Boolean notifyForOperationUpdate)
public Boolean getNotifyForOperationDelete()
public void setNotifyForOperationDelete(Boolean notifyForOperationDelete)
public Boolean getNotifyForOperationUndelete()
public void setNotifyForOperationUndelete(Boolean notifyForOperationUndelete)
public String getReportId()
public void setReportId(String reportId)
public Boolean getIncludeDetails()
public void setIncludeDetails(Boolean includeDetails)
public ReportMetadata getReportMetadata()
public void setReportMetadata(ReportMetadata reportMetadata)
public String getInstanceId()
public void setInstanceId(String instanceId)
public void setHttpClient(SalesforceHttpClient httpClient)
public SalesforceHttpClient getHttpClient()
public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
public long getBackoffIncrement()
public void setBackoffIncrement(long backoffIncrement)
public long getMaxBackoff()
public void setMaxBackoff(long maxBackoff)
public void setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public Long getDefaultReplayId()
public void setDefaultReplayId(Long defaultReplayId)
initialReplayIdMapdefaultReplayId - public void setInitialReplayIdMap(Map<String,Long> initialReplayIdMap)
public Long getFallBackReplayId()
public void setFallBackReplayId(Long fallBackReplayId)
public Integer getLimit()
public void setLimit(Integer limit)
limit - public ApprovalRequest.Action getApprovalActionType()
public String getApprovalComments()
public String getApprovalContextActorId()
public String getApprovalContextId()
public String getApprovalProcessDefinitionNameOrId()
public boolean isApprovalSkipEntryCriteria()
public void setApprovalActionType(ApprovalRequest.Action actionType)
actionType - public void setApprovalComments(String comments)
comments - public void setApprovalContextActorId(String contextActorId)
contextActorId - public void setApprovalContextId(String contextId)
contextId - public void setApprovalNextApproverIds(List<String> nextApproverIds)
nextApproverIds - public void setApprovalNextApproverIds(String nextApproverId)
nextApproverId - public void setApprovalProcessDefinitionNameOrId(String processDefinitionNameOrId)
processDefinitionNameOrId - public void setApprovalSkipEntryCriteria(boolean skipEntryCriteria)
skipEntryCriteria - public NotFoundBehaviour getNotFoundBehaviour()
public void setNotFoundBehaviour(NotFoundBehaviour notFoundBehaviour)
NotFoundBehaviour.NULL or should a exception be signaled on the exchange
NotFoundBehaviour.EXCEPTION - the default.public String getRawPath()
public void setRawPath(String rawPath)
rawPath - the pathpublic String getRawMethod()
public void setRawMethod(String rawMethod)
rawMethod - http methodpublic String getRawQueryParameters()
public void setRawQueryParameters(String rawQueryParameters)
rawQueryParameters - public String getRawHttpHeaders()
public void setRawHttpHeaders(String rawHttpHeaders)
Apache Camel