Oracle9iAS Portal Developer Kit

find function (ID) function

Contained in package wwpro_api_progrp_registry.

Call this function to find a registered provider group (given an id) and return the corresponding provider_group_record.

Note: The language of translatable text in the provider group record is determined by the p_language argument.

function find
(

p_provider_group_id in varchar2,
p_language in varchar2 default null

)
return provider_group_record;

Version: Oracle9iAS Portal 9.0.2 or later

Parameters:

 p_provider_group_id

The ID of the provider group required.

Datatype: in varchar2

 p_language

The NLS language to be used when translating the 'display_name' of the provider group.

For example, wwnls_api.FRENCH. For more information, refer to
NLS and HTTP language constants.

Datatype: in varchar2
Default: null

Returns:

This function returns the provider group record corresponding to the given ID (p_provider_group_id).

Exceptions:

If the provider group cannot be found, PROGRP_NOT_FOUND_EXCEPTION is raised.

Example:

begin

wwpro_api_progrp_registry.find
(

p_provider_group_id => '8C307B34BC44211FE034080020F7DA4B',
p_language => wwnls_api.FRENCH

)

end;

Related topics

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