oacs-dav-procs.tcl

Support for tDAV Tcl webDAV implementation

Location:
packages/oacs-dav/tcl/oacs-dav-procs.tcl
Created:
2003-09-11
Author:
Dave Bauer <dave@thedesignexperience.org>
CVS Identification:
$Id: oacs-dav-procs.tcl,v 1.24.2.10 2023/07/10 09:41:44 gustafn Exp $

Procedures in this file

Detailed information

oacs_dav::authorize (public)

 oacs_dav::authorize [ args... ]

check is user_id has permission to perform the WebDAV method on the URI

Partial Call Graph (max 5 caller/called nodes):
%3 oacs_dav::conn oacs_dav::conn (public) oacs_dav::conn_setup oacs_dav::conn_setup (public) permission::permission_p permission::permission_p (public) security::RestrictLoginToSSLP security::RestrictLoginToSSLP (public) security::secure_conn_p security::secure_conn_p (public) oacs_dav::authorize oacs_dav::authorize oacs_dav::authorize->oacs_dav::conn oacs_dav::authorize->oacs_dav::conn_setup oacs_dav::authorize->permission::permission_p oacs_dav::authorize->security::RestrictLoginToSSLP oacs_dav::authorize->security::secure_conn_p

Testcases:
No testcase defined.

oacs_dav::children_have_permission_p (public)

 oacs_dav::children_have_permission_p [ -user_id user_id ] \
    [ -item_id item_id ] [ -privilege privilege ]

Check permission on child items of item_id for user_id with privilege

Switches:
-user_id (optional)
-item_id (optional)
-privilege (optional)
Returns:
returns 0 if user does not have privilege over all children otherwise return 1

Partial Call Graph (max 5 caller/called nodes):
%3 test_oacs_dav_children_have_permission_p oacs_dav_children_have_permission_p (test oacs-dav) oacs_dav::children_have_permission_p oacs_dav::children_have_permission_p test_oacs_dav_children_have_permission_p->oacs_dav::children_have_permission_p db_string db_string (public) oacs_dav::children_have_permission_p->db_string oacs_dav::impl::content_folder::copy oacs_dav::impl::content_folder::copy (private) oacs_dav::impl::content_folder::copy->oacs_dav::children_have_permission_p oacs_dav::impl::content_folder::delete oacs_dav::impl::content_folder::delete (private) oacs_dav::impl::content_folder::delete->oacs_dav::children_have_permission_p oacs_dav::impl::content_folder::move oacs_dav::impl::content_folder::move (private) oacs_dav::impl::content_folder::move->oacs_dav::children_have_permission_p

Testcases:
oacs_dav_children_have_permission_p

oacs_dav::conn (public)

 oacs_dav::conn [ args... ]

shared data for WebDAV requests

Partial Call Graph (max 5 caller/called nodes):
%3 test_oacs_dav_mkcol oacs_dav_mkcol (test oacs-dav) oacs_dav::conn oacs_dav::conn test_oacs_dav_mkcol->oacs_dav::conn test_oacs_dav_put oacs_dav_put (test oacs-dav) test_oacs_dav_put->oacs_dav::conn ad_conn ad_conn (public) oacs_dav::conn->ad_conn fs::impl::fs_object::mkcol fs::impl::fs_object::mkcol (private) fs::impl::fs_object::mkcol->oacs_dav::conn fs::impl::fs_object::put fs::impl::fs_object::put (private) fs::impl::fs_object::put->oacs_dav::conn oacs_dav::authorize oacs_dav::authorize (public) oacs_dav::authorize->oacs_dav::conn oacs_dav::conn_setup oacs_dav::conn_setup (public) oacs_dav::conn_setup->oacs_dav::conn oacs_dav::handle_request oacs_dav::handle_request (public) oacs_dav::handle_request->oacs_dav::conn

Testcases:
oacs_dav_put, oacs_dav_mkcol

oacs_dav::conn_setup (public)

 oacs_dav::conn_setup

Setup oacs_dav::conn, authenticate user

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

Testcases:
No testcase defined.

