|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.wsrp2.consumer.impl.PortletDriverImpl
public class PortletDriverImpl
The implementation of this class is based on the WSRP4J project Author : Alexey Zavizionov alexey.zavizionov@exoplatform.com.ua
| Constructor Summary | |
|---|---|
PortletDriverImpl(org.exoplatform.container.ExoContainer cont,
WSRPPortlet portlet)
|
|
| Method Summary | |
|---|---|
PortletContext |
clonePortlet(UserSessionMgr userSession)
Clone the portlet |
DestroyPortletsResponse |
destroyPortlets(java.lang.String[] portletHandles,
UserSessionMgr userSession)
Destroy the producer portlets specified in the entiyHandles array. |
MarkupResponse |
getMarkup(WSRPMarkupRequest markupRequest,
UserSessionMgr userSession,
java.lang.String baseURL)
This method is used to retrieve the markup generated by the portlet instance. |
WSRPPortlet |
getPortlet()
Get the portlet this driver is bound to. |
PortletDescriptionResponse |
getPortletDescription(UserSessionMgr userSession,
java.lang.String[] desiredLocales)
|
PropertyList |
getPortletProperties(java.lang.String[] names,
UserSessionMgr userSession)
|
PortletPropertyDescriptionResponse |
getPortletPropertyDescription(UserSessionMgr userSession)
|
ResourceResponse |
getResource(WSRPResourceRequest resourceRequest,
UserSessionMgr userSession,
java.lang.String baseURL)
|
HandleEventsResponse |
handleEvents(WSRPEventsRequest eventRequest,
UserSessionMgr userSession,
java.lang.String baseURL)
|
void |
initCookie(UserSessionMgr userSession)
|
BlockingInteractionResponse |
performBlockingInteraction(WSRPInteractionRequest actionRequest,
UserSessionMgr userSession,
java.lang.String baseURL)
This method is used to perform a blocking interaction on the portlet instance. |
ReturnAny |
releaseSessions(java.lang.String[] sessionIDs,
UserSessionMgr userSession)
Inform the producer that the sessions specified in the sessionIDs array will no longer be used by the consumer and can therefor be released. |
PortletContext |
setPortletProperties(PropertyList properties,
UserSessionMgr userSession)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PortletDriverImpl(org.exoplatform.container.ExoContainer cont,
WSRPPortlet portlet)
throws WSRPException
WSRPException| Method Detail |
|---|
public WSRPPortlet getPortlet()
PortletDriver
getPortlet in interface PortletDriver
public MarkupResponse getMarkup(WSRPMarkupRequest markupRequest,
UserSessionMgr userSession,
java.lang.String baseURL)
throws WSRPException
PortletDriver
getMarkup in interface PortletDriverWSRPException
public BlockingInteractionResponse performBlockingInteraction(WSRPInteractionRequest actionRequest,
UserSessionMgr userSession,
java.lang.String baseURL)
throws WSRPException
PortletDriver
performBlockingInteraction in interface PortletDriverWSRPException
public PortletContext clonePortlet(UserSessionMgr userSession)
throws WSRPException
PortletDriver
clonePortlet in interface PortletDriverWSRPException
public DestroyPortletsResponse destroyPortlets(java.lang.String[] portletHandles,
UserSessionMgr userSession)
throws WSRPException
PortletDriver
destroyPortlets in interface PortletDriverWSRPException
public ReturnAny releaseSessions(java.lang.String[] sessionIDs,
UserSessionMgr userSession)
throws WSRPException
PortletDriver
releaseSessions in interface PortletDriverWSRPException
public void initCookie(UserSessionMgr userSession)
throws WSRPException
initCookie in interface PortletDriverWSRPException
public PortletDescriptionResponse getPortletDescription(UserSessionMgr userSession,
java.lang.String[] desiredLocales)
throws WSRPException
getPortletDescription in interface PortletDriverWSRPException
public PortletPropertyDescriptionResponse getPortletPropertyDescription(UserSessionMgr userSession)
throws WSRPException
getPortletPropertyDescription in interface PortletDriverWSRPException
public PropertyList getPortletProperties(java.lang.String[] names,
UserSessionMgr userSession)
throws WSRPException
getPortletProperties in interface PortletDriverWSRPException
public PortletContext setPortletProperties(PropertyList properties,
UserSessionMgr userSession)
throws WSRPException
setPortletProperties in interface PortletDriverWSRPException
public ResourceResponse getResource(WSRPResourceRequest resourceRequest,
UserSessionMgr userSession,
java.lang.String baseURL)
throws WSRPException
getResource in interface PortletDriverWSRPException
public HandleEventsResponse handleEvents(WSRPEventsRequest eventRequest,
UserSessionMgr userSession,
java.lang.String baseURL)
throws WSRPException
handleEvents in interface PortletDriverWSRPException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||