public interface CompositeApiClient
Modifier and Type | Interface and Description |
---|---|
static interface |
CompositeApiClient.Operation<T,R> |
static interface |
CompositeApiClient.ResponseCallback<T> |
Modifier and Type | Method and Description |
---|---|
void |
submitCompositeBatch(SObjectBatch batch,
CompositeApiClient.ResponseCallback<SObjectBatchResponse> callback) |
void |
submitCompositeTree(SObjectTree tree,
CompositeApiClient.ResponseCallback<SObjectTreeResponse> callback)
Submits given nodes (records) of SObjects and their children as a tree in a single request.
|
void submitCompositeBatch(SObjectBatch batch, CompositeApiClient.ResponseCallback<SObjectBatchResponse> callback) throws SalesforceException
SalesforceException
void submitCompositeTree(SObjectTree tree, CompositeApiClient.ResponseCallback<SObjectTreeResponse> callback) throws SalesforceException
Id
parameter of each object to the value returned from the API call.tree
- SObject tree to submitcallback
- CompositeApiClient.ResponseCallback
to handle response or exceptionSalesforceException
Apache Camel