oacs_dav::folder_enabled (public)

 oacs_dav::folder_enabled [ -folder_id folder_id ]
Switches:
-folder_id (optional)
Returns:
t if folder is webdav enabled, f if not

Partial Call Graph (max 5 caller/called nodes):
%3 fs::webdav_url fs::webdav_url (public) oacs_dav::folder_enabled oacs_dav::folder_enabled fs::webdav_url->oacs_dav::folder_enabled db_string db_string (public) oacs_dav::folder_enabled->db_string

Testcases:
No testcase defined.

oacs_dav::handle_request (public)

 oacs_dav::handle_request [ args... ]

dispatch request to the proper service contract implementation

Partial Call Graph (max 5 caller/called nodes):
%3 acs_sc::invoke acs_sc::invoke (public) acs_sc_binding_exists_p acs_sc_binding_exists_p (public) apm_package_key_from_id apm_package_key_from_id (public) content::item::get_content_type content::item::get_content_type (public) db_string db_string (public) oacs_dav::handle_request oacs_dav::handle_request oacs_dav::handle_request->acs_sc::invoke oacs_dav::handle_request->acs_sc_binding_exists_p oacs_dav::handle_request->apm_package_key_from_id oacs_dav::handle_request->content::item::get_content_type oacs_dav::handle_request->db_string

Testcases:
No testcase defined.

oacs_dav::impl::content_folder::copy (private)

 oacs_dav::impl::content_folder::copy

COPY DAV method for generic content folder

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.dav.copy.content_folder AcsSc.dav.copy.content_folder (private) oacs_dav::impl::content_folder::copy oacs_dav::impl::content_folder::copy AcsSc.dav.copy.content_folder->oacs_dav::impl::content_folder::copy db_dml db_dml (public) oacs_dav::impl::content_folder::copy->db_dml db_exec_plsql db_exec_plsql (public) oacs_dav::impl::content_folder::copy->db_exec_plsql db_string db_string (public) oacs_dav::impl::content_folder::copy->db_string db_transaction db_transaction (public) oacs_dav::impl::content_folder::copy->db_transaction oacs_dav::children_have_permission_p oacs_dav::children_have_permission_p (public) oacs_dav::impl::content_folder::copy->oacs_dav::children_have_permission_p

Testcases:
No testcase defined.

oacs_dav::impl::content_folder::delete (private)

 oacs_dav::impl::content_folder::delete

DELETE DAV method for generic content folder

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.dav.delete.content_folder AcsSc.dav.delete.content_folder (private) oacs_dav::impl::content_folder::delete oacs_dav::impl::content_folder::delete AcsSc.dav.delete.content_folder->oacs_dav::impl::content_folder::delete db_exec_plsql db_exec_plsql (public) oacs_dav::impl::content_folder::delete->db_exec_plsql oacs_dav::children_have_permission_p oacs_dav::children_have_permission_p (public) oacs_dav::impl::content_folder::delete->oacs_dav::children_have_permission_p oacs_dav::conn oacs_dav::conn (public) oacs_dav::impl::content_folder::delete->oacs_dav::conn tdav::check_lock tdav::check_lock oacs_dav::impl::content_folder::delete->tdav::check_lock tdav::delete_props tdav::delete_props oacs_dav::impl::content_folder::delete->tdav::delete_props

Testcases:
No testcase defined.

oacs_dav::impl::content_folder::get (private)

 oacs_dav::impl::content_folder::get

GET DAV method for content folders can't get a folder

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.dav.get.content_folder AcsSc.dav.get.content_folder (private) oacs_dav::impl::content_folder::get oacs_dav::impl::content_folder::get AcsSc.dav.get.content_folder->oacs_dav::impl::content_folder::get

Testcases:
No testcase defined.

oacs_dav::impl::content_folder::head (public)

 oacs_dav::impl::content_folder::head

HEAD DAV method for content folders can't get a folder

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.

oacs_dav::impl::content_folder::lock (private)

 oacs_dav::impl::content_folder::lock

