Oracle9iAS Portal Developer Kit

delete_path procedure

Contained in package wwwpre_api_name.

Call this procedure to delete a preference path. The delete_path procedure deletes the specified path, the specified name and all values associated with it, and all subordinate names and values.

Notes:

  • The last name specified in p_path is deleted.

  • The names in the path must be delimited with a period (.).

Examples:

  • If the path to be deleted is ORACLE.PORTAL.STYLE, and if the names associated with STYLE are BGCOLOR, BANNERCOLOR, and PAGE_IMAGE, and if each name has a number of values associated with it, then delete_path deletes BGCOLOR, BANNERCOLOR, and PAGE_IMAGE and all values associated with each name. Then it deletes STYLE from the path.

  • If the preference path to be deleted is ORACLE, delete_path removes the entire path.

procedure delete_path

(

p_path in varchar2

);

Version: Oracle Portal 3.0.6.6.5 or later

Parameters:

p_path

The preference path to be deleted.

Datatype: in varchar2

Exceptions:

  • If the path is not deleted, a GENERAL_PREFERENCE_EXCEPTION is raised.

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

Example:

wwwpre_api_name.delete_path

(

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

);

Related topics

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