1 package org.exoplatform.services.wsrp.consumer; 2 3 import org.exoplatform.services.wsrp.exceptions.WSRPException; 4 import org.exoplatform.services.wsrp.type.*; 5 6 12 public interface PortletDriver { 13 14 19 public WSRPPortlet getPortlet(); 20 21 26 public MarkupResponse getMarkup(WSRPMarkupRequest markupRequest, 27 UserSessionMgr userSession, 28 String path) 29 throws WSRPException; 30 31 34 public BlockingInteractionResponse performBlockingInteraction(InteractionRequest actionRequest, 35 UserSessionMgr userSession, 36 String path) 37 throws WSRPException; 38 39 44 public PortletContext clonePortlet(UserSessionMgr userSession) throws WSRPException; 45 46 49 public void initCookie() throws WSRPException; 50 51 54 public DestroyPortletsResponse destroyPortlets(String [] portletHandles, 55 UserSessionMgr userSession) 56 throws WSRPException; 57 58 62 public ReturnAny releaseSessions(String [] sessionIDs, 63 UserSessionMgr userSession) 64 throws WSRPException; 65 66 67 public PortletDescriptionResponse getPortletDescription(UserSessionMgr userSession, 68 String [] desiredLocales) 69 throws WSRPException; 70 71 72 public PortletPropertyDescriptionResponse getPortletPropertyDescription(UserSessionMgr userSession) 73 throws WSRPException; 74 75 public PropertyList getPortletProperties(String [] names, UserSessionMgr userSession) 76 throws WSRPException; 77 78 public PortletContext setPortletProperties(PropertyList properties, UserSessionMgr userSession) 79 throws WSRPException; 80 } 81 | Popular Tags |