OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsrp message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: [wsrp][interfaces and protocols]: Portal using WSRP Service



Hi Mike,

here's the life-cycle writeup I promised:

Binding to a WSRP Service
-------------------------

Pre: - The Portal and the WSRP Portlet Service are not bound -

1. The administrator browses the directory for WSRP services using the
portal admin UI -->
- The Portal finds the WSRP Portlet Service in the directory

2. The administrator selects a WSRP service -->
- The Portal makes a call or series of calls to the WSRP Portlet Service to
establish a relation (bind) (may include establishing a trust relation, see
my security note)
- The Portal creates a portlet template referencing the WSRP portlet
service. (Potentially, the template may need to be parameterized with
template settings to become usable.)

Post: - The portal is bound to the WSRP service through the portlet
template, users may now see the template beeing offered in the portal's
customizer -

Creation of Instances
---------------------

Pre: - The portal is bound to the WSRP service through the portlet
template, users may now see the template beeing offered in the portal's
customizer/toolbox -

3. A portal user selects the portlet template to be put on a page -->
- The portal server creates a portlet instance from the portlet template
- The portal server links the instance to the user's page

Post: - The portal is bound to the WSRP service through the portlet
template, users may now see the template beeing offered in the portal's
customizer/toolbox and a unique instance which may have persistent data now
exists for the user

Destruction of Instances
------------------------

Pre: - The portal is bound to the WSRP service through the portlet
template, users may now see the template beeing offered in the portal's
customizer/toolbox and a unique instance which may have persistent data now
exists for the user

4. A portal user discards a portlet instance from a page -->
- The portal discards the link from the page to the instance
- The portal discards the instance

Pre: - The portal is bound to the WSRP service through the portlet
template, users may now see the template beeing offered in the portal's
customizer/toolbox, the unique instance does no longer exist

Unbinding a WSRP service
------------------------

Pre: - The portal is bound to a WSRP service through a portlet template,
users may now see the template beeing offered in the portal's customizer -

5. The adminstrator browses the list of portlet tempplates and discards the
portlet template -->
- The portal makes a call to the WSRP Portlet Service referenced in the
portlet template to undo the binding
- The portal discards the portlet template

Post: - The Portal and the WSRP Portlet Service are not bound -

Best regards,

Thomas




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC