Package com.sforce.async
Class BatchRequest
- java.lang.Object
-
- com.sforce.async.BatchRequest
-
public class BatchRequest extends java.lang.ObjectBatchRequest- Since:
- 160
- Author:
- mcheenath
-
-
Constructor Summary
Constructors Constructor Description BatchRequest(Transport transport, java.io.OutputStream out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSObject(SObject object)voidaddSObjects(SObject[] objects)BatchInfocompleteRequest()
-
-
-
Constructor Detail
-
BatchRequest
public BatchRequest(Transport transport, java.io.OutputStream out) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
addSObject
public void addSObject(SObject object) throws AsyncApiException
- Throws:
AsyncApiException
-
addSObjects
public void addSObjects(SObject[] objects) throws AsyncApiException
- Throws:
AsyncApiException
-
completeRequest
public BatchInfo completeRequest() throws AsyncApiException
- Throws:
AsyncApiException
-
-