001
014
015 package com.liferay.portal.service;
016
017 import com.liferay.portal.kernel.exception.PortalException;
018 import com.liferay.portal.kernel.exception.SystemException;
019 import com.liferay.portal.kernel.jsonwebservice.JSONWebService;
020 import com.liferay.portal.kernel.transaction.Isolation;
021 import com.liferay.portal.kernel.transaction.Propagation;
022 import com.liferay.portal.kernel.transaction.Transactional;
023
024
037 @JSONWebService
038 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
039 PortalException.class, SystemException.class})
040 public interface MembershipRequestService extends BaseService {
041
046
047
052 public java.lang.String getBeanIdentifier();
053
054
059 public void setBeanIdentifier(java.lang.String beanIdentifier);
060
061 public com.liferay.portal.model.MembershipRequest addMembershipRequest(
062 long groupId, java.lang.String comments,
063 com.liferay.portal.service.ServiceContext serviceContext)
064 throws com.liferay.portal.kernel.exception.PortalException,
065 com.liferay.portal.kernel.exception.SystemException;
066
067 public void deleteMembershipRequests(long groupId, int statusId)
068 throws com.liferay.portal.kernel.exception.PortalException,
069 com.liferay.portal.kernel.exception.SystemException;
070
071 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
072 public com.liferay.portal.model.MembershipRequest getMembershipRequest(
073 long membershipRequestId)
074 throws com.liferay.portal.kernel.exception.PortalException,
075 com.liferay.portal.kernel.exception.SystemException;
076
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 }