content::item::move (public)

 content::item::move -item_id item_id \
    -target_folder_id target_folder_id [ -name name ]

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

Move an item to a folder.

Switches:
-item_id (required)
item to move
-target_folder_id (required)
folder to move the item to
-name (optional)
new name, allows move with rename
Author:
Dave Bauer <dave@thedesignexperience.org>
Created:
2004-05-28

Partial Call Graph (max 5 caller/called nodes):
%3 packages/file-storage/www/move.tcl packages/file-storage/ www/move.tcl content::item::move content::item::move packages/file-storage/www/move.tcl->content::item::move package_exec_plsql package_exec_plsql (public) content::item::move->package_exec_plsql

Testcases:
No testcase defined.
Source code:
    set var_list [list  [list item_id $item_id]  [list target_folder_id $target_folder_id] ]
    if {$name ne ""} {
        lappend var_list [list name $name]
    }
    return [package_exec_plsql  -var_list $var_list  content_item move]
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: