Oracle9iAS Portal Developer Kit
Understanding how Providers, Portlets, Portal Pages and the Portlet Repository Interact

This article describes the events in the life cycle of a provider. It discusses how Oracle9iAS Portal pages and the portlet repository interact with the providers and their portlets. It also explains the events in which providers are contacted and the APIs that are involved.

Introducing the Portlet Repository

The portlet repository is a content area where portlet metadata is stored. It serves two main functions:

Introducing the Portlet Record
Oracle9iAS Portal stores the provider's portlet metadata, which consists of the data sent to the Portal in the provider's getPortlet method. The data is returned to Oracle9iAS Portal in a portlet record structure which contains information about a portlet such as its name, title, description, timeout, timeout message, etc. Oracle9iAS Portal stores this data in order to improve performance. The provider directs the Portal on when it can use the portlet metadata. There are two fields in the portlet record that are used to accomplish this. The fields are call_is_runnable and call_get_portlet. These fields play an important role in the way Oracle9iAS Portal interacts with providers. For details relating to the purpose and use of these fields, refer to Portlet_record record structure and table in the PL/SQL API Reference.

REGISTERING A PROVIDER

When a provider is registered with Oracle9iAS Portal the following events take place:

The Role of Oracle9iAS Portal
When a provider is registered, Oracle9iAS Portal performs the following functions: EDITING A PROVIDER

When a provider is edited, the following events take place:

The Role of Oracle9iAS Portal
When a provider is edited, Oracle9iAS Portal performs the following functions: PROVIDER LEVEL SECURITY

When a provider is registered or edited via the wwpro_api_provider_registry APIs, the users privileges are checked against the ACL associated with the provider. Oracle9iAS Portal performs the following privilege checks:

After registering a provider, the user who registered the provider is given Manage privilege on that provider.

When a provider is registered, or edited via Oracle9iAS Portal, the Oracle9iAS Portal exhibits the following behaviors:

REFRESHING THE PORTLET REPOSITORY

You can refresh the portlet repository by clicking the Refresh link in the portlet repository, or by running the wwpro_api_provider_registry.refresh_portlet_repository API.

When the portlet repository is refreshed, the following events take place:

The Role of Oracle9iAS Portal

When the portlet repository is refreshed, Oracle9iAS Portal performs the following functions:

DISPLAYING THE PORTLET REPOSITORY

When the portlet repository is displayed, the following events take place:

The Role of Oracle9iAS Portal
Oracle9iAS Portal performs the following security checks to determine which portlets are displayed: ADDING A PORTLET TO A PAGE - EDIT/CUSTOMIZATION SCREEN

When you edit or customize an Oracle9iAS Portal page, the following events take place:

The Role of Oracle9iAS Portal

When the Edit or Customization screens are displayed, Oracle9iAS Portal performs these security checks for each portlet:

ADDING A PORTLET TO A PAGE - ADD PORTLETS SCREEN

When you add a portlet to a page, the following events take place:

The Role of Oracle9iAS Portal
When the Add Portlet screen is displayed, Oracle9iAS Portal performs the following functions: DISPLAYING PORTLETS IN A PAGE

When Oracle9iAS Portal renders a Portal page, the following events take place:

The Role of Oracle9iAS Portal
When Oracle9iAS Portal renders a portal page, it determines whether to call the provider to render the portlet, based on portlet item security. Oracle9iAS Portal performs the following functions: When the provider is contacted to render the portlet, Oracle9iAS Portal performs the following functions: REMOVING A PORTLET FROM A PAGE - EDIT/CUSTOMIZATION SCREEN

When you remove a portlet from an Oracle9iAS Portal page, the following events take place:

The Role of Oracle9iAS Portal
When Oracle9iAS Portal removes a portlet from the Edit/Customization screens it performs the following function: DEREGISTERING A PROVIDER

When you deregister a provider, the following events take place:

The Role of Oracle9iAS Portal
When a provider is deregistered, Oracle9iAS Portal performs the following functions: OFFLINING A PROVIDER

When a provider is taken offline, the following events take place:

The Role of Oracle9iAS Portal
When a provider is taken offline, Oracle9iAS Portal performs the following functions:

Revision History: