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     * <p>
019     * This class is a wrapper for {@link PortletLocalService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       PortletLocalService
024     * @generated
025     */
026    public class PortletLocalServiceWrapper implements PortletLocalService {
027            public PortletLocalServiceWrapper(PortletLocalService portletLocalService) {
028                    _portletLocalService = portletLocalService;
029            }
030    
031            public com.liferay.portal.model.Portlet addPortlet(
032                    com.liferay.portal.model.Portlet portlet)
033                    throws com.liferay.portal.kernel.exception.SystemException {
034                    return _portletLocalService.addPortlet(portlet);
035            }
036    
037            public com.liferay.portal.model.Portlet createPortlet(long id) {
038                    return _portletLocalService.createPortlet(id);
039            }
040    
041            public void deletePortlet(long id)
042                    throws com.liferay.portal.kernel.exception.PortalException,
043                            com.liferay.portal.kernel.exception.SystemException {
044                    _portletLocalService.deletePortlet(id);
045            }
046    
047            public void deletePortlet(com.liferay.portal.model.Portlet portlet)
048                    throws com.liferay.portal.kernel.exception.SystemException {
049                    _portletLocalService.deletePortlet(portlet);
050            }
051    
052            @SuppressWarnings("unchecked")
053            public java.util.List dynamicQuery(
054                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
055                    throws com.liferay.portal.kernel.exception.SystemException {
056                    return _portletLocalService.dynamicQuery(dynamicQuery);
057            }
058    
059            @SuppressWarnings("unchecked")
060            public java.util.List dynamicQuery(
061                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
062                    int end) throws com.liferay.portal.kernel.exception.SystemException {
063                    return _portletLocalService.dynamicQuery(dynamicQuery, start, end);
064            }
065    
066            @SuppressWarnings("unchecked")
067            public java.util.List dynamicQuery(
068                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
069                    int end,
070                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
071                    throws com.liferay.portal.kernel.exception.SystemException {
072                    return _portletLocalService.dynamicQuery(dynamicQuery, start, end,
073                            orderByComparator);
074            }
075    
076            public long dynamicQueryCount(
077                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
078                    throws com.liferay.portal.kernel.exception.SystemException {
079                    return _portletLocalService.dynamicQueryCount(dynamicQuery);
080            }
081    
082            public com.liferay.portal.model.Portlet getPortlet(long id)
083                    throws com.liferay.portal.kernel.exception.PortalException,
084                            com.liferay.portal.kernel.exception.SystemException {
085                    return _portletLocalService.getPortlet(id);
086            }
087    
088            public java.util.List<com.liferay.portal.model.Portlet> getPortlets(
089                    int start, int end)
090                    throws com.liferay.portal.kernel.exception.SystemException {
091                    return _portletLocalService.getPortlets(start, end);
092            }
093    
094            public int getPortletsCount()
095                    throws com.liferay.portal.kernel.exception.SystemException {
096                    return _portletLocalService.getPortletsCount();
097            }
098    
099            public com.liferay.portal.model.Portlet updatePortlet(
100                    com.liferay.portal.model.Portlet portlet)
101                    throws com.liferay.portal.kernel.exception.SystemException {
102                    return _portletLocalService.updatePortlet(portlet);
103            }
104    
105            public com.liferay.portal.model.Portlet updatePortlet(
106                    com.liferay.portal.model.Portlet portlet, boolean merge)
107                    throws com.liferay.portal.kernel.exception.SystemException {
108                    return _portletLocalService.updatePortlet(portlet, merge);
109            }
110    
111            public void checkPortlet(com.liferay.portal.model.Portlet portlet)
112                    throws com.liferay.portal.kernel.exception.PortalException,
113                            com.liferay.portal.kernel.exception.SystemException {
114                    _portletLocalService.checkPortlet(portlet);
115            }
116    
117            public void checkPortlets(long companyId)
118                    throws com.liferay.portal.kernel.exception.PortalException,
119                            com.liferay.portal.kernel.exception.SystemException {
120                    _portletLocalService.checkPortlets(companyId);
121            }
122    
123            public void clearCache() {
124                    _portletLocalService.clearCache();
125            }
126    
127            public com.liferay.portal.model.Portlet clonePortlet(long companyId,
128                    java.lang.String portletId)
129                    throws com.liferay.portal.kernel.exception.SystemException {
130                    return _portletLocalService.clonePortlet(companyId, portletId);
131            }
132    
133            public com.liferay.portal.model.Portlet deployRemotePortlet(
134                    com.liferay.portal.model.Portlet portlet, java.lang.String categoryName)
135                    throws com.liferay.portal.kernel.exception.SystemException {
136                    return _portletLocalService.deployRemotePortlet(portlet, categoryName);
137            }
138    
139            public void destroyPortlet(com.liferay.portal.model.Portlet portlet) {
140                    _portletLocalService.destroyPortlet(portlet);
141            }
142    
143            public void destroyRemotePortlet(com.liferay.portal.model.Portlet portlet) {
144                    _portletLocalService.destroyRemotePortlet(portlet);
145            }
146    
147            public java.util.List<com.liferay.portlet.expando.model.CustomAttributesDisplay> getCustomAttributesDisplays() {
148                    return _portletLocalService.getCustomAttributesDisplays();
149            }
150    
151            public com.liferay.portal.model.PortletCategory getEARDisplay(
152                    java.lang.String xml)
153                    throws com.liferay.portal.kernel.exception.SystemException {
154                    return _portletLocalService.getEARDisplay(xml);
155            }
156    
157            public java.util.List<com.liferay.portal.model.Portlet> getFriendlyURLMapperPortlets() {
158                    return _portletLocalService.getFriendlyURLMapperPortlets();
159            }
160    
161            public java.util.List<com.liferay.portal.kernel.portlet.FriendlyURLMapper> getFriendlyURLMappers() {
162                    return _portletLocalService.getFriendlyURLMappers();
163            }
164    
165            public com.liferay.portal.model.PortletApp getPortletApp(
166                    java.lang.String servletContextName) {
167                    return _portletLocalService.getPortletApp(servletContextName);
168            }
169    
170            public com.liferay.portal.model.Portlet getPortletById(long companyId,
171                    java.lang.String portletId)
172                    throws com.liferay.portal.kernel.exception.SystemException {
173                    return _portletLocalService.getPortletById(companyId, portletId);
174            }
175    
176            public com.liferay.portal.model.Portlet getPortletById(
177                    java.lang.String portletId) {
178                    return _portletLocalService.getPortletById(portletId);
179            }
180    
181            public com.liferay.portal.model.Portlet getPortletByStrutsPath(
182                    long companyId, java.lang.String strutsPath)
183                    throws com.liferay.portal.kernel.exception.SystemException {
184                    return _portletLocalService.getPortletByStrutsPath(companyId, strutsPath);
185            }
186    
187            public java.util.List<com.liferay.portal.model.Portlet> getPortlets() {
188                    return _portletLocalService.getPortlets();
189            }
190    
191            public java.util.List<com.liferay.portal.model.Portlet> getPortlets(
192                    long companyId)
193                    throws com.liferay.portal.kernel.exception.SystemException {
194                    return _portletLocalService.getPortlets(companyId);
195            }
196    
197            public java.util.List<com.liferay.portal.model.Portlet> getPortlets(
198                    long companyId, boolean showSystem, boolean showPortal)
199                    throws com.liferay.portal.kernel.exception.SystemException {
200                    return _portletLocalService.getPortlets(companyId, showSystem,
201                            showPortal);
202            }
203    
204            public com.liferay.portal.model.PortletCategory getWARDisplay(
205                    java.lang.String servletContextName, java.lang.String xml)
206                    throws com.liferay.portal.kernel.exception.SystemException {
207                    return _portletLocalService.getWARDisplay(servletContextName, xml);
208            }
209    
210            public boolean hasPortlet(long companyId, java.lang.String portletId)
211                    throws com.liferay.portal.kernel.exception.SystemException {
212                    return _portletLocalService.hasPortlet(companyId, portletId);
213            }
214    
215            public void initEAR(javax.servlet.ServletContext servletContext,
216                    java.lang.String[] xmls,
217                    com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
218                    _portletLocalService.initEAR(servletContext, xmls, pluginPackage);
219            }
220    
221            public java.util.List<com.liferay.portal.model.Portlet> initWAR(
222                    java.lang.String servletContextName,
223                    javax.servlet.ServletContext servletContext, java.lang.String[] xmls,
224                    com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
225                    return _portletLocalService.initWAR(servletContextName, servletContext,
226                            xmls, pluginPackage);
227            }
228    
229            public com.liferay.portal.model.Portlet updatePortlet(long companyId,
230                    java.lang.String portletId, java.lang.String roles, boolean active)
231                    throws com.liferay.portal.kernel.exception.SystemException {
232                    return _portletLocalService.updatePortlet(companyId, portletId, roles,
233                            active);
234            }
235    
236            public PortletLocalService getWrappedPortletLocalService() {
237                    return _portletLocalService;
238            }
239    
240            private PortletLocalService _portletLocalService;
241    }