| java.lang.Object org.enhydra.shark.toolagent.AbstractToolAgent org.enhydra.shark.toolagent.StorageToolAgent
StorageToolAgent | public class StorageToolAgent extends AbstractToolAgent (Code) | | Tool agent for storing data into database. This tool uses default parameters from
config file:
packageDO - full name og package where is stored DO object
table- name of the table
checkUnique - check unique indexes for database table First two parameters will be
overwriten with value of extended attribute from xpdl (DataTableClass) if
they exist. This value is full package name for DO class + DO class name.
This extended attribute must be called "DataTableClass" and its value must
be full name of DO Class
author: Svjetlana Milidrag |
DATA_TABLE_CLASS_EXT_ATTR_NAME | final public static String DATA_TABLE_CLASS_EXT_ATTR_NAME(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) | | |
readParamsFromExtAttributes | protected ExtendedAttributes readParamsFromExtAttributes(String extAttribs) throws Exception(Code) | | Read extended attributes
|
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)
|
|
|