get_api_version function

Contained in package wwpro_api_provider.

Oracle Portal calls this function to get the specification version that the provider implementation expects.

Note: For Oracle Portal 3.0, providers must return wwpro_api_provider.API_VERSION_1.

function get_api_version

(

p_provider_id in integer

)

return integer;

Any user can use this function.

Version: Oracle Portal 3.0.6.6.5 or later

Parameter:

p_provider_id

A unique identifier for the provider.

Datatype: in integer

Returns:

This function returns the expected API version to Oracle Portal.

Exceptions:

This function raises no user-defined exceptions.

Example:

l_version := wwpro_api_provider.get_api_version

(

p_provider_id =>19834

);

Related topics

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