1 7 package org.exoplatform.services.wsrp.producer; 8 9 import java.util.Map ; 10 import java.util.Collection ; 11 import org.exoplatform.services.portletcontainer.pci.*; 12 import org.exoplatform.services.wsrp.exceptions.WSRPException; 13 import org.exoplatform.services.wsrp.producer.impl.helpers.WSRPHttpServletRequest; 14 import org.exoplatform.services.wsrp.producer.impl.helpers.WSRPHttpServletResponse; 15 import org.exoplatform.services.wsrp.type.PortletDescription; 16 import org.exoplatform.services.wsrp.type.PropertyList; 17 import org.exoplatform.services.wsrp.type.ResourceList; 18 19 20 24 public interface PortletContainerProxy { 25 26 public boolean isPortletOffered(String portletHandle); 27 28 public ResourceList getResourceList(String [] desiredLocales); 29 public PortletDescription getPortletDesciption(String portletHandle, 30 String [] desiredLocales); 31 32 public void setPortletProperties(String portletHandle, 33 String userID, 34 PropertyList propertyList) 35 throws WSRPException; 36 37 public Map getPortletProperties(String portletHandle, String userID) throws WSRPException; 38 public Map getAllPortletMetaData(); 39 public Collection getWindowStates(String s); 40 public Collection getSupportedWindowStates(); 41 42 public RenderOutput render(WSRPHttpServletRequest request, WSRPHttpServletResponse response, RenderInput input) 43 throws WSRPException; 44 public ActionOutput processAction(WSRPHttpServletRequest request, WSRPHttpServletResponse response, ActionInput input) 45 throws WSRPException; 46 47 public Collection getSupportedPortletModesWithDescriptions(); 48 public Collection getSupportedWindowStatesWithDescriptions(); 49 } 50 | Popular Tags |