apm_version_enable (public)

 apm_version_enable [ -callback callback ] version_id

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

Enables a version of a package (disabling any other version of the package).

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

Partial Call Graph (max 5 caller/called nodes):
%3 test_upgrade upgrade (test acs-lang) apm_version_enable apm_version_enable test_upgrade->apm_version_enable acs::try_cache acs::try_cache (private) apm_version_enable->acs::try_cache apm_callback_and_log apm_callback_and_log (public) apm_version_enable->apm_callback_and_log apm_package_key_from_version_id apm_package_key_from_version_id (public) apm_version_enable->apm_package_key_from_version_id db_exec_plsql db_exec_plsql (public) apm_version_enable->db_exec_plsql apm_package_install apm_package_install (public) apm_package_install->apm_version_enable packages/acs-admin/www/apm/package-add-2.tcl packages/acs-admin/ www/apm/package-add-2.tcl packages/acs-admin/www/apm/package-add-2.tcl->apm_version_enable packages/acs-admin/www/apm/version-enable.tcl packages/acs-admin/ www/apm/version-enable.tcl packages/acs-admin/www/apm/version-enable.tcl->apm_version_enable packages/acs-admin/www/install/install-3.tcl packages/acs-admin/ www/install/install-3.tcl packages/acs-admin/www/install/install-3.tcl->apm_version_enable

Testcases:
upgrade
[ show source ]
Show another procedure: