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