LOCK DAV method for generic content folder

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.dav.lock.content_folder AcsSc.dav.lock.content_folder (private) oacs_dav::impl::content_folder::lock oacs_dav::impl::content_folder::lock AcsSc.dav.lock.content_folder->oacs_dav::impl::content_folder::lock oacs_dav::conn oacs_dav::conn (public) oacs_dav::impl::content_folder::lock->oacs_dav::conn parameter::get_from_package_key parameter::get_from_package_key (public) oacs_dav::impl::content_folder::lock->parameter::get_from_package_key tdav::check_lock tdav::check_lock oacs_dav::impl::content_folder::lock->tdav::check_lock tdav::conn tdav::conn oacs_dav::impl::content_folder::lock->tdav::conn tdav::set_lock tdav::set_lock oacs_dav::impl::content_folder::lock->tdav::set_lock

Testcases:
No testcase defined.

oacs_dav::impl::content_folder::mkcol (private)

 oacs_dav::impl::content_folder::mkcol

MKCOL DAV method for generic content folder

Author:
Dave Bauer

Partial Call Graph (max 5 caller/called nodes):
%3 test_oacs_dav_mkcol oacs_dav_mkcol (test oacs-dav) oacs_dav::impl::content_folder::mkcol oacs_dav::impl::content_folder::mkcol test_oacs_dav_mkcol->oacs_dav::impl::content_folder::mkcol db_exec_plsql db_exec_plsql (public) oacs_dav::impl::content_folder::mkcol->db_exec_plsql db_transaction db_transaction (public) oacs_dav::impl::content_folder::mkcol->db_transaction oacs_dav::conn oacs_dav::conn (public) oacs_dav::impl::content_folder::mkcol->oacs_dav::conn oacs_dav::item_parent_folder_id oacs_dav::item_parent_folder_id (public) oacs_dav::impl::content_folder::mkcol->oacs_dav::item_parent_folder_id AcsSc.dav.mkcol.content_folder AcsSc.dav.mkcol.content_folder (private) AcsSc.dav.mkcol.content_folder->oacs_dav::impl::content_folder::mkcol

Testcases:
oacs_dav_mkcol

oacs_dav::impl::content_folder::move (private)

 oacs_dav::impl::content_folder::move

MOVE DAV method for generic content folder

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.dav.move.content_folder AcsSc.dav.move.content_folder (private) oacs_dav::impl::content_folder::move oacs_dav::impl::content_folder::move AcsSc.dav.move.content_folder->oacs_dav::impl::content_folder::move db_dml db_dml (public) oacs_dav::impl::content_folder::move->db_dml db_exec_plsql db_exec_plsql (public) oacs_dav::impl::content_folder::move->db_exec_plsql db_string db_string (public) oacs_dav::impl::content_folder::move->db_string db_transaction db_transaction (public) oacs_dav::impl::content_folder::move->db_transaction oacs_dav::children_have_permission_p oacs_dav::children_have_permission_p (public) oacs_dav::impl::content_folder::move->oacs_dav::children_have_permission_p

Testcases:
No testcase defined.

oacs_dav::impl::content_folder::propfind (private)

 oacs_dav::impl::content_folder::propfind

PROPFIND DAV method for generic content folder

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.dav.propfind.content_folder AcsSc.dav.propfind.content_folder (private) oacs_dav::impl::content_folder::propfind oacs_dav::impl::content_folder::propfind AcsSc.dav.propfind.content_folder->oacs_dav::impl::content_folder::propfind ad_conn ad_conn (public) oacs_dav::impl::content_folder::propfind->ad_conn db_foreach db_foreach (public) oacs_dav::impl::content_folder::propfind->db_foreach oacs_dav::conn oacs_dav::conn (public) oacs_dav::impl::content_folder::propfind->oacs_dav::conn tdav::get_user_props tdav::get_user_props oacs_dav::impl::content_folder::propfind->tdav::get_user_props

Testcases:
No testcase defined.

oacs_dav::impl::content_folder::proppatch (private)

 oacs_dav::impl::content_folder::proppatch

