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    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            /**
035            * Returns the Spring bean ID for this bean.
036            *
037            * @return the Spring bean ID for this bean
038            */
039            @Override
040            public java.lang.String getBeanIdentifier() {
041                    return _membershipRequestService.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            @Override
050            public void setBeanIdentifier(java.lang.String beanIdentifier) {
051                    _membershipRequestService.setBeanIdentifier(beanIdentifier);
052            }
053    
054            @Override
055            public com.liferay.portal.model.MembershipRequest addMembershipRequest(
056                    long groupId, java.lang.String comments,
057                    com.liferay.portal.service.ServiceContext serviceContext)
058                    throws com.liferay.portal.kernel.exception.PortalException,
059                            com.liferay.portal.kernel.exception.SystemException {
060                    return _membershipRequestService.addMembershipRequest(groupId,
061                            comments, serviceContext);
062            }
063    
064            @Override
065            public void deleteMembershipRequests(long groupId, int statusId)
066                    throws com.liferay.portal.kernel.exception.PortalException,
067                            com.liferay.portal.kernel.exception.SystemException {
068                    _membershipRequestService.deleteMembershipRequests(groupId, statusId);
069            }
070    
071            @Override
072            public com.liferay.portal.model.MembershipRequest getMembershipRequest(
073                    long membershipRequestId)
074                    throws com.liferay.portal.kernel.exception.PortalException,
075                            com.liferay.portal.kernel.exception.SystemException {
076                    return _membershipRequestService.getMembershipRequest(membershipRequestId);
077            }
078    
079            @Override
080            public void updateStatus(long membershipRequestId,
081                    java.lang.String reviewComments, int statusId,
082                    com.liferay.portal.service.ServiceContext serviceContext)
083                    throws com.liferay.portal.kernel.exception.PortalException,
084                            com.liferay.portal.kernel.exception.SystemException {
085                    _membershipRequestService.updateStatus(membershipRequestId,
086                            reviewComments, statusId, serviceContext);
087            }
088    
089            /**
090             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
091             */
092            public MembershipRequestService getWrappedMembershipRequestService() {
093                    return _membershipRequestService;
094            }
095    
096            /**
097             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
098             */
099            public void setWrappedMembershipRequestService(
100                    MembershipRequestService membershipRequestService) {
101                    _membershipRequestService = membershipRequestService;
102            }
103    
104            @Override
105            public MembershipRequestService getWrappedService() {
106                    return _membershipRequestService;
107            }
108    
109            @Override
110            public void setWrappedService(
111                    MembershipRequestService membershipRequestService) {
112                    _membershipRequestService = membershipRequestService;
113            }
114    
115            private MembershipRequestService _membershipRequestService;
116    }