public abstract class AbstractUpdateExecution extends Object implements UpdateExecution
Modifier and Type | Field and Description |
---|---|
protected Command |
command |
protected SalesforceConnection |
connection |
protected ExecutionContext |
context |
protected RuntimeMetadata |
metadata |
protected int |
result |
Constructor and Description |
---|
AbstractUpdateExecution(Command command,
SalesforceConnection salesforceConnection,
RuntimeMetadata metadata,
ExecutionContext context) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancels the execution abnormally.
|
void |
close()
Terminates the execution normally.
|
SalesforceConnection |
getConnection() |
RuntimeMetadata |
getMetadata() |
int[] |
getUpdateCounts()
Returns the update counts for the execution.
|
protected SalesforceConnection connection
protected RuntimeMetadata metadata
protected ExecutionContext context
protected Command command
protected int result
public AbstractUpdateExecution(Command command, SalesforceConnection salesforceConnection, RuntimeMetadata metadata, ExecutionContext context)
public void cancel() throws TranslatorException
Execution
cancel
in interface Execution
TranslatorException
public void close()
Execution
public int[] getUpdateCounts() throws DataNotAvailableException, TranslatorException
UpdateExecution
getUpdateCounts
in interface UpdateExecution
DataNotAvailableException
TranslatorException
public RuntimeMetadata getMetadata()
public SalesforceConnection getConnection()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.