|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.wsrp.consumer.impl.PortletDriverImpl
public class PortletDriverImpl
The implementation of this class is based on the WSRP4J project
| 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 path)
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)
|
void |
initCookie()
|
BlockingInteractionResponse |
performBlockingInteraction(WSRPInteractionRequest actionRequest,
UserSessionMgr userSession,
java.lang.String path)
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 path)
throws WSRPException
PortletDriver
getMarkup in interface PortletDriverWSRPException
public BlockingInteractionResponse performBlockingInteraction(WSRPInteractionRequest actionRequest,
UserSessionMgr userSession,
java.lang.String path)
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()
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||