content::item::set_live_revision (public)

 content::item::set_live_revision -revision_id revision_id \
    [ -publish_status publish_status ]

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

Switches:
-revision_id (required)
-publish_status (optional, defaults to "ready")

Partial Call Graph (max 5 caller/called nodes):
%3 test_cr_item_search_triggers cr_item_search_triggers (test acs-content-repository) content::item::set_live_revision content::item::set_live_revision test_cr_item_search_triggers->content::item::set_live_revision package_exec_plsql package_exec_plsql (public) content::item::set_live_revision->package_exec_plsql content::item::publish content::item::publish (public) content::item::publish->content::item::set_live_revision content::item::upload_file content::item::upload_file (public) content::item::upload_file->content::item::set_live_revision content::revision::new content::revision::new (public) content::revision::new->content::item::set_live_revision fs::add_version fs::add_version (public) fs::add_version->content::item::set_live_revision fs::file_copy fs::file_copy (public) fs::file_copy->content::item::set_live_revision

Testcases:
cr_item_search_triggers
Source code:
    return [package_exec_plsql -var_list [list  [list revision_id $revision_id ]  [list publish_status $publish_status ]  ] content_item set_live_revision]
Generic XQL file:
packages/acs-content-repository/tcl/content-item-procs.xql

PostgreSQL XQL file:
packages/acs-content-repository/tcl/content-item-procs-postgresql.xql

Oracle XQL file:
packages/acs-content-repository/tcl/content-item-procs-oracle.xql

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