application_data_link::get (public)

 application_data_link::get -object_id object_id \
    [ -relation_tag relation_tag ]

Defined in packages/acs-tcl/tcl/application-data-link-procs.tcl

Retrieves a list of object_ids for all objects linked to the given object_id, tagged with the optional relation_tag.

Switches:
-object_id (required)
Retrieve objects linked to this object_id
-relation_tag (optional)
Relationship identifier.
Returns:
List of linked object ids.

Partial Call Graph (max 5 caller/called nodes):
%3 test_data_links_with_tag data_links_with_tag (test acs-tcl) application_data_link::get application_data_link::get test_data_links_with_tag->application_data_link::get db_list db_list (public) application_data_link::get->db_list application_data_link::exist_link application_data_link::exist_link (public) application_data_link::exist_link->application_data_link::get

Testcases:
data_links_with_tag
Source code:
    return [db_list linked_objects {}]
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
<fullquery name="application_data_link::get.linked_objects">
    <querytext>
	select object_id_two
	from acs_data_links
	where object_id_one = :object_id
      [application_data_link::relation_tag_where_clause -relation_tag $relation_tag]
	order by object_id_two
    </querytext>
</fullquery>
packages/acs-tcl/tcl/application-data-link-procs.xql

[ hide source ] | [ make this the default ]
Show another procedure: