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):
- Testcases:
- upgrade
Source code: db_exec_plsql apm_package_version_enable {} 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 enabled."Generic XQL file: packages/acs-tcl/tcl/apm-install-procs.xql
PostgreSQL XQL file: <fullquery name="apm_version_enable.apm_package_version_enable"> <querytext> select apm_package_version__enable( :version_id ); </querytext> </fullquery>packages/acs-tcl/tcl/apm-install-procs-postgresql.xql
Oracle XQL file: <fullquery name="apm_version_enable.apm_package_version_enable"> <querytext> begin apm_package_version.enable( version_id => :version_id ); end; </querytext> </fullquery>packages/acs-tcl/tcl/apm-install-procs-oracle.xql