com.sforce.rest
Interface RestConnection
- All Known Implementing Classes:
- RestConnectionImpl
public interface RestConnection
- Since:
- 172
- Author:
- gwester
describeGlobal
DescribeGlobal describeGlobal()
throws IOException,
RestApiException
- Throws:
IOException
RestApiException
describeSobject
DescribeSobject describeSobject(String sobjectName)
throws IOException,
RestApiException
- Throws:
IOException
RestApiException
describeLayout
DescribeLayout describeLayout(String sobjectName)
throws IOException,
RestApiException
- Throws:
IOException
RestApiException
create
SObjectResult create(SObject sobject)
throws IOException,
RestApiException
- Throws:
IOException
RestApiException
update
SObjectResult update(SObject sobject,
String id)
throws IOException,
RestApiException
- Throws:
IOException
RestApiException
delete
SObjectResult delete(Class<? extends SObject> clazz,
String id)
throws IOException,
RestApiException
- Throws:
IOException
RestApiException
get
<T extends SObject> T get(Class<T> clazz,
String id)
throws IOException,
RestApiException
- Throws:
IOException
RestApiException
query
QueryResult query(String query)
throws IOException,
RestApiException
- Throws:
IOException
RestApiException
search
SearchResult search(String search)
throws IOException,
RestApiException
- Throws:
IOException
RestApiException
recent
SearchResult recent()
throws IOException,
RestApiException
- Throws:
IOException
RestApiException
Copyright © 2012. All Rights Reserved.