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 MembershipRequestService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see MembershipRequestService
024     * @generated
025     */
026    @ProviderType
027    public class MembershipRequestServiceWrapper implements MembershipRequestService,
028            ServiceWrapper<MembershipRequestService> {
029            public MembershipRequestServiceWrapper(
030                    MembershipRequestService membershipRequestService) {
031                    _membershipRequestService = membershipRequestService;
032            }
033    
034            @Override
035            public com.liferay.portal.model.MembershipRequest addMembershipRequest(
036                    long groupId, java.lang.String comments,
037                    com.liferay.portal.service.ServiceContext serviceContext)
038                    throws com.liferay.portal.kernel.exception.PortalException {
039                    return _membershipRequestService.addMembershipRequest(groupId,
040                            comments, serviceContext);
041            }
042    
043            @Override
044            public void deleteMembershipRequests(long groupId, int statusId)
045                    throws com.liferay.portal.kernel.exception.PortalException {
046                    _membershipRequestService.deleteMembershipRequests(groupId, statusId);
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 _membershipRequestService.getBeanIdentifier();
057            }
058    
059            @Override
060            public com.liferay.portal.model.MembershipRequest getMembershipRequest(
061                    long membershipRequestId)
062                    throws com.liferay.portal.kernel.exception.PortalException {
063                    return _membershipRequestService.getMembershipRequest(membershipRequestId);
064            }
065    
066            /**
067            * Sets the Spring bean ID for this bean.
068            *
069            * @param beanIdentifier the Spring bean ID for this bean
070            */
071            @Override
072            public void setBeanIdentifier(java.lang.String beanIdentifier) {
073                    _membershipRequestService.setBeanIdentifier(beanIdentifier);
074            }
075    
076            @Override
077            public void updateStatus(long membershipRequestId,
078                    java.lang.String reviewComments, int statusId,
079                    com.liferay.portal.service.ServiceContext serviceContext)
080                    throws com.liferay.portal.kernel.exception.PortalException {
081                    _membershipRequestService.updateStatus(membershipRequestId,
082                            reviewComments, statusId, serviceContext);
083            }
084    
085            /**
086             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
087             */
088            @Deprecated
089            public MembershipRequestService getWrappedMembershipRequestService() {
090                    return _membershipRequestService;
091            }
092    
093            /**
094             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
095             */
096            @Deprecated
097            public void setWrappedMembershipRequestService(
098                    MembershipRequestService membershipRequestService) {
099                    _membershipRequestService = membershipRequestService;
100            }
101    
102            @Override
103            public MembershipRequestService getWrappedService() {
104                    return _membershipRequestService;
105            }
106    
107            @Override
108            public void setWrappedService(
109                    MembershipRequestService membershipRequestService) {
110                    _membershipRequestService = membershipRequestService;
111            }
112    
113            private MembershipRequestService _membershipRequestService;
114    }