Oracle9iAS Portal Developer Kit

copy procedure

Contained in package wwpre_api_util.

Use this procedure to copy the path and all the names and values under the given path.

Note: For database providers, this function can be used by the provider's copy_portlet procedure to copy preferences related to a portlet. For example, when a page is copied the copy_portlet function is called. The provider can use this function to copy the preferences associated with the portlet.

 procedure copy
  (
  p_source_path in varchar2,
  p_destination_path in varchar2 default null
  );

Version: Oracle Portal 3.0.8

Parameters:

p_source_path

The path name to be exported.

Datatype: in varchar2

p_destination_path

The new path name to be used when importing.

Datatype: in varchar2

Exceptions:

None.

Example:

wwpre_api_util.copy
(

p_source_path => 'company.portal.portlet.'||l_source_portlet_id,
p_destination_path => 'company.portal.portlet.'||l_destination_portlet_id

);

Related topics

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