auth::sync::ProcessDocument (private)

 auth::sync::ProcessDocument -authority_id authority_id -job_id job_id \
    -document document

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

Wrapper for the ProcessDocument operation of the auth_sync_process service contract.

Switches:
-authority_id
(required)
-job_id
(required)
-document
(required)

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

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

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

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

    return [acs_sc::invoke  -error  -contract "auth_sync_process"  -impl_id $impl_id  -operation ProcessDocument  -call_args [list $job_id $document $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: