|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.wsrp.consumer.templates.PortletSessionTemplate
public abstract class PortletSessionTemplate
| Field Summary | |
|---|---|
protected String |
portletHandle
|
protected Map<String,PortletWindowSession> |
portletWindowSessions
|
| Constructor Summary | |
|---|---|
PortletSessionTemplate()
|
|
| Method Summary | |
|---|---|
Iterator |
getAllPorletWindowSessions()
Get all window session which belong to the portlet session |
String |
getPortletHandle()
Get the portlet handle which uniquely identifies the portlet session at the consumer side. |
abstract PortletWindowSession |
getPortletWindowSession(String windowID)
Get the SimplePortletWindowSession of the portlet window
with the given ID. |
org.exoplatform.services.wsrp.type.SessionContext |
getSessionContext()
Get the WSRP session context of the portlet instance. |
void |
removeAllPortletWindowSessions()
Remove all portlet window sessions which belong to this portlet session. |
PortletWindowSession |
removePortletWindowSession(String windowID)
Remove the porlet window session with the given window id. |
void |
setPortletHandle(String portletHandle)
Set the portlet handle of the portlet this session belongs to. |
void |
setSessionContext(org.exoplatform.services.wsrp.type.SessionContext sessionContext)
Set the session context of the portlet instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String portletHandle
protected Map<String,PortletWindowSession> portletWindowSessions
| Constructor Detail |
|---|
public PortletSessionTemplate()
| Method Detail |
|---|
public String getPortletHandle()
PortletSession
getPortletHandle in interface PortletSessionpublic void setPortletHandle(String portletHandle)
PortletSession
setPortletHandle in interface PortletSessionportletHandle - The portlet handlepublic org.exoplatform.services.wsrp.type.SessionContext getSessionContext()
PortletSession
getSessionContext in interface PortletSessionpublic void setSessionContext(org.exoplatform.services.wsrp.type.SessionContext sessionContext)
PortletSession
setSessionContext in interface PortletSessionsessionContext - The session context.public abstract PortletWindowSession getPortletWindowSession(String windowID)
PortletSessionSimplePortletWindowSession of the portlet window
with the given ID.
getPortletWindowSession in interface PortletSessionwindowID - The ID of the portlet window
PorletWindowSession with the given ID.public Iterator getAllPorletWindowSessions()
PortletSession
getAllPorletWindowSessions in interface PortletSessionSimplePortletWindowSession objects.public PortletWindowSession removePortletWindowSession(String windowID)
PortletSession
removePortletWindowSession in interface PortletSessionwindowID - The ObjectID of the portlet window whichs session shoul dbe
removed
public void removeAllPortletWindowSessions()
PortletSession
removeAllPortletWindowSessions in interface PortletSession
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||