public class CompositeRequest extends RestRequest
Modifier and Type | Class and Description |
---|---|
static class |
CompositeRequest.CompositeRequestBuilder
Builder class for CompositeRequest
|
RestRequest.RestEndpoint, RestRequest.RestMethod, RestRequest.SObjectTree
Modifier and Type | Field and Description |
---|---|
boolean |
allOrNone |
java.util.LinkedHashMap<java.lang.String,RestRequest> |
refIdToRequests |
ALL_OR_NONE, ATTRIBUTES, BATCH_REQUESTS, BATCH_SIZE_OPTION, BODY, COMPOSITE_REQUEST, DEFAULT_BATCH_SIZE, HALT_ON_ERROR, HTTP_DATE_FORMAT, HTTP_HEADERS, IF_UNMODIFIED_SINCE, ISO8601_DATE_FORMAT, MAX_BATCH_SIZE, MAX_COLLECTION_RETRIEVE_SIZE, MEDIA_TYPE_JSON, METHOD, MIN_BATCH_SIZE, RECORDS, REFERENCE_ID, RICH_INPUT, SERVICES_DATA, SERVICES_OAUTH2, SFORCE_QUERY_OPTIONS, TYPE, URL, UTF_8
Constructor and Description |
---|
CompositeRequest(java.lang.String apiVersion,
boolean allOrNone,
java.util.LinkedHashMap<java.lang.String,RestRequest> refIdToRequests) |
Modifier and Type | Method and Description |
---|---|
static JSONObject |
computeCompositeRequestJson(boolean allOrNone,
java.util.LinkedHashMap<java.lang.String,RestRequest> refIdToRequests) |
asJSON, getAdditionalHttpHeaders, getBatchRequest, getCheapRequest, getCompositeRequest, getEndpoint, getMethod, getPath, getRequestBody, getRequestBodyAsJson, getRequestForCollectionCreate, getRequestForCollectionDelete, getRequestForCollectionRetrieve, getRequestForCollectionUpdate, getRequestForCollectionUpsert, getRequestForCreate, getRequestForDelete, getRequestForDescribe, getRequestForDescribeGlobal, getRequestForLimits, getRequestForMetadata, getRequestForNotification, getRequestForNotifications, getRequestForNotificationsStatus, getRequestForNotificationsUpdate, getRequestForNotificationUpdate, getRequestForObjectLayout, getRequestForPrimingRecords, getRequestForQuery, getRequestForQuery, getRequestForQueryAll, getRequestForResources, getRequestForRetrieve, getRequestForSearch, getRequestForSearchResultLayout, getRequestForSearchScopeAndOrder, getRequestForSingleAccess, getRequestForSObjectTree, getRequestForUpdate, getRequestForUpdate, getRequestForUpsert, getRequestForUserInfo, getRequestForVersions, toString
public final java.util.LinkedHashMap<java.lang.String,RestRequest> refIdToRequests
public final boolean allOrNone
public CompositeRequest(java.lang.String apiVersion, boolean allOrNone, java.util.LinkedHashMap<java.lang.String,RestRequest> refIdToRequests) throws JSONException
JSONException
public static JSONObject computeCompositeRequestJson(boolean allOrNone, java.util.LinkedHashMap<java.lang.String,RestRequest> refIdToRequests) throws JSONException
JSONException