find_provider function (name)

Contained in package wwpro_api_provider_registry.

Call this function to find a provider, given a provider name. The provider record is returned in the language requested, if available.

Providers may also be found using the find_provider (id) procedure.

function find_provider

(

p_name in varchar2,

p_language in varchar2 default null

p_node_id in integer default null

)

return node_provider_record;

Any user can execute this function.

Version: Oracle Portal 3.0.6.6.5 or later

Parameters:

p_name

The name of the portlet provider.

Note: A null value is not permitted.

Datatype: in varchar2

p_language

A constant that specifies the language for the returned translatable strings.

Datatype: in varchar2
Default: null

p_node_id

No longer used, Oracle9iAS Portal 9.0.2 or later. Leave null.

Returns:

This function returns the provider record (node_provider_record), or null if the provider record is not found.

Exceptions:

This function raises no user-defined exceptions.

Example:

l_provider wwpro_api_provider_registry.node_provider_record;

l_provider := wwpro_api_provider_registry_provider.find_provider
(

p_name => 'GENERAL',

p_language => wwnls_api.AMERICAN

);

Related topics

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