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:
com.liferay.portlet.social.service.SocialRequestLocalService

public class SocialRequestLocalServiceImpl
extends SocialRequestLocalServiceBaseImpl

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portlet.social.service.base.SocialRequestLocalServiceBaseImpl
counterLocalService, counterService, socialActivityFinder, socialActivityInterpreterLocalService, socialActivityLocalService, socialActivityPersistence, socialRelationLocalService, socialRelationPersistence, socialRequestInterpreterLocalService, socialRequestLocalService, socialRequestPersistence, userFinder, userLocalService, userPersistence, userService
 
Constructor Summary
SocialRequestLocalServiceImpl()
           
 
Method Summary
 com.liferay.portlet.social.model.SocialRequest addRequest(long userId, long groupId, java.lang.String className, long classPK, int type, java.lang.String extraData, long receiverUserId)
           
 void deleteReceiverUserRequests(long receiverUserId)
           
 void deleteRequest(long requestId)
           
 void deleteUserRequests(long userId)
           
 java.util.List<com.liferay.portlet.social.model.SocialRequest> getReceiverUserRequests(long receiverUserId, int start, int end)
           
 java.util.List<com.liferay.portlet.social.model.SocialRequest> getReceiverUserRequests(long receiverUserId, int status, int start, int end)
           
 int getReceiverUserRequestsCount(long receiverUserId)
           
 int getReceiverUserRequestsCount(long receiverUserId, int status)
           
 java.util.List<com.liferay.portlet.social.model.SocialRequest> getUserRequests(long userId, int start, int end)
           
 java.util.List<com.liferay.portlet.social.model.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)
           
 com.liferay.portlet.social.model.SocialRequest updateRequest(long requestId, int status, com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 
Methods inherited from class com.liferay.portlet.social.service.base.SocialRequestLocalServiceBaseImpl
addSocialRequest, createSocialRequest, deleteSocialRequest, deleteSocialRequest, dynamicQuery, dynamicQuery, getCounterLocalService, getCounterService, getSocialActivityFinder, getSocialActivityInterpreterLocalService, getSocialActivityLocalService, getSocialActivityPersistence, getSocialRelationLocalService, getSocialRelationPersistence, getSocialRequest, getSocialRequestInterpreterLocalService, getSocialRequestLocalService, getSocialRequestPersistence, getSocialRequests, getSocialRequestsCount, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setCounterLocalService, setCounterService, setSocialActivityFinder, setSocialActivityInterpreterLocalService, setSocialActivityLocalService, setSocialActivityPersistence, 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 com.liferay.portlet.social.model.SocialRequest addRequest(long userId,
                                                                 long groupId,
                                                                 java.lang.String className,
                                                                 long classPK,
                                                                 int type,
                                                                 java.lang.String extraData,
                                                                 long receiverUserId)
                                                          throws com.liferay.portal.PortalException,
                                                                 com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteReceiverUserRequests

public void deleteReceiverUserRequests(long receiverUserId)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteRequest

public void deleteRequest(long requestId)
                   throws com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteUserRequests

public void deleteUserRequests(long userId)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getReceiverUserRequests

public java.util.List<com.liferay.portlet.social.model.SocialRequest> getReceiverUserRequests(long receiverUserId,
                                                                                              int start,
                                                                                              int end)
                                                                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getReceiverUserRequests

public java.util.List<com.liferay.portlet.social.model.SocialRequest> getReceiverUserRequests(long receiverUserId,
                                                                                              int status,
                                                                                              int start,
                                                                                              int end)
                                                                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getReceiverUserRequestsCount

public int getReceiverUserRequestsCount(long receiverUserId)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getReceiverUserRequestsCount

public int getReceiverUserRequestsCount(long receiverUserId,
                                        int status)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getUserRequests

public java.util.List<com.liferay.portlet.social.model.SocialRequest> getUserRequests(long userId,
                                                                                      int start,
                                                                                      int end)
                                                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getUserRequests

public java.util.List<com.liferay.portlet.social.model.SocialRequest> getUserRequests(long userId,
                                                                                      int status,
                                                                                      int start,
                                                                                      int end)
                                                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getUserRequestsCount

public int getUserRequestsCount(long userId)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getUserRequestsCount

public int getUserRequestsCount(long userId,
                                int status)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

hasRequest

public boolean hasRequest(long userId,
                          java.lang.String className,
                          long classPK,
                          int type,
                          int status)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

hasRequest

public boolean hasRequest(long userId,
                          java.lang.String className,
                          long classPK,
                          int type,
                          long receiverUserId,
                          int status)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateRequest

public com.liferay.portlet.social.model.SocialRequest updateRequest(long requestId,
                                                                    int status,
                                                                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
                                                             throws com.liferay.portal.PortalException,
                                                                    com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException