 |
Use Cases for WSRP 2.0 Public Navigational Parameters
Introduction
WSRP 2.0 defines various coordination mechanism such as Events, Consumer-mediated sharing of public values and producer-mediated coordination. This document covers use case for consumer mediated coordination using public values between portlets (local and remote).
Requirement
There are few requirements which are applicable to all the use case discussed below. In other words, WSRP consumer-mediated sharing of public values depends on following things :
1. The remote producer must be supporting WSRP V2 protocol.
2. The portlet description (as part of service description) for a remote portlet must provide information on its public navigation parameters.
Use Cases
Use Case 1: Public values distribution from a local portlet to a remote portlet
This use case covers sharing of public values between a local portlet and a remote portlet when publishing of public value is initiated by a local portlet.
During the processAction of a JSR 286 local portlet, the portlet may change one or more of its public values. If there are one or more remote portlet which are interested in these modified public values, the getMarkup() call for these remote portlet should return content based on changed public values.
Use Case 2: Public values distribution from a remote portlet to a local portlet
This use case covers sharing of public values between a local portlet and a remote portlet when publishing of public value is initiated by a remote portlet.
During the processAction of a remote portlet, the remote portlet may change one or more of its public values. If there are one or more JSR 286 portlet which are interested in these modified public values, the getMarkup() call for these local portlet should return content based on changed public values.
Use Case 3: Public values distribution from a remote portlet to another remote portlet
This use case covers sharing of public values between 2 remote portlet. These remote portlets may or may not be from the same producer.
During the processAction of a publishing remote portlet, the remote portlet may change one or more of its public values. If there are other remote portlets which are interested in these modified public values, the getMarkup() call for these processing remote portlets should return content based on changed public values.
|