001    /**
002     * Copyright (c) 2000-present 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    import aQute.bnd.annotation.ProviderType;
018    
019    /**
020     * Provides a wrapper for {@link WebsiteService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see WebsiteService
024     * @generated
025     */
026    @ProviderType
027    public class WebsiteServiceWrapper implements WebsiteService,
028            ServiceWrapper<WebsiteService> {
029            public WebsiteServiceWrapper(WebsiteService websiteService) {
030                    _websiteService = websiteService;
031            }
032    
033            /**
034            * @deprecated As of 6.2.0, replaced by {@link #addWebsite(String, long,
035            String, int, boolean, ServiceContext)}
036            */
037            @Deprecated
038            @Override
039            public com.liferay.portal.model.Website addWebsite(
040                    java.lang.String className, long classPK, java.lang.String url,
041                    int typeId, boolean primary)
042                    throws com.liferay.portal.kernel.exception.PortalException {
043                    return _websiteService.addWebsite(className, classPK, url, typeId,
044                            primary);
045            }
046    
047            @Override
048            public com.liferay.portal.model.Website addWebsite(
049                    java.lang.String className, long classPK, java.lang.String url,
050                    int typeId, boolean primary,
051                    com.liferay.portal.service.ServiceContext serviceContext)
052                    throws com.liferay.portal.kernel.exception.PortalException {
053                    return _websiteService.addWebsite(className, classPK, url, typeId,
054                            primary, serviceContext);
055            }
056    
057            @Override
058            public void deleteWebsite(long websiteId)
059                    throws com.liferay.portal.kernel.exception.PortalException {
060                    _websiteService.deleteWebsite(websiteId);
061            }
062    
063            /**
064            * Returns the Spring bean ID for this bean.
065            *
066            * @return the Spring bean ID for this bean
067            */
068            @Override
069            public java.lang.String getBeanIdentifier() {
070                    return _websiteService.getBeanIdentifier();
071            }
072    
073            @Override
074            public com.liferay.portal.model.Website getWebsite(long websiteId)
075                    throws com.liferay.portal.kernel.exception.PortalException {
076                    return _websiteService.getWebsite(websiteId);
077            }
078    
079            @Override
080            public java.util.List<com.liferay.portal.model.Website> getWebsites(
081                    java.lang.String className, long classPK)
082                    throws com.liferay.portal.kernel.exception.PortalException {
083                    return _websiteService.getWebsites(className, classPK);
084            }
085    
086            /**
087            * Sets the Spring bean ID for this bean.
088            *
089            * @param beanIdentifier the Spring bean ID for this bean
090            */
091            @Override
092            public void setBeanIdentifier(java.lang.String beanIdentifier) {
093                    _websiteService.setBeanIdentifier(beanIdentifier);
094            }
095    
096            @Override
097            public com.liferay.portal.model.Website updateWebsite(long websiteId,
098                    java.lang.String url, int typeId, boolean primary)
099                    throws com.liferay.portal.kernel.exception.PortalException {
100                    return _websiteService.updateWebsite(websiteId, url, typeId, primary);
101            }
102    
103            /**
104             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
105             */
106            @Deprecated
107            public WebsiteService getWrappedWebsiteService() {
108                    return _websiteService;
109            }
110    
111            /**
112             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
113             */
114            @Deprecated
115            public void setWrappedWebsiteService(WebsiteService websiteService) {
116                    _websiteService = websiteService;
117            }
118    
119            @Override
120            public WebsiteService getWrappedService() {
121                    return _websiteService;
122            }
123    
124            @Override
125            public void setWrappedService(WebsiteService websiteService) {
126                    _websiteService = websiteService;
127            }
128    
129            private WebsiteService _websiteService;
130    }