Oracle9iAS Portal Developer Kit

delete_name procedure

Contained in package wwwpre_api_name.

Call this procedure to delete a specified preference name under a given path.

Note: This API deletes a name and all values associated with the name.

procedure delete_name

(

p_path in varchar2,

p_name in varchar2

 );

Version: Oracle Portal 3.0.6.6.5 or later

Parameters:

p_path

The preference path of the name to be deleted.

Datatype: in varchar2

p_name

The preference name to be deleted.

Datatype: in varchar2

Exceptions:

  • If the path is not found, a PATH_NOT_FOUND_EXCEPTION is raised.

  • If the name is not found, a NAME_NOT_FOUND_EXCEPTION is raised.
  • If the name is not deleted, a GENERAL_PREFERENCE_EXCEPTION is raised.

Example:

wwpre_api_name.delete_name

(

p_path=>'ORACLE.TOOLS.PORTAL.STYLE',

p_name=>'BGCOLOR'

);

Related topics

The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio