Package link.codegen.salesforce.utils
Class SalesforceClient
java.lang.Object
link.codegen.salesforce.utils.SalesforceClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends SObjectInterface>
Integer<T extends SObjectInterface>
SfResponse<T><T extends SObjectInterface>
SfResponse<T>
-
Constructor Details
-
SalesforceClient
- Throws:
IOException
-
SalesforceClient
-
-
Method Details
-
getAll
public <T extends SObjectInterface> SfResponse<T> getAll(Class<T> clazz) throws IOException, URISyntaxException- Throws:
IOExceptionURISyntaxException
-
getWhere
public <T extends SObjectInterface> SfResponse<T> getWhere(Class<T> clazz, String where) throws IOException, URISyntaxException- Throws:
IOExceptionURISyntaxException
-
count
public <T extends SObjectInterface> Integer count(Class<T> clazz) throws IOException, URISyntaxException- Throws:
IOExceptionURISyntaxException
-