PROPPATCH DAV method for generic content folder user-properties are stored in the filesystem by tDAV this doesn't do anything until tDAV allows storage of user properties in the database

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.dav.proppatch.content_folder AcsSc.dav.proppatch.content_folder (private) oacs_dav::impl::content_folder::proppatch oacs_dav::impl::content_folder::proppatch AcsSc.dav.proppatch.content_folder->oacs_dav::impl::content_folder::proppatch oacs_dav::conn oacs_dav::conn (public) oacs_dav::impl::content_folder::proppatch->oacs_dav::conn tdav::check_lock tdav::check_lock oacs_dav::impl::content_folder::proppatch->tdav::check_lock tdav::update_user_props tdav::update_user_props oacs_dav::impl::content_folder::proppatch->tdav::update_user_props

Testcases:
No testcase defined.

oacs_dav::impl::content_folder::put (private)

 oacs_dav::impl::content_folder::put

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.dav.put.content_folder AcsSc.dav.put.content_folder (private) oacs_dav::impl::content_folder::put oacs_dav::impl::content_folder::put AcsSc.dav.put.content_folder->oacs_dav::impl::content_folder::put

Testcases:
No testcase defined.

oacs_dav::impl::content_folder::unlock (private)

 oacs_dav::impl::content_folder::unlock

UNLOCK DAV method for generic content folder

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.dav.unlock.content_folder AcsSc.dav.unlock.content_folder (private) oacs_dav::impl::content_folder::unlock oacs_dav::impl::content_folder::unlock AcsSc.dav.unlock.content_folder->oacs_dav::impl::content_folder::unlock oacs_dav::conn oacs_dav::conn (public) oacs_dav::impl::content_folder::unlock->oacs_dav::conn tdav::check_lock_for_unlock tdav::check_lock_for_unlock oacs_dav::impl::content_folder::unlock->tdav::check_lock_for_unlock tdav::remove_lock tdav::remove_lock oacs_dav::impl::content_folder::unlock->tdav::remove_lock

Testcases:
No testcase defined.

oacs_dav::impl::content_revision::copy (private)

 oacs_dav::impl::content_revision::copy

COPY DAV method for generic content revision

Author:
Dave Bauer

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.dav.copy.content_revision AcsSc.dav.copy.content_revision (private) oacs_dav::impl::content_revision::copy oacs_dav::impl::content_revision::copy AcsSc.dav.copy.content_revision->oacs_dav::impl::content_revision::copy db_dml db_dml (public) oacs_dav::impl::content_revision::copy->db_dml db_exec_plsql db_exec_plsql (public) oacs_dav::impl::content_revision::copy->db_exec_plsql db_string db_string (public) oacs_dav::impl::content_revision::copy->db_string db_transaction db_transaction (public) oacs_dav::impl::content_revision::copy->db_transaction oacs_dav::conn oacs_dav::conn (public) oacs_dav::impl::content_revision::copy->oacs_dav::conn

Testcases:
No testcase defined.

oacs_dav::impl::content_revision::delete (private)

 oacs_dav::impl::content_revision::delete

DELETE DAV method for generic content revision

Author:
Dave Bauer

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.dav.delete.content_revision AcsSc.dav.delete.content_revision (private) oacs_dav::impl::content_revision::delete oacs_dav::impl::content_revision::delete AcsSc.dav.delete.content_revision->oacs_dav::impl::content_revision::delete db_exec_plsql db_exec_plsql (public) oacs_dav::impl::content_revision::delete->db_exec_plsql oacs_dav::conn oacs_dav::conn (public) oacs_dav::impl::content_revision::delete->oacs_dav::conn tdav::check_lock tdav::check_lock oacs_dav::impl::content_revision::delete->tdav::check_lock tdav::delete_props tdav::delete_props oacs_dav::impl::content_revision::delete->tdav::delete_props tdav::remove_lock tdav::remove_lock oacs_dav::impl::content_revision::delete->tdav::remove_lock

Testcases:
No testcase defined.

oacs_dav::impl::content_revision::get (private)

 oacs_dav::impl::content_revision::get

GET DAV method for generic content revision

