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