cr_set_imported_content_live (public)

 cr_set_imported_content_live [ -image_sql image_sql ] \
    [ -other_sql other_sql ] mime_type revision_id

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

Switches:
-image_sql
(optional)
Optional SQL to extend the base image type
-other_sql
(optional)
Optional SQL to extend the base content revision type
Parameters:
mime_type - Mime type of the new revision
revision_id - The revision we're setting live If provided execute the appropriate SQL in the caller's context, then set the given revision live. The idea is to give the caller a clean way of setting the additional information needed for its private type. This is a hack. Executing this SQL can't be done within cr_import_content because the caller can't see the new revision's key...

Partial Call Graph (max 5 caller/called nodes):
%3 cr_registered_type_for_mime_type cr_registered_type_for_mime_type (private) db_exec_plsql db_exec_plsql (public) cr_set_imported_content_live cr_set_imported_content_live cr_set_imported_content_live->cr_registered_type_for_mime_type cr_set_imported_content_live->db_exec_plsql

Testcases:
No testcase defined.
[ show source ]
Show another procedure: