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