Oracle9iAS Portal Developer Kit

invalidate_by_instance procedure

Contained in package wwpro_api_invalidation.

Call this procedure to invalidate the user cache for a portlet instance.

Note: This bulk invalidation is accomplished using a single call to the Web cache listener.

procedure invalidate_by_instance
(

p_provider_id in number,
p_portlet_id in number,
p_instance_id in varchar2,
p_user in varchar2 default null

);

Version: Oracle9iAS Portal 9.0.2 or later

Parameters:

 p_provider_id

The ID of the provider.

Datatype: in number

 p_portlet_id

The ID of the portlet.

Datatype: in number

 p_instance_id

The portlet instance ID.

A portlet instance is the display of a portlet on a single page. The same portlet may be displayed multiple times on the same page. Each time a portlet is added to a page, Oracle Portal generates a unique ID that is the instance’s portlet instance ID.

Datatype: in varchar2

 p_user

The Oracle Portal user.

Datatype: in varchar2
Default: null

Exceptions:

This procedure raises no user-defined exceptions.

Example:

wwpro_api_invalidation.invalidate_by_instance
(

p_provider_id => 5,
p_portlet_id => 20,
p_instance_id => 80,
p_user => wwctx_api.get_user

)
;

Related topics

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