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 (required)
- Mime type of the new revision
- revision_id (required)
- 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):
- Testcases:
- No testcase defined.