parameter::set_global_value (public)
parameter::set_global_value -package_key package_key \ -parameter parameter -value value
Defined in packages/acs-tcl/tcl/parameter-procs.tcl
Set a global package parameter. Do not confuse this with the proc "set_from_package_key", which was previously used to emulate global parameters declared for singleton packages.
- Switches:
- -package_key (required)
- identifies the package to which the global param belongs
- -parameter (required)
- which parameter's value to set
- -value (required)
- what value to set said parameter to
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- parameter__check_procs
Source code: db_exec_plsql set_parameter_value {} # ::acs::dc call apm set_value # -package_key $package_key # -parameter $parameter # -attr_value $value acs::clusterwide callback subsite::global_parameter_changed -package_key $package_key -parameter $parameter -value $value ad_parameter_cache -delete $package_key $parameterGeneric XQL file: packages/acs-tcl/tcl/parameter-procs.xql
PostgreSQL XQL file: <fullquery name="parameter::set_global_value.set_parameter_value"> <querytext> select apm__set_value( :package_key::varchar, :parameter, :value ); </querytext> </fullquery>packages/acs-tcl/tcl/parameter-procs-postgresql.xql
Oracle XQL file: <fullquery name="parameter::set_global_value.set_parameter_value"> <querytext> begin apm.set_value( package_key => :package_key, parameter_name => :parameter, attr_value => :value ); end; </querytext> </fullquery>packages/acs-tcl/tcl/parameter-procs-oracle.xql