|
||||||||||
| 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 | |
|---|---|
org.exoplatform.services.wsrp2.type.PortletContext |
clonePortlet(UserSessionMgr userSession)
Clone the portlet |
org.exoplatform.services.wsrp2.type.DestroyPortletsResponse |
destroyPortlets(String[] portletHandles,
UserSessionMgr userSession)
Destroy the producer portlets specified in the entiyHandles array. |
org.exoplatform.services.wsrp2.type.MarkupResponse |
getMarkup(WSRPMarkupRequest markupRequest,
UserSessionMgr userSession,
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. |
org.exoplatform.services.wsrp2.type.PortletDescriptionResponse |
getPortletDescription(UserSessionMgr userSession,
String[] desiredLocales)
|
org.exoplatform.services.wsrp2.type.PropertyList |
getPortletProperties(String[] names,
UserSessionMgr userSession)
|
org.exoplatform.services.wsrp2.type.PortletPropertyDescriptionResponse |
getPortletPropertyDescription(UserSessionMgr userSession)
|
org.exoplatform.services.wsrp2.type.ResourceResponse |
getResource(WSRPResourceRequest resourceRequest,
UserSessionMgr userSession,
String baseURL)
|
org.exoplatform.services.wsrp2.type.HandleEventsResponse |
handleEvents(WSRPEventsRequest eventRequest,
UserSessionMgr userSession,
String baseURL)
|
void |
initCookie(UserSessionMgr userSession)
|
org.exoplatform.services.wsrp2.type.BlockingInteractionResponse |
performBlockingInteraction(WSRPInteractionRequest actionRequest,
UserSessionMgr userSession,
String baseURL)
This method is used to perform a blocking interaction on the portlet instance. |
org.exoplatform.services.wsrp2.type.ReturnAny |
releaseSessions(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. |
org.exoplatform.services.wsrp2.type.PortletContext |
setPortletProperties(org.exoplatform.services.wsrp2.type.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 org.exoplatform.services.wsrp2.type.MarkupResponse getMarkup(WSRPMarkupRequest markupRequest,
UserSessionMgr userSession,
String baseURL)
throws WSRPException
PortletDriver
getMarkup in interface PortletDriverWSRPException
public org.exoplatform.services.wsrp2.type.BlockingInteractionResponse performBlockingInteraction(WSRPInteractionRequest actionRequest,
UserSessionMgr userSession,
String baseURL)
throws WSRPException
PortletDriver
performBlockingInteraction in interface PortletDriverWSRPException
public org.exoplatform.services.wsrp2.type.PortletContext clonePortlet(UserSessionMgr userSession)
throws WSRPException
PortletDriver
clonePortlet in interface PortletDriverWSRPException
public org.exoplatform.services.wsrp2.type.DestroyPortletsResponse destroyPortlets(String[] portletHandles,
UserSessionMgr userSession)
throws WSRPException
PortletDriver
destroyPortlets in interface PortletDriverWSRPException
public org.exoplatform.services.wsrp2.type.ReturnAny releaseSessions(String[] sessionIDs,
UserSessionMgr userSession)
throws WSRPException
PortletDriver
releaseSessions in interface PortletDriverWSRPException
public void initCookie(UserSessionMgr userSession)
throws WSRPException
initCookie in interface PortletDriverWSRPException
public org.exoplatform.services.wsrp2.type.PortletDescriptionResponse getPortletDescription(UserSessionMgr userSession,
String[] desiredLocales)
throws WSRPException
getPortletDescription in interface PortletDriverWSRPException
public org.exoplatform.services.wsrp2.type.PortletPropertyDescriptionResponse getPortletPropertyDescription(UserSessionMgr userSession)
throws WSRPException
getPortletPropertyDescription in interface PortletDriverWSRPException
public org.exoplatform.services.wsrp2.type.PropertyList getPortletProperties(String[] names,
UserSessionMgr userSession)
throws WSRPException
getPortletProperties in interface PortletDriverWSRPException
public org.exoplatform.services.wsrp2.type.PortletContext setPortletProperties(org.exoplatform.services.wsrp2.type.PropertyList properties,
UserSessionMgr userSession)
throws WSRPException
setPortletProperties in interface PortletDriverWSRPException
public org.exoplatform.services.wsrp2.type.ResourceResponse getResource(WSRPResourceRequest resourceRequest,
UserSessionMgr userSession,
String baseURL)
throws WSRPException
getResource in interface PortletDriverWSRPException
public org.exoplatform.services.wsrp2.type.HandleEventsResponse handleEvents(WSRPEventsRequest eventRequest,
UserSessionMgr userSession,
String baseURL)
throws WSRPException
handleEvents in interface PortletDriverWSRPException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||