|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.teiid.connector.basic.BasicExecution
com.metamatrix.connector.salesforce.execution.UpdateExecutionParent
public class UpdateExecutionParent
Parent class to the Update, Delete, and Insert execution classes. Provisions the correct impl and contains some common code to get IDs of Salesforce objects.
| Constructor Summary | |
|---|---|
UpdateExecutionParent(ICommand command,
SalesforceConnection salesforceConnection,
RuntimeMetadata metadata,
ExecutionContext context,
ConnectorEnvironment connectorEnv)
|
|
| Method Summary | |
|---|---|
void |
cancel()
Cancels the execution abnormally. |
void |
close()
Terminates the execution normally. |
void |
execute()
Execute the associated command. |
SalesforceConnection |
getConnection()
|
ConnectorEnvironment |
getConnectorEnv()
|
RuntimeMetadata |
getMetadata()
|
int[] |
getUpdateCounts()
Returns the update counts for the execution. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UpdateExecutionParent(ICommand command,
SalesforceConnection salesforceConnection,
RuntimeMetadata metadata,
ExecutionContext context,
ConnectorEnvironment connectorEnv)
| Method Detail |
|---|
public void cancel()
throws ConnectorException
Execution
cancel in interface ExecutionConnectorException
public void close()
throws ConnectorException
Execution
close in interface ExecutionConnectorException
public void execute()
throws ConnectorException
Execution
execute in interface ExecutionConnectorException
public int[] getUpdateCounts()
throws DataNotAvailableException,
ConnectorException
UpdateExecution
getUpdateCounts in interface UpdateExecutionDataNotAvailableException
ConnectorExceptionpublic RuntimeMetadata getMetadata()
public ConnectorEnvironment getConnectorEnv()
public SalesforceConnection getConnection()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||