application_data_link::get_linked_not_cached (private)

 application_data_link::get_linked_not_cached \
    -from_object_id from_object_id -to_object_type to_object_type \
    [ -relation_tag relation_tag ]

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

Gets the ID for the object linked to from_object_id and matches the to_object_type. Optionally, pass a relationship tag.

Switches:
-from_object_id
(required)
Object ID of linked-from object.
-to_object_type
(required)
Object type of linked-to object.
-relation_tag
(optional)
Relationship identifier
Returns:
object_id of linked object.

Partial Call Graph (max 5 caller/called nodes):
%3 application_data_link::get_linked application_data_link::get_linked (public) application_data_link::get_linked_not_cached application_data_link::get_linked_not_cached application_data_link::get_linked->application_data_link::get_linked_not_cached db_list db_list (public) application_data_link::get_linked_not_cached->db_list

Testcases:
No testcase defined.
Source code:
    return [db_list linked_object {}]
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
<fullquery name="application_data_link::get_linked_not_cached.linked_object">
    <querytext>
    	select o.object_id
	from acs_objects o
	where o.object_type = :to_object_type
	and o.object_id in (select object_id_two 
                          from acs_data_links 
                         where object_id_one = :from_object_id
                         [application_data_link::relation_tag_where_clause -relation_tag $relation_tag])
	order by o.object_id
    </querytext>
</fullquery>
packages/acs-tcl/tcl/application-data-link-procs.xql

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