category_tree::unmap (public)

 category_tree::unmap -tree_id tree_id -object_id object_id

Defined in packages/categories/tcl/category-trees-procs.tcl

Unmap a category tree from a package (or other object) Note: This will not delete existing categorizations of objects.

Switches:
-tree_id (required)
-object_id (required)
Options:
-tree_id
category tree to be unmapped.
-object_id
object to unmap the category tree from.
Author:
Timo Hentschel <timo@timohentschel.de>

Partial Call Graph (max 5 caller/called nodes):
%3 test_category_tree_procs category_tree_procs (test categories) category_tree::unmap category_tree::unmap test_category_tree_procs->category_tree::unmap category_tree::delete category_tree::delete (public) category_tree::unmap->category_tree::delete db_dml db_dml (public) category_tree::unmap->db_dml packages/categories/www/cadmin/tree-unmap-2.tcl packages/categories/ www/cadmin/tree-unmap-2.tcl packages/categories/www/cadmin/tree-unmap-2.tcl->category_tree::unmap

Testcases:
category_tree_procs
Source code:
        db_dml unmap_tree {
            delete from category_tree_map
             where object_id = :object_id
               and tree_id = :tree_id
        }
XQL Not present:
Generic
PostgreSQL XQL file:
packages/categories/tcl/category-trees-procs-postgresql.xql

Oracle XQL file:
packages/categories/tcl/category-trees-procs-oracle.xql

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