![]() |
Qorus Integration Engine® Enterprise Edition 7.1.0_prod
|
primary service API class More...
Static Public Member Methods | |
| static | checkAuthorization (...) |
| checks user authorization for all permissions passed to the method; throws an exception if the user is not authorized | |
| static | checkAuthorizationArgs (softlist< string > args) |
| checks user authorization for all permissions passed to the method; throws an exception if the user is not authorized | |
| static | checkAuthorizationOr (...) |
| checks user authorization for at least one of list of permissions passed to the method; throws an exception if the user is not authorized | |
| static | checkAuthorizationOrArgs (softlist< string > args) |
| checks user authorization for at least one of list of permissions passed to the method; throws an exception if the user is not authorized | |
| static bool | testAuthorization (...) |
| tests user authorization for all of permissions passed to the method and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static bool | testAuthorizationArgs (softlist< string > args) |
| tests user authorization for all of permissions passed to the method and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static bool | testAuthorizationOr (...) |
| tests user authorization for at least one of the permissions passed to the method and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static bool | testAuthorizationOrArgs (softlist< string > args) |
| tests user authorization for at least one of the permissions passed to the method and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static | checkWorkflowAccess (list< auto > ids) |
| checks if the current user has access to the given list of workflow IDs; throws an exception if the user is not authorized | |
| static | checkWorkflowAccess (softint id) |
| checks if the current user has access to the given single workflow ID; throws an exception if the user is not authorized | |
| static bool | testWorkflowAccess (list< auto > ids) |
| tests if the current user has access to the given list of workflow IDs and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static bool | testWorkflowAccess (softint id) |
| tests if the current user has access to the given single workflow ID and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static *list< auto > | getWorkflowAccessList () |
| returns a list of workflow IDs the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned | |
| static *hash< auto > | getWorkflowAccessHash () |
| returns a hash of workflow IDs the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned | |
| static | checkWorkflowInstanceAccess (softstring wfiid) |
| checks if the current user has access to the given workflow_instanceid; throws an exception if the user is not authorized | |
| static | checkServiceAccess (list< auto > ids) |
| checks if the current user has access to the given list of serviceids; throws an exception if the user is not authorized | |
| static | checkServiceAccess (softint id) |
| checks if the current user has access to the given single serviceid; throws an exception if the user is not authorized | |
| static | checkQueueAccess (softint queueid, string key) |
| checks if the current user has access to the given queue entry (as determined through the workflow access list); throws an exception if the user is not authorized | |
| static bool | testServiceAccess (list< auto > ids) |
| tests if the current user has access to the given list of serviceids and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static bool | testServiceAccess (softint id) |
| tests if the current user has access to the given single serviceid and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static *list< auto > | getServiceAccessList () |
| returns a list of service IDs the current user has access to; or, if the current user has access to all services, then NOTHING is returned | |
| static *hash< auto > | getServiceAccessHash () |
| returns a hash of service IDs the current user has access to; or, if the current user has access to all services, then NOTHING is returned | |
| static | checkJobAccess (list< auto > ids) |
| checks if the current user has access to the given list of job IDs; throws an exception if the user is not authorized | |
| static | checkJobAccess (softint id) |
| checks if the current user has access to the given single job ID; throws an exception if the user is not authorized | |
| static bool | testJobAccess (list< auto > ids) |
| tests if the current user has access to the given list of job IDs and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static bool | testJobAccess (softint id) |
| tests if the current user has access to the given single job ID and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static *list< auto > | getJobAccessList () |
| returns a list of job IDs the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned | |
| static *hash< auto > | getJobAccessHash () |
| returns a hash of job IDs the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned | |
| static | checkJobInstanceAccess (softstring jiid) |
| checks if the current user has access to the given job_instanceid; throws an exception if the user is not authorized | |
| static | checkMapperAccess (list< auto > ids) |
| checks if the current user has access to the given list of mapper IDs; throws an exception if the user is not authorized | |
| static | checkMapperAccess (softint id) |
| checks if the current user has access to the given single mapper ID; throws an exception if the user is not authorized | |
| static bool | testMapperAccess (list< auto > ids) |
| tests if the current user has access to the given list of mapper IDs and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static bool | testMapperAccess (softint id) |
| tests if the current user has access to the given single mapper ID and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static *list< auto > | getMapperAccessList () |
| returns a list of mapper IDs the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned | |
| static *hash< auto > | getMapperAccessHash () |
| returns a hash of mapper IDs the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned | |
| static | checkVmapAccess (list< auto > ids) |
| checks if the current user has access to the given list of value map IDs; throws an exception if the user is not authorized | |
| static | checkVmapAccess (softint id) |
| checks if the current user has access to the given single value map ID; throws an exception if the user is not authorized | |
| static bool | testVmapAccess (list< auto > ids) |
| tests if the current user has access to the given list of value map IDs and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static bool | testVmapAccess (softint id) |
| tests if the current user has access to the given single value map ID and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static *list< auto > | getVmapAccessList () |
| returns a list of value map IDs the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned | |
| static *hash< auto > | getVmapAccessHash () |
| returns a hash of value map IDs the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned | |
| static | checkFsmAccess (list< softint > ids) |
| checks if the current user has access to the given list of Finite State Machines; throws an exception if the user is not authorized | |
| static | checkFsmAccess (string name) |
| checks if the current user has access to the given single Finite State Machine; throws an exception if the user is not authorized | |
| static bool | testFsmAccess (list< auto > ids) |
| tests if the current user has access to the given list of Finite State Machines and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static bool | testFsmAccess (string name) |
| tests if the current user has access to the given single Finite State Machine | |
| static *list< auto > | getFsmAccessList () |
| returns a list of Finite State Machines the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned | |
| static *hash< auto > | getFsmAccessHash () |
| returns a hash of Finite State Machines the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned | |
| static | checkPipelineAccess (list< auto > ids) |
| checks if the current user has access to the given list of data pipelines; throws an exception if the user is not authorized | |
| static | checkPipelineAccess (string name) |
| checks if the current user has access to the given single data pipeline; throws an exception if the user is not authorized | |
| static bool | testPipelineAccess (list< auto > ids) |
| tests if the current user has access to the given list of data pipelines and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static bool | testPipelineAccess (string name) |
| tests if the current user has access to the given single data pipeline and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static *list< auto > | getPipelineAccessList () |
| returns a list of data pipelines the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned | |
| static *hash< auto > | getPipelineAccessHash () |
| returns a hash of data pipelines the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned | |
| static | checkConnectionAccess (int id) |
| checks if the current user has access to the given connection; an exception is thrown if not | |
| static | checkConnectionAccess (list< softint > ids) |
| checks if the current user has access to the given list of connections; an exception is thrown if not | |
| static bool | testConnectionAccess (list< softint > ids) |
| tests if the current user has access to the given list of connections and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static bool | testConnectionAccess (int id) |
| tests if the current user has access to the given connection and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static *list< auto > | getConnectionAccessList () |
| returns a list of connections the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned | |
| static *hash< auto > | getConnectionAccessHash () |
| returns a hash of connections the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned | |
| static | checkUserAuthorization (string user) |
| checks user authorization for all permissions passed to the method; throws an exception if the user is not authorized | |
| static | checkUserAuthorizationArgs (string user, softlist< string > args) |
| checks user authorization for all permissions passed to the method; throws an exception if the user is not authorized | |
| static | checkUserAuthorizationOr (string user) |
| checks user authorization for at least one of list of permissions passed to the method; throws an exception if the user is not authorized | |
| static | checkUserAuthorizationOrArgs (string user, softlist< string > args) |
| checks user authorization for at least one of list of permissions passed to the method; throws an exception if the user is not authorized | |
| static bool | testUserAuthorization (string user) |
| tests user authorization for all of permissions passed to the method and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static bool | testUserAuthorizationArgs (string user, softlist< string > args) |
| tests user authorization for all of permissions passed to the method and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static bool | testUserAuthorizationOr (string user) |
| tests user authorization for at least one of the permissions passed to the method and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static bool | testUserAuthorizationOrArgs (string user, softlist< string > args) |
| tests user authorization for at least one of the permissions passed to the method and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static | checkUserWorkflowAccess (string user, list< auto > ids) |
| checks if the current user has access to the given list of workflow IDs; throws an exception if the user is not authorized | |
| static | checkUserWorkflowAccess (string user, softint id) |
| checks if the current user has access to the given single workflow ID; throws an exception if the user is not authorized | |
| static bool | testUserWorkflowAccess (string user, list< auto > ids) |
| tests if the current user has access to the given list of workflow IDs and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static bool | testUserWorkflowAccess (string user, softint id) |
| tests if the current user has access to the given single workflow ID and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static *list< auto > | getUserWorkflowAccessList (string user) |
| returns a list of workflow IDs the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned | |
| static *hash< auto > | getUserWorkflowAccessHash (string user) |
| returns a hash of workflow IDs the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned | |
| static | checkUserWorkflowInstanceAccess (string user, softstring wfiid) |
| checks if the current user has access to the given workflow_instanceid; throws an exception if the user is not authorized | |
| static | checkUserServiceAccess (string user, list< auto > ids) |
| checks if the current user has access to the given list of serviceids; throws an exception if the user is not authorized | |
| static | checkUserServiceAccess (string user, softint id) |
| checks if the current user has access to the given single serviceid; throws an exception if the user is not authorized | |
| static | checkUserQueueAccess (string user, softint queueid, string key) |
| checks if the current user has access to the given queue entry (as determined through the workflow access list); throws an exception if the user is not authorized | |
| static bool | testUserServiceAccess (string user, list< auto > ids) |
| tests if the current user has access to the given list of serviceids and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static bool | testUserServiceAccess (string user, softint id) |
| tests if the current user has access to the given single serviceid and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static *list< auto > | getUserServiceAccessList (string user) |
| returns a list of service IDs the current user has access to; or, if the current user has access to all services, then NOTHING is returned | |
| static *hash< auto > | getUserServiceAccessHash (string user) |
| returns a hash of service IDs the current user has access to; or, if the current user has access to all services, then NOTHING is returned | |
| static | checkUserJobAccess (string user, list< auto > ids) |
| checks if the current user has access to the given list of job IDs; throws an exception if the user is not authorized | |
| static | checkUserJobAccess (string user, softint id) |
| checks if the current user has access to the given single job ID; throws an exception if the user is not authorized | |
| static bool | testUserJobAccess (string user, list< auto > ids) |
| tests if the current user has access to the given list of job IDs and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static bool | testUserJobAccess (string user, softint id) |
| tests if the current user has access to the given single job ID and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static *list< auto > | getUserJobAccessList (string user) |
| returns a list of job IDs the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned | |
| static *hash< auto > | getUserJobAccessHash (string user) |
| returns a hash of job IDs the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned | |
| static | checkUserJobInstanceAccess (string user, softstring jiid) |
| checks if the current user has access to the given job_instanceid; throws an exception if the user is not authorized | |
| static | checkUserMapperAccess (string user, list< auto > ids) |
| checks if the current user has access to the given list of mapper IDs; throws an exception if the user is not authorized | |
| static | checkUserMapperAccess (string user, softint id) |
| checks if the current user has access to the given single mapper ID; throws an exception if the user is not authorized | |
| static bool | testUserMapperAccess (string user, list< auto > ids) |
| tests if the current user has access to the given list of mapper IDs and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static bool | testUserMapperAccess (string user, softint id) |
| tests if the current user has access to the given single mapper ID and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static *list< auto > | getUserMapperAccessList (string user) |
| returns a list of mapper IDs the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned | |
| static *hash< auto > | getUserMapperAccessHash (string user) |
| returns a hash of mapper IDs the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned | |
| static | checkUserVmapAccess (string user, list< auto > ids) |
| checks if the current user has access to the given list of value map IDs; throws an exception if the user is not authorized | |
| static | checkUserVmapAccess (string user, softint id) |
| checks if the current user has access to the given single value map ID; throws an exception if the user is not authorized | |
| static bool | testUserVmapAccess (string user, list< auto > ids) |
| tests if the current user has access to the given list of value map IDs and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static bool | testUserVmapAccess (string user, softint id) |
| tests if the current user has access to the given single value map ID and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static *list< auto > | getUserVmapAccessList (string user) |
| returns a list of value map IDs the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned | |
| static *hash< auto > | getUserVmapAccessHash (string user) |
| returns a hash of value map IDs the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned | |
| static | checkUserFsmAccess (string user, list< auto > ids) |
| checks if the current user has access to the given list of Finite State Machines; throws an exception if the user is not authorized | |
| static | checkUserFsmAccess (string user, string name) |
| checks if the current user has access to the given single Finite State Machine; throws an exception if the user is not authorized | |
| static bool | testUserFsmAccess (string user, list< auto > ids) |
| tests if the current user has access to the given list of Finite State Machines and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static bool | testUserFsmAccess (string user, string name) |
| tests if the current user has access to the given single Finite State Machine and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static *list< auto > | getUserFsmAccessList (string user) |
| returns a list of Finite State Machines the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned | |
| static *hash< auto > | getUserFsmAccessHash (string user) |
| returns a hash of Finite State Machines the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned | |
| static | checkUserPipelineAccess (string user, list< auto > ids) |
| checks if the current user has access to the given list of data pipelines; throws an exception if the user is not authorized | |
| static | checkUserPipelineAccess (string user, string name) |
| checks if the current user has access to the given single data pipeline; throws an exception if the user is not authorized | |
| static bool | testUserPipelineAccess (string user, list< auto > ids) |
| tests if the current user has access to the given list of data pipelines and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static bool | testUserPipelineAccess (string user, string name) |
| tests if the current user has access to the given single data pipeline and returns True (if authorization is granted) or False (if the user is not authorized) | |
| static *list< auto > | getUserPipelineAccessList (string user) |
| returns a list of data pipelines the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned | |
| static *hash< auto > | getUserPipelineAccessHash (string user) |
| returns a hash of data pipelines the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned | |
| static | registerSoapHandler (hash< auto > h) |
| registers the current service as a SOAP service and exports its methods that map to SOAP operations in the given WSDL to be called from the Qorus HttpServer with the SOAP protocol | |
Static Public Member Methods inherited from OMQ::UserApi::UserApi | |
| static *hash< auto > | getUserServiceInfo (string name) |
| returns information about the given user service (if it's currently loaded) | |
| static SqlUtil::AbstractTable | getSqlTable (string datasource, string table_name, bool register_dependency=True) |
| get a cached table object (suitable for DML) if present, otherwise it creates one from scratch | |
| static SqlUtil::AbstractTable | getSqlTable (AbstractDatasource datasource, string table_name, bool register_dependency=True) |
| get a cached table object (suitable for DML) if present, otherwise it creates one from scratch | |
| static hash< auto > | getSqlCacheInfo () |
| get information about cached object | |
| static | clearSqlTableCache (string datasource, *string table_name) |
| clears all objects for given datasource from the cache (for example, if database objects have been updated in the dataserver) | |
| static | clearSqlTableCache (AbstractDatasource datasource, *string table_name) |
| clears cached objects for given datasource (for example, if database objects have been updated in the dataserver) | |
| static auto | getValueMap (string mapname, string key) |
| Gets a lookup value from the value map by a key; the value map must be registered to the current interface. | |
| static list< auto > | getValueMaps () |
| Gets all value maps valid for the current interface. | |
| static bool | postSlaEventSuccess (string sla, number value) |
| posts a successful SLA event for SLA monitoring and performance tracking | |
| static bool | postSlaEventError (string sla, number value, string err, string desc) |
| posts an unsuccessful SLA event for SLA monitoring and performance tracking | |
| static | flushSlaEvents () |
| flushes all pending SLA events to disk and returns after the data has been committed | |
| static *hash< auto > | getSystemServiceInfo (string name) |
| returns information about the given system service (if it's currently loaded) | |
| static *hash< auto > | getServiceInfo (string type, string name) |
| returns information about the given service (if it's currently loaded) | |
| static list | getRunningWorkflowList (*string name, *string ver) |
| returns a list of hashes giving information about the currently-running workflow execution instances | |
| static hash | getRunningWorkflowInfo (softint id) |
| returns a hash of the workflow execution instance info if the ID is valid or an empty hash if not | |
| static softint | createOrder (string name, *string version, hash< auto > params, string status=StatReady) |
| creates a workflow order data instance in the database | |
| static softint | createOrder (int wfid, hash< auto > params, string status=StatReady) |
| creates a workflow order data instance in the database | |
| static softint | createRemoteOrder (string remote, string name, *string version, hash< auto > params, string status=StatReady, bool register_dependency=True) |
| creates a workflow order data instance in a remote Qorus instance | |
| static softint | createRemoteOrder (string remote, int wfid, hash< auto > params, string status=StatReady, bool register_dependency=True) |
| creates a workflow order data instance in a remote Qorus instance | |
| static hash< auto > | execSynchronousWorkflow (string name, *string version, hash< auto > sdata, *hash< auto > opts, *hash< auto > ddata, softint priority=DefaultOrderPriority, *hash< auto > orderkeys, *softstring external_order_instanceid, *softint parent_workflow_instanceid) |
| executes a workflow order synchronously and returns the final status and order ID in a hash | |
| static hash< auto > | execSynchronousWorkflow (int wfid, hash< auto > sdata, *hash< auto > opts, *hash< auto > ddata, softint priority=DefaultOrderPriority, *hash< auto > orderkeys, *softstring external_order_instanceid, *softint parent_workflow_instanceid) |
| executes a workflow order synchronously and returns the final status and order ID in a hash | |
| static hash< auto > | execSynchronousWorkflowAsync (string name, *string version, hash< auto > sdata, *hash< auto > opts, *hash< auto > ddata, softint priority=DefaultOrderPriority, *hash< auto > orderkeys, *softstring external_order_instanceid, *softint parent_workflow_instanceid) |
| executes a workflow order synchronously in the background and returns immediately | |
| static hash< auto > | execSynchronousWorkflowAsync (int wfid, hash< auto > sdata, *hash< auto > opts, *hash< auto > ddata, softint priority=DefaultOrderPriority, *hash< auto > orderkeys, *softstring external_order_instanceid, *softint parent_workflow_instanceid) |
| executes a workflow order synchronously in the background and returns immediately | |
| static int | postUserEvent (string severity, auto info) |
| posts an application event of class OMQ::QE_CLASS_USER | |
| static hash | runtimeProperties () |
| returns Qorus runtime properties as a hash | |
| static auto | callNetworkApiArgsWithAuthentication (string user, string pass, string call, softlist< auto > args) |
| calls a system RPC API with authentication information (username and password) | |
| static auto | callNetworkApiArgs (string call, *softlist< auto > args) |
| calls a system RPC API and returns the respose | |
| static auto | callNetworkApi (string call,...) |
| calls a system RPC API and returns the result; the API is called with system permissions (no restrictions) | |
| static auto | callRestApi (string method, string path, *hash< auto > body_args) |
| calls a system REST API method and returns the result | |
| static auto | callRestApiWithAuthentication (string user, string pass, string method, string path, *hash< auto > body_args) |
| calls a system REST API method with authentication information and returns the result | |
Public Attributes | |
| const | ServiceCallContextKeys |
keys returned from the cx hash in getCallContext() if present | |
Static Private:Internal Attributes | |
| static hash< string, hash< auto > > | vpmap |
| for saving the request path against a code verifier: verifier -> {path, ts} | |
Additional Inherited Members | |
Static Private Member Methods inherited from OMQ::UserApi::UserApi | |
| static QorusProgram | DynamicLogic (True, False, CommonParseOptions|PO_NO_INHERIT_USER_CLASSES|PO_NO_INHERIT_USER_FUNC_VARIANTS|PO_NO_INHERIT_GLOBAL_VARS|PO_NO_INHERIT_USER_CONSTANTS|PO_NO_INHERIT_USER_HASHDECLS|PO_NEW_STYLE|PO_STRICT_ARGS|PO_REQUIRE_TYPES, QorusServerDefines, NOTHING, NOTHING,()) |
| Program for dynamic logic. | |
Private Attributes inherited from OMQ::UserApi::UserApi | |
| const | DataProviderRootValues |
| data provider root path values | |
| const | DataTypeRootValues |
| data type root path values | |
| const | DataProviderPathTypeValues |
| data type path provider type values | |
primary service API class
svcapi
|
static |
checks user authorization for all permissions passed to the method; throws an exception if the user is not authorized
If current user does not have all of the given permissions, an exception is thrown.
If no user information is available (for instance, the call is internal), then authorization is automatically granted. If there are any authorization errors; an appropriate exception is thrown.
| AUTHORIZATION-ERROR | no authentication information supplied or user does not have all required permissions |
|
static |
checks user authorization for all permissions passed to the method; throws an exception if the user is not authorized
If current user does not have all of the given permissions, an exception is thrown.
If no user information is available (for instance, the call is internal), then authorization is automatically granted. If there are any authorization errors; an appropriate exception is thrown.
| args | the list of permissions to check |
| AUTHORIZATION-ERROR | no authentication information supplied or user does not have all required permissions |
|
static |
checks user authorization for at least one of list of permissions passed to the method; throws an exception if the user is not authorized
If current user does not have at least one of the given permissions, an exception is thrown.
If no user information is available (for instance, the call is internal), then authorization is automatically granted. If there are any authorization errors; an appropriate exception is thrown.
| AUTHORIZATION-ERROR | no authentication information supplied or user does not have any of the permissions given |
|
static |
checks user authorization for at least one of list of permissions passed to the method; throws an exception if the user is not authorized
If current user does not have at least one of the given permissions, an exception is thrown.
If no user information is available (for instance, the call is internal), then authorization is automatically granted. If there are any authorization errors; an appropriate exception is thrown.
| args | the list of permissions to check |
| AUTHORIZATION-ERROR | no authentication information supplied or user does not have any of the permissions given |
|
static |
checks if the current user has access to the given connection; an exception is thrown if not
| id | the ID of the connection to check |
| CONNECTION-ACCESS-ERROR | the user does not have access to the given connection |
|
static |
checks if the current user has access to the given list of connections; an exception is thrown if not
| ids | a list of connections to check |
| CONNECTION-ACCESS-ERROR | the user does not have access to one or more of the given connections |
|
static |
checks if the current user has access to the given list of Finite State Machines; throws an exception if the user is not authorized
| ids | a list of finite state machine IDs to check |
| FSM-ACCESS-ERROR | the user does not have access to one or more of the given finite state machines |
|
static |
checks if the current user has access to the given single Finite State Machine; throws an exception if the user is not authorized
| name | the finite state machine to check |
| FSM-ACCESS-ERROR | the user does not have access to the given finite state machine |
| FSM-ARG-ERROR | The given FSM does not exist |
|
static |
checks if the current user has access to the given list of job IDs; throws an exception if the user is not authorized
| ids | a list of jobids to check |
| JOB-ACCESS-ERROR | the user does not have access to one or more of the given jobs |
|
static |
checks if the current user has access to the given single job ID; throws an exception if the user is not authorized
| id | the jobid to check |
| JOB-ACCESS-ERROR | the user does not have access to the given job |
|
static |
checks if the current user has access to the given job_instanceid; throws an exception if the user is not authorized
| jiid | the job_instanceid to check |
| JOB-ACCESS-ERROR | the user does not have access to the given job |
|
static |
checks if the current user has access to the given list of mapper IDs; throws an exception if the user is not authorized
| ids | a list of mapperids to check |
| MAPPER-ACCESS-ERROR | the user does not have access to one or more of the given mappers |
|
static |
checks if the current user has access to the given single mapper ID; throws an exception if the user is not authorized
| id | the mapperid to check |
| MAPPER-ACCESS-ERROR | the user does not have access to the given mapper |
|
static |
checks if the current user has access to the given list of data pipelines; throws an exception if the user is not authorized
| ids | a list of pipelines to check |
| PIPELINE-ACCESS-ERROR | the user does not have access to one or more of the given pipelines |
|
static |
checks if the current user has access to the given single data pipeline; throws an exception if the user is not authorized
| name | the pipeline to check |
| PIPELINE-ACCESS-ERROR | the user does not have access to the given pipeline |
|
static |
checks if the current user has access to the given queue entry (as determined through the workflow access list); throws an exception if the user is not authorized
| queueid | the queue ID to check |
| key | the key value in queue given by the first argument to check |
| WORKFLOW-ACCESS-ERROR | no authentication information supplied or user does not have access to the given workflow |
|
static |
checks if the current user has access to the given list of serviceids; throws an exception if the user is not authorized
| ids | a list of serviceids to check |
| SERVICE-ACCESS-ERROR | no authentication information supplied or user does not have access to one or more of the given services |
|
static |
checks if the current user has access to the given single serviceid; throws an exception if the user is not authorized
| id | the serviceid to check |
| SERVICE-ACCESS-ERROR | no authentication information supplied or user does not have access to the given service |
|
static |
checks user authorization for all permissions passed to the method; throws an exception if the user is not authorized
If current user does not have all of the given permissions, an exception is thrown.
If no user information is available (for instance, the call is internal), then authorization is automatically granted. If there are any authorization errors; an appropriate exception is thrown.
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| USER-ERROR | the user is not loaded |
| AUTHORIZATION-ERROR | no authentication information supplied or user does not have all required permissions |
|
static |
checks user authorization for all permissions passed to the method; throws an exception if the user is not authorized
If current user does not have all of the given permissions, an exception is thrown.
If no user information is available (for instance, the call is internal), then authorization is automatically granted. If there are any authorization errors; an appropriate exception is thrown.
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| args | the list of permissions to check |
| USER-ERROR | the user is not loaded |
| AUTHORIZATION-ERROR | no authentication information supplied or user does not have all required permissions |
|
static |
checks user authorization for at least one of list of permissions passed to the method; throws an exception if the user is not authorized
If current user does not have at least one of the given permissions, an exception is thrown.
If no user information is available (for instance, the call is internal), then authorization is automatically granted. If there are any authorization errors; an appropriate exception is thrown.
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| USER-ERROR | the user is not loaded |
| AUTHORIZATION-ERROR | no authentication information supplied or user does not have any of the permissions given |
|
static |
checks user authorization for at least one of list of permissions passed to the method; throws an exception if the user is not authorized
If current user does not have at least one of the given permissions, an exception is thrown.
If no user information is available (for instance, the call is internal), then authorization is automatically granted. If there are any authorization errors; an appropriate exception is thrown.
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| args | the list of permissions to check |
| USER-ERROR | the user is not loaded |
| AUTHORIZATION-ERROR | no authentication information supplied or user does not have any of the permissions given |
|
static |
checks if the current user has access to the given list of Finite State Machines; throws an exception if the user is not authorized
| ids | a list of finite state machines to check |
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| USER-ERROR | the user is not loaded |
| FSM-ACCESS-ERROR | the user does not have access to one or more of the given finite state machines |
|
static |
checks if the current user has access to the given single Finite State Machine; throws an exception if the user is not authorized
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| name | the finite state machine to check |
| USER-ERROR | the user is not loaded |
| FSM-ACCESS-ERROR | the user does not have access to the given finite state machine |
|
static |
checks if the current user has access to the given list of job IDs; throws an exception if the user is not authorized
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| ids | a list of jobids to check |
| USER-ERROR | the user is not loaded |
| JOB-ACCESS-ERROR | the user does not have access to one or more of the given jobs |
|
static |
checks if the current user has access to the given single job ID; throws an exception if the user is not authorized
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| id | the jobid to check |
| USER-ERROR | the user is not loaded |
| JOB-ACCESS-ERROR | the user does not have access to the given job |
|
static |
checks if the current user has access to the given job_instanceid; throws an exception if the user is not authorized
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| jiid | the job_instanceid to check |
| USER-ERROR | the user is not loaded |
| JOB-ACCESS-ERROR | the user does not have access to the given job |
|
static |
checks if the current user has access to the given list of mapper IDs; throws an exception if the user is not authorized
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| ids | a list of mapperids to check |
| USER-ERROR | the user is not loaded |
| MAPPER-ACCESS-ERROR | the user does not have access to one or more of the given mappers |
|
static |
checks if the current user has access to the given single mapper ID; throws an exception if the user is not authorized
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| id | the mapperid to check |
| USER-ERROR | the user is not loaded |
| MAPPER-ACCESS-ERROR | the user does not have access to the given mapper |
|
static |
checks if the current user has access to the given list of data pipelines; throws an exception if the user is not authorized
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| ids | a list of pipelines to check |
| USER-ERROR | the user is not loaded |
| PIPELINE-ACCESS-ERROR | the user does not have access to one or more of the given pipelines |
|
static |
checks if the current user has access to the given single data pipeline; throws an exception if the user is not authorized
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| name | the pipeline to check |
| USER-ERROR | the user is not loaded |
| PIPELINE-ACCESS-ERROR | the user does not have access to the given pipeline |
|
static |
checks if the current user has access to the given queue entry (as determined through the workflow access list); throws an exception if the user is not authorized
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| queueid | the queue ID to check |
| key | the key value in queue given by the first argument to check |
| USER-ERROR | the user is not loaded |
| WORKFLOW-ACCESS-ERROR | no authentication information supplied or user does not have access to the given workflow |
|
static |
checks if the current user has access to the given list of serviceids; throws an exception if the user is not authorized
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| ids | a list of serviceids to check |
| USER-ERROR | the user is not loaded |
| SERVICE-ACCESS-ERROR | no authentication information supplied or user does not have access to one or more of the given services |
|
static |
checks if the current user has access to the given single serviceid; throws an exception if the user is not authorized
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| id | the serviceid to check |
| USER-ERROR | the user is not loaded |
| SERVICE-ACCESS-ERROR | no authentication information supplied or user does not have access to the given service |
|
static |
checks if the current user has access to the given list of value map IDs; throws an exception if the user is not authorized
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| ids | a list of value map ids to check |
| USER-ERROR | the user is not loaded |
| VMAP-ACCESS-ERROR | the user does not have access to one or more of the given value maps |
|
static |
checks if the current user has access to the given single value map ID; throws an exception if the user is not authorized
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| id | the value map id to check |
| USER-ERROR | the user is not loaded |
| VMAP-ACCESS-ERROR | the user does not have access to the given value map |
|
static |
checks if the current user has access to the given list of workflow IDs; throws an exception if the user is not authorized
| ids | a list of workflowids to check |
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| USER-ERROR | the user is not loaded |
| WORKFLOW-ACCESS-ERROR | the user does not have access to one or more of the given workflows |
|
static |
checks if the current user has access to the given single workflow ID; throws an exception if the user is not authorized
| id | the workflowid to check |
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| USER-ERROR | the user is not loaded |
| WORKFLOW-ACCESS-ERROR | the user does not have access to the given workflow |
|
static |
checks if the current user has access to the given workflow_instanceid; throws an exception if the user is not authorized
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| wfiid | the workflow_instanceid to check |
| USER-ERROR | the user is not loaded |
| WORKFLOW-ACCESS-ERROR | no authentication information supplied or user does not have access to the given workflow |
|
static |
checks if the current user has access to the given list of value map IDs; throws an exception if the user is not authorized
| ids | a list of value map ids to check |
| VMAP-ACCESS-ERROR | the user does not have access to one or more of the given value maps |
|
static |
checks if the current user has access to the given single value map ID; throws an exception if the user is not authorized
| id | the value map id to check |
| VMAP-ACCESS-ERROR | the user does not have access to the given value map |
|
static |
checks if the current user has access to the given list of workflow IDs; throws an exception if the user is not authorized
| ids | a list of workflowids to check |
| WORKFLOW-ACCESS-ERROR | the user does not have access to one or more of the given workflows |
|
static |
checks if the current user has access to the given single workflow ID; throws an exception if the user is not authorized
| id | the workflowid to check |
| WORKFLOW-ACCESS-ERROR | the user does not have access to the given workflow |
|
static |
checks if the current user has access to the given workflow_instanceid; throws an exception if the user is not authorized
| wfiid | the workflow_instanceid to check |
| WORKFLOW-ACCESS-ERROR | no authentication information supplied or user does not have access to the given workflow |
|
static |
returns a hash of connections the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned
NOTHING is only returned if the current user has access to all connections
|
static |
returns a list of connections the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned
NOTHING is only returned if the current user has access to all connections
|
static |
returns a hash of Finite State Machines the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned
NOTHING is only returned if the current user has access to all finite state machines
|
static |
returns a list of Finite State Machines the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned
NOTHING is only returned if the current user has access to all finite state machines
|
static |
|
static |
|
static |
returns a hash of mapper IDs the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned
NOTHING is only returned if the current user has access to all mappers
|
static |
returns a list of mapper IDs the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned
NOTHING is only returned if the current user has access to all mappers
|
static |
returns a hash of data pipelines the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned
NOTHING is only returned if the current user has access to all pipelines
|
static |
returns a list of data pipelines the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned
NOTHING is only returned if the current user has access to all pipelines
|
static |
returns a hash of service IDs the current user has access to; or, if the current user has access to all services, then NOTHING is returned
NOTHING is only returned if the current user has access to all services
|
static |
returns a list of service IDs the current user has access to; or, if the current user has access to all services, then NOTHING is returned
NOTHING is only returned if the current user has access to all services
|
static |
returns a hash of Finite State Machines the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned
NOTHING is only returned if the current user has access to all finite state machines
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| USER-ERROR | the user is not loaded |
|
static |
returns a list of Finite State Machines the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned
NOTHING is only returned if the current user has access to all finite state machines
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| USER-ERROR | the user is not loaded |
|
static |
returns a hash of job IDs the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown NOTHING is only returned if the current user has access to all jobs |
| USER-ERROR | the user is not loaded |
|
static |
returns a list of job IDs the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown NOTHING is only returned if the current user has access to all jobs |
| USER-ERROR | the user is not loaded |
|
static |
returns a hash of mapper IDs the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned
NOTHING is only returned if the current user has access to all mappers
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| USER-ERROR | the user is not loaded |
|
static |
returns a list of mapper IDs the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned
NOTHING is only returned if the current user has access to all mappers
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| USER-ERROR | the user is not loaded |
|
static |
returns a hash of data pipelines the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned
NOTHING is only returned if the current user has access to all pipelines
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| USER-ERROR | the user is not loaded |
|
static |
returns a list of data pipelines the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned
NOTHING is only returned if the current user has access to all pipelines
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| USER-ERROR | the user is not loaded |
|
static |
returns a hash of service IDs the current user has access to; or, if the current user has access to all services, then NOTHING is returned
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown NOTHING is only returned if the current user has access to all services |
| USER-ERROR | the user is not loaded |
|
static |
returns a list of service IDs the current user has access to; or, if the current user has access to all services, then NOTHING is returned
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown NOTHING is only returned if the current user has access to all services |
| USER-ERROR | the user is not loaded |
|
static |
returns a hash of value map IDs the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned
NOTHING is only returned if the current user has access to all value maps
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| USER-ERROR | the user is not loaded |
|
static |
returns a list of value map IDs the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned
NOTHING is only returned if the current user has access to all value maps
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| USER-ERROR | the user is not loaded |
|
static |
returns a hash of workflow IDs the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned
NOTHING is only returned if the current user has access to all workflows
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| USER-ERROR | the user is not loaded |
|
static |
returns a list of workflow IDs the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned
NOTHING is only returned if the current user has access to all workflows
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| USER-ERROR | the user is not loaded |
|
static |
returns a hash of value map IDs the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned
NOTHING is only returned if the current user has access to all value maps
|
static |
returns a list of value map IDs the current user has access to; or, if the current user has a role with the DEFAULT group, then NOTHING is returned
NOTHING is only returned if the current user has access to all value maps
|
static |
|
static |
|
static |
registers the current service as a SOAP service and exports its methods that map to SOAP operations in the given WSDL to be called from the Qorus HttpServer with the SOAP protocol
Creates a mapping in the system SoapHandler from the given WSDL to the current service. SOAP operations defined in the WSDL will be mapped directly to Qorus service methods with the same names as the SOAP operations.
| h | a hash with the following keys (only wsdl or wsdl_file is required):
|
| REGISTER-SOAP-HANDLER-ERROR | missing wsdl or wsdl_file key in argument hash; cannot find service; multiple services defined by WSDL but no service key given in argument hash |
|
static |
tests user authorization for all of permissions passed to the method and returns True (if authorization is granted) or False (if the user is not authorized)
If no user information is available (for instance, the call is internal), then authorization is automatically granted. If there are any authorization errors, the method returns False
|
static |
tests user authorization for all of permissions passed to the method and returns True (if authorization is granted) or False (if the user is not authorized)
If no user information is available (for instance, the call is internal), then authorization is automatically granted. If there are any authorization errors, the method returns False
| args | the list of permissions to test |
|
static |
tests user authorization for at least one of the permissions passed to the method and returns True (if authorization is granted) or False (if the user is not authorized)
If no user information is available (for instance, the call is internal), then authorization is automatically granted. If there are any authorization errors, the method returns False
|
static |
tests user authorization for at least one of the permissions passed to the method and returns True (if authorization is granted) or False (if the user is not authorized)
If no user information is available (for instance, the call is internal), then authorization is automatically granted. If there are any authorization errors, the method returns False
| args | the list of permissions to test |
|
static |
tests if the current user has access to the given connection and returns True (if authorization is granted) or False (if the user is not authorized)
| id | the connection ID to check |
|
static |
tests if the current user has access to the given list of connections and returns True (if authorization is granted) or False (if the user is not authorized)
| ids | a list of connections to check |
|
static |
tests if the current user has access to the given list of Finite State Machines and returns True (if authorization is granted) or False (if the user is not authorized)
| ids | a list of finite state machines to check |
|
static |
tests if the current user has access to the given single Finite State Machine
| name | the finite state machine to check |
| FSM-ARG-ERROR | The given FSM does not exist |
|
static |
tests if the current user has access to the given list of job IDs and returns True (if authorization is granted) or False (if the user is not authorized)
| ids | a list of jobids to check |
|
static |
tests if the current user has access to the given single job ID and returns True (if authorization is granted) or False (if the user is not authorized)
| id | the jobid to check |
|
static |
tests if the current user has access to the given list of mapper IDs and returns True (if authorization is granted) or False (if the user is not authorized)
| ids | a list of mapperids to check |
|
static |
tests if the current user has access to the given single mapper ID and returns True (if authorization is granted) or False (if the user is not authorized)
| id | the mapperid to check |
|
static |
tests if the current user has access to the given list of data pipelines and returns True (if authorization is granted) or False (if the user is not authorized)
| ids | a list of pipelines to check |
|
static |
tests if the current user has access to the given single data pipeline and returns True (if authorization is granted) or False (if the user is not authorized)
| name | the pipeline to check |
|
static |
tests if the current user has access to the given list of serviceids and returns True (if authorization is granted) or False (if the user is not authorized)
| ids | a list of serviceids to check |
| SERVICE-ACCESS-ERROR | no authentication information supplied or user does not have access to the given services |
|
static |
tests if the current user has access to the given single serviceid and returns True (if authorization is granted) or False (if the user is not authorized)
| id | the serviceid to check |
|
static |
tests user authorization for all of permissions passed to the method and returns True (if authorization is granted) or False (if the user is not authorized)
If no user information is available (for instance, the call is internal), then authorization is automatically granted. If there are any authorization errors, the method returns False
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| USER-ERROR | the user is not loaded |
|
static |
tests user authorization for all of permissions passed to the method and returns True (if authorization is granted) or False (if the user is not authorized)
If no user information is available (for instance, the call is internal), then authorization is automatically granted. If there are any authorization errors, the method returns False
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| args | the list of permissions to test |
| USER-ERROR | the user is not loaded |
|
static |
tests user authorization for at least one of the permissions passed to the method and returns True (if authorization is granted) or False (if the user is not authorized)
If no user information is available (for instance, the call is internal), then authorization is automatically granted. If there are any authorization errors, the method returns False
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| USER-ERROR | the user is not loaded |
|
static |
tests user authorization for at least one of the permissions passed to the method and returns True (if authorization is granted) or False (if the user is not authorized)
If no user information is available (for instance, the call is internal), then authorization is automatically granted. If there are any authorization errors, the method returns False
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| args | the list of permissions to test |
| USER-ERROR | the user is not loaded |
|
static |
tests if the current user has access to the given list of Finite State Machines and returns True (if authorization is granted) or False (if the user is not authorized)
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| ids | a list of finite state machines to check |
| USER-ERROR | the user is not loaded |
|
static |
tests if the current user has access to the given single Finite State Machine and returns True (if authorization is granted) or False (if the user is not authorized)
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| name | the finite state machine to check |
| USER-ERROR | the user is not loaded |
|
static |
tests if the current user has access to the given list of job IDs and returns True (if authorization is granted) or False (if the user is not authorized)
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| ids | a list of jobids to check |
| USER-ERROR | the user is not loaded |
|
static |
tests if the current user has access to the given single job ID and returns True (if authorization is granted) or False (if the user is not authorized)
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| id | the jobid to check |
| USER-ERROR | the user is not loaded |
|
static |
tests if the current user has access to the given list of mapper IDs and returns True (if authorization is granted) or False (if the user is not authorized)
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| ids | a list of mapperids to check |
| USER-ERROR | the user is not loaded |
|
static |
tests if the current user has access to the given single mapper ID and returns True (if authorization is granted) or False (if the user is not authorized)
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| id | the mapperid to check |
| USER-ERROR | the user is not loaded |
|
static |
tests if the current user has access to the given list of data pipelines and returns True (if authorization is granted) or False (if the user is not authorized)
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| ids | a list of pipelines to check |
| USER-ERROR | the user is not loaded |
|
static |
tests if the current user has access to the given single data pipeline and returns True (if authorization is granted) or False (if the user is not authorized)
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| name | the pipeline to check |
| USER-ERROR | the user is not loaded |
|
static |
tests if the current user has access to the given list of serviceids and returns True (if authorization is granted) or False (if the user is not authorized)
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| ids | a list of serviceids to check |
| USER-ERROR | the user is not loaded |
| SERVICE-ACCESS-ERROR | no authentication information supplied or user does not have access to the given services |
|
static |
tests if the current user has access to the given single serviceid and returns True (if authorization is granted) or False (if the user is not authorized)
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| id | the serviceid to check |
| USER-ERROR | the user is not loaded |
|
static |
tests if the current user has access to the given list of value map IDs and returns True (if authorization is granted) or False (if the user is not authorized)
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| ids | a list of value map ids to check |
| USER-ERROR | the user is not loaded |
|
static |
tests if the current user has access to the given single value map ID and returns True (if authorization is granted) or False (if the user is not authorized)
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| id | the value map id to check |
| USER-ERROR | the user is not loaded |
|
static |
tests if the current user has access to the given list of workflow IDs and returns True (if authorization is granted) or False (if the user is not authorized)
| ids | a list of workflowids to check |
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| USER-ERROR | the user is not loaded |
|
static |
tests if the current user has access to the given single workflow ID and returns True (if authorization is granted) or False (if the user is not authorized)
| id | the workflowid to check |
| user | the user to check; if the user is provided by an external RBAC source, the user must already be loaded or a USER-ERROR exception is thrown |
| USER-ERROR | the user is not loaded |
|
static |
tests if the current user has access to the given list of value map IDs and returns True (if authorization is granted) or False (if the user is not authorized)
| ids | a list of value map ids to check |
|
static |
tests if the current user has access to the given single value map ID and returns True (if authorization is granted) or False (if the user is not authorized)
| id | the value map id to check |
|
static |
tests if the current user has access to the given list of workflow IDs and returns True (if authorization is granted) or False (if the user is not authorized)
| ids | a list of workflowids to check |
|
static |
tests if the current user has access to the given single workflow ID and returns True (if authorization is granted) or False (if the user is not authorized)
| id | the workflowid to check |
| const OMQ::UserApi::Service::ServiceApi::ServiceCallContextKeys |
keys returned from the cx hash in getCallContext() if present