apm_version_disable (public)

 apm_version_disable [ -callback callback ] version_id

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

Disables a version of a package.

Switches:
-callback (optional, defaults to "apm_dummy_callback")
Parameters:
version_id (required)
The id of the version to be disabled.

Partial Call Graph (max 5 caller/called nodes):
%3 packages/acs-admin/www/apm/version-disable.tcl packages/acs-admin/ www/apm/version-disable.tcl apm_version_disable apm_version_disable packages/acs-admin/www/apm/version-disable.tcl->apm_version_disable acs::try_cache acs::try_cache (private) apm_version_disable->acs::try_cache apm_callback_and_log apm_callback_and_log (public) apm_version_disable->apm_callback_and_log apm_package_key_from_version_id apm_package_key_from_version_id (public) apm_version_disable->apm_package_key_from_version_id db_exec_plsql db_exec_plsql (public) apm_version_disable->db_exec_plsql

Testcases:
No testcase defined.
Source code:
    db_exec_plsql apm_package_version_disable {}
    acs::try_cache acs::misc_cache flush  apm_package_enabled-[apm_package_key_from_version_id $version_id]
    apm_callback_and_log $callback  "<p>Package disabled."
Generic XQL file:
packages/acs-tcl/tcl/apm-install-procs.xql

PostgreSQL XQL file:
<fullquery name="apm_version_disable.apm_package_version_disable">
    <querytext>

	  select apm_package_version__disable(
            :version_id
	  );
    
      </querytext>
</fullquery>
packages/acs-tcl/tcl/apm-install-procs-postgresql.xql

Oracle XQL file:
<fullquery name="apm_version_disable.apm_package_version_disable">
    <querytext>
      
	begin
	  apm_package_version.disable(
            version_id => :version_id
	  );
	end;
    
      </querytext>
</fullquery>
packages/acs-tcl/tcl/apm-install-procs-oracle.xql

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