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):
- 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