fs::rename_folder (public)

 fs::rename_folder -folder_id folder_id -name name [ -no_callback ]

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

rename the given folder

Switches:
-folder_id (required)
-name (required)
-no_callback (optional, boolean)

Partial Call Graph (max 5 caller/called nodes):
%3 test_fs_create_folder_using_api fs_create_folder_using_api (test file-storage) fs::rename_folder fs::rename_folder test_fs_create_folder_using_api->fs::rename_folder ad_conn ad_conn (public) fs::rename_folder->ad_conn callback callback (public) fs::rename_folder->callback db_exec_plsql db_exec_plsql (public) fs::rename_folder->db_exec_plsql packages/file-storage/www/folder-create.tcl packages/file-storage/ www/folder-create.tcl packages/file-storage/www/folder-create.tcl->fs::rename_folder

Testcases:
fs_create_folder_using_api
Source code:
    db_exec_plsql rename_folder {}
    if {!$no_callback_p} {
        callback fs::folder_edit  -package_id [ad_conn package_id]  -folder_id $folder_id
    }
Generic XQL file:
packages/file-storage/tcl/file-storage-procs.xql

PostgreSQL XQL file:
<fullquery name="fs::rename_folder.rename_folder">
    <querytext>
            select content_folder__edit_name(
                :folder_id,
                null,
                :name,
                null
            );
        </querytext>
</fullquery>
packages/file-storage/tcl/file-storage-procs-postgresql.xql

Oracle XQL file:
<fullquery name="fs::rename_folder.rename_folder">
    <querytext>
            begin
                content_folder.edit_name(
                    folder_id => :folder_id,
                    label => :name
                );
            end;
        </querytext>
</fullquery>
packages/file-storage/tcl/file-storage-procs-oracle.xql

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