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, long statusId)
045                    throws com.liferay.portal.kernel.exception.PortalException {
046                    _membershipRequestService.deleteMembershipRequests(groupId, statusId);
047            }
048    
049            @Override
050            public com.liferay.portal.model.MembershipRequest getMembershipRequest(
051                    long membershipRequestId)
052                    throws com.liferay.portal.kernel.exception.PortalException {
053                    return _membershipRequestService.getMembershipRequest(membershipRequestId);
054            }
055    
056            /**
057            * Returns the OSGi service identifier.
058            *
059            * @return the OSGi service identifier
060            */
061            @Override
062            public java.lang.String getOSGiServiceIdentifier() {
063                    return _membershipRequestService.getOSGiServiceIdentifier();
064            }
065    
066            @Override
067            public void updateStatus(long membershipRequestId,
068                    java.lang.String reviewComments, long statusId,
069                    com.liferay.portal.service.ServiceContext serviceContext)
070                    throws com.liferay.portal.kernel.exception.PortalException {
071                    _membershipRequestService.updateStatus(membershipRequestId,
072                            reviewComments, statusId, serviceContext);
073            }
074    
075            @Override
076            public MembershipRequestService getWrappedService() {
077                    return _membershipRequestService;
078            }
079    
080            @Override
081            public void setWrappedService(
082                    MembershipRequestService membershipRequestService) {
083                    _membershipRequestService = membershipRequestService;
084            }
085    
086            private MembershipRequestService _membershipRequestService;
087    }