Class MembershipRequestServiceUtil
Object
com.liferay.portal.kernel.service.MembershipRequestServiceUtil
Provides the remote service utility for MembershipRequest. This utility wraps
com.liferay.portal.service.impl.MembershipRequestServiceImpl and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MembershipRequestaddMembershipRequest(long groupId, String comments, ServiceContext serviceContext) static voiddeleteMembershipRequests(long groupId, long statusId) static MembershipRequestgetMembershipRequest(long membershipRequestId) static StringReturns the OSGi service identifier.static MembershipRequestServicestatic voidsetService(MembershipRequestService service) static voidupdateStatus(long membershipRequestId, String reviewComments, long statusId, ServiceContext serviceContext)
-
Constructor Details
-
MembershipRequestServiceUtil
public MembershipRequestServiceUtil()
-
-
Method Details
-
addMembershipRequest
public static MembershipRequest addMembershipRequest(long groupId, String comments, ServiceContext serviceContext) throws PortalException - Throws:
PortalException
-
deleteMembershipRequests
- Throws:
PortalException
-
getMembershipRequest
public static MembershipRequest getMembershipRequest(long membershipRequestId) throws PortalException - Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
updateStatus
public static void updateStatus(long membershipRequestId, String reviewComments, long statusId, ServiceContext serviceContext) throws PortalException - Throws:
PortalException
-
getService
-
setService
-