application_data_link::delete_from_list (public)

 application_data_link::delete_from_list [ -object_id object_id ] \
    [ -link_object_id_list link_object_id_list ] \
    [ -relation_tag relation_tag ]

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

Delete references

Switches:
-object_id (optional)
Object to delete links from
-link_object_id_list (optional)
List of linked object_ids to delete
-relation_tag (optional)
Relationship identifier
Author:
Dave Bauer <dave@solutiongrove.com>
Created:
2006-08-31

Partial Call Graph (max 5 caller/called nodes):
%3 application_data_link::update_links_from application_data_link::update_links_from (public) application_data_link::delete_from_list application_data_link::delete_from_list application_data_link::update_links_from->application_data_link::delete_from_list db_dml db_dml (public) application_data_link::delete_from_list->db_dml

Testcases:
No testcase defined.
Source code:
    if {[llength $link_object_id_list]} {
        db_dml delete_links ""
    }
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
<fullquery name="application_data_link::delete_from_list.delete_links">
    <querytext>
  	delete from acs_data_links where object_id_one=:object_id
        and object_id_two in 
          ([ns_dbquotelist $link_object_id_list])
        [application_data_link::relation_tag_where_clause -relation_tag $relation_tag]
    </querytext>
</fullquery>
packages/acs-tcl/tcl/application-data-link-procs.xql

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