callback::datamanager::copy_folder::impl::datamanager (private)

 callback::datamanager::copy_folder::impl::datamanager \
    -object_id object_id -selected_community selected_community \
    [ -mode mode ]

Defined in packages/file-storage/tcl/file-storage-callback-procs.tcl

Copy a folder to another class or community

Switches:
-object_id (required)
-selected_community (required)
-mode (optional, defaults to "both")
See Also:
  • callback::datamanager::copy_folder::contract

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
Source code:
    ::callback::datamanager::copy_folder::contract__arg_parser {*}$args

    #get the destiny's root folder
    set parent_id [dotlrn_fs::get_community_root_folder -community_id $selected_community]
    set new_folder_id [fs_folder_copy -old_folder_id $object_id -new_parent_id $parent_id -mode $mode]

    return $new_folder_id
XQL Not present:
Generic
PostgreSQL XQL file:
packages/file-storage/tcl/file-storage-callback-procs-postgresql.xql

Oracle XQL file:
packages/file-storage/tcl/file-storage-callback-procs-oracle.xql

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