Qorus Integration Engine®
4.0.3.p2_git
|
main interface API class for the Java Qorus API More...
Static Public Member Methods | |
static Integer | auditUserEvent (String user_event, String info1, String info2) throws Throwable |
creates a user audit event (with audit event code OMQ.AE_USER_EVENT) against the workflow, service, or job instance More... | |
static Integer | auditUserEvent (String user_event, String info1) throws Throwable |
creates a user audit event (with audit event code OMQ.AE_USER_EVENT) against the workflow, service, or job instance More... | |
static Integer | auditUserEvent (String user_event) throws Throwable |
creates a user audit event (with audit event code OMQ.AE_USER_EVENT) against the workflow, service, or job instance More... | |
static boolean | auditCheckEventString (String opt) throws Throwable |
checks if the given audit event (given as a string) is enabled More... | |
static boolean | auditCheckEvent (int opt) throws Throwable |
checks if the given audit event (given as an integer code) is enabled More... | |
static int | auditGetMask () throws Throwable |
returns the audit event mask More... | |
static int | postUserEvent (String severity, Object info) throws Throwable |
posts an application event of class OMQ.QE_CLASS_USER More... | |
static HashMap< String, Object > | runtimeProperties () throws Throwable |
returns Qorus runtime properties as a hash More... | |
static Object | callNetworkApi (String call, Object... args) throws Throwable |
calls a system RPC API and returns the result; the API is called with system permissions (no restrictions) More... | |
static Object | callNetworkApiArgs (String call, Object[] args) throws Throwable |
calls a system RPC API with the argument list to the API method as a top-level argument to this function; the API is called with system permissions (no restrictions) More... | |
static Object | callNetworkApiArgsWithAuthentication (String user, String pass, String call, Object[] args) throws Throwable |
calls a system RPC API with authentication information (username and password) More... | |
static Object | callRestApi (String method, String path, HashMap< String, Object > body_args) throws Throwable |
calls a system REST API method and returns the result; the API is called with system permissions (no restrictions) More... | |
static Object | callRestApi (String method, String path) throws Throwable |
calls a system REST API method and returns the result; the API is called with system permissions (no restrictions) More... | |
static Object | callRestApiWithAuthentication (String user, String pass, String method, String path, HashMap< String, Object > body_args) throws Throwable |
calls a system REST API method with authentication information (username and password) and returns the result More... | |
static AbstractTable | getSqlTable (String datasource, String table_name) throws Throwable |
get a cached table object (suitable for DML) if present, otherwise it creates one from scratch More... | |
static AbstractTable | getSqlTable (AbstractDatasource datasource, String table_name) throws Throwable |
get a cached table object (suitable for DML) if present, otherwise it creates one from scratch More... | |
static HashMap< String, Object > | getSqlCacheInfo () throws Throwable |
get information about cached object More... | |
static void | clearSqlTableCache (String datasource, String table_name) throws Throwable |
clears the entry for the given datasource and table from the SQL cache (for example, if database objects have been updated in the dataserver) More... | |
static void | clearSqlTableCache (String datasource) throws Throwable |
clears all objects for given datasource from the SQL cache (for example, if database objects have been updated in the dataserver) More... | |
static Object | getValueMap (String mapname, String key) throws Throwable |
Gets a lookup value from the value map by a key; the value map must be registered to the current interface. More... | |
static HashMap< String, Object > [] | getValueMaps () throws Throwable |
Gets all value maps valid for the current interface. More... | |
static boolean | postSlaEventSuccess (String sla, float value) throws Throwable |
posts a successful SLA event for SLA monitoring and performance tracking More... | |
static boolean | postSlaEventError (String sla, float value, String err, String desc) throws Throwable |
posts an unsuccessful SLA event for SLA monitoring and performance tracking More... | |
static void | flushSlaEvents () throws Throwable |
flushes all pending SLA events to disk and returns after the data has been committed More... | |
static HashMap< String, Object > | getSystemServiceInfo (String name) throws Throwable |
returns information about the given system service (if it's currently loaded) More... | |
static HashMap< String, Object > | getServiceInfo (String type, String name) throws Throwable |
returns information about the given service (if it's currently loaded) More... | |
static HashMap< String, Object > [] | getRunningWorkflowList (String name, String ver) throws Throwable |
returns a list of hashes giving information about the currently-running workflow execution instances More... | |
static HashMap< String, Object > [] | getRunningWorkflowList (String name) throws Throwable |
returns a list of hashes giving information about the currently-running workflow execution instances More... | |
static HashMap< String, Object > [] | getRunningWorkflowList () throws Throwable |
returns a list of hashes giving information about the currently-running workflow execution instances More... | |
static HashMap< String, Object > | getRunningWorkflowInfo (int id) throws Throwable |
returns a hash of the workflow execution instance info if the ID is valid or an empty hash if not More... | |
static int | createOrder (String name, String version, HashMap< String, Object > params) throws Throwable |
creates a workflow order data instance in the database with status READY More... | |
static int | createOrder (String name, String version, HashMap< String, Object > params, String status) throws Throwable |
creates a workflow order data instance in the database More... | |
static int | createOrder (String name, HashMap< String, Object > params) throws Throwable |
creates a workflow order data instance in the database with status READY More... | |
static int | createOrder (String name, HashMap< String, Object > params, String status) throws Throwable |
creates a workflow order data instance in the database More... | |
static int | createRemoteOrder (String remote, String name, String version, HashMap< String, Object > params, String status, boolean register_dependency) throws Throwable |
creates a workflow order data instance in a remote Qorus instance More... | |
static int | createRemoteOrder (String remote, String name, String version, HashMap< String, Object > params, String status) throws Throwable |
creates a workflow order data instance in a remote Qorus instance, establishing a connection dependency with the calling interface More... | |
static int | createRemoteOrder (String remote, String name, String version, HashMap< String, Object > params) throws Throwable |
creates a workflow order data instance in a remote Qorus instance with status READY amd establishing a connection dependency with the calling interface More... | |
static int | createRemoteOrder (String remote, String name, HashMap< String, Object > params, String status, boolean register_dependency) throws Throwable |
creates a workflow order data instance in a remote Qorus instance More... | |
static int | createRemoteOrder (String remote, String name, HashMap< String, Object > params, String status) throws Throwable |
creates a workflow order data instance in a remote Qorus instance, establishing a connection dependency with the calling interface More... | |
static int | createRemoteOrder (String remote, String name, HashMap< String, Object > params) throws Throwable |
creates a workflow order data instance in a remote Qorus instance with status READY amd establishing a connection dependency with the calling interface More... | |
static HashMap< String, Object > | execSynchronousWorkflow (String name, String version, HashMap< String, Object > sdata, HashMap< String, Object > opts, HashMap< String, Object > ddata, int priority, HashMap< String, Object > orderkeys, String external_order_instanceid, int parent_workflow_instanceid) throws Throwable |
executes a workflow order synchronously and returns the final status and order ID in a hash More... | |
static HashMap< String, Object > | execSynchronousWorkflow (String name, HashMap< String, Object > sdata, HashMap< String, Object > opts, HashMap< String, Object > ddata, int priority, HashMap< String, Object > orderkeys, String external_order_instanceid, int parent_workflow_instanceid) throws Throwable |
executes a workflow order synchronously and returns the final status and order ID in a hash More... | |
static HashMap< String, Object > | execSynchronousWorkflow (String name, HashMap< String, Object > sdata, HashMap< String, Object > opts, HashMap< String, Object > ddata, int priority, HashMap< String, Object > orderkeys, String external_order_instanceid) throws Throwable |
executes a workflow order synchronously and returns the final status and order ID in a hash More... | |
static HashMap< String, Object > | execSynchronousWorkflow (String name, HashMap< String, Object > sdata, HashMap< String, Object > opts, HashMap< String, Object > ddata, int priority, HashMap< String, Object > orderkeys) throws Throwable |
executes a workflow order synchronously and returns the final status and order ID in a hash More... | |
static HashMap< String, Object > | execSynchronousWorkflow (String name, HashMap< String, Object > sdata, HashMap< String, Object > opts, HashMap< String, Object > ddata, int priority) throws Throwable |
executes a workflow order synchronously and returns the final status and order ID in a hash More... | |
static HashMap< String, Object > | execSynchronousWorkflow (String name, HashMap< String, Object > sdata, HashMap< String, Object > opts, HashMap< String, Object > ddata) throws Throwable |
executes a workflow order synchronously and returns the final status and order ID in a hash More... | |
static HashMap< String, Object > | execSynchronousWorkflow (String name, HashMap< String, Object > sdata, HashMap< String, Object > opts) throws Throwable |
executes a workflow order synchronously and returns the final status and order ID in a hash More... | |
static HashMap< String, Object > | execSynchronousWorkflow (String name, HashMap< String, Object > sdata) throws Throwable |
executes a workflow order synchronously and returns the final status and order ID in a hash More... | |
static HashMap< String, Object > | getQorusOptions () throws Throwable |
returns the value of all system options More... | |
static Object | getQorusOptions (String opt) throws Throwable |
returns the value of the given system option More... | |
static HashMap< String, Object > | getQorusOptions (String... opts) throws Throwable |
returns the value of the given system options More... | |
static HashMap< String, Object > | getQorusOptionsArgs (String[] opts) throws Throwable |
returns the value of the given system options More... | |
static HashMap< String, Object > | getQorusOptionInfo () throws Throwable |
returns a hash giving information about system options More... | |
static HashMap< String, Object > | getQorusOptionInfoArgs (String[] args) throws Throwable |
returns a hash giving information about system options More... | |
static HashMap< String, Object > | getActiveJobs () throws Throwable |
Returns information on all active jobs visible to the calling user. More... | |
static Object | getUserConnection (String name, boolean connect, boolean register_dependency, HashMap< String, Object > rtopts) throws Throwable |
Returns an object corresponding to a defined user connection. More... | |
static Object | getUserConnection (String name, boolean connect, boolean register_dependency) throws Throwable |
Returns an object corresponding to a defined user connection. More... | |
static Object | getUserConnection (String name, boolean connect) throws Throwable |
Returns an object corresponding to a defined user connection, establishing a dependency by default between the calling inteerface and the connection. More... | |
static Object | getUserConnection (String name) throws Throwable |
Returns an object corresponding to a defined user connection, performing an automatic connection to the target and establishing a dependency by default between the calling inteerface and the connection. More... | |
static DatasourcePool | getDatasourcePool (String name, boolean register_dependency) throws Throwable |
returns a DatasourcePool object for the given datasource name More... | |
static DatasourcePool | getDatasourcePool (String name) throws Throwable |
returns a DatasourcePool object for the given datasource name; a dependency is created between the calling interface and the datasource More... | |
static HashMap< String, Object > | getDatasourceInfo (String name) throws Throwable |
returns a hash of information for the given datasource, if known, otherwise throws an exception More... | |
static QorusSystemRestHelper | getRemoteRestConnection (String name, boolean connect, boolean register_dependency) throws Throwable |
Returns a new QorusSystemRestHelper object corresponding to a defined Qorus remote connection. More... | |
static QorusSystemRestHelper | getRemoteRestConnection (String name, boolean connect) throws Throwable |
Returns a new QorusSystemRestHelper object corresponding to a defined Qorus remote connection; a dependency is established between the current interface and the remote connection. More... | |
static QorusSystemRestHelper | getRemoteRestConnection (String name) throws Throwable |
Returns a new QorusSystemRestHelper object corresponding to a defined Qorus remote connection; a dependency is established between the current interface and the remote connection and the connection is connected automatically. More... | |
static void | raiseTransientAlert (String alert, String reason, HashMap< String, Object > info) throws Throwable |
raises a transient system alert from a workflow, service, or job More... | |
static void | raiseTransientAlert (String alert, String reason) throws Throwable |
raises a transient system alert from a workflow, service, or job More... | |
static String | qorusGetLocalUrl (String username, String password) throws Throwable |
returns a string giving the local system URL More... | |
static String | qorusGetLocalUrl () throws Throwable |
returns a string giving the local system URL More... | |
static void | setOption (HashMap< String, Object > hash) throws Throwable |
Changes option values on a workflow, service, or job. More... | |
static void | setOption (String option, Object value) throws Throwable |
Changes a single option value on a workflow, service, or job. More... | |
static HashMap< String, Object > | getOption (String... keys) throws Throwable |
Returns the value of the named workflow, service, or job option or options. More... | |
static Object | getOption (String key) throws Throwable |
Returns the value of the named workflow, service, or job option. More... | |
static HashMap< String, Object > | getOption () throws Throwable |
Returns the value of all workflow, service, or job options depending on the calling context. More... | |
static HashMap< String, Object > | blockOrder (int wfiid) throws Throwable |
block the given workflow order data instance More... | |
static HashMap< String, Object > | unblockOrder (int wfiid, HashMap< String, Object > tempdata, HashMap< String, Object > orderkeys) throws Throwable |
unblocks the given workflow order data instance More... | |
static HashMap< String, Object > | unblockOrder (int wfiid, HashMap< String, Object > tempdata) throws Throwable |
unblocks the given workflow order data instance More... | |
static HashMap< String, Object > | unblockOrder (int wfiid) throws Throwable |
unblocks the given workflow order data instance More... | |
static HashMap< String, Object > | cancelOrder (int wfiid) throws Throwable |
cancel the given workflow order data instance More... | |
static HashMap< String, Object > | uncancelOrder (int wfiid, HashMap< String, Object > tempdata) throws Throwable |
uncancels the given workflow order data instance More... | |
static HashMap< String, Object > | uncancelOrder (int wfiid) throws Throwable |
uncancels the given workflow order data instance More... | |
static HashMap< String, Object > | getUserContextInfo () throws Throwable |
returns a hash for the current user context More... | |
static Object | getGlobalConfigItemValue (String item) throws Throwable |
returns the value of the given configuration item on global level; throws an exception if there is no value on global level for the configuration item More... | |
static Mapper | getMapper (String name, HashMap< String, Object > rtopts) throws Throwable |
returns the given mapper if registered for the current interface More... | |
static Mapper | getMapper (String name) throws Throwable |
returns the given mapper if registered for the current interface More... | |
static boolean | postSyncEvent (String eventtype, String eventkey) throws Throwable |
posts a workflow synchronization event given the event type name and the unique event key More... | |
static int | getSessionId () throws Throwable |
returns the current Qorus application session ID More... | |
static HashMap< String, Object > | getSystemInfo () throws Throwable |
returns a hash of system info More... | |
static HashMap< String, Object > | propGet () throws Throwable |
returns a hash of all system properties in all domains More... | |
static HashMap< String, Object > | propGet (String domain) throws Throwable |
returns a hash of all key-value pairs in the given domain or null if the system property domain does not exist More... | |
static HashMap< String, Object > | propGet (String domain, String key) throws Throwable |
returns the value of the given system property key in the given domain or null if the system property does not exist More... | |
static String | propUpdate (String domain, String key, Object value) throws Throwable |
changes (inserts, updates, or deletes) the value of a single system property More... | |
static void | logFatal (String msg) throws Throwable |
Writes the information passed to the workflow, service, job, or system log file depending on the calling context if the interface logger level is equal or lower. More... | |
static void | logError (String msg) throws Throwable |
Writes the information passed to the workflow, service, job, or system log file depending on the calling context if the interface logger level is equal or lower. More... | |
static void | logWarn (String msg) throws Throwable |
Writes the information passed to the workflow, service, job, or system log file depending on the calling context if the interface logger level is equal or lower. More... | |
static void | logInfo (String msg) throws Throwable |
Writes the information passed to the workflow, service, job, or system log file depending on the calling context if the interface logger level is equal or lower. More... | |
static void | logDebug (String msg) throws Throwable |
Writes the information passed to the workflow, service, job, or system log file depending on the calling context if the interface logger level is equal or lower. More... | |
static void | logTrace (String msg) throws Throwable |
Writes the information passed to the workflow, service, job, or system log file depending on the calling context if the interface logger level is equal or lower. More... | |
static void | logFatal (String msg, Object... args) throws Throwable |
Writes the information passed to the workflow, service, job, or system log file depending on the calling context if the interface logger level is equal or lower. More... | |
static void | logError (String msg, Object... args) throws Throwable |
Writes the information passed to the workflow, service, job, or system log file depending on the calling context if the interface logger level is equal or lower. More... | |
static void | logWarn (String msg, Object... args) throws Throwable |
Writes the information passed to the workflow, service, job, or system log file depending on the calling context if the interface logger level is equal or lower. More... | |
static void | logInfo (String msg, Object... args) throws Throwable |
Writes the information passed to the workflow, service, job, or system log file depending on the calling context if the interface logger level is equal or lower. More... | |
static void | logDebug (String msg, Object... args) throws Throwable |
Writes the information passed to the workflow, service, job, or system log file depending on the calling context if the interface logger level is equal or lower. More... | |
static void | logTrace (String msg, Object... args) throws Throwable |
Writes the information passed to the workflow, service, job, or system log file depending on the calling context if the interface logger level is equal or lower. More... | |
static int | getNextSequenceValue (AbstractDatasource ds, String name) throws Throwable |
returns the next sequence value for the given datasource and sequence More... | |
static int | getNextSequenceValue (String ds, String name) throws Throwable |
returns the next sequence value for the given datasource and sequence More... | |
static String | serializeQorusData (Object d) throws Throwable |
returns a string giving the default serialization of the given data structure for storage in Qorus More... | |
static String | serializeQorusDataWithNothing (Object d) throws Throwable |
returns a string giving the default serialization of the given data structure for storage in Qorus More... | |
static Object | deserializeQorusData (String data) throws Throwable |
parses a serialized data string and returns the corresponding data More... | |
static String | restartTransaction (String driver, HashMap< String, Object > ex) throws Throwable |
returns a string error message if any exception in the chain passed was caused by a recoverable DB error, otherwise returns NOTHING More... | |
static String | expandOneVariable (String str, String var_context, String var_name, HashMap< String, Object > local_context) throws Throwable |
expands one variable in a templated string More... | |
static Object | expandTemplatedValue (String str, HashMap< String, Object > local_context) throws Throwable |
expands all variables in a templated string More... | |
static HashMap< String, Object > | bbParseExactlyOneVariable (String str) throws Throwable |
parses one template variable and returns a hash with its parts More... | |
static HashMap< String, Object > | getInputData (String field_name, HashMap< String, Object > local_context, HashMap< String, Object > input_data_cfg) throws Throwable |
returns specified input data field's value More... | |
static HashMap< String, Object > | getInputData (HashMap< String, Object > input_data_cfg, HashMap< String, Object > local_context) throws Throwable |
returns all input data More... | |
static void | updateOutputData (String field_name, Object output_data, HashMap< String, Object > output_data_cfg) throws Throwable |
updates output data with the given configuration More... | |
static void | updateOutputData (HashMap< String, Object > all_output_data, HashMap< String, Object > output_data_cfg) throws Throwable |
updates all output data More... | |
static String | getTextFileFromLocation (String location) throws Throwable |
returns string data for the given file location More... | |
static byte [] | getBinaryFileFromLocation (String location) throws Throwable |
returns binary data for the given file location More... | |
Additional Inherited Members | |
Static Public Attributes inherited from com.qoretechnologies.qorus.OMQ | |
static final String | OT_CONSTANT = "CONSTANT" |
for constant library objects | |
static final String | OT_CLASS = "CLASS" |
for class library objects | |
static final String | OT_FUNCTION = "FUNCTION" |
for function library objects | |
static final String | ExecNormal = "NORMAL" |
step attribute: for normal steps | |
static final String | ExecAsync = "ASYNC" |
step attribute: for async steps | |
static final String | ExecSubWorkflow = "SUBWORKFLOW" |
step attribute: for subworkflow steps | |
static final String | ExecEvent = "EVENT" |
step attribute: for synchronization event steps | |
static final String | SSRunning = "running" |
service status: running | |
static final String | SSLoaded = "loaded" |
service status: running | |
static final String | SLNone = "none" |
service lock type: none | |
static final String | SLRead = "read" |
service lock type: read | |
static final String | SLWrite = "write" |
service lock type: write | |
static final String | SQLStatComplete = "C" |
SQL Status: COMPLETE. More... | |
static final String | SQLStatError = "E" |
SQL Status: ERROR. More... | |
static final String | SQLStatWaiting = "W" |
SQL Status: WAITING. More... | |
static final String | SQLStatInProgress = "I" |
SQL Status: IN-PROGRESS. More... | |
static final String | SQLStatIncomplete = "N" |
SQL Status: INCOMPLETE. More... | |
static final String | SQLStatAsyncWaiting = "A" |
SQL Status: ASYNC-WAITING. More... | |
static final String | SQLStatEventWaiting = "V" |
SQL Status: EVENT-WAITING. More... | |
static final String | SQLStatRetry = "R" |
SQL Status: RETRY. More... | |
static final String | SQLStatCanceled = "X" |
SQL Status: CANCELED. More... | |
static final String | SQLStatReady = "Y" |
SQL Status: READY. More... | |
static final String | SQLStatScheduled = "S" |
SQL Status: SCHEDULED. More... | |
static final String | SQLStatBlocked = "B" |
SQL Status: BLOCKED. More... | |
static final int | LL_CRITICAL = -1 |
Log Level: CRITICAL. | |
static final int | LL_IMPORTANT = 0 |
Log Level: IMPORTANT. | |
static final int | LL_INFO = 1 |
Log Level: INFO. | |
static final int | LL_DETAIL_1 = 2 |
Log Level: DETAIL_1. | |
static final int | LL_DETAIL_2 = 3 |
Log Level: DETAIL_2. | |
static final int | LL_DEBUG_1 = 4 |
Log Level: DEBUG_1. | |
static final int | LL_DEBUG_2 = 5 |
Log Level: DEBUG_2. | |
static final int | LL_DEBUG_3 = 6 |
Log Level: DEBUG_3. | |
static final String | WM_Normal = "NORMAL" |
Workflow Mode: NORMAL. | |
static final String | WM_Recovery = "RECOVERY" |
Workflow Mode: RECOVERY. | |
static final String | StatComplete = "COMPLETE" |
This status indicates that the object it is attached to has successfully completed its processing. More... | |
static final String | StatError = "ERROR" |
Indicates that the workflow order data instance has at least one step with an OMQ.StatError status. More... | |
static final String | StatWaiting = "WAITING" |
Indicates that subworkflow steps are in progress and the system is waiting on the subworkflows to become OMQ.StatComplete. More... | |
static final String | StatInProgress = "IN-PROGRESS" |
Indicates that the workflow order data instance is currently being processed. More... | |
static final String | StatIncomplete = "INCOMPLETE" |
Indicates that processing for the workflow order data instance is not yet complete yet has no errors. More... | |
static final String | StatAsyncWaiting = "ASYNC-WAITING" |
Indicates that asynchronous steps are in process and the system is waiting on data to become available in the queue assigned to the step. More... | |
static final String | StatEventWaiting = "EVENT-WAITING" |
Indicates that one or more workflow event synchronization steps are in progress and the workflow is waiting for the event(s) to be posted. More... | |
static final String | StatRetry = "RETRY" |
Indicates that workflow processing on the order data instance has generated an error and is now waiting for an automatic retry. More... | |
static final String | StatCanceled = "CANCELED" |
Indicates that workflow order data instance processing has been canceled. More... | |
static final String | StatReady = "READY" |
Indicates that a workflow order data instance has been created and is waiting for processing to start. More... | |
static final String | StatScheduled = "SCHEDULED" |
Indicates that a workflow order data instance has been created and has not yet been processed because at the time the order was created, the scheduled date (the earliest possible processing date) was in the future. More... | |
static final String | StatBlocked = "BLOCKED" |
Indicates that workflow order data instance processing has been temporarily blocked. More... | |
static final Map< String, String > | StatMap |
map from text descriptions to SQL status characters | |
static final Map< String, String > | SQLStatMap |
hash mapping SQL status characters to text descriptions | |
static final String | ES_Major = "MAJOR" |
Error Severity: MAJOR. | |
static final String | ES_Warning = "WARNING" |
Error Severity: WARNING. | |
static final String | CS_Clean = "C" |
order went to COMPLETE without any errors | |
static final String | CS_RecoveredAuto = "A" |
order went to COMPLETE after being recovered automatically | |
static final String | CS_RecoveredManual = "M" |
order went to COMPLETE after being recovered with manual retries | |
static final String | QS_Waiting = "WAITING" |
Queue Status Text Description: WAITING . More... | |
static final String | QS_Received = "RECEIVED" |
Queue Status Text Description: RECEIVED . More... | |
static final String | QS_Error = "ERROR" |
Queue Status Text Description: ERROR . More... | |
static final String | QS_Used = "USED" |
Queue Status Text Description: USED . More... | |
static final String | SQL_QS_Waiting = "W" |
Queue Status SQL Character Code: WAITING . More... | |
static final String | SQL_QS_Received = "R" |
Queue Status SQL Character Code: RECEIVED . More... | |
static final String | SQL_QS_Error = "E" |
Queue Status SQL Character Code: ERROR . More... | |
static final String | SQL_QS_Used = "X" |
Queue Status SQL Character Code: USED . More... | |
static final Map< String, String > | QSMap |
map of queue status descriptions to the character code | |
static final Map< String, String > | SQLQSMap |
map of queue status character codes to the description | |
static final String | QR_LOGIN = "LOGIN" |
RBAC System Permission: "LOGIN" . More... | |
static final String | QR_SHUTDOWN = "SHUTDOWN" |
RBAC System Permission: "SHUTDOWN" . More... | |
static final String | QR_WORKFLOW_CONTROL = "WORKFLOW-CONTROL" |
RBAC System Permission: "WORKFLOW-CONTROL" . More... | |
static final String | QR_WORKFLOW_EXEC_CONTROL = "WORKFLOW-EXEC-CONTROL" |
RBAC System Permission: "WORKFLOW-EXEC-CONTROL" . More... | |
static final String | QR_START_WORKFLOW = "START-WORKFLOW" |
RBAC System Permission: "START-WORKFLOW" . More... | |
static final String | QR_STOP_WORKFLOW = "STOP-WORKFLOW" |
RBAC System Permission: "STOP-WORKFLOW" . More... | |
static final String | QR_RESET_WORKFLOW = "RESET-WORKFLOW" |
RBAC System Permission: "RESET-WORKFLOW" . More... | |
static final String | QR_WORKFLOW_OPTION_CONTROL = "WORKFLOW-OPTION-CONTROL" |
RBAC System Permission: "WORKFLOW-OPTION-CONTROL" . More... | |
static final String | QR_WORKFLOW_ERROR_CONTROL = "WORKFLOW-ERROR-CONTROL" |
RBAC System Permission: "WORKFLOW-ERROR-CONTROL" . More... | |
static final String | QR_WORKFLOW_ORDER_CONTROL = "WORKFLOW-ORDER-CONTROL" |
RBAC System Permission: "WORKFLOW-ORDER-CONTROL" . More... | |
static final String | QR_RETRY_WORKFLOW_ORDER = "RETRY-WORKFLOW-ORDER" |
RBAC System Permission: "RETRY-WORKFLOW-ORDER" . More... | |
static final String | QR_RESCHEDULE_WORKFLOW_ORDER = "RESCHEDULE-WORKFLOW-ORDER" |
RBAC System Permission: "RESCHEDULE-WORKFLOW-ORDER" . More... | |
static final String | QR_REPRIORITIZE_WORKFLOW_ORDER = "REPRIORITIZE-WORKFLOW-ORDER" |
RBAC System Permission: "REPRIORITIZE-WORKFLOW-ORDER" . More... | |
static final String | QR_BLOCK_WORKFLOW_ORDER = "BLOCK-WORKFLOW-ORDER" |
RBAC System Permission: "BLOCK-WORKFLOW-ORDER" . More... | |
static final String | QR_CANCEL_WORKFLOW_ORDER = "CANCEL-WORKFLOW-ORDER" |
RBAC System Permission: "CANCEL-WORKFLOW-ORDER" . More... | |
static final String | QR_SET_WORKFLOW_ORDER_ERROR = "SET-WORKFLOW-ORDER-ERROR" |
RBAC System Permission: "SET-WORKFLOW-ORDER-ERROR" . More... | |
static final String | QR_SKIP_STEP = "SKIP-STEP" |
RBAC System Permission: "SKIP-STEP" . More... | |
static final String | QR_SET_ORDER_INFO = "SET-ORDER-INFO" |
RBAC System Permission: "SET-ORDER-INFO" . More... | |
static final String | QR_POST_WORKFLOW_EVENT = "POST-WORKFLOW-EVENT" |
RBAC System Permission: "POST-WORKFLOW-EVENT" . More... | |
static final String | QR_LOCK_WORKFLOW_ORDER = "LOCK-WORKFLOW-ORDER" |
RBAC System Permission: "LOCK-WORKFLOW-ORDER" . More... | |
static final String | QR_BREAK_WORKFLOW_ORDER_LOCK = "BREAK-WORKFLOW-ORDER-LOCK" |
RBAC System Permission: "BREAK-WORKFLOW-ORDER-LOCK" . More... | |
static final String | QR_EDIT_WORKFLOW_DATA = "EDIT-WORKFLOW-DATA" |
RBAC System Permission: "EDIT-WORKFLOW-DATA" . More... | |
static final String | QR_READ_SENSITIVE_DATA = "READ-SENSITIVE-DATA" |
RBAC System Permission: "READ-SENSITIVE-DATA" ;. More... | |
static final String | QR_EDIT_SENSITIVE_DATA = "EDIT-SENSITIVE-DATA" |
RBAC System Permission: "EDIT-SENSITIVE-DATA" ;. More... | |
static final String | QR_DELETE_SENSITIVE_DATA = "DELETE-SENSITIVE-DATA" |
RBAC System Permission: "DELETE-SENSITIVE-DATA" ;. More... | |
static final String | QR_SENSITIVE_DATA_CONTROL = "SENSITIVE-DATA-CONTROL" |
RBAC System Permission: "SENSITIVE-DATA-CONTROL" ;. More... | |
static final String | QR_EXEC_SYNC_WORKFLOW = "EXEC-SYNC-WORKFLOW" |
RBAC System Permission: "EXEC-SYNC-WORKFLOW" . More... | |
static final String | QR_SUBMIT_ORDER = "SUBMIT-ORDER" |
RBAC System Permission: "SUBMIT-ORDER" . More... | |
static final String | QR_SET_STEP_CONFIG = "SET-STEP-CONFIG" |
RBAC System Permissions: "SET-STEP-CONFIG" . More... | |
static final String | QR_SET_WORKFLOW_CONFIG = "SET-WORKFLOW-CONFIG" |
RBAC System Permissions: "SET-WORKFLOW-CONFIG" . More... | |
static final String | QR_SERVICE_CONTROL = "SERVICE-CONTROL" |
RBAC System Permission: "SERVICE-CONTROL" . More... | |
static final String | QR_LOAD_SERVICE = "LOAD-SERVICE" |
RBAC System Permission: "LOAD-SERVICE" . More... | |
static final String | QR_UNLOAD_SERVICE = "UNLOAD-SERVICE" |
RBAC System Permission: "UNLOAD-SERVICE" . More... | |
static final String | QR_RESET_SERVICE = "RESET-SERVICE" |
RBAC System Permission: "RESET-SERVICE" . More... | |
static final String | QR_SET_SERVICE_AUTOSTART = "SET-SERVICE-AUTOSTART" |
RBAC System Permission: "SET-SERVICE-AUTOSTART" . More... | |
static final String | QR_SET_SERVICE_OPTIONS = "SET-SERVICE-OPTIONS" |
RBAC System Permission: "SET-SERVICE-OPTIONS" . More... | |
static final String | QR_CALL_USER_SERVICES_RO = "CALL-USER-SERVICES-RO" |
RBAC System Permission: "CALL-USER-SERVICES-RO" . More... | |
static final String | QR_CALL_SYSTEM_SERVICES_RO = "CALL-SYSTEM-SERVICES-RO" |
RBAC System Permission: "CALL-SYSTEM-SERVICES-RO" . More... | |
static final String | QR_CALL_USER_SERVICES_RW = "CALL-USER-SERVICES-RW" |
RBAC System Permission: "CALL-USER-SERVICES-RW" . More... | |
static final String | QR_CALL_SYSTEM_SERVICES_RW = "CALL-SYSTEM-SERVICES-RW" |
RBAC System Permission: "CALL-SYSTEM-SERVICES-RW" . More... | |
static final String | QR_SET_SERVICE_CONFIG = "SET-SERVICE-CONFIG" |
RBAC System Permissions: "SET-SERVICE-CONFIG" . More... | |
static final String | QR_USER_CONTROL = "USER-CONTROL" |
RBAC System Permission: "USER-CONTROL" . More... | |
static final String | QR_RELOAD_RBAC = "RELOAD-RBAC" |
RBAC System Permission: "RELOAD-RBAC" . More... | |
static final String | QR_ADD_USER = "ADD-USER" |
RBAC System Permission: "ADD-USER" . More... | |
static final String | QR_MODIFY_USER = "MODIFY-USER" |
RBAC System Permission: "MODIFY-USER" . More... | |
static final String | QR_DELETE_USER = "DELETE-USER" |
RBAC System Permission: "DELETE-USER" . More... | |
static final String | QR_ADD_PERMISSION = "ADD-PERMISSION" |
RBAC System Permission: "ADD-PERMISSION" . More... | |
static final String | QR_MODIFY_PERMISSION = "MODIFY-PERMISSION" |
RBAC System Permission: "MODIFY-PERMISSION" . More... | |
static final String | QR_DELETE_PERMISSION = "DELETE-PERMISSION" |
RBAC System Permission: "DELETE-PERMISSION" . More... | |
static final String | QR_ADD_ROLE = "ADD-ROLE" |
RBAC System Permission: "ADD-ROLE" . More... | |
static final String | QR_MODIFY_ROLE = "MODIFY-ROLE" |
RBAC System Permission: "MODIFY-ROLE" . More... | |
static final String | QR_DELETE_ROLE = "DELETE-ROLE" |
RBAC System Permission: "DELETE-ROLE" . More... | |
static final String | QR_OPTION_CONTROL = "OPTION-CONTROL" |
RBAC System Permission: "OPTION-CONTROL" . More... | |
static final String | QR_LOGGER_CONTROL = "LOGGER-CONTROL" |
RBAC System Permission: "LOGGER-CONTROL" . More... | |
static final String | QR_ROTATE_LOG_FILES = "ROTATE-LOG-FILES" |
RBAC System Permission: "ROTATE-LOG-FILES" . More... | |
static final String | QR_MODIFY_LOGGER = "MODIFY-LOGGER" |
RBAC System Permission: "MODIFY-LOGGER" . More... | |
static final String | QR_DELETE_LOGGER = "DELETE-LOGGER" |
RBAC System Permission: "DELETE-LOGGER" . More... | |
static final String | QR_CREATE_LOGGER = "CREATE-LOGGER" |
RBAC System Permission: "CREATE-LOGGER" . More... | |
static final String | QR_DATASOURCE_CONTROL = "DATASOURCE-CONTROL" |
RBAC System Permission: "DATASOURCE-CONTROL" . More... | |
static final String | QR_READ_DATASOURCE = "READ-DATASOURCE" |
RBAC System Permission: "READ-DATASOURCE" . More... | |
static final String | QR_ADD_DATASOURCE = "ADD-DATASOURCE" |
RBAC System Permission: "ADD-DATASOURCE" . More... | |
static final String | QR_SELECT_DATASOURCE = "SELECT-DATASOURCE" |
RBAC System Permission: "SELECT-DATASOURCE" . More... | |
static final String | QR_MODIFY_DATASOURCE = "MODIFY-DATASOURCE" |
RBAC System Permission: "MODIFY-DATASOURCE" . More... | |
static final String | QR_RESET_DATASOURCE = "RESET-DATASOURCE" |
RBAC System Permission: "RESET-DATASOURCE" . More... | |
static final String | QR_DELETE_DATASOURCE = "DELETE-DATASOURCE" |
RBAC System Permission: "DELETE-DATASOURCE" . More... | |
static final String | QR_RELOAD_DATASOURCE = "RELOAD-DATASOURCE" |
RBAC System Permission: "RELOAD-DATASOURCE" . More... | |
static final String | QR_FLUSH_DATASOURCE = "FLUSH-DATASOURCE" |
RBAC System Permission: "FLUSH-DATASOURCE" . More... | |
static final String | QR_SQLUTIL_READ = "SQLUTIL-READ" |
RBAC System Permission: "SQLUTIL-READ" . More... | |
static final String | QR_SQLUTIL_WRITE = "SQLUTIL-WRITE" |
RBAC System Permission: "SQLUTIL-WRITE" . More... | |
static final String | QR_GROUP_CONTROL = "GROUP-CONTROL" |
RBAC System Permission: "GROUP-CONTROL" . More... | |
static final String | QR_ADD_GROUP = "ADD-GROUP" |
RBAC System Permission: "ADD-GROUP" . More... | |
static final String | QR_MODIFY_GROUP = "MODIFY-GROUP" |
RBAC System Permission: "MODIFY-GROUP" . More... | |
static final String | QR_DELETE_GROUP = "DELETE-GROUP" |
RBAC System Permission: "DELETE-GROUP" . More... | |
static final String | QR_MODIFY_GROUP_STATUS = "MODIFY-GROUP-STATUS" |
RBAC System Permission: "MODIFY-GROUP-STATUS" . More... | |
static final String | QR_SERVER_CONTROL = "SERVER-CONTROL" |
RBAC System Permission: "SERVER-CONTROL" . More... | |
static final String | QR_SET_PROPERTY = "SET-PROPERTY" |
RBAC System Permission: "SET-PROPERTY" . More... | |
static final String | QR_DELETE_PROPERTY = "DELETE-PROPERTY" |
RBAC System Permission: "DELETE-PROPERTY" . More... | |
static final String | QR_RELOAD_PROPERTIES = "RELOAD-PROPERTIES" |
RBAC System Permission: "RELOAD-PROPERTIES" . More... | |
static final String | QR_START_LISTENER = "START-LISTENER" |
RBAC System Permission: "START-LISTENER" . More... | |
static final String | QR_STOP_LISTENER = "STOP-LISTENER" |
RBAC System Permission: "STOP-LISTENER" . More... | |
static final String | QR_JOB_CONTROL = "JOB-CONTROL" |
RBAC System Permission: "JOB-CONTROL" . More... | |
static final String | QR_RUN_JOB = "RUN-JOB" |
RBAC System Permission: "RUN-JOB" . More... | |
static final String | QR_MODIFY_JOB_STATUS = "MODIFY-JOB-STATUS" |
RBAC System Permission: "MODIFY-JOB-STATUS" . More... | |
static final String | QR_MODIFY_JOB_EXPIRY = "MODIFY-JOB-EXPIRY" |
RBAC System Permission: "MODIFY-JOB-EXPIRY" . More... | |
static final String | QR_RESCHEDULE_JOB = "RESCHEDULE-JOB" |
RBAC System Permission: "RESCHEDULE-JOB" . More... | |
static final String | QR_RESET_JOB = "RESET-JOB" |
RBAC System Permission: "RESET-JOB" . More... | |
static final String | QR_SET_JOB_OPTIONS = "SET-JOB-OPTIONS" |
RBAC System Permission: "SET-JOB-OPTIONS" . More... | |
static final String | QR_SET_JOB_CONFIG = "SET-JOB-CONFIG" |
RBAC System Permissions: "SET-JOB-CONFIG" . More... | |
static final String | QR_SCHEMA_CONTROL = "SCHEMA-CONTROL" |
RBAC System Permission: "SCHEMA-CONTROL" . More... | |
static final String | QR_USER_CONNECTION_CONTROL = "USER-CONNECTION-CONTROL" |
RBAC System Permission: "USER-CONNECTION-CONTROL" . More... | |
static final String | QR_READ_USER_CONNECTION = "READ-USER-CONNECTION" |
RBAC System Permission: "READ-USER-CONNECTION" . More... | |
static final String | QR_RELOAD_USER_CONNECTION = "RELOAD-USER-CONNECTION" |
RBAC System Permission: "RELOAD-USER-CONNECTION" . More... | |
static final String | QR_ADD_USER_CONNECTION = "ADD-USER-CONNECTION" |
RBAC System Permission: "ADD-USER-CONNECTION" . More... | |
static final String | QR_MODIFY_USER_CONNECTION = "MODIFY-USER-CONNECTION" |
RBAC System Permission: "MODIFY-USER-CONNECTION" . More... | |
static final String | QR_DELETE_USER_CONNECTION = "DELETE-USER-CONNECTION" |
RBAC System Permission: "DELETE-USER-CONNECTION" . More... | |
static final String | QR_SERVER_CONNECTION_CONTROL = "SERVER-CONNECTION-CONTROL" |
RBAC System Permission: "SERVER-CONNECTION-CONTROL" . More... | |
static final String | QR_RELOAD_SERVER_CONNECTION = "RELOAD-SERVER-CONNECTION" |
RBAC System Permission: "RELOAD-SERVER-CONNECTION" . More... | |
static final String | QR_READ_SERVER_CONNECTION = "READ-SERVER-CONNECTION" |
RBAC System Permission: "READ-SERVER-CONNECTION" . More... | |
static final String | QR_ADD_SERVER_CONNECTION = "ADD-SERVER-CONNECTION" |
RBAC System Permission: "ADD-SERVER-CONNECTION" . More... | |
static final String | QR_MODIFY_SERVER_CONNECTION = "MODIFY-SERVER-CONNECTION" |
RBAC System Permission: "MODIFY-SERVER-CONNECTION" . More... | |
static final String | QR_DELETE_SERVER_CONNECTION = "DELETE-SERVER-CONNECTION" |
RBAC System Permission: "DELETE-SERVER-CONNECTION" . More... | |
static final String | QR_FILESYSTEM_CONTROL = "FILESYSTEM-CONTROL" |
RBAC System Permission: "FILESYSTEM-CONTROL" . More... | |
static final String | QR_FILESYSTEM_READ = "FILESYSTEM-READ" |
RBAC System Permission: "FILESYSTEM-READ" . More... | |
static final String | QR_FILESYSTEM_WRITE = "FILESYSTEM-WRITE" |
RBAC System Permission: "FILESYSTEM-WRITE" . More... | |
static final String | QR_MAPPER_CONTROL = "MAPPER-CONTROL" |
RBAC System Permission: "MAPPER-CONTROL" . More... | |
static final String | QR_RELOAD_MAPPER = "RELOAD-MAPPER" |
RBAC System Permission: "RELOAD-MAPPER" . More... | |
static final String | QR_MODIFY_MAPPER = "MODIFY-MAPPER" |
RBAC System Permission: "MODIFY-MAPPER" . More... | |
static final String | QR_VALUE_MAP_CONTROL = "VALUE-MAP-CONTROL" |
RBAC System Permission: "VALUE-MAP-CONTROL" . More... | |
static final String | QR_RELOAD_VALUE_MAP = "RELOAD-VALUE-MAP" |
RBAC System Permission: "RELOAD-VALUE-MAP" . More... | |
static final String | QR_MODIFY_VALUE_MAP = "MODIFY-VALUE-MAP" |
RBAC System Permission: "MODIFY-VALUE-MAP" . More... | |
static final String | QR_CREATE_SLA = "CREATE-SLA" |
RBAC System Permission: "CREATE-SLA" . More... | |
static final String | QR_DELETE_SLA = "DELETE-SLA" |
RBAC System Permission: "DELETE-SLA" . More... | |
static final String | QR_MODIFY_SLA = "MODIFY-SLA" |
RBAC System Permission: "MODIFY-SLA" . More... | |
static final String | QR_SLA_CONTROL = "SLA-CONTROL" |
RBAC System Permission: "SLA-CONTROL" . More... | |
static final String | QR_DEBUG_CONTROL = "DEBUG-CONTROL" |
RBAC System Permission: "DEBUG-CONTROL" . More... | |
static final int | QE_CLASS_SYSTEM = 101 |
Event Class Code for SYSTEM Events. | |
static final int | QE_CLASS_WORKFLOW = 102 |
Event Class Code for WORKFLOW Events. | |
static final int | QE_CLASS_SERVICE = 103 |
Event Class Code for SERVICE Events. | |
static final int | QE_CLASS_USER = 104 |
Event Class Code for USER Events. | |
static final int | QE_CLASS_JOB = 105 |
Event Class Code for JOB Events. | |
static final int | QE_CLASS_ALERT = 106 |
Event Class Code for ALERT Events. | |
static final int | QE_CLASS_GROUP = 107 |
Event Class Code for GROUP Events. | |
static final int | QE_CLASS_CONNECTION = 108 |
Event Class Code for CONNECTION events. | |
static final int | QE_CLASS_PROCESS = 109 |
Event Class Code for PROCESS events. More... | |
static final int | QE_CLASS_CLUSTER = 110 |
Event Class Code for CLUSTER events. More... | |
static final int | QE_CLASS_LOGGER = 111 |
Event Class Code for LOGGER events. More... | |
static final int | QE_CLASS_CONFIG_ITEM = 112 |
Event Class Code for CONFIG ITEM events. More... | |
static final Map< Integer, String > | QE_MAP_CLASS |
hash mapping event class codes to descriptive strings | |
static final int | QEC_SYSTEM_STARTUP = 1001 |
Qorus Event Code: SYSTEM_STARTUP. More... | |
static final int | QEC_SYSTEM_SHUTDOWN = 1002 |
Qorus Event Code: SYSTEM_SHUTDOWN. More... | |
static final int | QEC_SYSTEM_ERROR = 1003 |
Qorus Event Code: SYSTEM_ERROR. More... | |
static final int | QEC_SYSTEM_HEALTH_CHANGED = 1004 |
Qorus Event Code: SYSTEM_HEALTH_CHANGED. More... | |
static final int | QEC_SYSTEM_REMOTE_HEALTH_CHANGED = 1005 |
Qorus Event Code: SYSTEM_REMOTE_HEALTH_CHANGED. More... | |
static final int | QEC_GROUP_STATUS_CHANGED = 1101 |
Qorus Event Code: GROUP_STATUS_CHANGED. More... | |
static final int | QEC_WORKFLOW_START = 2001 |
Qorus Event Code: WORKFLOW_START. More... | |
static final int | QEC_WORKFLOW_STOP = 2002 |
Qorus Event Code: WORKFLOW_STOP. More... | |
static final int | QEC_WORKFLOW_CACHE_RESET = 2003 |
Qorus Event Code: WORKFLOW_CACHE_RESET. More... | |
static final int | QEC_WORKFLOW_DATA_SUBMITTED = 2004 |
Qorus Event Code: WORKFLOW_DATA_SUBMITTED. More... | |
static final int | QEC_WORKFLOW_DATA_ERROR = 2005 |
Qorus Event Code: WORKFLOW_DATA_ERROR. More... | |
static final int | QEC_WORKFLOW_DATA_RELEASED = 2006 |
Qorus Event Code: WORKFLOW_DATA_RELEASED (workflow detach event) More... | |
static final int | QEC_WORKFLOW_DATA_CACHED = 2007 |
Qorus Event Code: WORKFLOW_DATA_CACHED (workflow attach event) More... | |
static final int | QEC_WORKFLOW_INFO_CHANGED = 2008 |
Qorus Event Code: WORKFLOW_INFO_CHANGED. More... | |
static final int | QEC_WORKFLOW_STATUS_CHANGED = 2009 |
Qorus Event Code: WORKFLOW_STATUS_CHANGED. More... | |
static final int | QEC_WORKFLOW_STEP_PERFORMANCE = 2010 |
Qorus Event Code:: WORKFLOW_STEP_PERFORMANCE. More... | |
static final int | QEC_WORKFLOW_PERFORMANCE = 2011 |
Qorus Event Code:: WORKFLOW_PERFORMANCE. More... | |
static final int | QEC_WORKFLOW_DATA_LOCKED = 2012 |
Qorus Event Code: WORKFLOW_DATA_LOCKED. More... | |
static final int | QEC_WORKFLOW_DATA_UNLOCKED = 2013 |
Qorus Event Code: WORKFLOW_DATA_UNLOCKED. More... | |
static final int | QEC_WORKFLOW_DATA_UPDATED = 2014 |
Qorus Event Code: WORKFLOW_DATA_UPDATED (static or dynamic data changed) More... | |
static final int | QEC_WORKFLOW_STATS_UPDATED = 2015 |
Qorus Event Code: WORKFLOW_STATS_UPDATED. More... | |
static final int | QEC_WORKFLOW_RECOVERED = 2016 |
Qorus Event Code: WORKFLOW_RECOVERED. More... | |
static final int | QEC_WORKFLOW_UPDATED = 2017 |
Qorus Event code: WORKFLOW_UPDATED. More... | |
static final int | QEC_WORKFLOW_STEP_DATA_UPDATED = 2018 |
Qorus Event Code: WORKFLOW_STEP_DATA_UPDATED (step dynamic data changed) More... | |
static final int | QEC_SERVICE_START = 3001 |
Qorus Event Code: SERVICE_START. More... | |
static final int | QEC_SERVICE_STOP = 3002 |
Qorus Event Code: SERVICE_STOP. More... | |
static final int | QEC_SERVICE_ERROR = 3003 |
Qorus Event Code: SERVICE_ERROR. More... | |
static final int | QEC_SERVICE_AUTOSTART_CHANGE = 3004 |
Qorus Event Code: SERVICE_AUTOSTART_CHANGE. More... | |
static final int | QEC_SERVICE_METHOD_PERFORMANCE = 3005 |
Qorus Event Code:: SERVICE_METHOD_PERFORMANCE. More... | |
static final int | QEC_SERVICE_UPDATED = 3006 |
Qorus Event code: SERVICE_UPDATED. More... | |
static final int | QEC_JOB_START = 4001 |
Qorus Event Code: JOB_START. More... | |
static final int | QEC_JOB_STOP = 4002 |
Qorus Event Code: JOB_STOP. More... | |
static final int | QEC_JOB_ERROR = 4003 |
Qorus Event Code: JOB_ERROR. More... | |
static final int | QEC_JOB_INSTANCE_START = 4004 |
Qorus Event Code: JOB_INSTANCE_START. More... | |
static final int | QEC_JOB_INSTANCE_STOP = 4005 |
Qorus Event Code: JOB_INSTANCE_STOP. More... | |
static final int | QEC_JOB_RECOVERED = 4006 |
Qorus Event Code: JOB_RECOVERED. More... | |
static final int | QEC_JOB_UPDATED = 4007 |
Qorus Event code: JOB_UPDATED. More... | |
static final int | QEC_CONFIG_ITEM_CHANGED = 4100 |
Qorus Event code: CONFIG_ITEM_CHANGED. More... | |
static final int | QEC_ALERT_ONGOING_RAISED = 5006 |
Qorus Event Code: ALERT_ONGOING_RAISED. More... | |
static final int | QEC_ALERT_ONGOING_CLEARED = 5007 |
Qorus Event Code: ALERT_ONGOING_CLEARED. More... | |
static final int | QEC_ALERT_TRANSIENT_RAISED = 5008 |
Qorus Event Code: ALERT_TRANSIENT_RAISED. More... | |
static final int | QEC_CONNECTION_UP = 5101 |
Qorus Event Code: CONNECTION_UP. More... | |
static final int | QEC_CONNECTION_DOWN = 5102 |
Qorus Event Code: CONNECTION_DOWN. More... | |
static final int | QEC_CONNECTION_ENABLED_CHANGE = 5103 |
Qorus Event Code: CONNECTION_ENABLED_CHANGE. More... | |
static final int | QEC_CONNECTION_CREATED = 5104 |
Qorus Event Code: CONNECTION_CREATED. More... | |
static final int | QEC_CONNECTION_UPDATED = 5105 |
Qorus Event Code: CONNECTION_UPDATED. More... | |
static final int | QEC_CONNECTION_DELETED = 5106 |
Qorus Event Code: CONNECTION_DELETED. More... | |
static final int | QEC_CONNECTIONS_RELOADED = 5107 |
Qorus Event Code: CONNECTIONS_RELOADED. More... | |
static final int | QEC_LOGGER_CREATED = 5108 |
Qorus Event Code: LOGGER_CREATED. More... | |
static final int | QEC_LOGGER_UPDATED = 5109 |
Qorus Event Code: LOGGER_UPDATED. More... | |
static final int | QEC_LOGGER_DELETED = 5110 |
Qorus Event Code: LOGGER_DELETED. More... | |
static final int | QEC_APPENDER_CREATED = 5111 |
Qorus Event Code: APPENDER_CREATED. More... | |
static final int | QEC_APPENDER_DELETED = 5112 |
Qorus Event Code: APPENDER_DELETED. More... | |
static final int | QEC_APPENDER_UPDATED = 5113 |
Qorus Event Code: APPENDER_UPDATED. More... | |
static final int | QEC_PROCESS_STARTED = 6001 |
Qorus Event Code: PROCESS_STARTED. More... | |
static final int | QEC_PROCESS_STOPPED = 6002 |
Qorus Event Code: PROCESS_STOPPED. More... | |
static final int | QEC_PROCESS_START_ERROR = 6003 |
Qorus Event Code: PROCESS_START_ERROR. More... | |
static final int | QEC_PROCESS_MEMORY_CHANGED = 6004 |
Qorus Event Code: PROCESS_MEMORY_CHANGED. More... | |
static final int | QEC_NODE_INFO = 7001 |
Qorus Event Code: NODE_INFO. More... | |
static final int | QEC_USER_EVENT = 9001 |
Qorus Event Code: USER_EVENT. More... | |
static final Map< Integer, String > | QE_MAP_EVENT |
hash mapping event codes to descriptive strings | |
static final int | QSE_OK = 0 |
Qorus Startup Error Code: no error. | |
static final int | QSE_NO_INSTANCE_KEY = 1 |
Qorus Startup Error Code: no instance key set. | |
static final int | QSE_INVALID_DB_MAX_THREADS = 2 |
Qorus Startup Error Code: invalid db-max-threads option. | |
static final int | QSE_DATASOURCE = 3 |
Qorus Startup Error Code: can't open system datasources. | |
static final int | QSE_LOG_ERROR = 4 |
Qorus Startup Error Code: error opening system log files. | |
static final int | QSE_RBAC_ERROR = 5 |
Qorus Startup Error Code: error initializing RBAC framework. | |
static final int | QSE_EVENT_ERROR = 6 |
Qorus Startup Error Code: error initializing event framework. | |
static final int | QSE_SESSION_ERROR = 7 |
Qorus Startup Error Code: error opening or recovering application session. | |
static final int | QSE_COMMAND_LINE_ERROR = 8 |
Qorus Startup Error Code: error in command-line options. | |
static final int | QSE_OPTION_ERROR = 9 |
Qorus Startup Error Code: error setting options on startup. | |
static final int | QSE_VERSION_ONLY = 10 |
Qorus Startup Error Code: command-line option requested version display and exit. | |
static final int | QSE_STARTUP_ERROR = 99 |
Qorus Startup Error Code: other error starting server. | |
static final int | DefaultOrderPriority = 500 |
default order priority | |
static final String | JS_Complete = "COMPLETE" |
Job Status Text Description: COMPLETE . More... | |
static final String | JS_InProgress = "IN-PROGRESS" |
Job Status Text Description: IN-PROGRESS . More... | |
static final String | JS_Error = "ERROR" |
Job Status Text Description: ERROR . More... | |
static final String | JS_Crash = "CRASH" |
Job Status Text Description: CRASH . More... | |
static final String | SQL_JS_Complete = "C" |
Job Status SQL Character Code: COMPLETE . More... | |
static final String | SQL_JS_InProgress = "I" |
Job Status SQL Character Code: IN-PROGRESS . More... | |
static final String | SQL_JS_Error = "E" |
Job Status SQL Character Code: ERROR . More... | |
static final String | SQL_JS_Crash = "Z" |
Job Status SQL Character Code: CRASH . More... | |
static final Map< String, String > | JSMap |
map of Job status descriptions to the character code | |
static final Map< String, String > | SQLJSMap |
map of Job status character codes to the description | |
static final int | AE_USER_EVENT = 1 |
user event audit code More... | |
static final int | AE_SYSTEM_STARTUP = 2 |
system startup audit code More... | |
static final int | AE_SYSTEM_SHUTDOWN = 3 |
system shutdown audit code More... | |
static final int | AE_SYSTEM_RECOVERY_START = 4 |
system recovery start audit code More... | |
static final int | AE_SYSTEM_RECOVERY_COMPLETE = 5 |
system recovery complete audit code More... | |
static final int | AE_WORKFLOW_STATUS_CHANGE = 6 |
workflow status change audit code More... | |
static final int | AE_WORKFLOW_START = 7 |
workflow start audit code More... | |
static final int | AE_WORKFLOW_STOP = 8 |
workflow stop audit code More... | |
static final int | AE_SERVICE_START = 9 |
service start audit code More... | |
static final int | AE_SERVICE_STOP = 10 |
service stop audit code More... | |
static final int | AE_JOB_START = 11 |
job start audit code More... | |
static final int | AE_JOB_STOP = 12 |
job stop audit code More... | |
static final int | AE_JOB_INSTANCE_START = 13 |
job instance start audit code More... | |
static final int | AE_JOB_INSTANCE_STOP = 14 |
job instance stop audit code More... | |
static final int | AE_API_CALL = 15 |
api call audit code More... | |
static final int | AE_JOB_RECOVERY = 16 |
job recovery audit code More... | |
static final int | AE_WORKFLOW_DATA_CREATED = 17 |
workflow order data created audit code More... | |
static final int | AE_ALERT_ONGOING_RAISED = 18 |
ongoing alert raised audit code More... | |
static final int | AE_ALERT_ONGOING_CLEARED = 19 |
ongoing alert cleared audit code More... | |
static final int | AE_ALERT_TRANSIENT_RAISED = 20 |
transient alert raised audit code More... | |
static final int | AE_SOURCE_FILE_LOADED = 21 |
source file loaded into the system schema by oload More... | |
static final int | AE_GROUP_STATUS_CHANGED = 22 |
group status changed audit code More... | |
static final String | AES_USER_EVENT = "USER-EVENT" |
user event audit code More... | |
static final String | AES_SYSTEM_STARTUP = "SYSTEM-STARTUP" |
system startup audit code More... | |
static final String | AES_SYSTEM_SHUTDOWN = "SYSTEM-SHUTDOWN" |
system shutdown audit code More... | |
static final String | AES_SYSTEM_RECOVERY_START = "SYSTEM-RECOVERY-START" |
system recovery start audit code More... | |
static final String | AES_SYSTEM_RECOVERY_COMPLETE = "SYSTEM-RECOVERY-COMPLETE" |
system recovery complete audit code More... | |
static final String | AES_WORKFLOW_STATUS_CHANGE = "WORKFLOW-STATUS-CHANGE" |
workflow status change audit code More... | |
static final String | AES_WORKFLOW_START = "WORKFLOW-START" |
workflow start audit code More... | |
static final String | AES_WORKFLOW_STOP = "WORKFLOW-STOP" |
workflow stop audit code More... | |
static final String | AES_SERVICE_START = "SERVICE-START" |
service start audit code More... | |
static final String | AES_SERVICE_STOP = "SERVICE-STOP" |
service stop audit code More... | |
static final String | AES_JOB_START = "JOB-START" |
job start audit code More... | |
static final String | AES_JOB_STOP = "JOB-STOP" |
job stop audit code More... | |
static final String | AES_JOB_INSTANCE_START = "JOB-INSTANCE-STOP" |
job instance start audit code More... | |
static final String | AES_JOB_INSTANCE_STOP = "JOB-INSTANCE-START" |
job instance stop audit code More... | |
static final String | AES_API_CALL = "API-CALL" |
api call audit code More... | |
static final String | AES_JOB_RECOVERY = "JOB-RECOVERY" |
job recovery audit code More... | |
static final String | AES_WORKFLOW_DATA_CREATED = "WORKFLOW-DATA-CREATED" |
workflow order data created audit code More... | |
static final String | AES_ALERT_ONGOING_RAISED = "ALERT-ONGOING-RAISED" |
ongoing alert raised audit code More... | |
static final String | AES_ALERT_ONGOING_CLEARED = "ALERT-ONGOING-CLEARED" |
ongoing alert cleared audit code More... | |
static final String | AES_ALERT_TRANSIENT_RAISED = "ALERT-TRANSIENT-RAISED" |
transient alert raised audit code More... | |
static final String | AES_SOURCE_FILE_LOADED = "SOURCE-FILE-LOADED" |
source file loaded into the system schema by oload audit code More... | |
static final String | AES_GROUP_STATUS_CHANGED = "GROUP-STATUS-CHANGED" |
group status changed audit code More... | |
static final Map< Integer, String > | AuditEventMap |
map of audit event codes to descriptions | |
static final Map< String, Integer > | AuditEventCodeMap |
map of audit event descriptions to codes | |
static final String | AO_SYSTEM = "system" |
Audit option: system events. More... | |
static final String | AO_WORKFLOWS = "workflows" |
Audit option: workflow events. More... | |
static final String | AO_WORKFLOW_DATA = "workflow-data" |
Audit option: workflow data events. More... | |
static final String | AO_JOBS = "jobs" |
Audit option: job events. More... | |
static final String | AO_JOB_DATA = "job-data" |
Audit option: job data events. More... | |
static final String | AO_SERVICES = "services" |
Audit option: service events. More... | |
static final String | AO_API = "api" |
Audit option: api write events. More... | |
static final String | AO_USER_EVENTS = "user-events" |
Audit option: user events. More... | |
static final String | AO_OLOAD_EVENTS = "oload" |
Audit option: oload events. More... | |
static final String | AO_ALERT_EVENTS = "alerts" |
Audit option: alert events. More... | |
static final String | AO_GROUP_EVENTS = "groups" |
Audit option: RBAC interface group events. More... | |
static final int | AOC_SYSTEM = (1 << 0) |
Audit option code: system events. More... | |
static final int | AOC_WORKFLOWS = (1 << 1) |
Audit option code: workflow events. | |
static final int | AOC_WORKFLOW_DATA = (1 << 2) |
Audit option code: workflow data events. | |
static final int | AOC_JOBS = (1 << 3) |
Audit option code: job events. | |
static final int | AOC_JOB_DATA = (1 << 4) |
Audit option code: job data events. | |
static final int | AOC_SERVICES = (1 << 5) |
Audit option code: service events. | |
static final int | AOC_API = (1 << 6) |
Audit option code: api write events. | |
static final int | AOC_USER_EVENTS = (1 << 7) |
Audit option code: user events. | |
static final int | AOC_OLOAD_EVENTS = (1 << 8) |
Audit option code: oload events. More... | |
static final int | AOC_ALERT_EVENTS = (1 << 9) |
Audit option code: alert events. More... | |
static final int | AOC_GROUP_EVENTS = (1 << 10) |
Audit option code: RBAC interface group events. More... | |
static final int | AuditMask = (AOC_SYSTEM|AOC_WORKFLOWS|AOC_WORKFLOW_DATA|AOC_JOBS|AOC_JOB_DATA|AOC_SERVICES|AOC_API|AOC_USER_EVENTS|AOC_OLOAD_EVENTS|AOC_ALERT_EVENTS|AOC_GROUP_EVENTS) |
mask of all audit options | |
static final Map< String, Integer > | AuditOptionMap |
map of audit options to audit codes | |
static final Map< Integer, String > | AuditCodeMap |
map of audit codes to audit options | |
main interface API class for the Java Qorus API
|
inlinestatic |
checks if the given audit event (given as an integer code) is enabled
opt | the audit event code to check; see Java Audit Event Codes for possible values |
|
inlinestatic |
checks if the given audit event (given as a string) is enabled
opt | the audit event code to check; see Java Audit Event Strings for possible values |
AUDIT-EVENT-ERROR | the given audit event string does not exist |
|
inlinestatic |
returns the audit event mask
|
inlinestatic |
creates a user audit event (with audit event code OMQ.AE_USER_EVENT) against the workflow, service, or job instance
user_event | the user event code string |
info1 | optional informational string for the AUDIT_EVENTS.INFO1 field |
info2 | optional informational string for the AUDIT_EVENTS.INFO2 field |
AUDIT_EVENTS
table if the qorus.audit system option does not include the "user-events"
(OMQ.AO_USER_EVENTS) option; in case this is not set, the call will have no effect
|
inlinestatic |
creates a user audit event (with audit event code OMQ.AE_USER_EVENT) against the workflow, service, or job instance
user_event | the user event code string |
info1 | optional informational string for the AUDIT_EVENTS.INFO1 field |
AUDIT_EVENTS
table if the qorus.audit system option does not include the "user-events"
(OMQ.AO_USER_EVENTS) option; in case this is not set, the call will have no effect
|
inlinestatic |
creates a user audit event (with audit event code OMQ.AE_USER_EVENT) against the workflow, service, or job instance
user_event | the user event code string |
AUDIT_EVENTS
table if the qorus.audit system option does not include the "user-events"
(OMQ.AO_USER_EVENTS) option; in case this is not set, the call will have no effect
|
inlinestatic |
parses one template variable and returns a hash with its parts
str | templated string to be parsed (has to contain exactly one variable and nothing more); see Config Item / Building Block Template Substitution Strings for the format of this string |
FORMAT-ERROR | if the templated string doesn't have correct format |
|
inlinestatic |
block the given workflow order data instance
wfiid | the workflow order instance ID to block |
workflow_status:
the status of the workflow orderAn exception will be thrown if the status is OMQ.StatInProgress
BLOCK-WORKFLOW-ERROR | invalid status, foreign session id, missing original status, uncancel operation already in progress |
|
inlinestatic |
calls a system RPC API and returns the result; the API is called with system permissions (no restrictions)
include any arguments after the method name, ex:
call | the full RPC API method name (ex: "omq.system.exec-synchronous-exiting" ); see Network System API for a full list |
args | the arguments to the call |
UNKNOWN-API-CALL | invalid API method |
INVALID-INTERNAL-API-CALL | API may not be called internally (ex: omq.system.shutdown-wait()) |
|
inlinestatic |
calls a system RPC API with the argument list to the API method as a top-level argument to this function; the API is called with system permissions (no restrictions)
call | the full RPC API method name (ex: "omq.system.exec-synchronous-exiting" ); see Network System API for a full list |
args | any arguments to the method; if multiple argument should be passed to the method, use a list of arguments here |
UNKNOWN-API-CALL | invalid API method |
INVALID-INTERNAL-API-CALL | API may not be called internally (ex: omq.system.shutdown-wait()) |
|
inlinestatic |
calls a system RPC API with authentication information (username and password)
user | the username to use for the call |
pass | the password to use for the call |
call | the full RPC API method name (ex: "omq.system.exec-synchronous-exiting" ); see Network System API for a full list |
args | any arguments to the method; if multiple argument should be passed to the method, use a list of arguments here |
UNKNOWN-API-CALL | invalid API method |
INVALID-INTERNAL-API-CALL | API may not be called internally (ex: omq.system.shutdown-wait()) |
|
inlinestatic |
calls a system REST API method and returns the result; the API is called with system permissions (no restrictions)
method | the HTTP method name |
path | the URI path without the leading "api" ; if it does not begin with "latest" or "v//" (for a REST API version), then "/latest/" is prepended ot the path, meaning that the latest version of the REST API will be used |
body_args | the arguments to the call |
path
begins with "/api"
|
inlinestatic |
calls a system REST API method and returns the result; the API is called with system permissions (no restrictions)
method | the HTTP method name |
path | the URI path without the leading "api" ; if it does not begin with "latest" or "v//" (for a REST API version), then "/latest/" is prepended ot the path, meaning that the latest version of the REST API will be used |
path
begins with "/api"
|
inlinestatic |
calls a system REST API method with authentication information (username and password) and returns the result
user | the username to use for the call |
pass | the password to use for the call |
method | the HTTP method name |
path | the URI path without the leading "api" ; if it does not begin with "latest" or "v//" (for a REST API version), then "/latest/" is prepended ot the path, meaning that the latest version of the REST API will be used |
body_args | the arguments to the call |
path
begins with "/api"
|
inlinestatic |
cancel the given workflow order data instance
wfiid | the workflow order instance ID to cancel |
workflow_status:
the status of the workflow orderAn exception will be thrown if the status is OMQ.StatInProgress
CANCEL-WORKFLOW-ERROR | invalid status, foreign session id, missing original status, uncancel operation already in progress |
|
inlinestatic |
clears the entry for the given datasource and table from the SQL cache (for example, if database objects have been updated in the dataserver)
datasource | the name of a Qorus datasource |
table_name | the table name to clear |
See
|
inlinestatic |
clears all objects for given datasource from the SQL cache (for example, if database objects have been updated in the dataserver)
datasource | the name of a Qorus datasource |
|
inlinestatic |
creates a workflow order data instance in the database with status READY
Creates a workflow order data instance of the specified type with the data passed.
To ensure that a given workflow order is only created once for a given unique key value, make sure your workflow defines order keys, and use one of the following options to guarantee uniqueness of the order:
global_unique_key
workflow_specific_unique_key
workflow_unique_key
name | the name of the workflow |
version | the version of the workflow; if this parameter is not passed, then the latest version of the workflow (determined by the latest created date for the workflow_instance entry) will be used |
params | The hash passed must have at either a staticdata key or an external_order_instanceid key, valid keys:
|
SUBMIT-ORDER-ERROR | invalid status value |
ORDER-DATA-ERROR | missing either external_order_instanceid or staticdata , unknown workflow; invalid keys or sensitive data format |
DUPLICATE-ORDER-KEY | the given unique key already exists in the defined scope, also sets arg with a workflow_instance_ids key with a list of all conflicting workflow instance IDs |
WORKFLOW-KEY-ERROR | invalid workflow key given |
staticdata
or external_order_instanceid
values must be provided; staticdata
may be omitted if external_order_instanceid
is provided and vice-versaglobal_unique_key
, workflow_specific_unique_key
, and workflow_unique_key
options can be used to ensure that given workflow order data is only created once; note that any archiving schema is also searched when checking for duplicate keys. These options may be combined, but it's recommended to use no more than one key for uniqueness.
|
inlinestatic |
creates a workflow order data instance in the database
Creates a workflow order data instance of the specified type with the data passed.
To ensure that a given workflow order is only created once for a given unique key value, make sure your workflow defines order keys, and use one of the following options to guarantee uniqueness of the order:
global_unique_key
workflow_specific_unique_key
workflow_unique_key
name | the name of the workflow |
version | the version of the workflow; if this parameter is not passed, then the latest version of the workflow (determined by the latest created date for the workflow_instance entry) will be used |
params | The hash passed must have at either a staticdata key or an external_order_instanceid key, valid keys:
|
status | create the workflow order data instance with this status; may be either:
|
SUBMIT-ORDER-ERROR | invalid status value |
ORDER-DATA-ERROR | missing either external_order_instanceid or staticdata , unknown workflow; invalid keys or sensitive data format |
DUPLICATE-ORDER-KEY | the given unique key already exists in the defined scope, also sets arg with a workflow_instance_ids key with a list of all conflicting workflow instance IDs |
WORKFLOW-KEY-ERROR | invalid workflow key given |
staticdata
or external_order_instanceid
values must be provided; staticdata
may be omitted if external_order_instanceid
is provided and vice-versaglobal_unique_key
, workflow_specific_unique_key
, and workflow_unique_key
options can be used to ensure that given workflow order data is only created once; note that any archiving schema is also searched when checking for duplicate keys. These options may be combined, but it's recommended to use no more than one key for uniqueness.
|
inlinestatic |
creates a workflow order data instance in the database with status READY
Creates a workflow order data instance of the specified type with the data passed.
To ensure that a given workflow order is only created once for a given unique key value, make sure your workflow defines order keys, and use one of the following options to guarantee uniqueness of the order:
global_unique_key
workflow_specific_unique_key
workflow_unique_key
name | the name of the workflow; the latest version of the workflow (determined by the latest created date for the workflow_instance entry) will be used (determined by the latest created date for the workflow_instance entry) will be used |
params | The hash passed must have at either a staticdata key or an external_order_instanceid key, valid keys:
|
SUBMIT-ORDER-ERROR | invalid status value |
ORDER-DATA-ERROR | missing either external_order_instanceid or staticdata , unknown workflow; invalid keys or sensitive data format |
DUPLICATE-ORDER-KEY | the given unique key already exists in the defined scope, also sets arg with a workflow_instance_ids key with a list of all conflicting workflow instance IDs |
WORKFLOW-KEY-ERROR | invalid workflow key given |
staticdata
or external_order_instanceid
values must be provided; staticdata
may be omitted if external_order_instanceid
is provided and vice-versaglobal_unique_key
, workflow_specific_unique_key
, and workflow_unique_key
options can be used to ensure that given workflow order data is only created once; note that any archiving schema is also searched when checking for duplicate keys. These options may be combined, but it's recommended to use no more than one key for uniqueness.
|
inlinestatic |
creates a workflow order data instance in the database
Creates a workflow order data instance of the specified type with the data passed.
To ensure that a given workflow order is only created once for a given unique key value, make sure your workflow defines order keys, and use one of the following options to guarantee uniqueness of the order:
global_unique_key
workflow_specific_unique_key
workflow_unique_key
name | the name of the workflow; the latest version of the workflow (determined by the latest created date for the workflow_instance entry) will be used |
params | The hash passed must have at either a staticdata key or an external_order_instanceid key, valid keys:
|
status | create the workflow order data instance with this status; may be either:
|
SUBMIT-ORDER-ERROR | invalid status value |
ORDER-DATA-ERROR | missing either external_order_instanceid or staticdata , unknown workflow; invalid keys or sensitive data format |
DUPLICATE-ORDER-KEY | the given unique key already exists in the defined scope, also sets arg with a workflow_instance_ids key with a list of all conflicting workflow instance IDs |
WORKFLOW-KEY-ERROR | invalid workflow key given |
staticdata
or external_order_instanceid
values must be provided; staticdata
may be omitted if external_order_instanceid
is provided and vice-versaglobal_unique_key
, workflow_specific_unique_key
, and workflow_unique_key
options can be used to ensure that given workflow order data is only created once; note that any archiving schema is also searched when checking for duplicate keys. These options may be combined, but it's recommended to use no more than one key for uniqueness.
|
inlinestatic |
creates a workflow order data instance in a remote Qorus instance
Creates a workflow order data instance of the specified type with the data passed in the specified remote Qorus instance.
To ensure that a given workflow order is only created once for a given unique key value, make sure your workflow defines order keys, and use one of the following options to guarantee uniqueness of the order:
global_unique_key
workflow_specific_unique_key
workflow_unique_key
remote | the name of the remote Qorus connection |
name | the name of the workflow |
version | the version of the workflow; if this parameter is not passed, then the latest version of the workflow (determined by the latest created date for the workflow_instance entry) will be used |
params | The hash passed must have at either a staticdata key or an external_order_instanceid key, valid keys:
|
status | create the workflow order data instance with this status; may be either:
|
register_dependency | if true (the default) then if the connection is monitored as down, the calling interface will be temporarily disabled until the connection is up again |
GET-REMOTE-ERROR | The given connection is not known |
SUBMIT-ORDER-ERROR | invalid status value |
WORKFLOW-ERROR | unknown or invalid workflow |
ORDER-DATA-ERROR | missing either external_order_instanceid or staticdata , invalid keys or sensitive data format |
DUPLICATE-ORDER-KEY | the given unique key already exists in the defined scope, also sets arg with a workflow_instance_ids key with a list of all conflicting workflow instance IDs |
WORKFLOW-KEY-ERROR | invalid workflow key given |
staticdata
or external_order_instanceid
values must be provided; staticdata
may be omitted if external_order_instanceid
is provided and vice-versaglobal_unique_key
, workflow_specific_unique_key
, and workflow_unique_key
options can be used to ensure that given workflow order data is only created once; note that any archiving schema is also searched when checking for duplicate keys. These options may be combined, but it's recommended to use no more than one key for uniqueness.
|
inlinestatic |
creates a workflow order data instance in a remote Qorus instance, establishing a connection dependency with the calling interface
Creates a workflow order data instance of the specified type with the data passed in the specified remote Qorus instance.
To ensure that a given workflow order is only created once for a given unique key value, make sure your workflow defines order keys, and use one of the following options to guarantee uniqueness of the order:
global_unique_key
workflow_specific_unique_key
workflow_unique_key
remote | the name of the remote Qorus connection |
name | the name of the workflow |
version | the version of the workflow; if this parameter is not passed, then the latest version of the workflow (determined by the latest created date for the workflow_instance entry) will be used |
params | The hash passed must have at either a staticdata key or an external_order_instanceid key, valid keys:
|
status | create the workflow order data instance with this status; may be either:
|
GET-REMOTE-ERROR | The given connection is not known |
SUBMIT-ORDER-ERROR | invalid status value |
WORKFLOW-ERROR | unknown or invalid workflow |
ORDER-DATA-ERROR | missing either external_order_instanceid or staticdata , invalid keys or sensitive data format |
DUPLICATE-ORDER-KEY | the given unique key already exists in the defined scope, also sets arg with a workflow_instance_ids key with a list of all conflicting workflow instance IDs |
WORKFLOW-KEY-ERROR | invalid workflow key given |
staticdata
or external_order_instanceid
values must be provided; staticdata
may be omitted if external_order_instanceid
is provided and vice-versaglobal_unique_key
, workflow_specific_unique_key
, and workflow_unique_key
options can be used to ensure that given workflow order data is only created once; note that any archiving schema is also searched when checking for duplicate keys. These options may be combined, but it's recommended to use no more than one key for uniqueness.
|
inlinestatic |
creates a workflow order data instance in a remote Qorus instance with status READY amd establishing a connection dependency with the calling interface
Creates a workflow order data instance of the specified type with the data passed in the specified remote Qorus instance.
To ensure that a given workflow order is only created once for a given unique key value, make sure your workflow defines order keys, and use one of the following options to guarantee uniqueness of the order:
global_unique_key
workflow_specific_unique_key
workflow_unique_key
remote | the name of the remote Qorus connection |
name | the name of the workflow |
version | the version of the workflow; if this parameter is not passed, then the latest version of the workflow (determined by the latest created date for the workflow_instance entry) will be used |
params | The hash passed must have at either a staticdata key or an external_order_instanceid key, valid keys:
|
GET-REMOTE-ERROR | The given connection is not known |
SUBMIT-ORDER-ERROR | invalid status value |
WORKFLOW-ERROR | unknown or invalid workflow |
ORDER-DATA-ERROR | missing either external_order_instanceid or staticdata , invalid keys or sensitive data format |
DUPLICATE-ORDER-KEY | the given unique key already exists in the defined scope, also sets arg with a workflow_instance_ids key with a list of all conflicting workflow instance IDs |
WORKFLOW-KEY-ERROR | invalid workflow key given |
staticdata
or external_order_instanceid
values must be provided; staticdata
may be omitted if external_order_instanceid
is provided and vice-versaglobal_unique_key
, workflow_specific_unique_key
, and workflow_unique_key
options can be used to ensure that given workflow order data is only created once; note that any archiving schema is also searched when checking for duplicate keys. These options may be combined, but it's recommended to use no more than one key for uniqueness.
|
inlinestatic |
creates a workflow order data instance in a remote Qorus instance
Creates a workflow order data instance of the specified type with the data passed in the specified remote Qorus instance.
To ensure that a given workflow order is only created once for a given unique key value, make sure your workflow defines order keys, and use one of the following options to guarantee uniqueness of the order:
global_unique_key
workflow_specific_unique_key
workflow_unique_key
remote | the name of the remote Qorus connection |
name | the name of the workflow; the latest version of the workflow (determined by the latest created date for the workflow_instance entry) will be used |
params | The hash passed must have at either a staticdata key or an external_order_instanceid key, valid keys:
|
status | create the workflow order data instance with this status; may be either:
|
register_dependency | if true (the default) then if the connection is monitored as down, the calling interface will be temporarily disabled until the connection is up again |
GET-REMOTE-ERROR | The given connection is not known |
SUBMIT-ORDER-ERROR | invalid status value |
WORKFLOW-ERROR | unknown or invalid workflow |
ORDER-DATA-ERROR | missing either external_order_instanceid or staticdata , invalid keys or sensitive data format |
DUPLICATE-ORDER-KEY | the given unique key already exists in the defined scope, also sets arg with a workflow_instance_ids key with a list of all conflicting workflow instance IDs |
WORKFLOW-KEY-ERROR | invalid workflow key given |
staticdata
or external_order_instanceid
values must be provided; staticdata
may be omitted if external_order_instanceid
is provided and vice-versaglobal_unique_key
, workflow_specific_unique_key
, and workflow_unique_key
options can be used to ensure that given workflow order data is only created once; note that any archiving schema is also searched when checking for duplicate keys. These options may be combined, but it's recommended to use no more than one key for uniqueness.
|
inlinestatic |
creates a workflow order data instance in a remote Qorus instance, establishing a connection dependency with the calling interface
Creates a workflow order data instance of the specified type with the data passed in the specified remote Qorus instance.
To ensure that a given workflow order is only created once for a given unique key value, make sure your workflow defines order keys, and use one of the following options to guarantee uniqueness of the order:
global_unique_key
workflow_specific_unique_key
workflow_unique_key
remote | the name of the remote Qorus connection |
name | the name of the workflow; the latest version of the named worklow is used to create the order |
params | The hash passed must have at either a staticdata key or an external_order_instanceid key, valid keys:
|
status | create the workflow order data instance with this status; may be either:
|
GET-REMOTE-ERROR | The given connection is not known |
SUBMIT-ORDER-ERROR | invalid status value |
WORKFLOW-ERROR | unknown or invalid workflow |
ORDER-DATA-ERROR | missing either external_order_instanceid or staticdata , invalid keys or sensitive data format |
DUPLICATE-ORDER-KEY | the given unique key already exists in the defined scope, also sets arg with a workflow_instance_ids key with a list of all conflicting workflow instance IDs |
WORKFLOW-KEY-ERROR | invalid workflow key given |
staticdata
or external_order_instanceid
values must be provided; staticdata
may be omitted if external_order_instanceid
is provided and vice-versaglobal_unique_key
, workflow_specific_unique_key
, and workflow_unique_key
options can be used to ensure that given workflow order data is only created once; note that any archiving schema is also searched when checking for duplicate keys. These options may be combined, but it's recommended to use no more than one key for uniqueness.
|
inlinestatic |
creates a workflow order data instance in a remote Qorus instance with status READY amd establishing a connection dependency with the calling interface
Creates a workflow order data instance of the specified type with the data passed in the specified remote Qorus instance.
To ensure that a given workflow order is only created once for a given unique key value, make sure your workflow defines order keys, and use one of the following options to guarantee uniqueness of the order:
global_unique_key
workflow_specific_unique_key
workflow_unique_key
remote | the name of the remote Qorus connection |
name | the name of the workflow; the latest version of the workflow (determined by the latest created date for the workflow_instance entry) will be used |
params | The hash passed must have at either a staticdata key or an external_order_instanceid key, valid keys:
|
GET-REMOTE-ERROR | The given connection is not known |
SUBMIT-ORDER-ERROR | invalid status value |
WORKFLOW-ERROR | unknown or invalid workflow |
ORDER-DATA-ERROR | missing either external_order_instanceid or staticdata , invalid keys or sensitive data format |
DUPLICATE-ORDER-KEY | the given unique key already exists in the defined scope, also sets arg with a workflow_instance_ids key with a list of all conflicting workflow instance IDs |
WORKFLOW-KEY-ERROR | invalid workflow key given |
staticdata
or external_order_instanceid
values must be provided; staticdata
may be omitted if external_order_instanceid
is provided and vice-versaglobal_unique_key
, workflow_specific_unique_key
, and workflow_unique_key
options can be used to ensure that given workflow order data is only created once; note that any archiving schema is also searched when checking for duplicate keys. These options may be combined, but it's recommended to use no more than one key for uniqueness.
|
inlinestatic |
parses a serialized data string and returns the corresponding data
data | the string data to deserialize |
|
inlinestatic |
executes a workflow order synchronously and returns the final status and order ID in a hash
name | the workflow name |
version | the workflow version (if null then the latest version of the workflow will be used) |
sdata | the static data hash for the workflow order |
opts | the options for the synchronous workflow execution instance |
ddata | the optional initial dynamic data hash for the workflow order |
priority | the order priority for the order |
orderkeys | optional order keys for the order |
external_order_instanceid | the optional external order instanceid for the order |
parent_workflow_instanceid | an optional loosely-coupled workflow order ID that will be marked as the parent of this order; if this key is not set, and this method is called from workflow code (even indirectly, by calling a service method that calls this method in the same thread as the call from workflow code), the new order will be loosely-coupled with the calling workflow order as the parent; to keep this from happening, set the value of this key to false |
workflow_instanceid
(int): the workflow order instance IDstatus:
(String) the order status commit to the database (for possible values, see Workflow, Segment, and Step Status Descriptions)
|
inlinestatic |
executes a workflow order synchronously and returns the final status and order ID in a hash
name | the workflow name; the latest version of the workflow will be used |
sdata | the static data hash for the workflow order |
opts | the options for the synchronous workflow execution instance |
ddata | the optional initial dynamic data hash for the workflow order |
priority | the order priority for the order |
orderkeys | optional order keys for the order |
external_order_instanceid | the optional external order instanceid for the order |
parent_workflow_instanceid | an optional loosely-coupled workflow order ID that will be marked as the parent of this order; if this key is not set, and this method is called from workflow code (even indirectly, by calling a service method that calls this method in the same thread as the call from workflow code), the new order will be loosely-coupled with the calling workflow order as the parent; to keep this from happening, set the value of this key to false |
workflow_instanceid
(int): the workflow order instance IDstatus:
(String) the order status commit to the database (for possible values, see Workflow, Segment, and Step Status Descriptions)
|
inlinestatic |
executes a workflow order synchronously and returns the final status and order ID in a hash
name | the workflow name; the latest version of the workflow will be used |
sdata | the static data hash for the workflow order |
opts | the options for the synchronous workflow execution instance |
ddata | the optional initial dynamic data hash for the workflow order |
priority | the order priority for the order |
orderkeys | optional order keys for the order |
external_order_instanceid | the optional external order instanceid for the order |
workflow_instanceid
(int): the workflow order instance IDstatus:
(String) the order status commit to the database (for possible values, see Workflow, Segment, and Step Status Descriptions)
|
inlinestatic |
executes a workflow order synchronously and returns the final status and order ID in a hash
name | the workflow name; the latest version of the workflow will be used |
sdata | the static data hash for the workflow order |
opts | the options for the synchronous workflow execution instance |
ddata | the optional initial dynamic data hash for the workflow order |
priority | the order priority for the order |
orderkeys | optional order keys for the order |
workflow_instanceid
(int): the workflow order instance IDstatus:
(String) the order status commit to the database (for possible values, see Workflow, Segment, and Step Status Descriptions)
|
inlinestatic |
executes a workflow order synchronously and returns the final status and order ID in a hash
name | the workflow name; the latest version of the workflow will be used |
sdata | the static data hash for the workflow order |
opts | the options for the synchronous workflow execution instance |
ddata | the optional initial dynamic data hash for the workflow order |
priority | the order priority for the order |
workflow_instanceid
(int): the workflow order instance IDstatus:
(String) the order status commit to the database (for possible values, see Workflow, Segment, and Step Status Descriptions)
|
inlinestatic |
executes a workflow order synchronously and returns the final status and order ID in a hash
name | the workflow name; the latest version of the workflow will be used |
sdata | the static data hash for the workflow order |
opts | the options for the synchronous workflow execution instance |
ddata | the optional initial dynamic data hash for the workflow order |
workflow_instanceid
(int): the workflow order instance IDstatus:
(String) the order status commit to the database (for possible values, see Workflow, Segment, and Step Status Descriptions)
|
inlinestatic |
executes a workflow order synchronously and returns the final status and order ID in a hash
name | the workflow name; the latest version of the workflow will be used |
sdata | the static data hash for the workflow order |
opts | the options for the synchronous workflow execution instance |
workflow_instanceid
(int): the workflow order instance IDstatus:
(String) the order status commit to the database (for possible values, see Workflow, Segment, and Step Status Descriptions)
|
inlinestatic |
executes a workflow order synchronously and returns the final status and order ID in a hash
name | the workflow name; the latest version of the workflow will be used |
sdata | the static data hash for the workflow order |
workflow_instanceid
(int): the workflow order instance IDstatus:
(String) the order status commit to the database (for possible values, see Workflow, Segment, and Step Status Descriptions)
|
inlinestatic |
expands one variable in a templated string
str | templated string to be expanded; see Config Item / Building Block Template Substitution Strings for the format of this string |
var_context | context of the variable to be expanded (e.g. local, static, dynamic, keys,...) |
var_name | name of the variable to be expanded |
local_context | local context supplied by the caller (plus user context info is added - see UserApi.getUserContextInfo() method) |
NOT-WF-CONTEXT-ERROR | if WF specific context (e.g. static) variable is specified to be expanded |
UNSUPPORTED-CONTEXT-ERROR | if an unknown context variable is specified to be expanded |
UNKNOWN-VALUE-ERROR | if the variable doesn't have a value in the specified context |
|
inlinestatic |
expands all variables in a templated string
str | templated string to be expanded; see Config Item / Building Block Template Substitution Strings for the format of template variable references in this string |
local_context | local context supplied by the caller (plus user context info is added - see UserApi.getUserContextInfo() method) |
NOT-WF-CONTEXT-ERROR | if WF specific context (e.g. static) variable is specified to be expanded |
UNSUPPORTED-CONTEXT-ERROR | if an unknown context variable is specified to be expanded |
UNKNOWN-VALUE-ERROR | if the variable doesn't have a value in the specified context |
FORMAT-ERROR | if the templated string doesn't have correct format (e.g. unescaped dollar sign that does not represent a variable) |
|
inlinestatic |
flushes all pending SLA events to disk and returns after the data has been committed
|
inlinestatic |
Returns information on all active jobs visible to the calling user.
If any active jobs are not accessible to the calling user, then they are filtered from the hash returned.
jobid:
the metadata jobid of the job typename:
the job nameversion:
the job versiondescription:
the job descriptiontrigger:
a string describing the timer/trigger for the jobjob_instanceid
]: the id of the job instance (will only have a value if the job is currently executing)last_executed
]: the last executed date/time of the job (null if not yet executed)last_executed_job_instanceid
]: the last executed instance id of the jobexpiry_date
]: the expiry date of the job, if any; if this date is present, then the job will not run automatically after this datesingle_instance:
true if the job can only be run in a single Qorus instance, false if no such restriction is enablednext
]: the next trigger date/time; this key is only included if the job is activeactive:
this value is always true because this API only returns information about active jobs
|
inlinestatic |
returns binary data for the given file location
location | the location of the file data (ex: "resource://service-name:path/to/ressource" ) |
LOCATION-ERROR | the location string cannotbe parsed; unknown location scheme; invalid location option |
|
inlinestatic |
returns a hash of information for the given datasource, if known, otherwise throws an exception
name | the name of the datasource |
name
(string): the name of the datasource connection (corresponding to the argument name)type
(string): datasource
constanturl
(string): a connection stringurl_hash
(hash): parsed connection string and optionstype
(string): driver nameuser
(string): the username for the datasource connection, if anypass
(string): the password for the datasource connection, if anycharset
(string): the DB-specific character encoding for the datasource connectiondb
(string): The database name of the datasource connectionoptions
(hash): an optional hash of options for the DBI driver for this datasource connection; also "min"
and "max"
for the DatasourcePool minimum and maximum optionslocked
(bool): a flag indicating if the datasource is locked or not (the system datasource "omq"
is locked)up
(bool): a flag indicating if monitoring has discovered if the datasource is up or notdesc
(string): a string description of the datasourcemonitor
(bool): a flag indicating if the datasource is monitored or notstatus
(string): "OK"
if the datasource is up or an error string if the datasource is down; set by monitoringlast_check
(date/time): the date and time of the last monitoring checkshared_pool
(string): a string giving the pool state (only present if a pool has been initialized on the datasource)deps
(list): a list of hashes giving interface objects that depend on the connection; each entry is a hash with the following keys:type:
"WORKFLOW"
, "SERVICE"
, or "JOB"
workflowid:
for workflows, gives the workflow IDserviceid:
for services, gives the service IDjobid:
for jobs, gives the job IDname:
the name of the workflow, service, or jobversion:
the version of the workflow, service, or jobdesc:
a string description of the objectDATASOURCE-ERROR | unknown datasource |
|
inlinestatic |
returns a DatasourcePool object for the given datasource name
name | the name of the datasource |
register_dependency | if true (the default) then if the connection is monitored as down, the calling interface will be temporarily disabled until the connection is up again |
DATASOURCE-ERROR | unknown or system datasource |
|
inlinestatic |
returns a DatasourcePool object for the given datasource name; a dependency is created between the calling interface and the datasource
name | the name of the datasource |
DATASOURCE-ERROR | unknown or system datasource |
|
inlinestatic |
returns the value of the given configuration item on global level; throws an exception if there is no value on global level for the configuration item
item | the name of the configuration item to retrieve the value |
CONFIG-ITEM-ERROR | thrown if the configuration item is not valid |
|
inlinestatic |
returns specified input data field's value
field_name | name of the field that should be returned; identifies a key in input_data_cfg |
local_context | the caller can supply its "$local:" context for template variables (plus user context info is added - see UserApi.getUserContextInfo()); hash values are subject to recursive template variable expansion |
input_data_cfg | input data configuration; if not provided, the default location for the input data config is retrieved from configuration item "input_data" ; field_name must be present in this hash; string values of the key referenced with field_name in this hash are subject to recursive template variable expansion, and the resulting value is returned; non-string values are returned as-is |
NOT-WF-CONTEXT-ERROR | if WF specific context (e.g. static) variable is specified to be expanded |
UNSUPPORTED-CONTEXT-ERROR | if an unknown context variable is specified to be expanded |
UNKNOWN-VALUE-ERROR | if the variable doesn't have a value in the specified context |
SENSITIVE-DATA-FORMAT-ERROR | if the "$sensitive:<skey>.<svalue>.field-ref..." value or "$sensitive-alias:<alias>.field-ref..." template string does not have the required format |
INVALID-ARGUMENT | if the field_name is not present in input data |
|
inlinestatic |
returns all input data
local_context | the caller can supply its "$local:" context for template variables (plus user context info is added - see UserApi.getUserContextInfo()); hash values are subject to recursive template variable expansion |
input_data_cfg | input data configuration; if not provided, the default location for the input data config is retrieved from configuration item "input_data" |
NOT-WF-CONTEXT-ERROR | if WF specific context (e.g. static) variable is specified to be expanded |
UNSUPPORTED-CONTEXT-ERROR | if an unknown context variable is specified to be expanded |
UNKNOWN-VALUE-ERROR | if the variable doesn't have a value in the specified context |
SENSITIVE-DATA-FORMAT-ERROR | if the "$sensitive:<skey>.<svalue>.field-ref..." value or "$sensitive-alias:<alias>.field-ref..." template string does not have the required format |
|
inlinestatic |
returns the given mapper if registered for the current interface
name | the name of the mapper |
rtopts | any runtime options accepted by the mapper |
MAPPER-ERROR | the given mapper is unknown or not registered to the current interface |
|
inlinestatic |
returns the given mapper if registered for the current interface
name | the name of the mapper |
MAPPER-ERROR | the given mapper is unknown or not registered to the current interface |
|
inlinestatic |
returns the next sequence value for the given datasource and sequence
ds | the datasource to retrieve the sequence from |
name | the name of the sequence |
|
inlinestatic |
returns the next sequence value for the given datasource and sequence
ds | the datasource name to retrieve the sequence from; a pool corresponding to the datasource will be used to retrieve the sequence |
name | the name of the sequence |
|
inlinestatic |
Returns the value of the named workflow, service, or job option or options.
If the option is not set on the workflow, service, or job level (depending on the calling context) and it is a valid system option, then the value of the system option will be returned.
|
inlinestatic |
Returns the value of the named workflow, service, or job option.
If the option is not set on the workflow, service, or job level (depending on the calling context) and it is a valid system option, then the value of the system option will be returned.
|
inlinestatic |
Returns the value of all workflow, service, or job options depending on the calling context.
|
inlinestatic |
returns a hash giving information about system options
|
inlinestatic |
returns a hash giving information about system options
|
inlinestatic |
returns the value of all system options
|
inlinestatic |
returns the value of the given system option
|
inlinestatic |
returns the value of the given system options
|
inlinestatic |
returns the value of the given system options
|
inlinestatic |
Returns a new QorusSystemRestHelper object corresponding to a defined Qorus remote connection.
name | the name of the remote connection |
connect | if false an unconnected object will be returned, otherwise the object is already connected |
register_dependency | if true (the default) then if the connection is monitored as down, the calling interface will be temporarily disabled until the connection is up again |
GET-REMOTE-ERROR | The given connection is not known |
|
inlinestatic |
Returns a new QorusSystemRestHelper object corresponding to a defined Qorus remote connection; a dependency is established between the current interface and the remote connection.
name | the name of the remote connection |
connect | if false an unconnected object will be returned, otherwise the object is already connected |
GET-REMOTE-ERROR | The given connection is not known |
|
inlinestatic |
Returns a new QorusSystemRestHelper object corresponding to a defined Qorus remote connection; a dependency is established between the current interface and the remote connection and the connection is connected automatically.
name | the name of the remote connection |
GET-REMOTE-ERROR | The given connection is not known |
|
inlinestatic |
returns a hash of the workflow execution instance info if the ID is valid or an empty hash if not
returns an empty hash if the workflow execution ID is not currently valid
id | workflow execution instance id |
name:
the name of the workflowversion:
version of the workflowworkflowid:
the workflowid of the workflowexecutionID:
the workflow execution instance id (same as the argument)mode:
OMQ.WM_Normal or OMQ.WM_Recoverysync:
true if the execution instance is synchronous, false if notiterations:
number of segment iterations performed so fartotalSegments:
number of segments executederrors:
total number of errors encounteredwarnings:
total number of warnings raisedstarttime:
date/time the execution instance was startedoptions:
options set on the workflow execution instancelogfile:
log file nameremote:
true if the workflow is running as a remote qwf process, false if not
|
inlinestatic |
returns a list of hashes giving information about the currently-running workflow execution instances
name | workflow name for filtering the result list |
ver | workflow version for filtering the result list (only used if name also passed) |
executionID:
the workflow execution instance idname:
the name of the workflowversion:
version of the workflowworkflowid:
the workflowid of the workflowmode:
OMQ.WM_Normal or OMQ.WM_Recoverysync:
true if the execution instance is synchronous, false if notiterations:
number of segment iterations performed so fartotalSegments:
number of segments executederrors:
total number of errors encounteredwarnings:
total number of warnings raisedstarttime:
date/time the execution instance was startedoptions:
options set on the workflow execution instancelogfile:
log file nameremote:
true if the workflow is running as a remote qwf process, false if not
|
inlinestatic |
returns a list of hashes giving information about the currently-running workflow execution instances
name | workflow name for filtering the result list |
executionID:
the workflow execution instance idname:
the name of the workflowversion:
version of the workflowworkflowid:
the workflowid of the workflowmode:
OMQ.WM_Normal or OMQ.WM_Recoverysync:
true if the execution instance is synchronous, false if notiterations:
number of segment iterations performed so fartotalSegments:
number of segments executederrors:
total number of errors encounteredwarnings:
total number of warnings raisedstarttime:
date/time the execution instance was startedoptions:
options set on the workflow execution instancelogfile:
log file nameremote:
true if the workflow is running as a remote qwf process, false if not
|
inlinestatic |
returns a list of hashes giving information about the currently-running workflow execution instances
executionID:
the workflow execution instance idname:
the name of the workflowversion:
version of the workflowworkflowid:
the workflowid of the workflowmode:
OMQ.WM_Normal or OMQ.WM_Recoverysync:
true if the execution instance is synchronous, false if notiterations:
number of segment iterations performed so fartotalSegments:
number of segments executederrors:
total number of errors encounteredwarnings:
total number of warnings raisedstarttime:
date/time the execution instance was startedoptions:
options set on the workflow execution instancelogfile:
log file nameremote:
true if the workflow is running as a remote qwf process, false if not
|
inlinestatic |
returns information about the given service (if it's currently loaded)
type | the type of service (either "system" or "user" ; case is ignored) |
name | the name of the system service to query |
type:
either "system"
or "user"
corresponding to the argumentname:
the name of the serviceversion:
version of the servicepatch:
the patch string for the servicedesc:
description of the serviceauthor:
the author of the serviceserviceid:
service IDparse_options:
parse options for the servicestatus:
OMQ.SSRunning or OMQ.SSLoadedlog:
path to the service log fileactive_calls:
number of active service calls and persistent connection handlers currently in progresswaiting_threads:
number of threads waiting on the service (for a service reset or unload action)threads:
number of running threads in the serviceautostart:
true of false if the autostart flag is setmanual_autostart:
true of false the autostart value has been manually setloaded:
date/time the service was loadedmethods:
list of hashes for each method with name
and desc
keysresources:
list of service resourcesresource_files:
list of service file resourcesoptions:
service optionsgroups:
interface groups that the service belongs toalerts:
any alerts raised against the service
|
inlinestatic |
returns the current Qorus application session ID
|
inlinestatic |
get information about cached object
Resulting hash (keys are datasource names) of hashes (keys are cache types) of hashes (keys are names of individual cached objects) provides the information about given cached objects as a value. This information has the form of hash with the following keys:
|
inlinestatic |
get a cached table object (suitable for DML) if present, otherwise it creates one from scratch
datasource | a Qorus datasource name |
table_name | the name of the table to be acquired; the handling of this parameter is identical to that in SqlUtil::Table::constructor(); names are converted to lower-case before performing the lookup and storage in the cache to ensure that the cache is based on case-insensitive lookups |
INVALID-DATASOURCE | this exception is thrown if the datasource argument cannot be matched to a known datasource |
|
inlinestatic |
get a cached table object (suitable for DML) if present, otherwise it creates one from scratch
datasource | a DatasourcePool object for a Qorus datasource; note that if the DatasourcePool object cannot be matched back to a known Qorus datasource, an INVALID-DATASOURCE exception will be thrown |
table_name | the name of the table to be acquired; the handling of this parameter is identical to that in SqlUtil::Table::constructor(); names are converted to lower-case before performing the lookup and storage in the cache to ensure that the cache is based on case-insensitive lookups |
INVALID-DATASOURCE | this exception is thrown if the datasource argument cannot be matched to a known Qorus datasource |
INVALID-DATASOURCE
exceptions can be thrown with a valid Qorus datasource if the given datasource has been reset since it was acquired
|
inlinestatic |
returns a hash of system info
instance-key
: value of the system option by the same namesession-id
: the session ID for the current Qorus application sessionomq-version
: the version string for the Qorus serveromq-version-code
: a numeric code of the Qorus server version, whereomq-version-code
= 20600)qore-version
: the version string for the qore build useddatamodel-version
: the datamodel version required by this version of Qorusomq-schema
: the datasource string for the system schema (without the password)omquser-schema
: the datasource string for the user schema (without the password)starttime:
the date and time when the instance was startedhostname:
the hostname of the machine where the Qorus server is runningpid:
the PID of the Qorus server processthreads:
number of threads currently activeschema-properties
: a hash of schema properties with the following keys:omq-schema-version
omq-schema-compatibility
omq-load-schema-compatibility
logfile:
the path for the system log file
|
inlinestatic |
returns information about the given system service (if it's currently loaded)
name | the name of the system service to query |
type:
"system"
name:
the name of the serviceversion:
version of the servicedesc:
description of the serviceserviceid:
service IDstatus:
OMQ.SSRunning or OMQ.SSLoadedthreads:
number of running threads in the serviceautostart:
true of false if the autostart flag is setloaded:
date/time the service was loadedmethods:
list of hashes for each method with name
and desc
keys
|
inlinestatic |
returns string data for the given file location
location | the location of the file data (ex: "resource://service-name:path/to/ressource" ) |
LOCATION-ERROR | the location string cannotbe parsed; unknown location scheme; invalid location option |
|
inlinestatic |
Returns an object corresponding to a defined user connection.
name | the name of the connection |
connect | if false an unconnected object will be returned, otherwise the object is already connected |
register_dependency | if true (the default) then if the connection is monitored as down, the calling interface will be temporarily disabled until the connection is up again |
rtopts | any runtime options accepted by the connection |
CONNECTION-ERROR | The given connection is not known |
|
inlinestatic |
Returns an object corresponding to a defined user connection.
name | the name of the connection |
connect | if false an unconnected object will be returned, otherwise the object is already connected |
register_dependency | if true (the default) then if the connection is monitored as down, the calling interface will be temporarily disabled until the connection is up again |
CONNECTION-ERROR | The given connection is not known |
|
inlinestatic |
Returns an object corresponding to a defined user connection, establishing a dependency by default between the calling inteerface and the connection.
name | the name of the connection |
connect | if false an unconnected object will be returned, otherwise the object is already connected |
CONNECTION-ERROR | The given connection is not known |
|
inlinestatic |
Returns an object corresponding to a defined user connection, performing an automatic connection to the target and establishing a dependency by default between the calling inteerface and the connection.
name | the name of the connection |
CONNECTION-ERROR | The given connection is not known |
|
inlinestatic |
returns a hash for the current user context
"type"
: "service"
"servicetype"
: the type of service ("user"
or "system"
)"name"
: the name of the service"version"
: the version of the service"id"
: the service id"type"
: "job"
"name"
: the name of the job"version"
: the version of the job"id"
: the job id"job_instanceid"
: the job_instanceid of the current job instance"type"
: "workflow"
"name"
: the name of the workflow"version"
: the version of the workflow"id"
: the workflow id"workflow_instanceid"
: the workflow_instanceid of the current workflow instance (if available)"stepname"
: the name of the current step (if available)"stepversion"
: the version of the current step (if available)"stepid"
: the id of the current step (if available)"ind"
: the name of the current step index (if available)"execid"
: the execution ID of the current workflow execution instance (if available)
|
inlinestatic |
Gets a lookup value from the value map by a key; the value map must be registered to the current interface.
mapname | name of the value map |
key | a key name |
VALUE-MAP-ERROR | the given value map is unknown or not registered to the current interface |
|
inlinestatic |
Gets all value maps valid for the current interface.
"id"
: the internal ID of the value map"name"
: the name of the value map"description"
: a string describing the value map"author"
: the author tag"throws_exception"
: a tag that controls the behavior when an unknown mapping is referenced (Value Map Error Handling and Missing Data)"valuetype"
: the type of values in the map"created"
: the created time stamp"modified"
: the last modified time stamp
|
inlinestatic |
Writes the information passed to the workflow, service, job, or system log file depending on the calling context if the interface logger level is equal or lower.
msg | the message to log |
|
inlinestatic |
Writes the information passed to the workflow, service, job, or system log file depending on the calling context if the interface logger level is equal or lower.
msg | the message to log |
args | arguments to the format placeholders in msg |
|
inlinestatic |
Writes the information passed to the workflow, service, job, or system log file depending on the calling context if the interface logger level is equal or lower.
msg | the message to log |
|
inlinestatic |
Writes the information passed to the workflow, service, job, or system log file depending on the calling context if the interface logger level is equal or lower.
msg | the message to log |
args | arguments to the format placeholders in msg |
|
inlinestatic |
Writes the information passed to the workflow, service, job, or system log file depending on the calling context if the interface logger level is equal or lower.
msg | the message to log |
|
inlinestatic |
Writes the information passed to the workflow, service, job, or system log file depending on the calling context if the interface logger level is equal or lower.
msg | the message to log |
args | arguments to the format placeholders in msg |
|
inlinestatic |
Writes the information passed to the workflow, service, job, or system log file depending on the calling context if the interface logger level is equal or lower.
msg | the message to log |
|
inlinestatic |
Writes the information passed to the workflow, service, job, or system log file depending on the calling context if the interface logger level is equal or lower.
msg | the message to log |
args | arguments to the format placeholders in msg |
|
inlinestatic |
Writes the information passed to the workflow, service, job, or system log file depending on the calling context if the interface logger level is equal or lower.
msg | the message to log |
|
inlinestatic |
Writes the information passed to the workflow, service, job, or system log file depending on the calling context if the interface logger level is equal or lower.
msg | the message to log |
args | arguments to the format placeholders in msg |
|
inlinestatic |
Writes the information passed to the workflow, service, job, or system log file depending on the calling context if the interface logger level is equal or lower.
msg | the message to log |
|
inlinestatic |
Writes the information passed to the workflow, service, job, or system log file depending on the calling context if the interface logger level is equal or lower.
msg | the message to log |
args | arguments to the format placeholders in msg |
|
inlinestatic |
posts an unsuccessful SLA event for SLA monitoring and performance tracking
sla | the SLA name |
value | the SLA performance value |
err | the error code for the SLA event error |
desc | the error description for the SLA event error |
|
inlinestatic |
posts a successful SLA event for SLA monitoring and performance tracking
sla | the SLA name |
value | the SLA performance value |
|
inlinestatic |
posts a workflow synchronization event given the event type name and the unique event key
eventtype | the event type name |
eventkey | the event key in the event type queue to post |
UNKNOWN-EVENT | unknown event type name |
|
inlinestatic |
posts an application event of class OMQ.QE_CLASS_USER
severity | see Error Severity Codes for possible values |
info | the user-defined information for the event |
POST-USER-EVENT-ERROR | invalid severity value |
|
inlinestatic |
returns a hash of all system properties in all domains
|
inlinestatic |
returns a hash of all key-value pairs in the given domain or null if the system property domain does not exist
|
inlinestatic |
returns the value of the given system property key in the given domain or null if the system property does not exist
|
inlinestatic |
changes (inserts, updates, or deletes) the value of a single system property
Updates the value of the property in the domain passed. If the property does not exist, then it is created. If the value is null, then the property will be deleted. Changes are committed to the database and the internal cache before the method call returns. No changes may be made in the system "omq"
domain.
domain | the domain of the property to set |
key | the key to set |
value | the value to set in the property domain; if null is passed here, and the property exists, it will be deleted |
"INSERT"
, "UPDATE"
, "DELETE"
, "IGNORED"
(if a non-existent key should be deleted)PARAMETER-ERROR | if the domain or key arguments are empty strings |
PROP-ERROR | serialized value exceeds 240 characters (column limit) |
UPDATE-ERROR | changes attempted in the "omq" domain |
|
inlinestatic |
returns a string giving the local system URL
username | the username for the new connection |
password | the password for the new connection |
|
inlinestatic |
returns a string giving the local system URL
|
inlinestatic |
raises a transient system alert from a workflow, service, or job
alert | the name of the alert (ex: "DATA-SIZE-EXCEEDED" ) |
reason | the reason or verbose description of the alert |
info | optional key / value details for the alert |
|
inlinestatic |
raises a transient system alert from a workflow, service, or job
alert | the name of the alert (ex: "DATA-SIZE-EXCEEDED" ) |
reason | the reason or verbose description of the alert |
|
inlinestatic |
returns a string error message if any exception in the chain passed was caused by a recoverable DB error, otherwise returns NOTHING
driver | the database driver name, which must be a driver supported by the Qorus system schema, currently one of "oracle" , "pgsql" , or "mysql" , otherwise an UNSUPPORTED-DRIVER exception is thrown |
ex | the exception hash |
UNSUPPORTED-DRIVER | only "oracle" , "pgsql" , and "mysql" are currently supported |
|
inlinestatic |
returns Qorus runtime properties as a hash
|
inlinestatic |
returns a string giving the default serialization of the given data structure for storage in Qorus
the default serialization is currently YAML
d | the data to serialize |
|
inlinestatic |
returns a string giving the default serialization of the given data structure for storage in Qorus
the default serialization is currently YAML
d | the data to serialize |
|
inlinestatic |
Changes option values on a workflow, service, or job.
if called from workflow code, and the workflow has defined workflow options and an invalid option is passed to the method, an exception will be raised; however all other valid options in the hash will be set before the exception is raised.
hash | a hash of option-value pairs |
WORKFLOW-OPTION-ERROR | invalid option name |
|
inlinestatic |
Changes a single option value on a workflow, service, or job.
if called from workflow code, and the workflow has defined workflow options and an invalid option is passed to the method, an exception will be raised; however all other valid options in the hash will be set before the exception is raised.
option | the option to set |
value | the value to set for the option |
WORKFLOW-OPTION-ERROR | invalid option name |
|
inlinestatic |
unblocks the given workflow order data instance
wfiid | the workflow order instance ID to unblock |
tempdata | optional workflow order tempdata to pass to the workflow order (will only be used if the order is immediately cached as a part of the unblock_order() call) (may be null) |
orderkeys | optional workflow order data keys (may be null) |
workflow_status:
the status of the workflow orderBLOCK-WORKFLOW-ERROR | invalid status, foreign session id, missing original status, uncancel operation already in progress |
|
inlinestatic |
unblocks the given workflow order data instance
wfiid | the workflow order instance ID to unblock |
tempdata | optional workflow order tempdata to pass to the workflow order (will only be used if the order is immediately cached as a part of the unblock_order() call) |
workflow_status:
the status of the workflow orderBLOCK-WORKFLOW-ERROR | invalid status, foreign session id, missing original status, uncancel operation already in progress |
|
inlinestatic |
unblocks the given workflow order data instance
wfiid | the workflow order instance ID to unblock |
workflow_status:
the status of the workflow orderBLOCK-WORKFLOW-ERROR | invalid status, foreign session id, missing original status, uncancel operation already in progress |
|
inlinestatic |
uncancels the given workflow order data instance
wfiid | the workflow order instance ID to uncancel |
tempdata | temporary data to provide when uncanceling the order |
workflow_status:
the status of the workflow orderCANCEL-WORKFLOW-ERROR | invalid status, foreign session id, missing original status, uncancel operation already in progress |
|
inlinestatic |
uncancels the given workflow order data instance
wfiid | the workflow order instance ID to uncancel |
workflow_status:
the status of the workflow orderCANCEL-WORKFLOW-ERROR | invalid status, foreign session id, missing original status, uncancel operation already in progress |
|
inlinestatic |
updates output data with the given configuration
field_name | name of the field that should be updated; identifies a key in output_data_cfg that provides the location for writing the output data |
output_data | the value to write in the location determined by the field_name key in output_data_cfg |
output_data_cfg | a hash of values giving output data locations; if not provided, the default location for the output data config is retrieved from configuration item "output_data" ; field_name must be present in this hash; string values of the key referenced with field_name in this hash provide the location to write output_data and are not subject to template variable expansion |
For a list of supported output fields for output_data_cfg values; see template strings listed in Config Item / Building Block Template Substitution Strings marked as writable (W
)
UNSUPPORTED-CONTEXT-ERROR | if output data configuration specifies an unsupported context |
OUTPUT-CONFIG-ERROR | field_name is not present in output_data_cfg |
SENSITIVE-DATA-FORMAT-ERROR | if the "$sensitive:<skey>.<svalue>.field-ref..." value or "$sensitive-alias:<alias>.field-ref..." template string does not have the required format |
SET-ORDER-KEYS-ERROR | missing value for order key |
INVALID-WORKFLOW-KEY | workflow key not valid for the current workflow |
DUPLICATE-KEY-VALUE | duplicate value provided for order key |
|
inlinestatic |
updates all output data
all_output_data | a hash giving output data; keys in this hash must match a corresponding key in output_data_cfg which will provide the location for writing the value, values in this hash will be written to the locations provided in output_data_cfg |
output_data_cfg | a hash of values giving output data locations; if not provided, the default location for the output data config is retrieved from configuration item "output_data" ; all keys in all_output_data must also be present in this hash; string values of referenced keys in this hash provide the location to write the values of the all_output_data hash; these values are not subject to template variable expansion |
For a list of supported output fields for output_data_cfg values; see template strings listed in Config Item / Building Block Template Substitution Strings marked as writable (W
)
UNSUPPORTED-CONTEXT-ERROR | if output data configuration specifies an unsupported context |
OUTPUT-CONFIG-ERROR | field_name is not present in output_data_cfg |
SENSITIVE-DATA-FORMAT-ERROR | if the "$sensitive:<skey>.<svalue>.field-ref..." value or "$sensitive-alias:<alias>.field-ref..." template string does not have the required format |