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
Executioncancel in interface ExecutionTranslatorExceptionpublic void close()
Executionpublic int[] getUpdateCounts()
throws DataNotAvailableException,
TranslatorException
UpdateExecutiongetUpdateCounts in interface UpdateExecutionDataNotAvailableExceptionTranslatorExceptionpublic RuntimeMetadata getMetadata()
public SalesforceConnection getConnection()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.