com.liferay.portlet.social.service
Interface SocialRequestLocalService
- All Known Implementing Classes:
- SocialRequestLocalServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface SocialRequestLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portlet.social.service.impl.SocialRequestLocalServiceImpl
}.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
SocialRequestLocalServiceUtil
- Generated:
Method Summary |
SocialRequest |
addRequest(long userId,
long groupId,
java.lang.String className,
long classPK,
int type,
java.lang.String extraData,
long receiverUserId)
|
SocialRequest |
addSocialRequest(SocialRequest socialRequest)
|
SocialRequest |
createSocialRequest(long requestId)
|
void |
deleteReceiverUserRequests(long receiverUserId)
|
void |
deleteRequest(long requestId)
|
void |
deleteSocialRequest(long requestId)
|
void |
deleteSocialRequest(SocialRequest socialRequest)
|
void |
deleteUserRequests(long userId)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
java.util.List<SocialRequest> |
getReceiverUserRequests(long receiverUserId,
int start,
int end)
|
java.util.List<SocialRequest> |
getReceiverUserRequests(long receiverUserId,
int status,
int start,
int end)
|
int |
getReceiverUserRequestsCount(long receiverUserId)
|
int |
getReceiverUserRequestsCount(long receiverUserId,
int status)
|
SocialRequest |
getSocialRequest(long requestId)
|
SocialRequest |
getSocialRequestByUuidAndGroupId(java.lang.String uuid,
long groupId)
|
java.util.List<SocialRequest> |
getSocialRequests(int start,
int end)
|
int |
getSocialRequestsCount()
|
java.util.List<SocialRequest> |
getUserRequests(long userId,
int start,
int end)
|
java.util.List<SocialRequest> |
getUserRequests(long userId,
int status,
int start,
int end)
|
int |
getUserRequestsCount(long userId)
|
int |
getUserRequestsCount(long userId,
int status)
|
boolean |
hasRequest(long userId,
java.lang.String className,
long classPK,
int type,
int status)
|
boolean |
hasRequest(long userId,
java.lang.String className,
long classPK,
int type,
long receiverUserId,
int status)
|
SocialRequest |
updateRequest(long requestId,
int status,
ThemeDisplay themeDisplay)
|
SocialRequest |
updateSocialRequest(SocialRequest socialRequest)
|
SocialRequest |
updateSocialRequest(SocialRequest socialRequest,
boolean merge)
|
addSocialRequest
SocialRequest addSocialRequest(SocialRequest socialRequest)
throws SystemException
- Throws:
SystemException
createSocialRequest
SocialRequest createSocialRequest(long requestId)
deleteSocialRequest
void deleteSocialRequest(long requestId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteSocialRequest
void deleteSocialRequest(SocialRequest socialRequest)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getSocialRequest
@Transactional(propagation=SUPPORTS,
readOnly=true)
SocialRequest getSocialRequest(long requestId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getSocialRequestByUuidAndGroupId
@Transactional(propagation=SUPPORTS,
readOnly=true)
SocialRequest getSocialRequestByUuidAndGroupId(java.lang.String uuid,
long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getSocialRequests
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SocialRequest> getSocialRequests(int start,
int end)
throws SystemException
- Throws:
SystemException
getSocialRequestsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getSocialRequestsCount()
throws SystemException
- Throws:
SystemException
updateSocialRequest
SocialRequest updateSocialRequest(SocialRequest socialRequest)
throws SystemException
- Throws:
SystemException
updateSocialRequest
SocialRequest updateSocialRequest(SocialRequest socialRequest,
boolean merge)
throws SystemException
- Throws:
SystemException
addRequest
SocialRequest addRequest(long userId,
long groupId,
java.lang.String className,
long classPK,
int type,
java.lang.String extraData,
long receiverUserId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteReceiverUserRequests
void deleteReceiverUserRequests(long receiverUserId)
throws SystemException
- Throws:
SystemException
deleteRequest
void deleteRequest(long requestId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteUserRequests
void deleteUserRequests(long userId)
throws SystemException
- Throws:
SystemException
getReceiverUserRequests
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SocialRequest> getReceiverUserRequests(long receiverUserId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getReceiverUserRequests
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SocialRequest> getReceiverUserRequests(long receiverUserId,
int status,
int start,
int end)
throws SystemException
- Throws:
SystemException
getReceiverUserRequestsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getReceiverUserRequestsCount(long receiverUserId)
throws SystemException
- Throws:
SystemException
getReceiverUserRequestsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getReceiverUserRequestsCount(long receiverUserId,
int status)
throws SystemException
- Throws:
SystemException
getUserRequests
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SocialRequest> getUserRequests(long userId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getUserRequests
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SocialRequest> getUserRequests(long userId,
int status,
int start,
int end)
throws SystemException
- Throws:
SystemException
getUserRequestsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getUserRequestsCount(long userId)
throws SystemException
- Throws:
SystemException
getUserRequestsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getUserRequestsCount(long userId,
int status)
throws SystemException
- Throws:
SystemException
hasRequest
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean hasRequest(long userId,
java.lang.String className,
long classPK,
int type,
int status)
throws SystemException
- Throws:
SystemException
hasRequest
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean hasRequest(long userId,
java.lang.String className,
long classPK,
int type,
long receiverUserId,
int status)
throws SystemException
- Throws:
SystemException
updateRequest
SocialRequest updateRequest(long requestId,
int status,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException