1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.service;
16  
17  
18  /**
19   * <a href="PortletLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link PortletLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       PortletLocalService
32   * @generated
33   */
34  public class PortletLocalServiceWrapper implements PortletLocalService {
35      public PortletLocalServiceWrapper(PortletLocalService portletLocalService) {
36          _portletLocalService = portletLocalService;
37      }
38  
39      public com.liferay.portal.model.Portlet addPortlet(
40          com.liferay.portal.model.Portlet portlet)
41          throws com.liferay.portal.kernel.exception.SystemException {
42          return _portletLocalService.addPortlet(portlet);
43      }
44  
45      public com.liferay.portal.model.Portlet createPortlet(long id) {
46          return _portletLocalService.createPortlet(id);
47      }
48  
49      public void deletePortlet(long id)
50          throws com.liferay.portal.kernel.exception.PortalException,
51              com.liferay.portal.kernel.exception.SystemException {
52          _portletLocalService.deletePortlet(id);
53      }
54  
55      public void deletePortlet(com.liferay.portal.model.Portlet portlet)
56          throws com.liferay.portal.kernel.exception.SystemException {
57          _portletLocalService.deletePortlet(portlet);
58      }
59  
60      @SuppressWarnings("unchecked")
61      public java.util.List dynamicQuery(
62          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
63          throws com.liferay.portal.kernel.exception.SystemException {
64          return _portletLocalService.dynamicQuery(dynamicQuery);
65      }
66  
67      @SuppressWarnings("unchecked")
68      public java.util.List dynamicQuery(
69          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
70          int end) throws com.liferay.portal.kernel.exception.SystemException {
71          return _portletLocalService.dynamicQuery(dynamicQuery, start, end);
72      }
73  
74      @SuppressWarnings("unchecked")
75      public java.util.List dynamicQuery(
76          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77          int end,
78          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79          throws com.liferay.portal.kernel.exception.SystemException {
80          return _portletLocalService.dynamicQuery(dynamicQuery, start, end,
81              orderByComparator);
82      }
83  
84      public long dynamicQueryCount(
85          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
86          throws com.liferay.portal.kernel.exception.SystemException {
87          return _portletLocalService.dynamicQueryCount(dynamicQuery);
88      }
89  
90      public com.liferay.portal.model.Portlet getPortlet(long id)
91          throws com.liferay.portal.kernel.exception.PortalException,
92              com.liferay.portal.kernel.exception.SystemException {
93          return _portletLocalService.getPortlet(id);
94      }
95  
96      public java.util.List<com.liferay.portal.model.Portlet> getPortlets(
97          int start, int end)
98          throws com.liferay.portal.kernel.exception.SystemException {
99          return _portletLocalService.getPortlets(start, end);
100     }
101 
102     public int getPortletsCount()
103         throws com.liferay.portal.kernel.exception.SystemException {
104         return _portletLocalService.getPortletsCount();
105     }
106 
107     public com.liferay.portal.model.Portlet updatePortlet(
108         com.liferay.portal.model.Portlet portlet)
109         throws com.liferay.portal.kernel.exception.SystemException {
110         return _portletLocalService.updatePortlet(portlet);
111     }
112 
113     public com.liferay.portal.model.Portlet updatePortlet(
114         com.liferay.portal.model.Portlet portlet, boolean merge)
115         throws com.liferay.portal.kernel.exception.SystemException {
116         return _portletLocalService.updatePortlet(portlet, merge);
117     }
118 
119     public void checkPortlet(com.liferay.portal.model.Portlet portlet)
120         throws com.liferay.portal.kernel.exception.PortalException,
121             com.liferay.portal.kernel.exception.SystemException {
122         _portletLocalService.checkPortlet(portlet);
123     }
124 
125     public void checkPortlets(long companyId)
126         throws com.liferay.portal.kernel.exception.PortalException,
127             com.liferay.portal.kernel.exception.SystemException {
128         _portletLocalService.checkPortlets(companyId);
129     }
130 
131     public void clearCache() {
132         _portletLocalService.clearCache();
133     }
134 
135     public com.liferay.portal.model.Portlet clonePortlet(long companyId,
136         java.lang.String portletId)
137         throws com.liferay.portal.kernel.exception.SystemException {
138         return _portletLocalService.clonePortlet(companyId, portletId);
139     }
140 
141     public com.liferay.portal.model.Portlet deployRemotePortlet(
142         com.liferay.portal.model.Portlet portlet, java.lang.String categoryName)
143         throws com.liferay.portal.kernel.exception.SystemException {
144         return _portletLocalService.deployRemotePortlet(portlet, categoryName);
145     }
146 
147     public void destroyPortlet(com.liferay.portal.model.Portlet portlet) {
148         _portletLocalService.destroyPortlet(portlet);
149     }
150 
151     public void destroyRemotePortlet(com.liferay.portal.model.Portlet portlet) {
152         _portletLocalService.destroyRemotePortlet(portlet);
153     }
154 
155     public java.util.List<com.liferay.portlet.expando.model.CustomAttributesDisplay> getCustomAttributesDisplays() {
156         return _portletLocalService.getCustomAttributesDisplays();
157     }
158 
159     public com.liferay.portal.model.PortletCategory getEARDisplay(
160         java.lang.String xml)
161         throws com.liferay.portal.kernel.exception.SystemException {
162         return _portletLocalService.getEARDisplay(xml);
163     }
164 
165     public java.util.List<com.liferay.portal.model.Portlet> getFriendlyURLMapperPortlets() {
166         return _portletLocalService.getFriendlyURLMapperPortlets();
167     }
168 
169     public java.util.List<com.liferay.portal.kernel.portlet.FriendlyURLMapper> getFriendlyURLMappers() {
170         return _portletLocalService.getFriendlyURLMappers();
171     }
172 
173     public com.liferay.portal.model.PortletApp getPortletApp(
174         java.lang.String servletContextName) {
175         return _portletLocalService.getPortletApp(servletContextName);
176     }
177 
178     public com.liferay.portal.model.Portlet getPortletById(long companyId,
179         java.lang.String portletId)
180         throws com.liferay.portal.kernel.exception.SystemException {
181         return _portletLocalService.getPortletById(companyId, portletId);
182     }
183 
184     public com.liferay.portal.model.Portlet getPortletById(
185         java.lang.String portletId) {
186         return _portletLocalService.getPortletById(portletId);
187     }
188 
189     public com.liferay.portal.model.Portlet getPortletByStrutsPath(
190         long companyId, java.lang.String strutsPath)
191         throws com.liferay.portal.kernel.exception.SystemException {
192         return _portletLocalService.getPortletByStrutsPath(companyId, strutsPath);
193     }
194 
195     public java.util.List<com.liferay.portal.model.Portlet> getPortlets() {
196         return _portletLocalService.getPortlets();
197     }
198 
199     public java.util.List<com.liferay.portal.model.Portlet> getPortlets(
200         long companyId)
201         throws com.liferay.portal.kernel.exception.SystemException {
202         return _portletLocalService.getPortlets(companyId);
203     }
204 
205     public java.util.List<com.liferay.portal.model.Portlet> getPortlets(
206         long companyId, boolean showSystem, boolean showPortal)
207         throws com.liferay.portal.kernel.exception.SystemException {
208         return _portletLocalService.getPortlets(companyId, showSystem,
209             showPortal);
210     }
211 
212     public com.liferay.portal.model.PortletCategory getWARDisplay(
213         java.lang.String servletContextName, java.lang.String xml)
214         throws com.liferay.portal.kernel.exception.SystemException {
215         return _portletLocalService.getWARDisplay(servletContextName, xml);
216     }
217 
218     public boolean hasPortlet(long companyId, java.lang.String portletId)
219         throws com.liferay.portal.kernel.exception.SystemException {
220         return _portletLocalService.hasPortlet(companyId, portletId);
221     }
222 
223     public void initEAR(javax.servlet.ServletContext servletContext,
224         java.lang.String[] xmls,
225         com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
226         _portletLocalService.initEAR(servletContext, xmls, pluginPackage);
227     }
228 
229     public java.util.List<com.liferay.portal.model.Portlet> initWAR(
230         java.lang.String servletContextName,
231         javax.servlet.ServletContext servletContext, java.lang.String[] xmls,
232         com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
233         return _portletLocalService.initWAR(servletContextName, servletContext,
234             xmls, pluginPackage);
235     }
236 
237     public com.liferay.portal.model.Portlet updatePortlet(long companyId,
238         java.lang.String portletId, java.lang.String roles, boolean active)
239         throws com.liferay.portal.kernel.exception.SystemException {
240         return _portletLocalService.updatePortlet(companyId, portletId, roles,
241             active);
242     }
243 
244     public PortletLocalService getWrappedPortletLocalService() {
245         return _portletLocalService;
246     }
247 
248     private PortletLocalService _portletLocalService;
249 }