fs_folder_p (public)
fs_folder_p folder_id
Defined in packages/file-storage/tcl/file-storage-procs.tcl
Returns 1 if the folder_id corresponds to a folder in the file-storage system. Returns 0 otherwise.
- Parameters:
- folder_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- fs_add_delete_copy
Source code: return [db_0or1row is_folder { select 1 from acs_objects where object_id = :folder_id and object_type = 'content_folder'}]Generic XQL file: <fullquery name="fs_folder_p.object_type"> <querytext> select object_type from acs_objects where object_id = :folder_id </querytext> </fullquery>packages/file-storage/tcl/file-storage-procs.xql
PostgreSQL XQL file: packages/file-storage/tcl/file-storage-procs-postgresql.xql
Oracle XQL file: packages/file-storage/tcl/file-storage-procs-oracle.xql