|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.wsrp2.consumer.templates.InitCookieTemplate
org.exoplatform.services.wsrp2.consumer.impl.helpers.InitCookieImpl
org.exoplatform.services.wsrp2.consumer.impl.helpers.GroupSessionImpl
public class GroupSessionImpl
| Field Summary | |
|---|---|
protected String |
groupID
|
protected Map<String,PortletSession> |
portletSessions
|
| Constructor Summary | |
|---|---|
GroupSessionImpl(String groupID,
String markupURL)
|
|
| Method Summary | |
|---|---|
void |
addPortletSession(PortletSession portletSession)
Add a portlet session to this group session. |
boolean |
existsPortletSession(String instanceKey)
Check if the group session holds a portlet session with the given key. |
Iterator<PortletSession> |
getAllPortletSessions()
Get all portlet session objects currently stored in the group session. |
String |
getGroupID()
Get the ID of the group this group session belongs to. |
PortletSession |
getPortletSession(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(String instanceKey)
Remove the portlet session object with the given key from the group session. |
void |
setGroupID(String groupID)
Set the ID of the group this group session belongs to. |
| Methods inherited from class org.exoplatform.services.wsrp2.consumer.impl.helpers.InitCookieImpl |
|---|
getMarkupInterfaceURL, getWSRPMarkupService, setWSRPMarkupService |
| Methods inherited from class org.exoplatform.services.wsrp2.consumer.templates.InitCookieTemplate |
|---|
isInitCookieDone, isInitCookieRequired, setInitCookieDone, setInitCookieRequired |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.exoplatform.services.wsrp2.consumer.InitCookieInfo |
|---|
getMarkupInterfaceURL, getWSRPMarkupService, isInitCookieDone, isInitCookieRequired, setInitCookieDone, setInitCookieRequired, setWSRPMarkupService |
| Field Detail |
|---|
protected String groupID
protected Map<String,PortletSession> portletSessions
| Constructor Detail |
|---|
public GroupSessionImpl(String groupID,
String markupURL)
| Method Detail |
|---|
public PortletSession getPortletSession(String portletHandle)
GroupSession
getPortletSession in interface GroupSessionportletHandle - The key which identifies the portlet session object
public String getGroupID()
GroupSession
getGroupID in interface GroupSessionpublic void setGroupID(String groupID)
GroupSession
setGroupID in interface GroupSessiongroupID - ID of the grouppublic Iterator<PortletSession> getAllPortletSessions()
GroupSession
getAllPortletSessions in interface GroupSessionpublic boolean existsPortletSession(String instanceKey)
GroupSession
existsPortletSession in interface GroupSessionpublic void addPortletSession(PortletSession portletSession)
GroupSession
addPortletSession in interface GroupSessionpublic void removePortletSession(String instanceKey)
GroupSession
removePortletSession in interface GroupSessioninstanceKey - Key which identifies the portlet session object to be
removed.public void removeAllPortletSessions()
GroupSession
removeAllPortletSessions in interface GroupSession
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||