|
BatchInfo
|
batchInfo(BatchInfo batchInfo)
|
|
BatchResult
|
batchResult(BatchInfo batchInfo)
|
|
JobInfo
|
closeJob(String jobId)
Closes an open Job given its ID.
|
|
synchronized
void
|
connect(String username, String password, String securityToken)
Creates a new Salesforce session
|
|
LeadConvertResult
|
convertLead(String leadId, String contactId, String accountId, Boolean overWriteLeadSource, Boolean doNotCreateOpportunity, String opportunityName, String convertedStatus, Boolean sendEmailToOwner)
Converts a Lead into an Account, Contact, or (optionally) an Opportunity.
|
|
List<SaveResult>
|
create(String type, List<Map<String, Object>> objects)
Adds one or more new records to your organization's data.
|
|
BatchInfo
|
createBatch(JobInfo jobInfo, List<Map<String, Object>> objects)
Creates a Batch using the given objects within the specified Job.
|
|
BatchInfo
|
createBatchForQuery(JobInfo jobInfo, String query)
Creates a Batch using the given query.
|
|
BatchInfo
|
createBulk(String type, List<Map<String, Object>> objects)
Adds one or more new records to your organization's data.
|
|
ConnectorConfig
|
createConnectorConfig(URL endpoint, String username, String password, String proxyHost, int proxyPort, String proxyUsername, String proxyPassword)
Create connector config
|
|
JobInfo
|
createJob(OperationEnum operation, String type, String externalIdFieldName, ContentType contentType)
Creates a Job in order to perform one or more batches through Bulk API Operations.
|
|
SaveResult
|
createSingle(String type, Map<String, Object> object)
Adds one new records to your organization's data.
|
|
List<DeleteResult>
|
delete(List<String> ids)
Deletes one or more records from your organization's data.
|
|
DescribeGlobalResult
|
describeGlobal()
Retrieves a list of available objects for your organization's data.
|
|
DescribeSObjectResult
|
describeSObject(String type)
Describes metadata (field list and object properties) for the specified object.
|
|
synchronized
void
|
destroySession()
End the current session
|
|
List<EmptyRecycleBinResult>
|
emptyRecycleBin(List<String> ids)
The recycle bin lets you view and restore recently deleted records for 30 days before they are
permanently deleted.
|
|
SalesforceBayeuxClient
|
getBayeuxClient()
|
|
BulkConnection
|
getBulkConnection()
|
|
PartnerConnection
|
getConnection()
|
|
GetDeletedResult
|
getDeleted(String type, int duration)
Retrieves the list of individual records that have been deleted between the range of now to the duration before now.
|
|
GetDeletedResult
|
getDeletedRange(String type, Calendar startTime, Calendar endTime)
Retrieves the list of individual records that have been deleted within the given timespan for the specified object.
|
|
LoginResult
|
getLoginResult()
|
|
String
|
getProxyHost()
Retrieve host of proxy
|
|
String
|
getProxyPassword()
Retrieve proxy password
|
|
int
|
getProxyPort()
Retrieve proxy port
|
|
String
|
getProxyUsername()
Retrieve proxy username
|
|
String
|
getSessionId()
Returns the session id for the current connection
|
|
GetUpdatedResult
|
getUpdated(String type, int duration)
Retrieves the list of individual records that have been updated between the range of now to the duration before now.
|
|
List<Map<String, Object>>
|
getUpdatedObjects(String type, int initialTimeWindow, List<String> fields)
Retrieves the list of records that have been updated between the last time this method was called and now.
|
|
GetUpdatedResult
|
getUpdatedRange(String type, Calendar startTime, Calendar endTime)
Retrieves the list of individual records that have been created/updated within the given timespan for the specified object.
|
|
URL
|
getUrl()
|
|
GetUserInfoResult
|
getUserInfo()
Retrieves personal information for the user associated with the current session.
|
|
BatchInfo
|
hardDeleteBulk(String type, List<Map<String, Object>> objects)
Deletes one or more records from your organization's data.
|
|
boolean
|
isConnected()
|
|
void
|
publishTopic(String topicName, String query, String description)
Creates a topic which represents a query that is the basis for notifying
listeners of changes to records in an organization.
|
|
List<Map<String, Object>>
|
query(String query)
Executes a query against the specified object and returns data that matches the specified criteria.
|
|
List<Map<String, Object>>
|
queryAll(String query)
Retrieves data from specified objects, whether or not they have been deleted.
|
|
InputStream
|
queryResultStream(BatchInfo batchInfo)
Returns an InputStream with the query results of a submitted BatchInfo
|
|
Map<String, Object>
|
querySingle(String query)
Executes a query against the specified object and returns the first record that matches the specified criteria.
|
|
void
|
reconnect()
|
|
void
|
resetUpdatedObjectsTimestamp(String type)
Resets the timestamp of the last updated object.
|
|
List<Map<String, Object>>
|
retrieve(String type, List<String> ids, List<String> fields)
Retrieves one or more records based on the specified IDs.
|
|
void
|
setBayeuxClient(SalesforceBayeuxClient bc)
|
|
void
|
setBulkConnection(BulkConnection bulkConnection)
|
|
void
|
setConnection(PartnerConnection connection)
|
|
void
|
setLoginResult(LoginResult loginResult)
|
|
void
|
setObjectStore(ObjectStore objectStore)
|
|
void
|
setObjectStoreHelper(ObjectStoreHelper objectStoreHelper)
|
|
void
|
setObjectStoreManager(ObjectStoreManager objectStoreManager)
|
|
void
|
setProxyHost(String proxyHost)
Set proxy host
|
|
void
|
setProxyPassword(String proxyPassword)
Set proxy password
|
|
void
|
setProxyPort(int proxyPort)
Set proxy port
|
|
void
|
setProxyUsername(String proxyUsername)
Set proxy username
|
|
void
|
setRegistry(Registry registry)
|
|
void
|
setUrl(URL url)
Set Salesforce endpoint.
|
|
StopSourceCallback
|
subscribeTopic(String topic, SourceCallback callback)
Subscribe to a topic.
|
|
SObject[]
|
toAsyncSObjectList(List<Map<String, Object>> objects)
|
|
SObject[]
|
toSObjectList(String type, List<Map<String, Object>> objects)
|
|
List<SaveResult>
|
update(String type, List<Map<String, Object>> objects)
Updates one or more existing records in your organization's data.
|
|
BatchInfo
|
updateBulk(String type, List<Map<String, Object>> objects)
Updates one or more existing records in your organization's data.
|
|
SaveResult
|
updateSingle(String type, Map<String, Object> object)
Updates one or more existing records in your organization's data.
|
|
List<UpsertResult>
|
upsert(String externalIdFieldName, String type, List<Map<String, Object>> objects)
Upserts
an homogeneous list of objects: creates new records and updates existing records, using a custom field to determine the presence of existing records.
|
|
BatchInfo
|
upsertBulk(String type, String externalIdFieldName, List<Map<String, Object>> objects)
Upserts
an homogeneous list of objects: creates new records and updates existing records, using a custom field to determine the presence of existing records.
|