find_provider function (id)

Contained in package wwpro_api_provider_registry.

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

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

function find_provider

(

p_id in integer,

p_language in varchar2 default null

)

return node_provider_record;

Any user can execute this function.

Version: Oracle Portal 3.0.6.6.5 or later

Parameters:

p_id

A unique identifier for the portlet provider, allocated by Oracle Portal.

Note: A null value is not permitted.

Datatype: in integer

p_language

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

Datatype: in varchar2
Default: 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_id => 20,
p_language => wwnls_api.AMERICAN

);

Related topics

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