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