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