Author:
Dave Bauer

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.dav.get.content_revision AcsSc.dav.get.content_revision (private) oacs_dav::impl::content_revision::get oacs_dav::impl::content_revision::get AcsSc.dav.get.content_revision->oacs_dav::impl::content_revision::get cr_write_content cr_write_content (public) oacs_dav::impl::content_revision::get->cr_write_content oacs_dav::conn oacs_dav::conn (public) oacs_dav::impl::content_revision::get->oacs_dav::conn

Testcases:
No testcase defined.

oacs_dav::impl::content_revision::head (private)

 oacs_dav::impl::content_revision::head

GET DAV method for generic content revision

Author:
Dave Bauer

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.dav.head.content_folder AcsSc.dav.head.content_folder (private) oacs_dav::impl::content_revision::head oacs_dav::impl::content_revision::head AcsSc.dav.head.content_folder->oacs_dav::impl::content_revision::head AcsSc.dav.head.content_revision AcsSc.dav.head.content_revision (private) AcsSc.dav.head.content_revision->oacs_dav::impl::content_revision::head cr_write_content cr_write_content (public) oacs_dav::impl::content_revision::head->cr_write_content oacs_dav::conn oacs_dav::conn (public) oacs_dav::impl::content_revision::head->oacs_dav::conn

Testcases:
No testcase defined.

oacs_dav::impl::content_revision::lock (private)

 oacs_dav::impl::content_revision::lock

LOCK DAV method for generic content revision

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.dav.lock.content_revision AcsSc.dav.lock.content_revision (private) oacs_dav::impl::content_revision::lock oacs_dav::impl::content_revision::lock AcsSc.dav.lock.content_revision->oacs_dav::impl::content_revision::lock oacs_dav::conn oacs_dav::conn (public) oacs_dav::impl::content_revision::lock->oacs_dav::conn tdav::check_lock tdav::check_lock oacs_dav::impl::content_revision::lock->tdav::check_lock tdav::conn tdav::conn oacs_dav::impl::content_revision::lock->tdav::conn tdav::set_lock tdav::set_lock oacs_dav::impl::content_revision::lock->tdav::set_lock

Testcases:
No testcase defined.

oacs_dav::impl::content_revision::mkcol (private)

 oacs_dav::impl::content_revision::mkcol

MKCOL DAV method for generic content revision

Author:
Dave Bauer

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.dav.mkcol.content_revision AcsSc.dav.mkcol.content_revision (private) oacs_dav::impl::content_revision::mkcol oacs_dav::impl::content_revision::mkcol AcsSc.dav.mkcol.content_revision->oacs_dav::impl::content_revision::mkcol

Testcases:
No testcase defined.

oacs_dav::impl::content_revision::move (private)

 oacs_dav::impl::content_revision::move

MOVE DAV method for generic content revision

Author:
Dave Bauer

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.dav.move.content_revision AcsSc.dav.move.content_revision (private) oacs_dav::impl::content_revision::move oacs_dav::impl::content_revision::move AcsSc.dav.move.content_revision->oacs_dav::impl::content_revision::move db_dml db_dml (public) oacs_dav::impl::content_revision::move->db_dml db_exec_plsql db_exec_plsql (public) oacs_dav::impl::content_revision::move->db_exec_plsql db_string db_string (public) oacs_dav::impl::content_revision::move->db_string db_transaction db_transaction (public) oacs_dav::impl::content_revision::move->db_transaction oacs_dav::conn oacs_dav::conn (public) oacs_dav::impl::content_revision::move->oacs_dav::conn

Testcases:
No testcase defined.

oacs_dav::impl::content_revision::propfind (private)

 oacs_dav::impl::content_revision::propfind

PROPFIND DAV method for generic content revision

Author:
Dave Bauer

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.dav.propfind.content_revision AcsSc.dav.propfind.content_revision (private) oacs_dav::impl::content_revision::propfind oacs_dav::impl::content_revision::propfind AcsSc.dav.propfind.content_revision->oacs_dav::impl::content_revision::propfind db_1row db_1row (public) oacs_dav::impl::content_revision::propfind->db_1row oacs_dav::conn oacs_dav::conn (public) oacs_dav::impl::content_revision::propfind->oacs_dav::conn tdav::get_user_props tdav::get_user_props oacs_dav::impl::content_revision::propfind->tdav::get_user_props

