Link (short cut) is a relationship between a node and another node or some attached file in another node.
QUERY_FUNCTION link_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 writer privileges over target node (EDITOR_TYPE, ADMIN_TYPE for the person or group where the person is registered)
QUERY_FUNCTION link_create(subj: v_link): v_link
subj |
input for the assignment, see v_link the following attributes are mandatory:
|
Returns actual attributes of the newly created link (see v_link)
To call the query logged in user shall be associated with a person granted with reader privileges over subject node (READER_TYPE, EDITOR_TYPE, ADMIN_TYPE for the person or group where the person is registered)
QUERY_FUNCTION link_get(id: INTEGER): v_link
id | id of the link instance |
Returns actual data of the required link (see v_link)
To call the query logged in user shall be associated with a person granted with reader privileges in subject node (READER_TYPE, EDITOR_TYPE, ADMIN_TYPE for the person or group where the person is registered)
QUERY_FUNCTION link_list(ids: LIST OF INTEGER): LIST OF v_link
ids | list of interesting link instance id-s |
Returns list of actual data of the required links (see v_link)
QUERY_FUNCTION link_select( node, file, creator : INTEGER; file_type, link_type : STRING) : LIST OF v_linkParameters:
node | (optional) instance id of linked node |
file | (optional) instance id of linked file |
creator | (optional) instance id of simdm person who introduced the link |
file_type | (optional) type of referred file |
link_type | (optional) type of link |
Returns list of found links (see v_link)
To call the query logged in user shall be associated with a person granted with writer privileges in target node (EDITOR_TYPE, ADMIN_TYPE for the person or group where the person is registered)
QUERY_FUNCTION link_update(subject: v_link): v_link
subject |
updated data of the link to be updated in model (see v_link) Target instance is specified by subject.item.instance_id The following attributes are ignored:
|
Returns actual data of the updated the updated link (see v_link)
To call the query logged in user shall be associated with a person granted with writer privileges in target node (EDITOR_TYPE, ADMIN_TYPE for the person or group where the person is registered)
QUERY_FUNCTION link_delete(id: INTEGER): v_link
id | instance id of the assignment to be removed |
Returns TRUE