001    /**
002     * Copyright (c) 2000-2012 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 WebsiteService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       WebsiteService
024     * @generated
025     */
026    public class WebsiteServiceWrapper implements WebsiteService,
027            ServiceWrapper<WebsiteService> {
028            public WebsiteServiceWrapper(WebsiteService websiteService) {
029                    _websiteService = websiteService;
030            }
031    
032            public com.liferay.portal.model.Website addWebsite(
033                    java.lang.String className, long classPK, java.lang.String url,
034                    int typeId, boolean primary)
035                    throws com.liferay.portal.kernel.exception.PortalException,
036                            com.liferay.portal.kernel.exception.SystemException {
037                    return _websiteService.addWebsite(className, classPK, url, typeId,
038                            primary);
039            }
040    
041            public void deleteWebsite(long websiteId)
042                    throws com.liferay.portal.kernel.exception.PortalException,
043                            com.liferay.portal.kernel.exception.SystemException {
044                    _websiteService.deleteWebsite(websiteId);
045            }
046    
047            public com.liferay.portal.model.Website getWebsite(long websiteId)
048                    throws com.liferay.portal.kernel.exception.PortalException,
049                            com.liferay.portal.kernel.exception.SystemException {
050                    return _websiteService.getWebsite(websiteId);
051            }
052    
053            public java.util.List<com.liferay.portal.model.Website> getWebsites(
054                    java.lang.String className, long classPK)
055                    throws com.liferay.portal.kernel.exception.PortalException,
056                            com.liferay.portal.kernel.exception.SystemException {
057                    return _websiteService.getWebsites(className, classPK);
058            }
059    
060            public com.liferay.portal.model.Website updateWebsite(long websiteId,
061                    java.lang.String url, int typeId, boolean primary)
062                    throws com.liferay.portal.kernel.exception.PortalException,
063                            com.liferay.portal.kernel.exception.SystemException {
064                    return _websiteService.updateWebsite(websiteId, url, typeId, primary);
065            }
066    
067            /**
068             * @deprecated Renamed to {@link #getWrappedService}
069             */
070            public WebsiteService getWrappedWebsiteService() {
071                    return _websiteService;
072            }
073    
074            /**
075             * @deprecated Renamed to {@link #setWrappedService}
076             */
077            public void setWrappedWebsiteService(WebsiteService websiteService) {
078                    _websiteService = websiteService;
079            }
080    
081            public WebsiteService getWrappedService() {
082                    return _websiteService;
083            }
084    
085            public void setWrappedService(WebsiteService websiteService) {
086                    _websiteService = websiteService;
087            }
088    
089            private WebsiteService _websiteService;
090    }