|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wsrp4j.consumer.driver.InitCookieInfoImpl
org.apache.wsrp4j.consumer.driver.GenericGroupSessionImpl
Class implements a consumer based group session
Field Summary | |
protected java.util.Hashtable |
portletSessions
|
Constructor Summary | |
GenericGroupSessionImpl(java.lang.String groupID,
java.lang.String markupInterfaceURL)
|
Method Summary | |
void |
addPortletSession(PortletSession portletSession)
Add a portlet session to this group session. |
boolean |
existsPortletSession(java.lang.String portletHandle)
Check if the group session holds a portlet session with the given key. |
java.util.Iterator |
getAllPortletSessions()
Get all portlet session objects currently stored in the group session. |
java.lang.String |
getGroupID()
Get the ID of the group this group session belongs to. |
abstract PortletSession |
getPortletSession(java.lang.String portletHandle)
Get the portlet session object which is identified with the givven instanceKey from the group session. |
void |
removeAllPortletSessions()
Removes all portlet session objects from the group session. |
void |
removePortletSession(java.lang.String portletHandle)
Remove the portlet session object with the given key from the group session. |
void |
setGroupID(java.lang.String groupID)
Set the ID of the group this group session belongs to. |
Methods inherited from class org.apache.wsrp4j.consumer.driver.InitCookieInfoImpl |
getMarkupInterfaceURL, getWSRPBaseService, isInitCookieDone, isInitCookieRequired, setInitCookieDone, setInitCookieRequired, setWSRPBaseService |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.wsrp4j.consumer.InitCookieInfo |
getMarkupInterfaceURL, getWSRPBaseService, isInitCookieDone, isInitCookieRequired, setInitCookieDone, setInitCookieRequired, setWSRPBaseService |
Field Detail |
protected java.util.Hashtable portletSessions
Constructor Detail |
public GenericGroupSessionImpl(java.lang.String groupID, java.lang.String markupInterfaceURL) throws WSRPException
Method Detail |
public java.lang.String getGroupID()
GroupSession
getGroupID
in interface GroupSession
public void setGroupID(java.lang.String groupID)
GroupSession
setGroupID
in interface GroupSession
groupID
- ID of the grouppublic void addPortletSession(PortletSession portletSession)
GroupSession
addPortletSession
in interface GroupSession
portletSession
- The portlet session which should be
added to this group session.public abstract PortletSession getPortletSession(java.lang.String portletHandle)
GroupSession
getPortletSession
in interface GroupSession
portletHandle
- The key which identifies the portlet session object
public java.util.Iterator getAllPortletSessions()
GroupSession
getAllPortletSessions
in interface GroupSession
public void removePortletSession(java.lang.String portletHandle)
GroupSession
removePortletSession
in interface GroupSession
portletHandle
- Key which identifies the portlet session object to be removed.public void removeAllPortletSessions()
GroupSession
removeAllPortletSessions
in interface GroupSession
public boolean existsPortletSession(java.lang.String portletHandle)
GroupSession
existsPortletSession
in interface GroupSession
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |