Qorus Integration Engine®
4.0.3.p2_git
|
Java wrapper for the DynamicDataHelper class in Qorus. More...
Public Member Methods | |
DynamicDataHelper (QoreObject obj) | |
creates the object as a wrapper for the Qore object | |
DynamicDataHelper () throws Throwable | |
creates the DynamicDataHelper object from the Qore class of the same name | |
void | replace (HashMap< String, Object > new_data) throws Throwable |
replaces dynamic data; the data has already been committed to the database when the method returns More... | |
void | replace () throws Throwable |
clears dynamic data; the change has already been committed to the database when the method returns More... | |
void | update (HashMap< String, Object > new_data) throws Throwable |
adds data to dynamic data; the data has already been committed to the database when the method returns More... | |
void | deleteKey (String... keys) throws Throwable |
deletes one or more keys from dynamic data; the changes have already been committed to the database when the method returns More... | |
Public Member Methods inherited from com.qoretechnologies.qorus.workflow.WorkflowDataHelper | |
WorkflowDataHelper (QoreObject obj) | |
creates the object as a wrapper for the Qore object | |
HashMap< String, Object > | get (String... keys) throws Throwable |
returns the value of multiple keys in the data or the entire data structure depending on the argument More... | |
Object | get (String key) throws Throwable |
returns the value of one key in the data or the entire data structure depending on the argument More... | |
HashMap< String, Object > | get () throws Throwable |
returns the entire data structure More... | |
Java wrapper for the DynamicDataHelper class in Qorus.
This class is a helper class that allows workflow dynamic data to be read and updated atomically; the write lock for the data is grabbed in the constructor and released in the destructor
Calls to the following workflow API functions related to workflow dynamic data can be made normally while this object exists and the write lock is held; the functions are aware of and automatically use the write lock held by this object:
The Qore-language destructor is run at the end of the Java step execution, after the step returns to Qorus.
|
inline |
deletes one or more keys from dynamic data; the changes have already been committed to the database when the method returns
this method is equivalent to WorkflowApi.deleteDynamicDataKey()
keys | the keys to delete |
|
inline |
replaces dynamic data; the data has already been committed to the database when the method returns
|
inline |
clears dynamic data; the change has already been committed to the database when the method returns
|
inline |
adds data to dynamic data; the data has already been committed to the database when the method returns
this method is equivalent to WorkflowApi.updateDynamicData()