KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > wsrp > producer > PortletContainerProxy


1 /*
2  * Copyright 2001-2003 The eXo platform SARL All rights reserved.
3  * Please look at license.txt in info directory for more license detail.
4  *
5  * Created on 16 janv. 2004
6  */

7 package org.exoplatform.services.wsrp.producer;
8
9 import java.util.Map JavaDoc;
10 import java.util.Collection JavaDoc;
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 /**
21  * @author Mestrallet Benjamin
22  * benjmestrallet@users.sourceforge.net
23  */

24 public interface PortletContainerProxy {
25
26   public boolean isPortletOffered(String JavaDoc portletHandle);
27   
28   public ResourceList getResourceList(String JavaDoc[] desiredLocales);
29   public PortletDescription getPortletDesciption(String JavaDoc portletHandle,
30                                                  String JavaDoc[] desiredLocales);
31
32   public void setPortletProperties(String JavaDoc portletHandle,
33                                    String JavaDoc userID,
34                                    PropertyList propertyList)
35     throws WSRPException;
36
37   public Map JavaDoc getPortletProperties(String JavaDoc portletHandle, String JavaDoc userID) throws WSRPException;
38   public Map JavaDoc getAllPortletMetaData();
39   public Collection JavaDoc getWindowStates(String JavaDoc s);
40   public Collection JavaDoc 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 JavaDoc getSupportedPortletModesWithDescriptions();
48   public Collection JavaDoc getSupportedWindowStatesWithDescriptions();
49 }
50
Popular Tags