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