application_link::get_linked (public)
application_link::get_linked -from_package_id from_package_id \ -to_package_key to_package_key
Defined in packages/acs-tcl/tcl/application-link-procs.tcl
Gets the ID for the application linked to from_package_id and matches the to_package_key.
- Switches:
- -from_package_id (required)
- Object ID of linked-from application.
- -to_package_key (required)
- Package key of linked-to application.
- Returns:
- package_id of linked package.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: return [db_list linked_package {}]Generic XQL file: <fullquery name="application_link::get_linked.linked_package"> <querytext> select p.package_id from acs_rels r, apm_packages p where r.object_id_one = :from_package_id and r.object_id_two = p.package_id and p.package_key = :to_package_key and r.rel_type = 'application_link' </querytext> </fullquery>packages/acs-tcl/tcl/application-link-procs.xql
PostgreSQL XQL file: packages/acs-tcl/tcl/application-link-procs-postgresql.xql
Oracle XQL file: packages/acs-tcl/tcl/application-link-procs-oracle.xql