edit_provider procedure

Contained in package wwpro_api_provider_registry.

Call this procedure to update the properties of a registered provider.

Note: This procedure only updates local providers.

procedure edit_provider

(

p_provider in provider_record

);

A user must have the All Provider Manage or the All Provider Publish privilege to edit a provider record.

Version: Oracle Portal 3.0.6.6.5 or later

Parameter:

p_provider

A provider record specifying current provider properties.

Datatype: in provider_record

Exceptions:

  • If the user does not have the privilege to execute this procedure, a wwpro_api_provider.PROVIDER_SECURITY_EXCEPTION is raised.

  • If the specified provider is not found, a wwpro_api_provider.PROVIDER_NOT_FOUND_EXCEPTION is raised.

  • If the passed values fail validation or if an unexpected error occurs, a wwpro_api_provider.PROVIDER_VALIDATION_EXCEPTION is raised.

  • If the passed values fail validation a wwpro_api_provider.PROVIDER_VALIDATION_EXCEPTION is raised.

  • If an unexpected error occurs a wwpro_api_provider.PROVIDER_REGISTRTN_EXCEPTION is raised.

Example:

l_provider wwpro_api_provider_registry.provider_record;

l_provider.id := 849478;
l_provider.login_frequency := wwpro_api_provider.LOGIN_FREQUENCY_ONCE;

wwpro_api_provider_registry.edit_provider(l_provider);

Notes

  • A provider can be edited only after the provider is registered with Oracle Portal.

  • A local node is the local Oracle Portal installation.

Related topics

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