|
||||||||||
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.GenericPortletSessionImpl
Field Summary | |
protected java.util.Map |
windowSessions
|
Constructor Summary | |
GenericPortletSessionImpl(java.lang.String handle)
|
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 PortletWindowSession 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 handle)
Set the portlet handle of the portlet this session belongs to. |
void |
setSessionContext(SessionContext ctx)
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 final java.util.Map windowSessions
Constructor Detail |
public GenericPortletSessionImpl(java.lang.String handle)
Method Detail |
public java.lang.String getPortletHandle()
PortletSession
getPortletHandle
in interface PortletSession
public void setPortletHandle(java.lang.String handle)
PortletSession
setPortletHandle
in interface PortletSession
handle
- The portlet handlepublic SessionContext getSessionContext()
PortletSession
getSessionContext
in interface PortletSession
public void setSessionContext(SessionContext ctx)
PortletSession
setSessionContext
in interface PortletSession
ctx
- The session context.public abstract PortletWindowSession getPortletWindowSession(java.lang.String windowID)
PortletWindowSession
of the portlet window with the given ID.
getPortletWindowSession
in interface PortletSession
windowID
- The ID of the portlet window
PorletWindowSession
with the given ID.public java.util.Iterator getAllPorletWindowSessions()
getAllPorletWindowSessions
in interface PortletSession
SimplePortletWindowSession
objects.public PortletWindowSession removePortletWindowSession(java.lang.String windowID)
removePortletWindowSession
in interface PortletSession
windowID
- The ID of the portlet window whichs session shoul dbe removed
public void removeAllPortletWindowSessions()
removeAllPortletWindowSessions
in interface PortletSession
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |