site_node::unmount (public)
site_node::unmount -node_id node_id
Defined in packages/acs-tcl/tcl/site-nodes-procs.tcl
unmount an object from the site node
- Switches:
- -node_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- site_node_update_cache, xowiki_test_cases, slot_interactions, path_resolve
Source code: set package_id [get_object_id -node_id $node_id] set package_key [apm_package_key_from_id $package_id] if {[nsv_exists apm_package_inherit_order $package_key]} { foreach inherited_package_key [nsv_get apm_package_inherit_order $package_key] { apm_invoke_callback_proc -package_key $inherited_package_key -type before-unmount -arg_list [list package_id $package_id node_id $node_id] } } set url [site_node::get_url -node_id $node_id] db_dml unmount_object {} db_dml update_object_package_id {} update_cache -node_id $node_id -url $url -object_id $package_idGeneric XQL file: <fullquery name="site_node::unmount.unmount_object"> <querytext> update site_nodes set object_id = null where node_id = :node_id </querytext> </fullquery> <fullquery name="site_node::unmount.update_object_package_id"> <querytext> update acs_objects set package_id = null where object_id = :node_id </querytext> </fullquery>packages/acs-tcl/tcl/site-nodes-procs.xql
PostgreSQL XQL file: packages/acs-tcl/tcl/site-nodes-procs-postgresql.xql
Oracle XQL file: packages/acs-tcl/tcl/site-nodes-procs-oracle.xql