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      public java.util.List<Object> dynamicQuery(
61          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
62          throws com.liferay.portal.kernel.exception.SystemException {
63          return _portletLocalService.dynamicQuery(dynamicQuery);
64      }
65  
66      public java.util.List<Object> dynamicQuery(
67          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
68          int end) throws com.liferay.portal.kernel.exception.SystemException {
69          return _portletLocalService.dynamicQuery(dynamicQuery, start, end);
70      }
71  
72      public java.util.List<Object> dynamicQuery(
73          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74          int end,
75          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
76          throws com.liferay.portal.kernel.exception.SystemException {
77          return _portletLocalService.dynamicQuery(dynamicQuery, start, end,
78              orderByComparator);
79      }
80  
81      public int dynamicQueryCount(
82          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
83          throws com.liferay.portal.kernel.exception.SystemException {
84          return _portletLocalService.dynamicQueryCount(dynamicQuery);
85      }
86  
87      public com.liferay.portal.model.Portlet getPortlet(long id)
88          throws com.liferay.portal.kernel.exception.PortalException,
89              com.liferay.portal.kernel.exception.SystemException {
90          return _portletLocalService.getPortlet(id);
91      }
92  
93      public java.util.List<com.liferay.portal.model.Portlet> getPortlets(
94          int start, int end)
95          throws com.liferay.portal.kernel.exception.SystemException {
96          return _portletLocalService.getPortlets(start, end);
97      }
98  
99      public int getPortletsCount()
100         throws com.liferay.portal.kernel.exception.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.kernel.exception.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.kernel.exception.SystemException {
113         return _portletLocalService.updatePortlet(portlet, merge);
114     }
115 
116     public void checkPortlet(com.liferay.portal.model.Portlet portlet)
117         throws com.liferay.portal.kernel.exception.PortalException,
118             com.liferay.portal.kernel.exception.SystemException {
119         _portletLocalService.checkPortlet(portlet);
120     }
121 
122     public void checkPortlets(long companyId)
123         throws com.liferay.portal.kernel.exception.PortalException,
124             com.liferay.portal.kernel.exception.SystemException {
125         _portletLocalService.checkPortlets(companyId);
126     }
127 
128     public void clearCache() {
129         _portletLocalService.clearCache();
130     }
131 
132     public com.liferay.portal.model.Portlet deployRemotePortlet(
133         com.liferay.portal.model.Portlet portlet, java.lang.String categoryName)
134         throws com.liferay.portal.kernel.exception.SystemException {
135         return _portletLocalService.deployRemotePortlet(portlet, categoryName);
136     }
137 
138     public void destroyPortlet(com.liferay.portal.model.Portlet portlet) {
139         _portletLocalService.destroyPortlet(portlet);
140     }
141 
142     public void destroyRemotePortlet(com.liferay.portal.model.Portlet portlet) {
143         _portletLocalService.destroyRemotePortlet(portlet);
144     }
145 
146     public java.util.List<com.liferay.portlet.expando.model.CustomAttributesDisplay> getCustomAttributesDisplays() {
147         return _portletLocalService.getCustomAttributesDisplays();
148     }
149 
150     public com.liferay.portal.model.PortletCategory getEARDisplay(
151         java.lang.String xml)
152         throws com.liferay.portal.kernel.exception.SystemException {
153         return _portletLocalService.getEARDisplay(xml);
154     }
155 
156     public java.util.List<com.liferay.portal.model.Portlet> getFriendlyURLMapperPortlets() {
157         return _portletLocalService.getFriendlyURLMapperPortlets();
158     }
159 
160     public java.util.List<com.liferay.portal.kernel.portlet.FriendlyURLMapper> getFriendlyURLMappers() {
161         return _portletLocalService.getFriendlyURLMappers();
162     }
163 
164     public com.liferay.portal.model.PortletApp getPortletApp(
165         java.lang.String servletContextName) {
166         return _portletLocalService.getPortletApp(servletContextName);
167     }
168 
169     public com.liferay.portal.model.Portlet getPortletById(long companyId,
170         java.lang.String portletId)
171         throws com.liferay.portal.kernel.exception.SystemException {
172         return _portletLocalService.getPortletById(companyId, portletId);
173     }
174 
175     public com.liferay.portal.model.Portlet getPortletById(
176         java.lang.String portletId) {
177         return _portletLocalService.getPortletById(portletId);
178     }
179 
180     public com.liferay.portal.model.Portlet getPortletByStrutsPath(
181         long companyId, java.lang.String strutsPath)
182         throws com.liferay.portal.kernel.exception.SystemException {
183         return _portletLocalService.getPortletByStrutsPath(companyId, strutsPath);
184     }
185 
186     public java.util.List<com.liferay.portal.model.Portlet> getPortlets() {
187         return _portletLocalService.getPortlets();
188     }
189 
190     public java.util.List<com.liferay.portal.model.Portlet> getPortlets(
191         long companyId)
192         throws com.liferay.portal.kernel.exception.SystemException {
193         return _portletLocalService.getPortlets(companyId);
194     }
195 
196     public java.util.List<com.liferay.portal.model.Portlet> getPortlets(
197         long companyId, boolean showSystem, boolean showPortal)
198         throws com.liferay.portal.kernel.exception.SystemException {
199         return _portletLocalService.getPortlets(companyId, showSystem,
200             showPortal);
201     }
202 
203     public com.liferay.portal.model.PortletCategory getWARDisplay(
204         java.lang.String servletContextName, java.lang.String xml)
205         throws com.liferay.portal.kernel.exception.SystemException {
206         return _portletLocalService.getWARDisplay(servletContextName, xml);
207     }
208 
209     public boolean hasPortlet(long companyId, java.lang.String portletId)
210         throws com.liferay.portal.kernel.exception.SystemException {
211         return _portletLocalService.hasPortlet(companyId, portletId);
212     }
213 
214     public void initEAR(javax.servlet.ServletContext servletContext,
215         java.lang.String[] xmls,
216         com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
217         _portletLocalService.initEAR(servletContext, xmls, pluginPackage);
218     }
219 
220     public java.util.List<com.liferay.portal.model.Portlet> initWAR(
221         java.lang.String servletContextName,
222         javax.servlet.ServletContext servletContext, java.lang.String[] xmls,
223         com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
224         return _portletLocalService.initWAR(servletContextName, servletContext,
225             xmls, pluginPackage);
226     }
227 
228     public com.liferay.portal.model.Portlet clonePortlet(long companyId,
229         java.lang.String portletId)
230         throws com.liferay.portal.kernel.exception.SystemException {
231         return _portletLocalService.clonePortlet(companyId, portletId);
232     }
233 
234     public com.liferay.portal.model.Portlet updatePortlet(long companyId,
235         java.lang.String portletId, java.lang.String roles, boolean active)
236         throws com.liferay.portal.kernel.exception.SystemException {
237         return _portletLocalService.updatePortlet(companyId, portletId, roles,
238             active);
239     }
240 
241     public PortletLocalService getWrappedPortletLocalService() {
242         return _portletLocalService;
243     }
244 
245     private PortletLocalService _portletLocalService;
246 }