Testcases:
No testcase defined.

oacs_dav::impl::content_revision::proppatch (private)

 oacs_dav::impl::content_revision::proppatch

PROPPATCH DAV method for generic content revision We store all user properties in the filesystem using tDAV for now So this is just a stub until we can get everything stored in the database.

Author:
Dave Bauer

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.dav.proppatch.content_revision AcsSc.dav.proppatch.content_revision (private) oacs_dav::impl::content_revision::proppatch oacs_dav::impl::content_revision::proppatch AcsSc.dav.proppatch.content_revision->oacs_dav::impl::content_revision::proppatch oacs_dav::conn oacs_dav::conn (public) oacs_dav::impl::content_revision::proppatch->oacs_dav::conn tdav::check_lock tdav::check_lock oacs_dav::impl::content_revision::proppatch->tdav::check_lock tdav::update_user_props tdav::update_user_props oacs_dav::impl::content_revision::proppatch->tdav::update_user_props

Testcases:
No testcase defined.

oacs_dav::impl::content_revision::put (private)

 oacs_dav::impl::content_revision::put

PUT DAV method for generic content revision

Author:
Dave Bauer

Partial Call Graph (max 5 caller/called nodes):
%3 test_oacs_dav_put oacs_dav_put (test oacs-dav) oacs_dav::impl::content_revision::put oacs_dav::impl::content_revision::put test_oacs_dav_put->oacs_dav::impl::content_revision::put cr_filename_to_mime_type cr_filename_to_mime_type (public) oacs_dav::impl::content_revision::put->cr_filename_to_mime_type cr_import_content cr_import_content (public) oacs_dav::impl::content_revision::put->cr_import_content db_dml db_dml (public) oacs_dav::impl::content_revision::put->db_dml db_transaction db_transaction (public) oacs_dav::impl::content_revision::put->db_transaction oacs_dav::conn oacs_dav::conn (public) oacs_dav::impl::content_revision::put->oacs_dav::conn AcsSc.dav.put.content_revision AcsSc.dav.put.content_revision (private) AcsSc.dav.put.content_revision->oacs_dav::impl::content_revision::put

Testcases:
oacs_dav_put

oacs_dav::impl::content_revision::unlock (private)

 oacs_dav::impl::content_revision::unlock

UNLOCK DAV method for generic content revision

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.dav.unlock.content_revision AcsSc.dav.unlock.content_revision (private) oacs_dav::impl::content_revision::unlock oacs_dav::impl::content_revision::unlock AcsSc.dav.unlock.content_revision->oacs_dav::impl::content_revision::unlock oacs_dav::conn oacs_dav::conn (public) oacs_dav::impl::content_revision::unlock->oacs_dav::conn tdav::check_lock_for_unlock tdav::check_lock_for_unlock oacs_dav::impl::content_revision::unlock->tdav::check_lock_for_unlock tdav::remove_lock tdav::remove_lock oacs_dav::impl::content_revision::unlock->tdav::remove_lock

Testcases:
No testcase defined.

oacs_dav::item_parent_folder_id (public)

 oacs_dav::item_parent_folder_id uri

get the folder_id of the parent of an item from the uri

Parameters:
uri (required)
Returns:
parent_folder_id or empty string if folder does not exist

Partial Call Graph (max 5 caller/called nodes):
%3 fs::impl::fs_object::mkcol fs::impl::fs_object::mkcol (private) oacs_dav::item_parent_folder_id oacs_dav::item_parent_folder_id fs::impl::fs_object::mkcol->oacs_dav::item_parent_folder_id fs::impl::fs_object::put fs::impl::fs_object::put (private) fs::impl::fs_object::put->oacs_dav::item_parent_folder_id oacs_dav::conn_setup oacs_dav::conn_setup (public) oacs_dav::conn_setup->oacs_dav::item_parent_folder_id oacs_dav::impl::content_folder::mkcol oacs_dav::impl::content_folder::mkcol (private) oacs_dav::impl::content_folder::mkcol->oacs_dav::item_parent_folder_id oacs_dav::impl::content_folder::move oacs_dav::impl::content_folder::move (private) oacs_dav::impl::content_folder::move->oacs_dav::item_parent_folder_id db_exec_plsql db_exec_plsql (public) oacs_dav::item_parent_folder_id->db_exec_plsql oacs_dav::request_folder_id oacs_dav::request_folder_id (public) oacs_dav::item_parent_folder_id->oacs_dav::request_folder_id oacs_dav::request_site_node oacs_dav::request_site_node (public) oacs_dav::item_parent_folder_id->oacs_dav::request_site_node

