Liferay 7.0-ce-b4

com.liferay.portal.service
Interface MembershipRequestService

All Superinterfaces:
BaseService
All Known Implementing Classes:
MembershipRequestServiceWrapper

@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface MembershipRequestService
extends BaseService

Provides the remote service interface for MembershipRequest. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
MembershipRequestServiceUtil, MembershipRequestServiceBaseImpl, com.liferay.portal.service.impl.MembershipRequestServiceImpl

Method Summary
 MembershipRequest addMembershipRequest(long groupId, String comments, ServiceContext serviceContext)
           
 void deleteMembershipRequests(long groupId, long statusId)
           
 MembershipRequest getMembershipRequest(long membershipRequestId)
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 void updateStatus(long membershipRequestId, String reviewComments, long statusId, ServiceContext serviceContext)
           
 

Method Detail

addMembershipRequest

MembershipRequest addMembershipRequest(long groupId,
                                       String comments,
                                       ServiceContext serviceContext)
                                       throws PortalException
Throws:
PortalException

deleteMembershipRequests

void deleteMembershipRequests(long groupId,
                              long statusId)
                              throws PortalException
Throws:
PortalException

getMembershipRequest

@Transactional(propagation=SUPPORTS,
               readOnly=true)
MembershipRequest getMembershipRequest(long membershipRequestId)
                                       throws PortalException
Throws:
PortalException

getOSGiServiceIdentifier

String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

updateStatus

void updateStatus(long membershipRequestId,
                  String reviewComments,
                  long statusId,
                  ServiceContext serviceContext)
                  throws PortalException
Throws:
PortalException

Liferay 7.0-ce-b4