001    /**
002     * Copyright (c) 2000-2012 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     * <p>
019     * This class is a wrapper for {@link MembershipRequestService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       MembershipRequestService
024     * @generated
025     */
026    public class MembershipRequestServiceWrapper implements MembershipRequestService,
027            ServiceWrapper<MembershipRequestService> {
028            public MembershipRequestServiceWrapper(
029                    MembershipRequestService membershipRequestService) {
030                    _membershipRequestService = membershipRequestService;
031            }
032    
033            public com.liferay.portal.model.MembershipRequest addMembershipRequest(
034                    long groupId, java.lang.String comments,
035                    com.liferay.portal.service.ServiceContext serviceContext)
036                    throws com.liferay.portal.kernel.exception.PortalException,
037                            com.liferay.portal.kernel.exception.SystemException {
038                    return _membershipRequestService.addMembershipRequest(groupId,
039                            comments, serviceContext);
040            }
041    
042            public void deleteMembershipRequests(long groupId, int statusId)
043                    throws com.liferay.portal.kernel.exception.PortalException,
044                            com.liferay.portal.kernel.exception.SystemException {
045                    _membershipRequestService.deleteMembershipRequests(groupId, statusId);
046            }
047    
048            public com.liferay.portal.model.MembershipRequest getMembershipRequest(
049                    long membershipRequestId)
050                    throws com.liferay.portal.kernel.exception.PortalException,
051                            com.liferay.portal.kernel.exception.SystemException {
052                    return _membershipRequestService.getMembershipRequest(membershipRequestId);
053            }
054    
055            public void updateStatus(long membershipRequestId,
056                    java.lang.String reviewComments, int statusId,
057                    com.liferay.portal.service.ServiceContext serviceContext)
058                    throws com.liferay.portal.kernel.exception.PortalException,
059                            com.liferay.portal.kernel.exception.SystemException {
060                    _membershipRequestService.updateStatus(membershipRequestId,
061                            reviewComments, statusId, serviceContext);
062            }
063    
064            /**
065             * @deprecated Renamed to {@link #getWrappedService}
066             */
067            public MembershipRequestService getWrappedMembershipRequestService() {
068                    return _membershipRequestService;
069            }
070    
071            /**
072             * @deprecated Renamed to {@link #setWrappedService}
073             */
074            public void setWrappedMembershipRequestService(
075                    MembershipRequestService membershipRequestService) {
076                    _membershipRequestService = membershipRequestService;
077            }
078    
079            public MembershipRequestService getWrappedService() {
080                    return _membershipRequestService;
081            }
082    
083            public void setWrappedService(
084                    MembershipRequestService membershipRequestService) {
085                    _membershipRequestService = membershipRequestService;
086            }
087    
088            private MembershipRequestService _membershipRequestService;
089    }