|
register_provider function |
|
Contained in package wwpro_api_provider_registry. Call this function to register a portlet provider with Oracle Portal and return the provider's ID. When a provider is added to the provider repository, its associated portlets are also added to the portlet repository. Note: If a timeout message ID passed into the provider record is null but the message field has a value, the value is used as the timeout message. When this API is executed as the Portal schema owner, the Portal user
is assumed to be the Portal schema owner who has the necessary privileges
to register a provider. However, when the API is executed in a provider
schema the Portal user is assumed to be PUBLIC and does not have
the necessary privileges to register a provider. In this case, you must
first call wwctx_api.set_context to establish
an authenticated session within the current SQLPLUS session. You must
provide a valid username/password as authentication takes place with the
Single Sign-On Server. function register_provider (
) |
|
|
A user must have the All Provider Manage or All Provider Publish privilege to register the provider. |
|
Version: Oracle Portal 3.0.6.6.5 or later | |
|
Parameters: |
|
|
p_provider_rec |
The record for the provider to be registered. Datatype: in provider_record |
|
Returns: This function returns a provider ID and stores the timeout message string in the NLS subsystem in the specified language. Exceptions:
Example:
declare begin l_provider_id := wwpro_api_provider_registry.register_provider wwpro_api_provider_registry.print_provider( |
|
|
Note |
|
You can determine the current language settings with the wwnls_api.get_language function. Implementation Name and Implementation Owner are only valid for PL/SQL implementations. HTTP URL, Require Proxy, HTTP Application Type, Provider Key, Encryption Key and HTTP Application ID are only valid for HTTP implementations. |
|
The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio |