Liferay 6.0.5

com.liferay.portlet.social.service.impl
Class SocialRequestLocalServiceImpl

java.lang.Object
  extended by com.liferay.portlet.social.service.base.SocialRequestLocalServiceBaseImpl
      extended by com.liferay.portlet.social.service.impl.SocialRequestLocalServiceImpl
All Implemented Interfaces:
SocialRequestLocalService

public class SocialRequestLocalServiceImpl
extends SocialRequestLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.social.service.base.SocialRequestLocalServiceBaseImpl
counterLocalService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, socialActivityFinder, socialActivityInterpreterLocalService, socialActivityLocalService, socialActivityPersistence, socialEquityAssetEntryPersistence, socialEquityHistoryLocalService, socialEquityHistoryPersistence, socialEquityLogLocalService, socialEquityLogPersistence, socialEquitySettingLocalService, socialEquitySettingPersistence, socialEquityUserLocalService, socialEquityUserPersistence, socialRelationLocalService, socialRelationPersistence, socialRequestInterpreterLocalService, socialRequestLocalService, socialRequestPersistence, userFinder, userLocalService, userPersistence, userService
 
Constructor Summary
SocialRequestLocalServiceImpl()
           
 
Method Summary
 SocialRequest addRequest(long userId, long groupId, String className, long classPK, int type, String extraData, long receiverUserId)
           
 void deleteReceiverUserRequests(long receiverUserId)
           
 void deleteRequest(long requestId)
           
 void deleteUserRequests(long userId)
           
 List<SocialRequest> getReceiverUserRequests(long receiverUserId, int start, int end)
           
 List<SocialRequest> getReceiverUserRequests(long receiverUserId, int status, int start, int end)
           
 int getReceiverUserRequestsCount(long receiverUserId)
           
 int getReceiverUserRequestsCount(long receiverUserId, int status)
           
 List<SocialRequest> getUserRequests(long userId, int start, int end)
           
 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, String className, long classPK, int type, int status)
           
 boolean hasRequest(long userId, String className, long classPK, int type, long receiverUserId, int status)
           
 SocialRequest updateRequest(long requestId, int status, ThemeDisplay themeDisplay)
           
 
Methods inherited from class com.liferay.portlet.social.service.base.SocialRequestLocalServiceBaseImpl
addSocialRequest, createSocialRequest, deleteSocialRequest, deleteSocialRequest, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, getCounterLocalService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSocialActivityFinder, getSocialActivityInterpreterLocalService, getSocialActivityLocalService, getSocialActivityPersistence, getSocialEquityAssetEntryPersistence, getSocialEquityHistoryLocalService, getSocialEquityHistoryPersistence, getSocialEquityLogLocalService, getSocialEquityLogPersistence, getSocialEquitySettingLocalService, getSocialEquitySettingPersistence, getSocialEquityUserLocalService, getSocialEquityUserPersistence, getSocialRelationLocalService, getSocialRelationPersistence, getSocialRequest, getSocialRequestByUuidAndGroupId, getSocialRequestInterpreterLocalService, getSocialRequestLocalService, getSocialRequestPersistence, getSocialRequests, getSocialRequestsCount, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setCounterLocalService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSocialActivityFinder, setSocialActivityInterpreterLocalService, setSocialActivityLocalService, setSocialActivityPersistence, setSocialEquityAssetEntryPersistence, setSocialEquityHistoryLocalService, setSocialEquityHistoryPersistence, setSocialEquityLogLocalService, setSocialEquityLogPersistence, setSocialEquitySettingLocalService, setSocialEquitySettingPersistence, setSocialEquityUserLocalService, setSocialEquityUserPersistence, setSocialRelationLocalService, setSocialRelationPersistence, setSocialRequestInterpreterLocalService, setSocialRequestLocalService, setSocialRequestPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateSocialRequest, updateSocialRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocialRequestLocalServiceImpl

public SocialRequestLocalServiceImpl()
Method Detail

addRequest

public SocialRequest addRequest(long userId,
                                long groupId,
                                String className,
                                long classPK,
                                int type,
                                String extraData,
                                long receiverUserId)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

deleteReceiverUserRequests

public void deleteReceiverUserRequests(long receiverUserId)
                                throws SystemException
Throws:
SystemException

deleteRequest

public void deleteRequest(long requestId)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

deleteUserRequests

public void deleteUserRequests(long userId)
                        throws SystemException
Throws:
SystemException

getReceiverUserRequests

public List<SocialRequest> getReceiverUserRequests(long receiverUserId,
                                                   int start,
                                                   int end)
                                            throws SystemException
Throws:
SystemException

getReceiverUserRequests

public List<SocialRequest> getReceiverUserRequests(long receiverUserId,
                                                   int status,
                                                   int start,
                                                   int end)
                                            throws SystemException
Throws:
SystemException

getReceiverUserRequestsCount

public int getReceiverUserRequestsCount(long receiverUserId)
                                 throws SystemException
Throws:
SystemException

getReceiverUserRequestsCount

public int getReceiverUserRequestsCount(long receiverUserId,
                                        int status)
                                 throws SystemException
Throws:
SystemException

getUserRequests

public List<SocialRequest> getUserRequests(long userId,
                                           int start,
                                           int end)
                                    throws SystemException
Throws:
SystemException

getUserRequests

public List<SocialRequest> getUserRequests(long userId,
                                           int status,
                                           int start,
                                           int end)
                                    throws SystemException
Throws:
SystemException

getUserRequestsCount

public int getUserRequestsCount(long userId)
                         throws SystemException
Throws:
SystemException

getUserRequestsCount

public int getUserRequestsCount(long userId,
                                int status)
                         throws SystemException
Throws:
SystemException

hasRequest

public boolean hasRequest(long userId,
                          String className,
                          long classPK,
                          int type,
                          int status)
                   throws SystemException
Throws:
SystemException

hasRequest

public boolean hasRequest(long userId,
                          String className,
                          long classPK,
                          int type,
                          long receiverUserId,
                          int status)
                   throws SystemException
Throws:
SystemException

updateRequest

public SocialRequest updateRequest(long requestId,
                                   int status,
                                   ThemeDisplay themeDisplay)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

Liferay 6.0.5