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