1
14
15 package com.liferay.portal.service;
16
17 import com.liferay.portal.kernel.annotation.Isolation;
18 import com.liferay.portal.kernel.annotation.Propagation;
19 import com.liferay.portal.kernel.annotation.Transactional;
20 import com.liferay.portal.kernel.exception.PortalException;
21 import com.liferay.portal.kernel.exception.SystemException;
22
23
47 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
48 PortalException.class, SystemException.class})
49 public interface MembershipRequestService {
50 public com.liferay.portal.model.MembershipRequest addMembershipRequest(
51 long groupId, java.lang.String comments)
52 throws com.liferay.portal.kernel.exception.PortalException,
53 com.liferay.portal.kernel.exception.SystemException;
54
55 public void deleteMembershipRequests(long groupId, int statusId)
56 throws com.liferay.portal.kernel.exception.PortalException,
57 com.liferay.portal.kernel.exception.SystemException;
58
59 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
60 public com.liferay.portal.model.MembershipRequest getMembershipRequest(
61 long membershipRequestId)
62 throws com.liferay.portal.kernel.exception.PortalException,
63 com.liferay.portal.kernel.exception.SystemException;
64
65 public void updateStatus(long membershipRequestId,
66 java.lang.String reviewComments, int statusId)
67 throws com.liferay.portal.kernel.exception.PortalException,
68 com.liferay.portal.kernel.exception.SystemException;
69 }