fs::get_root_folder (public)
fs::get_root_folder [ -package_id package_id ]
Defined in packages/file-storage/tcl/file-storage-procs.tcl
Get the root folder of a package instance.
- Switches:
- -package_id (optional)
- Package instance of the root folder to retrieve
- Returns:
- folder_id of the root folder retrieved
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- fs_create_folder_using_api, fs_add_file_to_folder
Source code: if {$package_id eq ""} { set package_id [ad_conn package_id] } return [db_exec_plsql get_root_folder {}]Generic XQL file: packages/file-storage/tcl/file-storage-procs.xql
PostgreSQL XQL file: <fullquery name="fs::get_root_folder.get_root_folder"> <querytext> select file_storage__get_root_folder(:package_id); </querytext> </fullquery>packages/file-storage/tcl/file-storage-procs-postgresql.xql
Oracle XQL file: <fullquery name="fs::get_root_folder.get_root_folder"> <querytext> begin :1 := file_storage.get_root_folder( package_id => :package_id ); end; </querytext> </fullquery>packages/file-storage/tcl/file-storage-procs-oracle.xql