sync-procs.tcl

API for managing synchronization of user data.

Location:
packages/acs-authentication/tcl/sync-procs.tcl
Created:
2003-09-05
Author:
Lars Pind <lars@collaboraid.biz>
CVS Identification:
$Id: sync-procs.tcl,v 1.44.2.7 2024/08/20 08:58:02 gustafn Exp $

Procedures in this file

Detailed information

auth::sync::GetAcknowledgementDocument (private)

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

Wrapper for the GetAckDocument 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::GetAcknowledgementDocument auth::sync::GetAcknowledgementDocument auth::authority::batch_sync->auth::sync::GetAcknowledgementDocument acs_sc::invoke acs_sc::invoke (public) auth::sync::GetAcknowledgementDocument->acs_sc::invoke ad_raise ad_raise (public) auth::sync::GetAcknowledgementDocument->ad_raise auth::authority::get_element auth::authority::get_element (public) auth::sync::GetAcknowledgementDocument->auth::authority::get_element auth::driver::get_parameter_values auth::driver::get_parameter_values (public) auth::sync::GetAcknowledgementDocument->auth::driver::get_parameter_values

Testcases:
No testcase defined.

auth::sync::GetDocument (private)

 auth::sync::GetDocument -authority_id authority_id

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.

auth::sync::GetElements (private)

 auth::sync::GetElements -authority_id authority_id

Wrapper for the GetElements operation of the auth_sync_process service contract.

