de.innovationgate.wgaservices
public class ActionCaller extends Object
ClientFactory.createActionCaller(WGAServices, RemoteSession, String)
.Modifier and Type | Method and Description |
---|---|
Object |
callAction(String id)
Call an action via ID without parameters
|
Object |
callAction(String id,
Form form)
Call an action via ID, posting a TMLForm object
|
Object |
callAction(String id,
List params)
Call an action via ID and with parameters
|
Object |
callAction(String id,
List params,
Form form)
Call an action via ID with parameters and a posted TMLForm object
|
String |
getExecutionContext()
Returns the path of the execution context for called actions.
|
void |
setExecutionContext(String executionContext)
Sets the path for the execution context for called actions.
|
public Object callAction(String id) throws WGAServiceException
id
- The action id, i.e. the Name of the TMLScript module that stores it's codeWGAServiceException
public Object callAction(String id, List params) throws WGAServiceException
id
- The action id, i.e. the Name of the TMLScript module that stores it's codeparams
- The action parameters in a List. List element 0 becomes tmlparam1 and so on.WGAServiceException
public Object callAction(String id, Form form) throws WGAServiceException
id
- The action id, i.e. the Name of the TMLScript module that stores it's codeform
- The TMLForm object to postWGAServiceException
public Object callAction(String id, List params, Form form) throws WGAServiceException
id
- The action id, i.e. the Name of the TMLScript module that stores it's codeparams
- The action parameters in a List. List element 0 becomes tmlparam1 and so on.form
- The TMLForm object to postWGAServiceException
public String getExecutionContext()
public void setExecutionContext(String executionContext)