application_data_link::get_linked_content_not_cached (private)

 application_data_link::get_linked_content_not_cached \
    -from_object_id from_object_id -to_content_type to_content_type \
    [ -relation_tag relation_tag ]

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

Gets the content of the linked object.

Switches:
-from_object_id (required)
Object ID of linked-from object.
-to_content_type (required)
Content type of linked-to object.
-relation_tag (optional)
Returns:
item_id for the content item.

Partial Call Graph (max 5 caller/called nodes):
%3 application_data_link::get_linked_content application_data_link::get_linked_content (public) application_data_link::get_linked_content_not_cached application_data_link::get_linked_content_not_cached application_data_link::get_linked_content->application_data_link::get_linked_content_not_cached db_list db_list (public) application_data_link::get_linked_content_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_content_not_cached.linked_object">
    <querytext>
	select i.item_id
	from cr_items i
	where i.content_type = :to_content_type
	and i.item_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 i.item_id
    </querytext>
</fullquery>
packages/acs-tcl/tcl/application-data-link-procs.xql

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