apm_remove_callback_proc (public)

 apm_remove_callback_proc -type type -package_key package_key

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

Remove the callback of a certain type for the given package.

Switches:
-type (required)
-package_key (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_remove_callback_proc apm_remove_callback_proc test_apm__test_callback_get_set->apm_remove_callback_proc test_apm__test_callback_invoke apm__test_callback_invoke (test acs-tcl) test_apm__test_callback_invoke->apm_remove_callback_proc apm_assert_callback_type_supported apm_assert_callback_type_supported (public) apm_remove_callback_proc->apm_assert_callback_type_supported db_dml db_dml (public) apm_remove_callback_proc->db_dml packages/acs-admin/www/apm/version-callback-delete.tcl packages/acs-admin/ www/apm/version-callback-delete.tcl packages/acs-admin/www/apm/version-callback-delete.tcl->apm_remove_callback_proc

Testcases:
apm__test_callback_get_set, apm__test_callback_invoke
Source code:
    apm_assert_callback_type_supported $type

    return [db_dml delete_proc {}]
Generic XQL file:
<fullquery name="apm_remove_callback_proc.delete_proc">
    <querytext>
        delete from apm_package_callbacks
        where version_id = (select version_id
                            from apm_enabled_package_versions
                            where package_key = :package_key)
        and   type = :type
    </querytext>
</fullquery>
packages/acs-tcl/tcl/apm-procs.xql

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

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

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