| java.lang.Object org.enhydra.shark.toolagent.AbstractToolAgent org.enhydra.shark.toolagent.ExecuteSqlTool
ExecuteSqlTool | public class ExecuteSqlTool extends AbstractToolAgent (Code) | | Tool agent for SQL statements execution. Parameters are mapped by name and there are
two possible combinations: first: statement(full expression for execute)+ data_source +
row_count ( updated rows number - optional) OR second: prepared_statement + data_source +
row_count (optional) + parameters for prepared_statement In tne case when only the
"statement" is given, tool doesn't take care about unknown paramerers. "statement" must
be full and valid. When "prepered_statement" is used all needed parameters must be set
in the same order as "prepared_statement" expects them.
author: Svjetlana Milidrag version: 1.0 |
PREPARED_STATEMENT | final public static String PREPARED_STATEMENT(Code) | | |
invokeApplication | public void invokeApplication(WMSessionHandle _shandle, long _handle, WMEntity _appInfo, WMEntity _toolInfo, String _applicationName, String _procInstId, String _assId, AppParameter[] _parameters, Integer _appMode) throws ApplicationNotStarted, ApplicationNotDefined, ApplicationBusy, ToolAgentGeneralException(Code) | | |
Methods inherited from org.enhydra.shark.toolagent.AbstractToolAgent | public void configure(CallbackUtilities cus) throws Exception(Code)(Java Doc) public WMSessionHandle connect(WMConnectInfo ci) throws ConnectFailed, ToolAgentGeneralException(Code)(Java Doc) public static void copyParams(AppParameter[] taApps, AppParameter[] apps)(Code)(Java Doc) public void disconnect(WMSessionHandle shandle) throws InvalidSessionHandle, ToolAgentGeneralException(Code)(Java Doc) public String getInfo(WMSessionHandle shandle) throws ToolAgentGeneralException(Code)(Java Doc) public static AppParameter getParameterByName(AppParameter[] sharkParameters, String name) throws Exception(Code)(Java Doc) public static String getParameterString(AppParameter[] sharkParameters, String parameterName) throws Exception(Code)(Java Doc) public static String[] getParameterStringArray(AppParameter[] sharkParameters, String parameterName, String separatorStr) throws Exception(Code)(Java Doc) protected AppParameter[] getReturnParameters()(Code)(Java Doc) public void invokeApplication(WMSessionHandle shandle, long handle, WMEntity appInfo, WMEntity toolInfo, String applicationName, String procInstId, String assId, AppParameter[] parameters, Integer appMode) throws ApplicationNotStarted, ApplicationNotDefined, ApplicationBusy, ToolAgentGeneralException(Code)(Java Doc) protected ExtendedAttributes readParamsFromExtAttributes(String extAttribs) throws Exception(Code)(Java Doc) public long requestAppStatus(WMSessionHandle shandle, long handle, WMEntity toolInfo, String procInstId, String assId, AppParameter[] parameters) throws ApplicationBusy, InvalidToolAgentHandle, InvalidWorkitem, InvalidProcessInstance, ToolAgentGeneralException(Code)(Java Doc) public void terminateApp(WMSessionHandle shandle, long handle, WMEntity toolInfo, String procInstId, String assId) throws ApplicationNotStopped, InvalidWorkitem, InvalidProcessInstance, ApplicationBusy, ToolAgentGeneralException(Code)(Java Doc)
|
|
|