Method is definition of some common way to perform a generic task. Then assigned task will refer to the definition.
QUERY_FUNCTION method_list_types: LIST OF STRING
To call the query logged in user shall be associated with a person granted with administrative privileges over whole pbs (ADMIN_TYPE for the person or group where the person is registered)
QUERY_FUNCTION method_create(subject: v_method): v_method
subject |
input parameters of newly defining method, see v_method some attributes of the input are ignored, like the following:
|
Returns actual attributes of the newly defined method (see v_method)
To call the query logged in user shall be associated with a person granted with reader privileges over whole pbs (READER_TYPE, EDITOR_TYPE, ADMIN_TYPE for the person or group where the person is registered)
QUERY_FUNCTION method_get(id: INTEGER): v_method
id | id of the method instance |
Returns actual data of the required method (see v_method)
To call the query logged in user shall be associated with a person granted with reader privileges over whole pbs (READER_TYPE, EDITOR_TYPE, ADMIN_TYPE for the person or group where the person is registered)
QUERY_FUNCTION method_list(ids: LIST OF INTEGER): LIST OF v_method
ids | list of interesting method instance id-s |
Returns list of actual data of the required methods (see v_method)
QUERY_FUNCTION method_select( pbs, creator : INTEGER; version : STRING; kind : STRING) : LIST OF v_methodParameters:
pbs | (optional) instance id of parent pbs |
creator | (optional) instance id of person who introduced the method |
version | (optional) version of PBS where the method was introduced |
kind | (optional) method type |
Returns list of found methods (see v_method)
To call the query logged in user shall be associated with a person granted with administrative privileges over whole pbs (ADMIN_TYPE for the person or group where the person is registered)
QUERY_FUNCTION method_update(subject: v_method): v_method
subject |
updated data of the method definition to be updated in model (see v_method) subject.item.instance_id is used to identify updated instance The following attributes are ignored:
|
Returns actual data of the updated method definition (see v_method)
To call the query logged in user shall be associated with a person granted with administrative privileges over whole pbs (ADMIN_TYPE for the person or group where the person is registered)
QUERY_FUNCTION method_cancel(id: INTEGER): BOOLEAN
id | instance id of the method to be cancelled |
Returns TRUE if the instance deleted (was not used), FALSE if just cancelled