public interface SalesforceConnection
extends javax.resource.cci.Connection
Modifier and Type | Interface and Description |
---|---|
static class |
SalesforceConnection.BatchResultInfo |
static interface |
SalesforceConnection.BulkBatchResult |
Modifier and Type | Method and Description |
---|---|
String |
addBatch(List<com.sforce.async.SObject> payload,
com.sforce.async.JobInfo job) |
SalesforceConnection.BatchResultInfo |
addBatch(String query,
com.sforce.async.JobInfo job) |
void |
cancelBulkJob(com.sforce.async.JobInfo job) |
com.sforce.async.JobInfo |
closeJob(String jobId) |
int |
create(DataPayload data) |
com.sforce.async.JobInfo |
createBulkJob(String objectName,
com.sforce.async.OperationEnum operation,
boolean usePkChunking) |
int |
delete(String[] ids) |
SalesforceConnection.BulkBatchResult |
getBatchQueryResults(String id,
SalesforceConnection.BatchResultInfo info) |
com.sforce.async.BatchResult[] |
getBulkResults(com.sforce.async.JobInfo job,
List<String> ids) |
Long |
getCardinality(String sobject) |
DeletedResult |
getDeleted(String objectName,
Calendar startCalendar,
Calendar endCalendar) |
com.sforce.soap.partner.DescribeSObjectResult[] |
getObjectMetaData(String... objectName) |
com.sforce.soap.partner.DescribeGlobalResult |
getObjects() |
UpdatedResult |
getUpdated(String objectName,
Calendar startCalendar,
Calendar endCalendar) |
String |
getVersion() |
boolean |
isValid() |
com.sforce.soap.partner.QueryResult |
query(String queryString,
int maxBatchSize,
boolean queryAll) |
com.sforce.soap.partner.QueryResult |
queryMore(String queryLocator,
int batchSize) |
com.sforce.soap.partner.sobject.SObject[] |
retrieve(String fieldList,
String sObjectType,
List<String> ids) |
int |
update(List<DataPayload> updateDataList) |
int |
upsert(DataPayload data) |
com.sforce.soap.partner.QueryResult query(String queryString, int maxBatchSize, boolean queryAll) throws javax.resource.ResourceException
javax.resource.ResourceException
com.sforce.soap.partner.QueryResult queryMore(String queryLocator, int batchSize) throws javax.resource.ResourceException
javax.resource.ResourceException
boolean isValid()
int delete(String[] ids) throws javax.resource.ResourceException
javax.resource.ResourceException
int create(DataPayload data) throws javax.resource.ResourceException
javax.resource.ResourceException
int upsert(DataPayload data) throws javax.resource.ResourceException
javax.resource.ResourceException
int update(List<DataPayload> updateDataList) throws javax.resource.ResourceException
javax.resource.ResourceException
UpdatedResult getUpdated(String objectName, Calendar startCalendar, Calendar endCalendar) throws javax.resource.ResourceException
javax.resource.ResourceException
DeletedResult getDeleted(String objectName, Calendar startCalendar, Calendar endCalendar) throws javax.resource.ResourceException
javax.resource.ResourceException
com.sforce.soap.partner.sobject.SObject[] retrieve(String fieldList, String sObjectType, List<String> ids) throws javax.resource.ResourceException
javax.resource.ResourceException
com.sforce.soap.partner.DescribeGlobalResult getObjects() throws javax.resource.ResourceException
javax.resource.ResourceException
com.sforce.soap.partner.DescribeSObjectResult[] getObjectMetaData(String... objectName) throws javax.resource.ResourceException
javax.resource.ResourceException
com.sforce.async.BatchResult[] getBulkResults(com.sforce.async.JobInfo job, List<String> ids) throws javax.resource.ResourceException
javax.resource.ResourceException
void cancelBulkJob(com.sforce.async.JobInfo job) throws javax.resource.ResourceException
javax.resource.ResourceException
com.sforce.async.JobInfo closeJob(String jobId) throws javax.resource.ResourceException
javax.resource.ResourceException
String addBatch(List<com.sforce.async.SObject> payload, com.sforce.async.JobInfo job) throws javax.resource.ResourceException
javax.resource.ResourceException
com.sforce.async.JobInfo createBulkJob(String objectName, com.sforce.async.OperationEnum operation, boolean usePkChunking) throws javax.resource.ResourceException
javax.resource.ResourceException
Long getCardinality(String sobject) throws javax.resource.ResourceException
javax.resource.ResourceException
String getVersion()
SalesforceConnection.BatchResultInfo addBatch(String query, com.sforce.async.JobInfo job) throws javax.resource.ResourceException
javax.resource.ResourceException
SalesforceConnection.BulkBatchResult getBatchQueryResults(String id, SalesforceConnection.BatchResultInfo info) throws javax.resource.ResourceException
javax.resource.ResourceException
Copyright © 2018 JBoss by Red Hat. All rights reserved.