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.portlet.messageboards.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link MBBanService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see MBBanService
026     * @generated
027     */
028    @ProviderType
029    public class MBBanServiceWrapper implements MBBanService,
030            ServiceWrapper<MBBanService> {
031            public MBBanServiceWrapper(MBBanService mbBanService) {
032                    _mbBanService = mbBanService;
033            }
034    
035            @Override
036            public com.liferay.portlet.messageboards.model.MBBan addBan(
037                    long banUserId, com.liferay.portal.service.ServiceContext serviceContext)
038                    throws com.liferay.portal.kernel.exception.PortalException {
039                    return _mbBanService.addBan(banUserId, serviceContext);
040            }
041    
042            @Override
043            public void deleteBan(long banUserId,
044                    com.liferay.portal.service.ServiceContext serviceContext)
045                    throws com.liferay.portal.kernel.exception.PortalException {
046                    _mbBanService.deleteBan(banUserId, serviceContext);
047            }
048    
049            /**
050            * Returns the Spring bean ID for this bean.
051            *
052            * @return the Spring bean ID for this bean
053            */
054            @Override
055            public java.lang.String getBeanIdentifier() {
056                    return _mbBanService.getBeanIdentifier();
057            }
058    
059            /**
060            * Sets the Spring bean ID for this bean.
061            *
062            * @param beanIdentifier the Spring bean ID for this bean
063            */
064            @Override
065            public void setBeanIdentifier(java.lang.String beanIdentifier) {
066                    _mbBanService.setBeanIdentifier(beanIdentifier);
067            }
068    
069            /**
070             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
071             */
072            @Deprecated
073            public MBBanService getWrappedMBBanService() {
074                    return _mbBanService;
075            }
076    
077            /**
078             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
079             */
080            @Deprecated
081            public void setWrappedMBBanService(MBBanService mbBanService) {
082                    _mbBanService = mbBanService;
083            }
084    
085            @Override
086            public MBBanService getWrappedService() {
087                    return _mbBanService;
088            }
089    
090            @Override
091            public void setWrappedService(MBBanService mbBanService) {
092                    _mbBanService = mbBanService;
093            }
094    
095            private MBBanService _mbBanService;
096    }