public class DemoCreateOperation extends BaseUpdateOperation
DemoUpdateOperation
for
a more complex, batched example.Constructor and Description |
---|
DemoCreateOperation(DemoConnection conn) |
Modifier and Type | Method and Description |
---|---|
protected void |
executeUpdate(UpdateRequest request,
OperationResponse response)
Actual implementation of this CREATE, UPDATE, or UPSERT Operation.
|
DemoConnection |
getConnection()
Returns the base connection that was either provided or created when this instance was created.
|
execute
getContext
public DemoCreateOperation(DemoConnection conn)
protected void executeUpdate(UpdateRequest request, OperationResponse response)
BaseUpdateOperation
executeUpdate
in class BaseUpdateOperation
request
- request given to BaseUpdateOperation.execute(com.boomi.connector.api.OperationRequest, com.boomi.connector.api.OperationResponse)
, downcast to the correct typeresponse
- response given to BaseUpdateOperation.execute(com.boomi.connector.api.OperationRequest, com.boomi.connector.api.OperationResponse)
public DemoConnection getConnection()
ContextualOperation
getConnection
in class ContextualOperation