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):
- 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