Testcases:
No testcase defined.

oacs_dav::register_folder (public)

 oacs_dav::register_folder [ -enabled_p enabled_p ] folder_id node_id

add a uri to dav support

Switches:
-enabled_p (optional, defaults to "t")
Parameters:
folder_id (required)
node_id (required)
Register a root WebDAV enabled folder for a site node_id All requests that resolve to this site node id will be checked for WebDAV content using this folder as the root. Only one folder per node_id can be registered.

Partial Call Graph (max 5 caller/called nodes):
%3 test_oacs_dav_mkcol oacs_dav_mkcol (test oacs-dav) oacs_dav::register_folder oacs_dav::register_folder test_oacs_dav_mkcol->oacs_dav::register_folder test_oacs_dav_put oacs_dav_put (test oacs-dav) test_oacs_dav_put->oacs_dav::register_folder db_dml db_dml (public) oacs_dav::register_folder->db_dml db_transaction db_transaction (public) oacs_dav::register_folder->db_transaction fs::after_mount fs::after_mount (private) fs::after_mount->oacs_dav::register_folder

Testcases:
oacs_dav_put, oacs_dav_mkcol

oacs_dav::request_folder_id (public)

 oacs_dav::request_folder_id node_id

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.

oacs_dav::request_site_node (public)

 oacs_dav::request_site_node uri

resolves uri to a site node_id

Parameters:
uri (required)

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

Testcases:
No testcase defined.

oacs_dav::set_user_id (public)

 oacs_dav::set_user_id

set user_id based on authentication header

Partial Call Graph (max 5 caller/called nodes):
%3 oacs_dav::conn_setup oacs_dav::conn_setup (public) oacs_dav::set_user_id oacs_dav::set_user_id oacs_dav::conn_setup->oacs_dav::set_user_id ad_conn ad_conn (public) oacs_dav::set_user_id->ad_conn auth::authenticate auth::authenticate (public) oacs_dav::set_user_id->auth::authenticate auth::authority::get_authority_options auth::authority::get_authority_options (public) oacs_dav::set_user_id->auth::authority::get_authority_options http_auth::basic_authentication_decode http_auth::basic_authentication_decode (public) oacs_dav::set_user_id->http_auth::basic_authentication_decode

Testcases:
No testcase defined.

oacs_dav::unregister_folder (public)

 oacs_dav::unregister_folder folder_id node_id

remove a uri from dav support

Parameters:
folder_id (required)
node_id (required)

Partial Call Graph (max 5 caller/called nodes):
%3 fs::before_unmount fs::before_unmount (private) oacs_dav::unregister_folder oacs_dav::unregister_folder fs::before_unmount->oacs_dav::unregister_folder db_dml db_dml (public) oacs_dav::unregister_folder->db_dml

Testcases:
No testcase defined.

oacs_dav::uri_prefix (public)

 oacs_dav::uri_prefix
Returns:
URI prefix to use for WebDAV requests

Partial Call Graph (max 5 caller/called nodes):
%3 fs::webdav_url fs::webdav_url (public) oacs_dav::uri_prefix oacs_dav::uri_prefix fs::webdav_url->oacs_dav::uri_prefix oacs_dav::conn_setup oacs_dav::conn_setup (public) oacs_dav::conn_setup->oacs_dav::uri_prefix apm_package_id_from_key apm_package_id_from_key (public) oacs_dav::uri_prefix->apm_package_id_from_key parameter::get parameter::get (public) oacs_dav::uri_prefix->parameter::get

Testcases:
No testcase defined.
[ show source ]