oacs_dav::request_folder_id (public)

 oacs_dav::request_folder_id node_id

Defined in packages/oacs-dav/tcl/oacs-dav-procs.tcl

resolves a node_id to a DAV enabled folder_id

Parameters:
node_id (required)
site node_id of request
Returns:
folder_id, or empty string if no folder exists in dav_package_folder_map for this node_id

Partial Call Graph (max 5 caller/called nodes):
%3 oacs_dav::conn_setup oacs_dav::conn_setup (public) oacs_dav::request_folder_id oacs_dav::request_folder_id oacs_dav::conn_setup->oacs_dav::request_folder_id oacs_dav::item_parent_folder_id oacs_dav::item_parent_folder_id (public) oacs_dav::item_parent_folder_id->oacs_dav::request_folder_id db_string db_string (public) oacs_dav::request_folder_id->db_string

Testcases:
No testcase defined.
Source code:
    return [db_string get_folder_id "" -default ""]
Generic XQL file:
<fullquery name="oacs_dav::request_folder_id.get_folder_id">
    <querytext>
      select folder_id from dav_site_node_folder_map
      where node_id=:node_id and enabled_p = 't'
    </querytext>
</fullquery>
packages/oacs-dav/tcl/oacs-dav-procs.xql

PostgreSQL XQL file:
packages/oacs-dav/tcl/oacs-dav-procs-postgresql.xql

Oracle XQL file:
packages/oacs-dav/tcl/oacs-dav-procs-oracle.xql

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