auth::sync::GetDocument (private)

 auth::sync::GetDocument -authority_id authority_id

Defined in packages/acs-authentication/tcl/sync-procs.tcl

Wrapper for the GetDocument operation of the auth_sync_retrieve service contract.

Switches:
-authority_id (required)

Partial Call Graph (max 5 caller/called nodes):
%3 auth::authority::batch_sync auth::authority::batch_sync (public) auth::sync::GetDocument auth::sync::GetDocument auth::authority::batch_sync->auth::sync::GetDocument acs_sc::invoke acs_sc::invoke (public) auth::sync::GetDocument->acs_sc::invoke auth::authority::get_element auth::authority::get_element (public) auth::sync::GetDocument->auth::authority::get_element auth::driver::get_parameter_values auth::driver::get_parameter_values (public) auth::sync::GetDocument->auth::driver::get_parameter_values

Testcases:
No testcase defined.
Source code:
    set impl_id [auth::authority::get_element -authority_id $authority_id -element "get_doc_impl_id"]

    if { $impl_id eq "" } {
        # No implementation of GetDocument
        set authority_pretty_name [auth::authority::get_element -authority_id $authority_id -element "pretty_name"]
        error "The authority '$authority_pretty_name' doesn't support GetDocument"
    }

    set parameters [auth::driver::get_parameter_values  -authority_id $authority_id  -impl_id $impl_id]

    return [acs_sc::invoke  -error  -contract "auth_sync_retrieve"  -impl_id $impl_id  -operation GetDocument  -call_args [list $parameters]]
Generic XQL file:
packages/acs-authentication/tcl/sync-procs.xql

PostgreSQL XQL file:
packages/acs-authentication/tcl/sync-procs-postgresql.xql

Oracle XQL file:
packages/acs-authentication/tcl/sync-procs-oracle.xql

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