1
14
15 package com.liferay.portal.kernel.portlet;
16
17 import com.liferay.portal.kernel.lar.PortletDataHandler;
18 import com.liferay.portal.kernel.poller.PollerProcessor;
19 import com.liferay.portal.kernel.pop.MessageListener;
20 import com.liferay.portal.kernel.search.Indexer;
21 import com.liferay.portal.kernel.search.OpenSearch;
22 import com.liferay.portal.kernel.servlet.URLEncoder;
23 import com.liferay.portal.kernel.webdav.WebDAVStorage;
24 import com.liferay.portal.kernel.workflow.WorkflowHandler;
25 import com.liferay.portal.kernel.xmlrpc.Method;
26 import com.liferay.portlet.ControlPanelEntry;
27 import com.liferay.portlet.asset.model.AssetRendererFactory;
28 import com.liferay.portlet.expando.model.CustomAttributesDisplay;
29 import com.liferay.portlet.social.model.SocialActivityInterpreter;
30 import com.liferay.portlet.social.model.SocialRequestInterpreter;
31
32 import java.util.List;
33 import java.util.Locale;
34 import java.util.Map;
35 import java.util.ResourceBundle;
36
37 import javax.portlet.Portlet;
38 import javax.portlet.PreferencesValidator;
39
40 import javax.servlet.ServletContext;
41
42
47 public interface PortletBag extends Cloneable {
48
49 public Object clone();
50
51 public List<AssetRendererFactory> getAssetRendererFactoryInstances();
52
53 public ConfigurationAction getConfigurationActionInstance();
54
55 public ControlPanelEntry getControlPanelEntryInstance();
56
57 public List<CustomAttributesDisplay> getCustomAttributesDisplayInstances();
58
59 public FriendlyURLMapper getFriendlyURLMapperInstance();
60
61 public Indexer getIndexerInstance();
62
63 public OpenSearch getOpenSearchInstance();
64
65 public PollerProcessor getPollerProcessorInstance();
66
67 public MessageListener getPopMessageListenerInstance();
68
69 public PortletDataHandler getPortletDataHandlerInstance();
70
71 public Portlet getPortletInstance();
72
73 public PortletLayoutListener getPortletLayoutListenerInstance();
74
75 public String getPortletName();
76
77 public PreferencesValidator getPreferencesValidatorInstance();
78
79 public ResourceBundle getResourceBundle(Locale locale);
80
81 public Map<String, ResourceBundle> getResourceBundles();
82
83 public ServletContext getServletContext();
84
85 public SocialActivityInterpreter getSocialActivityInterpreterInstance();
86
87 public SocialRequestInterpreter getSocialRequestInterpreterInstance();
88
89 public URLEncoder getURLEncoderInstance();
90
91 public WebDAVStorage getWebDAVStorageInstance();
92
93 public List<WorkflowHandler> getWorkflowHandlerInstances();
94
95 public Method getXmlRpcMethodInstance();
96
97 public void setPortletInstance(Portlet portletInstance);
98
99 public void setPortletName(String portletName);
100
101 }