apm_package_install_callbacks (private)

 apm_package_install_callbacks [ -callback callback ] callback_list \
    version_id

Defined in packages/acs-tcl/tcl/apm-install-procs.tcl

Install the Tcl proc callbacks for the package version.

Switches:
-callback (optional, defaults to "apm_dummy_callback")
Parameters:
callback_list (required)
version_id (required)
Author:
Peter Marklund

Partial Call Graph (max 5 caller/called nodes):
%3 test_apm__test_callback_get_set apm__test_callback_get_set (test acs-tcl) apm_package_install_callbacks apm_package_install_callbacks test_apm__test_callback_get_set->apm_package_install_callbacks apm_set_callback_proc apm_set_callback_proc (public) apm_package_install_callbacks->apm_set_callback_proc db_dml db_dml (public) apm_package_install_callbacks->db_dml apm_package_install apm_package_install (public) apm_package_install->apm_package_install_callbacks

Testcases:
apm__test_callback_get_set
Source code:
    db_dml delete_all_callbacks {
        delete from apm_package_callbacks
        where version_id = :version_id
    }

    foreach {type proc} $callback_list {
        apm_set_callback_proc -version_id $version_id -type $type $proc
    }
Generic XQL file:
<fullquery name="apm_package_install_callbacks.delete_all_callbacks">
    <querytext>
        delete from apm_package_callbacks
        where version_id = :version_id
      </querytext>
</fullquery>
packages/acs-tcl/tcl/apm-install-procs.xql

PostgreSQL XQL file:
packages/acs-tcl/tcl/apm-install-procs-postgresql.xql

Oracle XQL file:
packages/acs-tcl/tcl/apm-install-procs-oracle.xql

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