1
14
15 package com.liferay.portal.service;
16
17
33 public class PortletLocalServiceWrapper implements PortletLocalService {
34 public PortletLocalServiceWrapper(PortletLocalService portletLocalService) {
35 _portletLocalService = portletLocalService;
36 }
37
38 public com.liferay.portal.model.Portlet addPortlet(
39 com.liferay.portal.model.Portlet portlet)
40 throws com.liferay.portal.SystemException {
41 return _portletLocalService.addPortlet(portlet);
42 }
43
44 public com.liferay.portal.model.Portlet createPortlet(long id) {
45 return _portletLocalService.createPortlet(id);
46 }
47
48 public void deletePortlet(long id)
49 throws com.liferay.portal.PortalException,
50 com.liferay.portal.SystemException {
51 _portletLocalService.deletePortlet(id);
52 }
53
54 public void deletePortlet(com.liferay.portal.model.Portlet portlet)
55 throws com.liferay.portal.SystemException {
56 _portletLocalService.deletePortlet(portlet);
57 }
58
59 @SuppressWarnings("rawtypes")
60 public java.util.List dynamicQuery(
61 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
62 throws com.liferay.portal.SystemException {
63 return _portletLocalService.dynamicQuery(dynamicQuery);
64 }
65
66 @SuppressWarnings("rawtypes")
67 public java.util.List dynamicQuery(
68 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
69 int end) throws com.liferay.portal.SystemException {
70 return _portletLocalService.dynamicQuery(dynamicQuery, start, end);
71 }
72
73 @SuppressWarnings("rawtypes")
74 public java.util.List dynamicQuery(
75 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
76 int end,
77 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
78 throws com.liferay.portal.SystemException {
79 return _portletLocalService.dynamicQuery(dynamicQuery, start, end,
80 orderByComparator);
81 }
82
83 public int dynamicQueryCount(
84 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
85 throws com.liferay.portal.SystemException {
86 return _portletLocalService.dynamicQueryCount(dynamicQuery);
87 }
88
89 public com.liferay.portal.model.Portlet getPortlet(long id)
90 throws com.liferay.portal.PortalException,
91 com.liferay.portal.SystemException {
92 return _portletLocalService.getPortlet(id);
93 }
94
95 public java.util.List<com.liferay.portal.model.Portlet> getPortlets(
96 int start, int end) throws com.liferay.portal.SystemException {
97 return _portletLocalService.getPortlets(start, end);
98 }
99
100 public int getPortletsCount() throws com.liferay.portal.SystemException {
101 return _portletLocalService.getPortletsCount();
102 }
103
104 public com.liferay.portal.model.Portlet updatePortlet(
105 com.liferay.portal.model.Portlet portlet)
106 throws com.liferay.portal.SystemException {
107 return _portletLocalService.updatePortlet(portlet);
108 }
109
110 public com.liferay.portal.model.Portlet updatePortlet(
111 com.liferay.portal.model.Portlet portlet, boolean merge)
112 throws com.liferay.portal.SystemException {
113 return _portletLocalService.updatePortlet(portlet, merge);
114 }
115
116 public com.liferay.portal.model.Portlet clonePortlet(long companyId,
117 java.lang.String portletId) throws com.liferay.portal.SystemException {
118 return _portletLocalService.clonePortlet(companyId, portletId);
119 }
120
121 public com.liferay.portal.model.Portlet deployRemotePortlet(
122 com.liferay.portal.model.Portlet portlet, java.lang.String categoryName)
123 throws com.liferay.portal.SystemException {
124 return _portletLocalService.deployRemotePortlet(portlet, categoryName);
125 }
126
127 public void destroyPortlet(com.liferay.portal.model.Portlet portlet) {
128 _portletLocalService.destroyPortlet(portlet);
129 }
130
131 public void destroyRemotePortlet(com.liferay.portal.model.Portlet portlet) {
132 _portletLocalService.destroyRemotePortlet(portlet);
133 }
134
135 public com.liferay.portal.model.PortletCategory getEARDisplay(
136 java.lang.String xml) throws com.liferay.portal.SystemException {
137 return _portletLocalService.getEARDisplay(xml);
138 }
139
140 public java.util.List<com.liferay.portal.model.Portlet> getFriendlyURLMapperPortlets() {
141 return _portletLocalService.getFriendlyURLMapperPortlets();
142 }
143
144 public java.util.List<com.liferay.portal.kernel.portlet.FriendlyURLMapper> getFriendlyURLMappers() {
145 return _portletLocalService.getFriendlyURLMappers();
146 }
147
148 public com.liferay.portal.model.PortletApp getPortletApp(
149 java.lang.String servletContextName) {
150 return _portletLocalService.getPortletApp(servletContextName);
151 }
152
153 public com.liferay.portal.model.Portlet getPortletById(long companyId,
154 java.lang.String portletId) throws com.liferay.portal.SystemException {
155 return _portletLocalService.getPortletById(companyId, portletId);
156 }
157
158 public com.liferay.portal.model.Portlet getPortletById(
159 java.lang.String portletId) {
160 return _portletLocalService.getPortletById(portletId);
161 }
162
163 public com.liferay.portal.model.Portlet getPortletByStrutsPath(
164 long companyId, java.lang.String strutsPath)
165 throws com.liferay.portal.SystemException {
166 return _portletLocalService.getPortletByStrutsPath(companyId, strutsPath);
167 }
168
169 public java.util.List<com.liferay.portal.model.Portlet> getPortlets() {
170 return _portletLocalService.getPortlets();
171 }
172
173 public java.util.List<com.liferay.portal.model.Portlet> getPortlets(
174 long companyId) throws com.liferay.portal.SystemException {
175 return _portletLocalService.getPortlets(companyId);
176 }
177
178 public java.util.List<com.liferay.portal.model.Portlet> getPortlets(
179 long companyId, boolean showSystem, boolean showPortal)
180 throws com.liferay.portal.SystemException {
181 return _portletLocalService.getPortlets(companyId, showSystem,
182 showPortal);
183 }
184
185 public com.liferay.portal.model.PortletCategory getWARDisplay(
186 java.lang.String servletContextName, java.lang.String xml)
187 throws com.liferay.portal.SystemException {
188 return _portletLocalService.getWARDisplay(servletContextName, xml);
189 }
190
191 public boolean hasPortlet(long companyId, java.lang.String portletId)
192 throws com.liferay.portal.SystemException {
193 return _portletLocalService.hasPortlet(companyId, portletId);
194 }
195
196 public void initEAR(javax.servlet.ServletContext servletContext,
197 java.lang.String[] xmls,
198 com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
199 _portletLocalService.initEAR(servletContext, xmls, pluginPackage);
200 }
201
202 public java.util.List<com.liferay.portal.model.Portlet> initWAR(
203 java.lang.String servletContextName,
204 javax.servlet.ServletContext servletContext, java.lang.String[] xmls,
205 com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
206 return _portletLocalService.initWAR(servletContextName, servletContext,
207 xmls, pluginPackage);
208 }
209
210
213 public com.liferay.portal.model.Portlet newPortlet(long companyId,
214 java.lang.String portletId) {
215 return _portletLocalService.newPortlet(companyId, portletId);
216 }
217
218 public com.liferay.portal.model.Portlet updatePortlet(long companyId,
219 java.lang.String portletId, java.lang.String roles, boolean active)
220 throws com.liferay.portal.SystemException {
221 return _portletLocalService.updatePortlet(companyId, portletId, roles,
222 active);
223 }
224
225 public PortletLocalService getWrappedPortletLocalService() {
226 return _portletLocalService;
227 }
228
229 private PortletLocalService _portletLocalService;
230 }