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