Interface for a consumer based group session.A group session
is used to hold portlet session objects of portlet instances
which belong to the same group of the same producer according to their
portlet description.
author: Stephan Laertz author: Peter Fischer
Add a portlet session to this group session.
Parameters: portletSession - The portlet session which should be added to this group session.
existsPortletSession
public boolean existsPortletSession(String instanceKey)(Code)
Check if the group session holds a portlet session with the given key.
True if the group session holds a protlet session with the given key;false otherwise
Get the portlet session object which is identified with
the givven instanceKey from the group session. If no portlet session
with that instanceKey exists it depends of the implementation wether
null or a newly created portlet session object is returned.
Parameters: instanceKey - The key which identifies the portlet session object The portlet session with the given key
Removes all portlet session objects from the group session. Consequently
this methods can be used to clear the group session.
removePortletSession
public void removePortletSession(String instanceKey)(Code)
Remove the portlet session object with the given key from the
group session. Subsequent calls of getPortletSession with the same
key should either return null or a newly created object.
Parameters: instanceKey - Key which identifies the portlet session object to be removed.