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