apm_version_update (public)

 apm_version_update [ -callback callback ] -array array version_id \
    version_name version_uri summary description description_format \
    vendor vendor_uri auto_mount [ release_date ]

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

Update a version in the system to new information.

Switches:
-callback (optional, defaults to "apm_dummy_callback")
-array (required)
Parameters:
version_id (required)
version_name (required)
version_uri (required)
summary (required)
description (required)
description_format (required)
vendor (required)
vendor_uri (required)
auto_mount (required)
release_date (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 packages/acs-admin/www/apm/version-edit-2.tcl packages/acs-admin/ www/apm/version-edit-2.tcl apm_version_update apm_version_update packages/acs-admin/www/apm/version-edit-2.tcl->apm_version_update apm::package_version::attributes::store apm::package_version::attributes::store (private) apm_version_update->apm::package_version::attributes::store db_exec_plsql db_exec_plsql (public) apm_version_update->db_exec_plsql

Testcases:
No testcase defined.
Source code:
    upvar $array local_array

    set version_id [db_exec_plsql apm_version_update {}]

    apm::package_version::attributes::store  -version_id $version_id  -array local_array

    return $version_id
Generic XQL file:
packages/acs-tcl/tcl/apm-install-procs.xql

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

	select apm_package_version__edit(
                                 null,
				 :version_id, 
				 :version_name, 
				 :version_uri,
				 :summary,
				 :description_format,
				 :description,
				 :release_date,
				 :vendor,
				 :vendor_uri,
                                 :auto_mount,
				 't',
				 't'				 
				 );
    
      </querytext>
</fullquery>
packages/acs-tcl/tcl/apm-install-procs-postgresql.xql

Oracle XQL file:
<fullquery name="apm_version_update.apm_version_update">
    <querytext>
      
	begin
	:1 := apm_package_version.edit(
				 version_id => :version_id, 
				 version_name => :version_name, 
				 version_uri => :version_uri,
				 summary => :summary,
				 description_format => :description_format,
				 description => :description,
				 release_date => :release_date,
				 vendor => :vendor,
				 vendor_uri => :vendor_uri,
                                 auto_mount => :auto_mount,
				 installed_p => 't',
				 data_model_loaded_p => 't'				 
				 );
	end;
    
      </querytext>
</fullquery>
packages/acs-tcl/tcl/apm-install-procs-oracle.xql

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