Switches:
-authority_id (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_sync_batch_ims_test sync_batch_ims_test (test acs-authentication) auth::sync::GetElements auth::sync::GetElements test_sync_batch_ims_test->auth::sync::GetElements acs_sc::invoke acs_sc::invoke (public) auth::sync::GetElements->acs_sc::invoke ad_raise ad_raise (public) auth::sync::GetElements->ad_raise auth::authority::get_element auth::authority::get_element (public) auth::sync::GetElements->auth::authority::get_element auth::driver::get_parameter_values auth::driver::get_parameter_values (public) auth::sync::GetElements->auth::driver::get_parameter_values auth::sync::get_sync_elements auth::sync::get_sync_elements (private) auth::sync::get_sync_elements->auth::sync::GetElements

Testcases:
sync_batch_ims_test

auth::sync::ProcessDocument (private)

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

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.

auth::sync::get_doc::file::GetDocument (private)

 auth::sync::get_doc::file::GetDocument parameters

Retrieve the document from local filesystem

Parameters:
parameters (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_sync_file_get_document sync_file_get_document (test acs-authentication) auth::sync::get_doc::file::GetDocument auth::sync::get_doc::file::GetDocument test_sync_file_get_document->auth::sync::get_doc::file::GetDocument template::util::read_file template::util::read_file (public) auth::sync::get_doc::file::GetDocument->template::util::read_file AcsSc.auth_sync_retrieve.getdocument.localfilesystem AcsSc.auth_sync_retrieve.getdocument.localfilesystem (private) AcsSc.auth_sync_retrieve.getdocument.localfilesystem->auth::sync::get_doc::file::GetDocument auth::sync::get_doc::file::register_impl auth::sync::get_doc::file::register_impl (private) auth::sync::get_doc::file::register_impl->auth::sync::get_doc::file::GetDocument

Testcases:
sync_file_get_document

auth::sync::get_doc::file::GetParameters (private)

 auth::sync::get_doc::file::GetParameters

Parameters for FILE GetDocument implementation.

Partial Call Graph (max 5 caller/called nodes):
%3 test_sync_get_parameters sync_get_parameters (test acs-authentication) auth::sync::get_doc::file::GetParameters auth::sync::get_doc::file::GetParameters test_sync_get_parameters->auth::sync::get_doc::file::GetParameters AcsSc.auth_sync_retrieve.getparameters.localfilesystem AcsSc.auth_sync_retrieve.getparameters.localfilesystem (private) AcsSc.auth_sync_retrieve.getparameters.localfilesystem->auth::sync::get_doc::file::GetParameters auth::sync::get_doc::file::register_impl auth::sync::get_doc::file::register_impl (private) auth::sync::get_doc::file::register_impl->auth::sync::get_doc::file::GetParameters

Testcases:
sync_get_parameters

auth::sync::get_doc::file::register_impl (private)

 auth::sync::get_doc::file::register_impl

Register this implementation

Partial Call Graph (max 5 caller/called nodes):
%3 auth::package_install auth::package_install (private) auth::sync::get_doc::file::register_impl auth::sync::get_doc::file::register_impl auth::package_install->auth::sync::get_doc::file::register_impl acs_sc::impl::new_from_spec acs_sc::impl::new_from_spec (public) auth::sync::get_doc::file::register_impl->acs_sc::impl::new_from_spec auth::sync::get_doc::file::GetDocument auth::sync::get_doc::file::GetDocument (private) auth::sync::get_doc::file::register_impl->auth::sync::get_doc::file::GetDocument auth::sync::get_doc::file::GetParameters auth::sync::get_doc::file::GetParameters (private) auth::sync::get_doc::file::register_impl->auth::sync::get_doc::file::GetParameters

Testcases:
No testcase defined.

auth::sync::get_doc::file::unregister_impl (private)

 auth::sync::get_doc::file::unregister_impl

Unregister this implementation

Partial Call Graph (max 5 caller/called nodes):
%3 auth::package_uninstall auth::package_uninstall (private) auth::sync::get_doc::file::unregister_impl auth::sync::get_doc::file::unregister_impl auth::package_uninstall->auth::sync::get_doc::file::unregister_impl acs_sc::impl::delete acs_sc::impl::delete (public) auth::sync::get_doc::file::unregister_impl->acs_sc::impl::delete

Testcases:
No testcase defined.

auth::sync::get_doc::http::GetDocument (private)

 auth::sync::get_doc::http::GetDocument parameters

Retrieve the document by HTTP

Parameters:
parameters (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_sync_http_get_document sync_http_get_document (test acs-authentication) auth::sync::get_doc::http::GetDocument auth::sync::get_doc::http::GetDocument test_sync_http_get_document->auth::sync::get_doc::http::GetDocument util::http::get util::http::get (public) auth::sync::get_doc::http::GetDocument->util::http::get AcsSc.auth_sync_retrieve.getdocument.httpget AcsSc.auth_sync_retrieve.getdocument.httpget (private) AcsSc.auth_sync_retrieve.getdocument.httpget->auth::sync::get_doc::http::GetDocument auth::sync::get_doc::http::register_impl auth::sync::get_doc::http::register_impl (private) auth::sync::get_doc::http::register_impl->auth::sync::get_doc::http::GetDocument

Testcases:
sync_http_get_document

auth::sync::get_doc::http::GetParameters (private)

 auth::sync::get_doc::http::GetParameters

Parameters for HTTP GetDocument implementation.

Partial Call Graph (max 5 caller/called nodes):
%3 test_sync_get_parameters sync_get_parameters (test acs-authentication) auth::sync::get_doc::http::GetParameters auth::sync::get_doc::http::GetParameters test_sync_get_parameters->auth::sync::get_doc::http::GetParameters AcsSc.auth_sync_retrieve.getparameters.httpget AcsSc.auth_sync_retrieve.getparameters.httpget (private) AcsSc.auth_sync_retrieve.getparameters.httpget->auth::sync::get_doc::http::GetParameters auth::sync::get_doc::http::register_impl auth::sync::get_doc::http::register_impl (private) auth::sync::get_doc::http::register_impl->auth::sync::get_doc::http::GetParameters

Testcases:
sync_get_parameters

auth::sync::get_doc::http::register_impl (private)

 auth::sync::get_doc::http::register_impl

Register this implementation

Partial Call Graph (max 5 caller/called nodes):
%3 auth::package_install auth::package_install (private) auth::sync::get_doc::http::register_impl auth::sync::get_doc::http::register_impl auth::package_install->auth::sync::get_doc::http::register_impl acs_sc::impl::new_from_spec acs_sc::impl::new_from_spec (public) auth::sync::get_doc::http::register_impl->acs_sc::impl::new_from_spec auth::sync::get_doc::http::GetDocument auth::sync::get_doc::http::GetDocument (private) auth::sync::get_doc::http::register_impl->auth::sync::get_doc::http::GetDocument auth::sync::get_doc::http::GetParameters auth::sync::get_doc::http::GetParameters (private) auth::sync::get_doc::http::register_impl->auth::sync::get_doc::http::GetParameters

Testcases:
No testcase defined.

auth::sync::get_doc::http::unregister_impl (private)

 auth::sync::get_doc::http::unregister_impl

Unregister this implementation

Partial Call Graph (max 5 caller/called nodes):
%3 auth::package_uninstall auth::package_uninstall (private) auth::sync::get_doc::http::unregister_impl auth::sync::get_doc::http::unregister_impl auth::package_uninstall->auth::sync::get_doc::http::unregister_impl acs_sc::impl::delete acs_sc::impl::delete (public) auth::sync::get_doc::http::unregister_impl->acs_sc::impl::delete

Testcases:
No testcase defined.

auth::sync::get_sync_elements (private)

 auth::sync::get_sync_elements [ -user_id user_id ] \
    [ -authority_id authority_id ]

Get a Tcl list of the user profile elements controlled by the batch synchronization. These should not be editable by the user. Supply either user_id or authority_id. Authority_id is the most efficient.

Switches:
-user_id (optional)
-authority_id (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 packages/acs-subsite/lib/user-info.tcl packages/acs-subsite/ lib/user-info.tcl auth::sync::get_sync_elements auth::sync::get_sync_elements packages/acs-subsite/lib/user-info.tcl->auth::sync::get_sync_elements acs_user::get_element acs_user::get_element (public) auth::sync::get_sync_elements->acs_user::get_element ad_log ad_log (public) auth::sync::get_sync_elements->ad_log ad_try ad_try (public) auth::sync::get_sync_elements->ad_try auth::sync::GetElements auth::sync::GetElements (private) auth::sync::get_sync_elements->auth::sync::GetElements

Testcases:
No testcase defined.

auth::sync::job::action (public)

 auth::sync::job::action -job_id job_id -operation operation \
    -username username [ -array array ]

Inserts/updates/deletes a user, depending on the operation.

Switches:
-job_id (required)
The job which this is part of for logging purposes.
-operation (required)
'insert', 'update', 'delete', or 'snapshot'.
-username (required)
The username which this action refers to.
-array (optional)
Name of an array containing the relevant registration elements. Not required if this is a delete operation.
Returns:
entry_id of newly created entry

Partial Call Graph (max 5 caller/called nodes):
%3 test_sync_actions sync_actions (test acs-authentication) auth::sync::job::action auth::sync::job::action test_sync_actions->auth::sync::job::action test_sync_snapshot sync_snapshot (test acs-authentication) test_sync_snapshot->auth::sync::job::action acs_user::get acs_user::get (public) auth::sync::job::action->acs_user::get acs_user::get_by_username acs_user::get_by_username (public) auth::sync::job::action->acs_user::get_by_username ad_log ad_log (public) auth::sync::job::action->ad_log ad_try ad_try (public) auth::sync::job::action->ad_try auth::create_local_account auth::create_local_account (public) auth::sync::job::action->auth::create_local_account auth::sync::job::snapshot_delete_remaining auth::sync::job::snapshot_delete_remaining (public) auth::sync::job::snapshot_delete_remaining->auth::sync::job::action auth::sync::process_doc::ims::ProcessDocument auth::sync::process_doc::ims::ProcessDocument (private) auth::sync::process_doc::ims::ProcessDocument->auth::sync::job::action

Testcases:
sync_actions, sync_snapshot

auth::sync::job::create_entry (public)

 auth::sync::job::create_entry -job_id job_id -operation operation \
    -username username [ -user_id user_id ] [ -success ] \
    [ -message message ] [ -element_messages element_messages ]

Record a batch job entry.

Switches:
-job_id (required)
The ID of the batch job you're ending.
-operation (required)
One of 'insert', 'update', or 'delete'.
-username (required)
The username of the user being inserted/updated/deleted.
-user_id (optional)
The user_id of the local user account, if known.
-success (optional, boolean)
Whether or not the operation went well.
-message (optional)
Any error message to stick into the log.
-element_messages (optional)
Returns:
entry_id

Partial Call Graph (max 5 caller/called nodes):
%3 test_auth_sync_process_ims_implementations auth_sync_process_ims_implementations (test acs-authentication) auth::sync::job::create_entry auth::sync::job::create_entry test_auth_sync_process_ims_implementations->auth::sync::job::create_entry test_sync_start_end sync_start_end (test acs-authentication) test_sync_start_end->auth::sync::job::create_entry db_dml db_dml (public) auth::sync::job::create_entry->db_dml db_nextval db_nextval (public) auth::sync::job::create_entry->db_nextval auth::sync::job::action auth::sync::job::action (public) auth::sync::job::action->auth::sync::job::create_entry

Testcases:
sync_start_end, auth_sync_process_ims_implementations

auth::sync::job::end (public)

 auth::sync::job::end -job_id job_id [ -message message ]

Record the end of a batch job. Closes out the transaction log and sends out notifications.

Switches:
-job_id (required)
The ID of the batch job you're ending.
-message (optional)
Returns:
array list with result of auth::sync::job::get.
Author:
Lars Pind <lars@collaboraid.biz>
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 test_sync_actions sync_actions (test acs-authentication) auth::sync::job::end auth::sync::job::end test_sync_actions->auth::sync::job::end test_sync_snapshot sync_snapshot (test acs-authentication) test_sync_snapshot->auth::sync::job::end test_sync_start_end sync_start_end (test acs-authentication) test_sync_start_end->auth::sync::job::end acs_mail_lite::send acs_mail_lite::send (public) auth::sync::job::end->acs_mail_lite::send ad_log ad_log (public) auth::sync::job::end->ad_log ad_system_owner ad_system_owner (public) auth::sync::job::end->ad_system_owner ad_try ad_try (public) auth::sync::job::end->ad_try auth::sync::job::get auth::sync::job::get (public) auth::sync::job::end->auth::sync::job::get auth::authority::batch_sync auth::authority::batch_sync (public) auth::authority::batch_sync->auth::sync::job::end

Testcases:
sync_start_end, sync_actions, sync_snapshot

auth::sync::job::end_get_document (public)

 auth::sync::job::end_get_document -job_id job_id \
    -doc_status doc_status [ -doc_message doc_message ] \
    [ -document document ] [ -snapshot ]

Record the time that we've finished getting the document, and record the status.

Switches:
-job_id (required)
The ID of the batch job you're ending.
-doc_status (required)
-doc_message (optional)
-document (optional)
-snapshot (optional, boolean)
Set this if this is a snapshot job, as opposed to an incremental ('event driven') job.

Partial Call Graph (max 5 caller/called nodes):
%3 test_sync_start_end sync_start_end (test acs-authentication) auth::sync::job::end_get_document auth::sync::job::end_get_document test_sync_start_end->auth::sync::job::end_get_document db_boolean db_boolean (public) auth::sync::job::end_get_document->db_boolean db_dml db_dml (public) auth::sync::job::end_get_document->db_dml auth::authority::batch_sync auth::authority::batch_sync (public) auth::authority::batch_sync->auth::sync::job::end_get_document

Testcases:
sync_start_end

auth::sync::job::get (public)

 auth::sync::job::get -job_id job_id -array array

Get information about a batch job in an array.

Switches:
-job_id (required)
The ID of the batch job you're ending.
-array (required)
Name of an array into which you want the information.
Author:
Lars Pind <lars@collaboraid.biz>

Partial Call Graph (max 5 caller/called nodes):
%3 test_sync_batch_for_local sync_batch_for_local (test acs-authentication) auth::sync::job::get auth::sync::job::get test_sync_batch_for_local->auth::sync::job::get test_sync_batch_ims_example_doc sync_batch_ims_example_doc (test acs-authentication) test_sync_batch_ims_example_doc->auth::sync::job::get test_sync_batch_ims_test sync_batch_ims_test (test acs-authentication) test_sync_batch_ims_test->auth::sync::job::get ad_url ad_url (public) auth::sync::job::get->ad_url db_1row db_1row (public) auth::sync::job::get->db_1row export_vars export_vars (public) auth::sync::job::get->export_vars auth::sync::job::end auth::sync::job::end (public) auth::sync::job::end->auth::sync::job::get packages/acs-admin/www/auth/batch-action.tcl packages/acs-admin/ www/auth/batch-action.tcl packages/acs-admin/www/auth/batch-action.tcl->auth::sync::job::get packages/acs-admin/www/auth/batch-job.tcl packages/acs-admin/ www/auth/batch-job.tcl packages/acs-admin/www/auth/batch-job.tcl->auth::sync::job::get

Testcases:
sync_batch_for_local, sync_batch_ims_example_doc, sync_batch_ims_test

auth::sync::job::get_authority_id (public)

 auth::sync::job::get_authority_id -job_id job_id

Get the authority_id from a job_id. Cached.

Switches:
-job_id (required)
The ID of the batch job you're ending.
Author:
Lars Pind <lars@collaboraid.biz>

Partial Call Graph (max 5 caller/called nodes):
%3 test_sync_start_end sync_start_end (test acs-authentication) auth::sync::job::get_authority_id auth::sync::job::get_authority_id test_sync_start_end->auth::sync::job::get_authority_id auth::sync::job::get_authority_id_not_cached auth::sync::job::get_authority_id_not_cached (private) auth::sync::job::get_authority_id->auth::sync::job::get_authority_id_not_cached util_memoize util_memoize (public) auth::sync::job::get_authority_id->util_memoize auth::sync::job::action auth::sync::job::action (public) auth::sync::job::action->auth::sync::job::get_authority_id auth::sync::job::snapshot_delete_remaining auth::sync::job::snapshot_delete_remaining (public) auth::sync::job::snapshot_delete_remaining->auth::sync::job::get_authority_id

Testcases:
sync_start_end

auth::sync::job::get_authority_id_flush (private)

 auth::sync::job::get_authority_id_flush [ -job_id job_id ]

Flush cache

Switches:
-job_id (optional)
The ID of the batch job you're ending.
Author:
Lars Pind <lars@collaboraid.biz>

Partial Call Graph (max 5 caller/called nodes):
%3 util_memoize_flush util_memoize_flush (public) util_memoize_flush_regexp util_memoize_flush_regexp (public) auth::sync::job::get_authority_id_flush auth::sync::job::get_authority_id_flush auth::sync::job::get_authority_id_flush->util_memoize_flush auth::sync::job::get_authority_id_flush->util_memoize_flush_regexp

Testcases:
No testcase defined.

auth::sync::job::get_authority_id_not_cached (private)

 auth::sync::job::get_authority_id_not_cached job_id

Get the authority_id from a job_id. Not cached.

Parameters:
job_id (required)
The ID of the batch job you're ending.
Author:
Lars Pind <lars@collaboraid.biz>
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 auth::sync::job::get_authority_id auth::sync::job::get_authority_id (public) auth::sync::job::get_authority_id_not_cached auth::sync::job::get_authority_id_not_cached auth::sync::job::get_authority_id->auth::sync::job::get_authority_id_not_cached auth::sync::job::get_authority_id_seed auth::sync::job::get_authority_id_seed (private) auth::sync::job::get_authority_id_seed->auth::sync::job::get_authority_id_not_cached db_string db_string (public) auth::sync::job::get_authority_id_not_cached->db_string

Testcases:
No testcase defined.

auth::sync::job::get_authority_id_seed (private)

 auth::sync::job::get_authority_id_seed -job_id job_id \
    -authority_id authority_id

Flush cache

Switches:
-job_id (required)
The ID of the batch job you're ending.
-authority_id (required)
Author:
Lars Pind <lars@collaboraid.biz>

Partial Call Graph (max 5 caller/called nodes):
%3 auth::sync::job::start auth::sync::job::start (public) auth::sync::job::get_authority_id_seed auth::sync::job::get_authority_id_seed auth::sync::job::start->auth::sync::job::get_authority_id_seed auth::sync::job::get_authority_id_not_cached auth::sync::job::get_authority_id_not_cached (private) auth::sync::job::get_authority_id_seed->auth::sync::job::get_authority_id_not_cached util_memoize_seed util_memoize_seed (public) auth::sync::job::get_authority_id_seed->util_memoize_seed

Testcases:
No testcase defined.

auth::sync::job::get_entries (public)

 auth::sync::job::get_entries -job_id job_id

Get a list of entry_ids of the job log entries, ordered by entry_time.

Switches:
-job_id (required)
The ID of the batch job you're ending.
Author:
Lars Pind <lars@collaboraid.biz>

Partial Call Graph (max 5 caller/called nodes):
%3 test_sync_batch_ims_example_doc sync_batch_ims_example_doc (test acs-authentication) auth::sync::job::get_entries auth::sync::job::get_entries test_sync_batch_ims_example_doc->auth::sync::job::get_entries test_sync_batch_ims_test sync_batch_ims_test (test acs-authentication) test_sync_batch_ims_test->auth::sync::job::get_entries db_list db_list (public) auth::sync::job::get_entries->db_list

Testcases:
sync_batch_ims_example_doc, sync_batch_ims_test

auth::sync::job::get_entry (public)

 auth::sync::job::get_entry -entry_id entry_id -array array

Get information about a log entry

Switches:
-entry_id (required)
-array (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_sync_actions sync_actions (test acs-authentication) auth::sync::job::get_entry auth::sync::job::get_entry test_sync_actions->auth::sync::job::get_entry test_sync_batch_ims_example_doc sync_batch_ims_example_doc (test acs-authentication) test_sync_batch_ims_example_doc->auth::sync::job::get_entry test_sync_batch_ims_test sync_batch_ims_test (test acs-authentication) test_sync_batch_ims_test->auth::sync::job::get_entry test_sync_snapshot sync_snapshot (test acs-authentication) test_sync_snapshot->auth::sync::job::get_entry db_1row db_1row (public) auth::sync::job::get_entry->db_1row packages/acs-admin/www/auth/batch-action.tcl packages/acs-admin/ www/auth/batch-action.tcl packages/acs-admin/www/auth/batch-action.tcl->auth::sync::job::get_entry

Testcases:
sync_actions, sync_snapshot, sync_batch_ims_example_doc, sync_batch_ims_test

auth::sync::job::snapshot_delete_remaining (public)

 auth::sync::job::snapshot_delete_remaining -job_id job_id

Deletes the users that weren't included in the snapshot.

Switches:
-job_id (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_sync_snapshot sync_snapshot (test acs-authentication) auth::sync::job::snapshot_delete_remaining auth::sync::job::snapshot_delete_remaining test_sync_snapshot->auth::sync::job::snapshot_delete_remaining auth::sync::job::action auth::sync::job::action (public) auth::sync::job::snapshot_delete_remaining->auth::sync::job::action auth::sync::job::get_authority_id auth::sync::job::get_authority_id (public) auth::sync::job::snapshot_delete_remaining->auth::sync::job::get_authority_id db_list db_list (public) auth::sync::job::snapshot_delete_remaining->db_list auth::authority::batch_sync auth::authority::batch_sync (public) auth::authority::batch_sync->auth::sync::job::snapshot_delete_remaining

Testcases:
sync_snapshot

auth::sync::job::start (public)

 auth::sync::job::start [ -job_id job_id ] -authority_id authority_id \
    [ -interactive ] [ -creation_user creation_user ]

Record the beginning of a job.

Switches:
-job_id (optional)
-authority_id (required)
The ID of the authority you're trying to sync
-interactive (optional, boolean)
Set this if this is an interactive job, i.e. it's initiated by a user.
-creation_user (optional)
Returns:
job_id An ID for the new batch job. Used when calling other procs in this API.
Author:
Lars Pind <lars@collaboraid.biz>

Partial Call Graph (max 5 caller/called nodes):
%3 test_auth_sync_process_ims_implementations auth_sync_process_ims_implementations (test acs-authentication) auth::sync::job::start auth::sync::job::start test_auth_sync_process_ims_implementations->auth::sync::job::start test_sync_actions sync_actions (test acs-authentication) test_sync_actions->auth::sync::job::start test_sync_snapshot sync_snapshot (test acs-authentication) test_sync_snapshot->auth::sync::job::start test_sync_start_end sync_start_end (test acs-authentication) test_sync_start_end->auth::sync::job::start ad_conn ad_conn (public) auth::sync::job::start->ad_conn auth::sync::job::get_authority_id_seed auth::sync::job::get_authority_id_seed (private) auth::sync::job::start->auth::sync::job::get_authority_id_seed db_boolean db_boolean (public) auth::sync::job::start->db_boolean db_dml db_dml (public) auth::sync::job::start->db_dml db_nextval db_nextval (public) auth::sync::job::start->db_nextval auth::authority::batch_sync auth::authority::batch_sync (public) auth::authority::batch_sync->auth::sync::job::start

Testcases:
sync_start_end, sync_actions, sync_snapshot, auth_sync_process_ims_implementations

auth::sync::job::start_get_document (public)

 auth::sync::job::start_get_document -job_id job_id

Record the time that we're starting to get the document.

Switches:
-job_id (required)
The ID of the batch job you're ending.

Partial Call Graph (max 5 caller/called nodes):
%3 test_sync_start_end sync_start_end (test acs-authentication) auth::sync::job::start_get_document auth::sync::job::start_get_document test_sync_start_end->auth::sync::job::start_get_document db_dml db_dml (public) auth::sync::job::start_get_document->db_dml auth::authority::batch_sync auth::authority::batch_sync (public) auth::authority::batch_sync->auth::sync::job::start_get_document

Testcases:
sync_start_end

auth::sync::process_doc::ims::GetAcknowledgementDocument (private)

 auth::sync::process_doc::ims::GetAcknowledgementDocument job_id \
    document parameters

Generates an record-wise acknowledgement document in home-brewed adaptation of the IMS Enterprise v 1.1 spec.

Parameters:
job_id (required)
document (required)
parameters (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_auth_sync_process_ims_implementations auth_sync_process_ims_implementations (test acs-authentication) auth::sync::process_doc::ims::GetAcknowledgementDocument auth::sync::process_doc::ims::GetAcknowledgementDocument test_auth_sync_process_ims_implementations->auth::sync::process_doc::ims::GetAcknowledgementDocument db_foreach db_foreach (public) auth::sync::process_doc::ims::GetAcknowledgementDocument->db_foreach xml_doc_get_first_node xml_doc_get_first_node (public) auth::sync::process_doc::ims::GetAcknowledgementDocument->xml_doc_get_first_node xml_get_child_node_content_by_path xml_get_child_node_content_by_path (public) auth::sync::process_doc::ims::GetAcknowledgementDocument->xml_get_child_node_content_by_path xml_node_get_name xml_node_get_name (public) auth::sync::process_doc::ims::GetAcknowledgementDocument->xml_node_get_name xml_parse xml_parse (public) auth::sync::process_doc::ims::GetAcknowledgementDocument->xml_parse AcsSc.auth_sync_process.getacknowledgementdocument.ims_enterprise_v_1p1 AcsSc.auth_sync_process.getacknowledgementdocument.ims_enterprise_v_1p1 (private) AcsSc.auth_sync_process.getacknowledgementdocument.ims_enterprise_v_1p1->auth::sync::process_doc::ims::GetAcknowledgementDocument auth::sync::process_doc::ims::register_impl auth::sync::process_doc::ims::register_impl (private) auth::sync::process_doc::ims::register_impl->auth::sync::process_doc::ims::GetAcknowledgementDocument

Testcases:
auth_sync_process_ims_implementations

auth::sync::process_doc::ims::GetElements (private)

 auth::sync::process_doc::ims::GetElements parameters

Elements controlled by IMS Enterprise 1.1 auth_sync_process implementation.

Parameters:
parameters (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_auth_sync_process_ims_implementations auth_sync_process_ims_implementations (test acs-authentication) auth::sync::process_doc::ims::GetElements auth::sync::process_doc::ims::GetElements test_auth_sync_process_ims_implementations->auth::sync::process_doc::ims::GetElements test_sync_batch_ims_test sync_batch_ims_test (test acs-authentication) test_sync_batch_ims_test->auth::sync::process_doc::ims::GetElements AcsSc.auth_sync_process.getelements.ims_enterprise_v_1p1 AcsSc.auth_sync_process.getelements.ims_enterprise_v_1p1 (private) AcsSc.auth_sync_process.getelements.ims_enterprise_v_1p1->auth::sync::process_doc::ims::GetElements auth::sync::process_doc::ims::register_impl auth::sync::process_doc::ims::register_impl (private) auth::sync::process_doc::ims::register_impl->auth::sync::process_doc::ims::GetElements

Testcases:
sync_batch_ims_test, auth_sync_process_ims_implementations

auth::sync::process_doc::ims::GetParameters (private)

 auth::sync::process_doc::ims::GetParameters

Parameters for IMS Enterprise 1.1 auth_sync_process implementation.

Partial Call Graph (max 5 caller/called nodes):
%3 test_auth_sync_process_ims_implementations auth_sync_process_ims_implementations (test acs-authentication) auth::sync::process_doc::ims::GetParameters auth::sync::process_doc::ims::GetParameters test_auth_sync_process_ims_implementations->auth::sync::process_doc::ims::GetParameters AcsSc.auth_sync_process.getparameters.ims_enterprise_v_1p1 AcsSc.auth_sync_process.getparameters.ims_enterprise_v_1p1 (private) AcsSc.auth_sync_process.getparameters.ims_enterprise_v_1p1->auth::sync::process_doc::ims::GetParameters auth::sync::process_doc::ims::register_impl auth::sync::process_doc::ims::register_impl (private) auth::sync::process_doc::ims::register_impl->auth::sync::process_doc::ims::GetParameters

Testcases:
auth_sync_process_ims_implementations

auth::sync::process_doc::ims::ProcessDocument (private)

 auth::sync::process_doc::ims::ProcessDocument job_id document \
    parameters

Process IMS Enterprise 1.1 document.

Parameters:
job_id (required)
document (required)
parameters (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_auth_sync_process_ims_implementations auth_sync_process_ims_implementations (test acs-authentication) auth::sync::process_doc::ims::ProcessDocument auth::sync::process_doc::ims::ProcessDocument test_auth_sync_process_ims_implementations->auth::sync::process_doc::ims::ProcessDocument auth::sync::job::action auth::sync::job::action (public) auth::sync::process_doc::ims::ProcessDocument->auth::sync::job::action xml_doc_get_first_node xml_doc_get_first_node (public) auth::sync::process_doc::ims::ProcessDocument->xml_doc_get_first_node xml_get_child_node_content_by_path xml_get_child_node_content_by_path (public) auth::sync::process_doc::ims::ProcessDocument->xml_get_child_node_content_by_path xml_node_get_attribute xml_node_get_attribute (public) auth::sync::process_doc::ims::ProcessDocument->xml_node_get_attribute xml_node_get_children_by_name xml_node_get_children_by_name (public) auth::sync::process_doc::ims::ProcessDocument->xml_node_get_children_by_name AcsSc.auth_sync_process.processdocument.ims_enterprise_v_1p1 AcsSc.auth_sync_process.processdocument.ims_enterprise_v_1p1 (private) AcsSc.auth_sync_process.processdocument.ims_enterprise_v_1p1->auth::sync::process_doc::ims::ProcessDocument auth::sync::process_doc::ims::register_impl auth::sync::process_doc::ims::register_impl (private) auth::sync::process_doc::ims::register_impl->auth::sync::process_doc::ims::ProcessDocument

Testcases:
auth_sync_process_ims_implementations

auth::sync::process_doc::ims::register_impl (private)

 auth::sync::process_doc::ims::register_impl

Register this implementation

Partial Call Graph (max 5 caller/called nodes):
%3 auth::after_upgrade auth::after_upgrade (private) auth::sync::process_doc::ims::register_impl auth::sync::process_doc::ims::register_impl auth::after_upgrade->auth::sync::process_doc::ims::register_impl auth::package_install auth::package_install (private) auth::package_install->auth::sync::process_doc::ims::register_impl acs_sc::impl::new_from_spec acs_sc::impl::new_from_spec (public) auth::sync::process_doc::ims::register_impl->acs_sc::impl::new_from_spec auth::sync::process_doc::ims::GetAcknowledgementDocument auth::sync::process_doc::ims::GetAcknowledgementDocument (private) auth::sync::process_doc::ims::register_impl->auth::sync::process_doc::ims::GetAcknowledgementDocument auth::sync::process_doc::ims::GetElements auth::sync::process_doc::ims::GetElements (private) auth::sync::process_doc::ims::register_impl->auth::sync::process_doc::ims::GetElements auth::sync::process_doc::ims::GetParameters auth::sync::process_doc::ims::GetParameters (private) auth::sync::process_doc::ims::register_impl->auth::sync::process_doc::ims::GetParameters auth::sync::process_doc::ims::ProcessDocument auth::sync::process_doc::ims::ProcessDocument (private) auth::sync::process_doc::ims::register_impl->auth::sync::process_doc::ims::ProcessDocument

Testcases:
No testcase defined.

auth::sync::process_doc::ims::unregister_impl (private)

 auth::sync::process_doc::ims::unregister_impl

Unregister this implementation

Partial Call Graph (max 5 caller/called nodes):
%3 auth::package_uninstall auth::package_uninstall (private) auth::sync::process_doc::ims::unregister_impl auth::sync::process_doc::ims::unregister_impl auth::package_uninstall->auth::sync::process_doc::ims::unregister_impl acs_sc::impl::delete acs_sc::impl::delete (public) auth::sync::process_doc::ims::unregister_impl->acs_sc::impl::delete

Testcases:
No testcase defined.

auth::sync::purge_jobs (public)

 auth::sync::purge_jobs [ -num_days num_days ]

Purge jobs that are older than KeepBatchLogDays days.

Switches:
-num_days (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_sync_start_end sync_start_end (test acs-authentication) auth::sync::purge_jobs auth::sync::purge_jobs test_sync_start_end->auth::sync::purge_jobs db_dml db_dml (public) auth::sync::purge_jobs->db_dml parameter::get_from_package_key parameter::get_from_package_key (public) auth::sync::purge_jobs->parameter::get_from_package_key

Testcases:
sync_start_end

auth::sync::sweeper (private)

 auth::sync::sweeper

Partial Call Graph (max 5 caller/called nodes):
%3 auth::authority::batch_sync auth::authority::batch_sync (public) db_foreach db_foreach (public) auth::sync::sweeper auth::sync::sweeper auth::sync::sweeper->auth::authority::batch_sync auth::sync::sweeper->db_foreach

Testcases:
No testcase defined.
[ show source ]