Assigned Property is a relationship between a generic property definition and a node + value(s) of the property.
QUERY_FUNCTION assigned_property_list_types(id: INTEGER): LIST OF STRING
id | (optional) assigning node instance id |
To call the query logged in user shall be associated with a person granted with editor privileges in target node (EDITOR_TYPE, ADMIN_TYPE for the person or group where the person is registered)
QUERY_FUNCTION assigned_property_create(subj: v_assigned_property): v_assigned_property
subj |
input for the assignment, see v_assigned_property some attributes of the input are ignored, like the following:
|
Returns actual attributes of the newly created assignment (see v_assigned_property)
To call the query logged in user shall be associated with a person granted with reader privileges over the target node (READER_TYPE, EDITOR_TYPE, ADMIN_TYPE for the person or group where the person is registered)
QUERY_FUNCTION assigned_property_get(id: INTEGER): v_assigned_property
id | id of the assigned property instance |
Returns actual data of the required assignment (see v_assigned_property)
To call the query logged in user shall be associated with a person granted with reader privileges in target node (READER_TYPE, EDITOR_TYPE, ADMIN_TYPE for the person or group where the person is registered)
QUERY_FUNCTION assigned_property_list(ids: LIST OF INTEGER): LIST OF v_assigned_property
ids | list of interesting assignments instance id-s |
Returns list of actual data of the required assignments (see v_assigned_property)
QUERY_FUNCTION assigned_property_select( node, property, creator : INTEGER; before, after : STRING; property_type, assignment_type : STRING) : LIST OF v_assigned_propertyParameters:
node | (optional) instance id of parent node |
property | (optional) instance id of property definition |
creator | (optional) instance id of simdm person who introduced the assignments |
before | (optional) later date/time of the assignment in format "YYYY/MM/DD hh:mm:ss" |
after | (optional) earlier date/time of the assignment in format "YYYY/MM/DD hh:mm:ss" |
property_type | (optional) type of property definition |
assignment_type | (optional) type of property assignment |
Returns list of found assigned properties (see v_assigned_property)
To call the query logged in user shall be associated with a person granted with editor privileges in target node (EDITOR_TYPE, ADMIN_TYPE for the person or group where the person is registered)
QUERY_FUNCTION assigned_property_update(subject: v_assigned_property): v_assigned_property
subject |
updated data of the assignment to be updated in model (see v_assigned_property). Target instance is specified by subject.item.instance_id The following attributes are ignored:
|
Returns actual data of the updated assigned property (see v_assigned_property)
To call the query logged in user shall be associated with a person granted with editor privileges in target node (EDITOR_TYPE, ADMIN_TYPE for the person or group where the person is registered)
QUERY_FUNCTION assigned_property_delete(id: INTEGER): v_assigned_property
id | instance id of the assignment to be removed |
Returns unset value if the assignment removed or attributes of virtual assignment for mandatory attributes