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

 oacs_dav::impl::content_revision::unlock

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

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.
Source code:
    set uri [oacs_dav::conn uri]

    if {"unlocked" ne [tdav::check_lock_for_unlock $uri] } {
        set ret_code 423
        set body "Resource is locked."
    } else {
        ns_log debug "\ntdav::check_lock_for_unlock = [tdav::check_lock_for_unlock $uri]]"
        tdav::remove_lock $uri
        set ret_code 204
        set body ""
    }

    return [list $ret_code $body]
Generic XQL file:
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: