public interface

RestConnection

com.sforce.rest.RestConnection
Known Indirect Subclasses

Summary

Public Methods
abstract SObjectResult create(SObject sobject)
abstract SObjectResult delete(Class<? extends SObject> clazz, String id)
abstract DescribeGlobal describeGlobal()
abstract DescribeLayout describeLayout(String sobjectName)
abstract DescribeSobject describeSobject(String sobjectName)
abstract <T extends SObject> T get(Class<T> clazz, String id)
abstract QueryResult query(String query)
abstract SearchResult recent()
abstract SearchResult search(String search)
abstract SObjectResult update(SObject sobject, String id)

Public Methods

public abstract SObjectResult create (SObject sobject)

Parameters
sobject
Throws
IOException
RestApiException

public abstract SObjectResult delete (Class<? extends SObject> clazz, String id)

Parameters
clazz
id
Throws
IOException
RestApiException

public abstract DescribeGlobal describeGlobal ()

Throws
IOException
RestApiException

public abstract DescribeLayout describeLayout (String sobjectName)

Parameters
sobjectName
Throws
IOException
RestApiException

public abstract DescribeSobject describeSobject (String sobjectName)

Parameters
sobjectName
Throws
IOException
RestApiException

public abstract T get (Class<T> clazz, String id)

Parameters
clazz
id
Throws
IOException
RestApiException

public abstract QueryResult query (String query)

Parameters
query
Throws
IOException
RestApiException

public abstract SearchResult recent ()

Throws
IOException
RestApiException

public abstract SearchResult search (String search)

Parameters
search
Throws
IOException
RestApiException

public abstract SObjectResult update (SObject sobject, String id)

Parameters
sobject
id
Throws
IOException
RestApiException