public class ForceApi extends Object
| Constructor and Description |
|---|
ForceApi(ApiConfig apiConfig) |
ForceApi(ApiConfig config,
ApiSession session) |
ForceApi(ApiSession session) |
| Modifier and Type | Method and Description |
|---|---|
CreateOrUpdateResult |
createOrUpdateSObject(String type,
String externalIdField,
String externalIdValue,
Object sObject) |
String |
createSObject(String type,
Object sObject) |
void |
deleteSObject(String type,
String id) |
DescribeGlobal |
describeGlobal() |
DescribeSObject |
describeSObject(String sobject) |
<T> DiscoverSObject<T> |
discoverSObject(String sobject,
Class<T> clazz) |
Identity |
getIdentity() |
ResourceRepresentation |
getSObject(String type,
String id) |
QueryResult<Map> |
query(String query) |
<T> QueryResult<T> |
query(String query,
Class<T> clazz) |
QueryResult<Map> |
queryMore(String nextRecordsUrl) |
<T> QueryResult<T> |
queryMore(String nextRecordsUrl,
Class<T> clazz) |
void |
updateSObject(String type,
String id,
Object sObject) |
public ForceApi(ApiConfig config, ApiSession session)
public ForceApi(ApiSession session)
public ForceApi(ApiConfig apiConfig)
public Identity getIdentity()
public ResourceRepresentation getSObject(String type, String id) throws ResourceException
ResourceExceptionpublic CreateOrUpdateResult createOrUpdateSObject(String type, String externalIdField, String externalIdValue, Object sObject)
public <T> QueryResult<T> query(String query, Class<T> clazz)
public QueryResult<Map> query(String query)
public <T> QueryResult<T> queryMore(String nextRecordsUrl, Class<T> clazz)
public QueryResult<Map> queryMore(String nextRecordsUrl)
public DescribeGlobal describeGlobal()
public <T> DiscoverSObject<T> discoverSObject(String sobject, Class<T> clazz)
public DescribeSObject describeSObject(String sobject)
Copyright © 2016. All rights reserved.