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 WebsiteLocalService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       WebsiteLocalService
025     * @generated
026     */
027    public class WebsiteLocalServiceWrapper implements WebsiteLocalService {
028            public WebsiteLocalServiceWrapper(WebsiteLocalService websiteLocalService) {
029                    _websiteLocalService = websiteLocalService;
030            }
031    
032            public com.liferay.portal.model.Website addWebsite(
033                    com.liferay.portal.model.Website website)
034                    throws com.liferay.portal.kernel.exception.SystemException {
035                    return _websiteLocalService.addWebsite(website);
036            }
037    
038            public com.liferay.portal.model.Website createWebsite(long websiteId) {
039                    return _websiteLocalService.createWebsite(websiteId);
040            }
041    
042            public void deleteWebsite(long websiteId)
043                    throws com.liferay.portal.kernel.exception.PortalException,
044                            com.liferay.portal.kernel.exception.SystemException {
045                    _websiteLocalService.deleteWebsite(websiteId);
046            }
047    
048            public void deleteWebsite(com.liferay.portal.model.Website website)
049                    throws com.liferay.portal.kernel.exception.SystemException {
050                    _websiteLocalService.deleteWebsite(website);
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 _websiteLocalService.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 _websiteLocalService.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 _websiteLocalService.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 _websiteLocalService.dynamicQueryCount(dynamicQuery);
081            }
082    
083            public com.liferay.portal.model.Website getWebsite(long websiteId)
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException {
086                    return _websiteLocalService.getWebsite(websiteId);
087            }
088    
089            public java.util.List<com.liferay.portal.model.Website> getWebsites(
090                    int start, int end)
091                    throws com.liferay.portal.kernel.exception.SystemException {
092                    return _websiteLocalService.getWebsites(start, end);
093            }
094    
095            public int getWebsitesCount()
096                    throws com.liferay.portal.kernel.exception.SystemException {
097                    return _websiteLocalService.getWebsitesCount();
098            }
099    
100            public com.liferay.portal.model.Website updateWebsite(
101                    com.liferay.portal.model.Website website)
102                    throws com.liferay.portal.kernel.exception.SystemException {
103                    return _websiteLocalService.updateWebsite(website);
104            }
105    
106            public com.liferay.portal.model.Website updateWebsite(
107                    com.liferay.portal.model.Website website, boolean merge)
108                    throws com.liferay.portal.kernel.exception.SystemException {
109                    return _websiteLocalService.updateWebsite(website, merge);
110            }
111    
112            public com.liferay.portal.model.Website addWebsite(long userId,
113                    java.lang.String className, long classPK, java.lang.String url,
114                    int typeId, boolean primary)
115                    throws com.liferay.portal.kernel.exception.PortalException,
116                            com.liferay.portal.kernel.exception.SystemException {
117                    return _websiteLocalService.addWebsite(userId, className, classPK, url,
118                            typeId, primary);
119            }
120    
121            public void deleteWebsites(long companyId, java.lang.String className,
122                    long classPK)
123                    throws com.liferay.portal.kernel.exception.SystemException {
124                    _websiteLocalService.deleteWebsites(companyId, className, classPK);
125            }
126    
127            public java.util.List<com.liferay.portal.model.Website> getWebsites()
128                    throws com.liferay.portal.kernel.exception.SystemException {
129                    return _websiteLocalService.getWebsites();
130            }
131    
132            public java.util.List<com.liferay.portal.model.Website> getWebsites(
133                    long companyId, java.lang.String className, long classPK)
134                    throws com.liferay.portal.kernel.exception.SystemException {
135                    return _websiteLocalService.getWebsites(companyId, className, classPK);
136            }
137    
138            public com.liferay.portal.model.Website updateWebsite(long websiteId,
139                    java.lang.String url, int typeId, boolean primary)
140                    throws com.liferay.portal.kernel.exception.PortalException,
141                            com.liferay.portal.kernel.exception.SystemException {
142                    return _websiteLocalService.updateWebsite(websiteId, url, typeId,
143                            primary);
144            }
145    
146            public WebsiteLocalService getWrappedWebsiteLocalService() {
147                    return _websiteLocalService;
148            }
149    
150            private WebsiteLocalService _websiteLocalService;
151    }