001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.service;
016    
017    
018    /**
019     * <p>
020     * This class is a wrapper for {@link PortletLocalService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       PortletLocalService
025     * @generated
026     */
027    public class PortletLocalServiceWrapper implements PortletLocalService {
028            public PortletLocalServiceWrapper(PortletLocalService portletLocalService) {
029                    _portletLocalService = portletLocalService;
030            }
031    
032            public com.liferay.portal.model.Portlet addPortlet(
033                    com.liferay.portal.model.Portlet portlet)
034                    throws com.liferay.portal.kernel.exception.SystemException {
035                    return _portletLocalService.addPortlet(portlet);
036            }
037    
038            public com.liferay.portal.model.Portlet createPortlet(long id) {
039                    return _portletLocalService.createPortlet(id);
040            }
041    
042            public void deletePortlet(long id)
043                    throws com.liferay.portal.kernel.exception.PortalException,
044                            com.liferay.portal.kernel.exception.SystemException {
045                    _portletLocalService.deletePortlet(id);
046            }
047    
048            public void deletePortlet(com.liferay.portal.model.Portlet portlet)
049                    throws com.liferay.portal.kernel.exception.SystemException {
050                    _portletLocalService.deletePortlet(portlet);
051            }
052    
053            @SuppressWarnings("unchecked")
054            public java.util.List dynamicQuery(
055                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
056                    throws com.liferay.portal.kernel.exception.SystemException {
057                    return _portletLocalService.dynamicQuery(dynamicQuery);
058            }
059    
060            @SuppressWarnings("unchecked")
061            public java.util.List dynamicQuery(
062                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
063                    int end) throws com.liferay.portal.kernel.exception.SystemException {
064                    return _portletLocalService.dynamicQuery(dynamicQuery, start, end);
065            }
066    
067            @SuppressWarnings("unchecked")
068            public java.util.List dynamicQuery(
069                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
070                    int end,
071                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
072                    throws com.liferay.portal.kernel.exception.SystemException {
073                    return _portletLocalService.dynamicQuery(dynamicQuery, start, end,
074                            orderByComparator);
075            }
076    
077            public long dynamicQueryCount(
078                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
079                    throws com.liferay.portal.kernel.exception.SystemException {
080                    return _portletLocalService.dynamicQueryCount(dynamicQuery);
081            }
082    
083            public com.liferay.portal.model.Portlet getPortlet(long id)
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException {
086                    return _portletLocalService.getPortlet(id);
087            }
088    
089            public java.util.List<com.liferay.portal.model.Portlet> getPortlets(
090                    int start, int end)
091                    throws com.liferay.portal.kernel.exception.SystemException {
092                    return _portletLocalService.getPortlets(start, end);
093            }
094    
095            public int getPortletsCount()
096                    throws com.liferay.portal.kernel.exception.SystemException {
097                    return _portletLocalService.getPortletsCount();
098            }
099    
100            public com.liferay.portal.model.Portlet updatePortlet(
101                    com.liferay.portal.model.Portlet portlet)
102                    throws com.liferay.portal.kernel.exception.SystemException {
103                    return _portletLocalService.updatePortlet(portlet);
104            }
105    
106            public com.liferay.portal.model.Portlet updatePortlet(
107                    com.liferay.portal.model.Portlet portlet, boolean merge)
108                    throws com.liferay.portal.kernel.exception.SystemException {
109                    return _portletLocalService.updatePortlet(portlet, merge);
110            }
111    
112            public void checkPortlet(com.liferay.portal.model.Portlet portlet)
113                    throws com.liferay.portal.kernel.exception.PortalException,
114                            com.liferay.portal.kernel.exception.SystemException {
115                    _portletLocalService.checkPortlet(portlet);
116            }
117    
118            public void checkPortlets(long companyId)
119                    throws com.liferay.portal.kernel.exception.PortalException,
120                            com.liferay.portal.kernel.exception.SystemException {
121                    _portletLocalService.checkPortlets(companyId);
122            }
123    
124            public void clearCache() {
125                    _portletLocalService.clearCache();
126            }
127    
128            public com.liferay.portal.model.Portlet clonePortlet(long companyId,
129                    java.lang.String portletId)
130                    throws com.liferay.portal.kernel.exception.SystemException {
131                    return _portletLocalService.clonePortlet(companyId, portletId);
132            }
133    
134            public com.liferay.portal.model.Portlet deployRemotePortlet(
135                    com.liferay.portal.model.Portlet portlet, java.lang.String categoryName)
136                    throws com.liferay.portal.kernel.exception.SystemException {
137                    return _portletLocalService.deployRemotePortlet(portlet, categoryName);
138            }
139    
140            public void destroyPortlet(com.liferay.portal.model.Portlet portlet) {
141                    _portletLocalService.destroyPortlet(portlet);
142            }
143    
144            public void destroyRemotePortlet(com.liferay.portal.model.Portlet portlet) {
145                    _portletLocalService.destroyRemotePortlet(portlet);
146            }
147    
148            public java.util.List<com.liferay.portlet.expando.model.CustomAttributesDisplay> getCustomAttributesDisplays() {
149                    return _portletLocalService.getCustomAttributesDisplays();
150            }
151    
152            public com.liferay.portal.model.PortletCategory getEARDisplay(
153                    java.lang.String xml)
154                    throws com.liferay.portal.kernel.exception.SystemException {
155                    return _portletLocalService.getEARDisplay(xml);
156            }
157    
158            public java.util.List<com.liferay.portal.model.Portlet> getFriendlyURLMapperPortlets() {
159                    return _portletLocalService.getFriendlyURLMapperPortlets();
160            }
161    
162            public java.util.List<com.liferay.portal.kernel.portlet.FriendlyURLMapper> getFriendlyURLMappers() {
163                    return _portletLocalService.getFriendlyURLMappers();
164            }
165    
166            public com.liferay.portal.model.PortletApp getPortletApp(
167                    java.lang.String servletContextName) {
168                    return _portletLocalService.getPortletApp(servletContextName);
169            }
170    
171            public com.liferay.portal.model.Portlet getPortletById(long companyId,
172                    java.lang.String portletId)
173                    throws com.liferay.portal.kernel.exception.SystemException {
174                    return _portletLocalService.getPortletById(companyId, portletId);
175            }
176    
177            public com.liferay.portal.model.Portlet getPortletById(
178                    java.lang.String portletId) {
179                    return _portletLocalService.getPortletById(portletId);
180            }
181    
182            public com.liferay.portal.model.Portlet getPortletByStrutsPath(
183                    long companyId, java.lang.String strutsPath)
184                    throws com.liferay.portal.kernel.exception.SystemException {
185                    return _portletLocalService.getPortletByStrutsPath(companyId, strutsPath);
186            }
187    
188            public java.util.List<com.liferay.portal.model.Portlet> getPortlets() {
189                    return _portletLocalService.getPortlets();
190            }
191    
192            public java.util.List<com.liferay.portal.model.Portlet> getPortlets(
193                    long companyId)
194                    throws com.liferay.portal.kernel.exception.SystemException {
195                    return _portletLocalService.getPortlets(companyId);
196            }
197    
198            public java.util.List<com.liferay.portal.model.Portlet> getPortlets(
199                    long companyId, boolean showSystem, boolean showPortal)
200                    throws com.liferay.portal.kernel.exception.SystemException {
201                    return _portletLocalService.getPortlets(companyId, showSystem,
202                            showPortal);
203            }
204    
205            public com.liferay.portal.model.PortletCategory getWARDisplay(
206                    java.lang.String servletContextName, java.lang.String xml)
207                    throws com.liferay.portal.kernel.exception.SystemException {
208                    return _portletLocalService.getWARDisplay(servletContextName, xml);
209            }
210    
211            public boolean hasPortlet(long companyId, java.lang.String portletId)
212                    throws com.liferay.portal.kernel.exception.SystemException {
213                    return _portletLocalService.hasPortlet(companyId, portletId);
214            }
215    
216            public void initEAR(javax.servlet.ServletContext servletContext,
217                    java.lang.String[] xmls,
218                    com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
219                    _portletLocalService.initEAR(servletContext, xmls, pluginPackage);
220            }
221    
222            public java.util.List<com.liferay.portal.model.Portlet> initWAR(
223                    java.lang.String servletContextName,
224                    javax.servlet.ServletContext servletContext, java.lang.String[] xmls,
225                    com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
226                    return _portletLocalService.initWAR(servletContextName, servletContext,
227                            xmls, pluginPackage);
228            }
229    
230            public com.liferay.portal.model.Portlet updatePortlet(long companyId,
231                    java.lang.String portletId, java.lang.String roles, boolean active)
232                    throws com.liferay.portal.kernel.exception.SystemException {
233                    return _portletLocalService.updatePortlet(companyId, portletId, roles,
234                            active);
235            }
236    
237            public PortletLocalService getWrappedPortletLocalService() {
238                    return _portletLocalService;
239            }
240    
241            private PortletLocalService _portletLocalService;
242    }