|
set_value_as_number_by_id procedure |
|
Contained in package wwpre_api_value. Call this procedure to set a number value for a preference. This procedure uses the level ID when saving the value. procedure set_value_as_number_by_id (
); |
|
Version: Oracle Portal 3.0.6.6.5 or later | |
|
Parameters |
|
|
p_path |
The path for the preference name. Datatype: in varchar2 |
|
p_name |
The preference name. Datatype: in varchar2 |
|
p_level_type |
A constant value for the type of level at which the value is stored. Datatype: in varchar2 |
|
p_level_id |
The user ID or group ID for which the value is being stored. Note: If the level type is SYSTEM, the level ID must be wwpre_api_value.SYSTEM_LEVEL_ID. Datatype: in integer |
|
p_value |
The number value to be stored. Datatype: in varchar2 |
|
p_commit |
This parameter is now obsolete. It is left here only to ensure that when older code is used, it still compiles. |
|
Exceptions:
Example: This example sets the default font size to 3, at the system level. declare l_varchar2_value varchar2(4000) := null; l_number_value number := null; begin
exception when VALUE_ERROR then
end; |
|
|
The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio |