|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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()
|
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 Execution
ConnectorException
public void close() throws ConnectorException
Execution
close
in interface Execution
ConnectorException
public void execute() throws ConnectorException
Execution
execute
in interface Execution
ConnectorException
public int[] getUpdateCounts() throws DataNotAvailableException, ConnectorException
getUpdateCounts
in interface UpdateExecution
DataNotAvailableException
ConnectorException
public RuntimeMetadata getMetadata()
public ConnectorEnvironment getConnectorEnv()
public SalesforceConnection getConnection()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |