content::type::delete (public)

 content::type::delete -content_type content_type \
    [ -drop_children_p drop_children_p ] \
    [ -drop_table_p drop_table_p ] [ -drop_objects_p drop_objects_p ]

Defined in packages/acs-content-repository/tcl/content-type-procs.tcl

Switches:
-content_type (required)
-drop_children_p (optional)
-drop_table_p (optional)
-drop_objects_p (optional, defaults to "f")
Drop the objects of this content type along with all entries in cr_items and cr_revisions. Will not be done by default.

Partial Call Graph (max 5 caller/called nodes):
%3 test_content_item content_item (test acs-content-repository) content::type::delete content::type::delete test_content_item->content::type::delete package_exec_plsql package_exec_plsql (public) content::type::delete->package_exec_plsql

Testcases:
content_item
Source code:
    if {$drop_objects_p == "f"} {
    return [package_exec_plsql -var_list [list  [list content_type $content_type ]  [list drop_children_p $drop_children_p ]  [list drop_table_p $drop_table_p ]  ] content_type drop_type]
    } else {
    return [package_exec_plsql -var_list [list  [list content_type $content_type ]  [list drop_children_p $drop_children_p ]  [list drop_table_p $drop_table_p ]  [list drop_objects_p $drop_objects_p ]  ] content_type drop_type]
    }
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-content-repository/tcl/content-type-procs.xql

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