content::type::rotate_template (public)

 content::type::rotate_template -template_id template_id \
    -content_type content_type [ -use_context use_context ]

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

Force all items of content_type to use a new template. This will also cause items of this content type with no template assigned to use the new template. Finally, sets new template as default for this type. (IS THIS RIGHT ???? ----------------- ??????? )

Switches:
-template_id (required)
-content_type (required)
-use_context (optional, defaults to "public")

Partial Call Graph (max 5 caller/called nodes):
%3 package_exec_plsql package_exec_plsql (public) content::type::rotate_template content::type::rotate_template content::type::rotate_template->package_exec_plsql

Testcases:
No testcase defined.
Source code:
    return [package_exec_plsql -var_list [list  [list template_id $template_id ]  [list content_type $v_content_type ]  [list use_context $use_context ]  ] content_type rotate_template]
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: