|
||||||||||
| 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 java.lang.String |
portletHandle
|
protected java.util.Map<java.lang.String,PortletWindowSession> |
portletWindowSessions
|
| Constructor Summary | |
|---|---|
PortletSessionTemplate()
|
|
| Method Summary | |
|---|---|
java.util.Iterator |
getAllPorletWindowSessions()
Get all window session which belong to the portlet session |
java.lang.String |
getPortletHandle()
Get the portlet handle which uniquely identifies the portlet session at the consumer side. |
abstract PortletWindowSession |
getPortletWindowSession(java.lang.String windowID)
Get the SimplePortletWindowSession of the portlet window
with the given ID. |
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(java.lang.String windowID)
Remove the porlet window session with the given window id. |
void |
setPortletHandle(java.lang.String portletHandle)
Set the portlet handle of the portlet this session belongs to. |
void |
setSessionContext(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 java.lang.String portletHandle
protected java.util.Map<java.lang.String,PortletWindowSession> portletWindowSessions
| Constructor Detail |
|---|
public PortletSessionTemplate()
| Method Detail |
|---|
public java.lang.String getPortletHandle()
PortletSession
getPortletHandle in interface PortletSessionpublic void setPortletHandle(java.lang.String portletHandle)
PortletSession
setPortletHandle in interface PortletSessionportletHandle - The portlet handlepublic SessionContext getSessionContext()
PortletSession
getSessionContext in interface PortletSessionpublic void setSessionContext(SessionContext sessionContext)
PortletSession
setSessionContext in interface PortletSessionsessionContext - The session context.public abstract PortletWindowSession getPortletWindowSession(java.lang.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 java.util.Iterator getAllPorletWindowSessions()
PortletSession
getAllPorletWindowSessions in interface PortletSessionSimplePortletWindowSession objects.public PortletWindowSession removePortletWindowSession(java.lang.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 | |||||||||