com.liferay.portlet.social.service
Class SocialRequestLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.social.service.SocialRequestLocalServiceWrapper
All Implemented Interfaces:
SocialRequestLocalService

public class SocialRequestLocalServiceWrapper
extends java.lang.Object
implements SocialRequestLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for SocialRequestLocalService.

Author:
Brian Wing Shun Chan
See Also:
SocialRequestLocalService
Generated:

Constructor Summary
SocialRequestLocalServiceWrapper(SocialRequestLocalService socialRequestLocalService)
           
 
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(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.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)
           
 SocialRequestLocalService getWrappedSocialRequestLocalService()
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocialRequestLocalServiceWrapper

public SocialRequestLocalServiceWrapper(SocialRequestLocalService socialRequestLocalService)
Method Detail

addSocialRequest

public SocialRequest addSocialRequest(SocialRequest socialRequest)
                               throws com.liferay.portal.SystemException
Specified by:
addSocialRequest in interface SocialRequestLocalService
Throws:
com.liferay.portal.SystemException

createSocialRequest

public SocialRequest createSocialRequest(long requestId)
Specified by:
createSocialRequest in interface SocialRequestLocalService

deleteSocialRequest

public void deleteSocialRequest(long requestId)
                         throws com.liferay.portal.PortalException,
                                com.liferay.portal.SystemException
Specified by:
deleteSocialRequest in interface SocialRequestLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteSocialRequest

public void deleteSocialRequest(SocialRequest socialRequest)
                         throws com.liferay.portal.SystemException
Specified by:
deleteSocialRequest in interface SocialRequestLocalService
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                            throws com.liferay.portal.SystemException
Specified by:
dynamicQuery in interface SocialRequestLocalService
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end)
                            throws com.liferay.portal.SystemException
Specified by:
dynamicQuery in interface SocialRequestLocalService
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end,
                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                            throws com.liferay.portal.SystemException
Specified by:
dynamicQuery in interface SocialRequestLocalService
Throws:
com.liferay.portal.SystemException

dynamicQueryCount

public int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                      throws com.liferay.portal.SystemException
Specified by:
dynamicQueryCount in interface SocialRequestLocalService
Throws:
com.liferay.portal.SystemException

getSocialRequest

public SocialRequest getSocialRequest(long requestId)
                               throws com.liferay.portal.PortalException,
                                      com.liferay.portal.SystemException
Specified by:
getSocialRequest in interface SocialRequestLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getSocialRequestByUuidAndGroupId

public SocialRequest getSocialRequestByUuidAndGroupId(java.lang.String uuid,
                                                      long groupId)
                                               throws com.liferay.portal.PortalException,
                                                      com.liferay.portal.SystemException
Specified by:
getSocialRequestByUuidAndGroupId in interface SocialRequestLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getSocialRequests

public java.util.List<SocialRequest> getSocialRequests(int start,
                                                       int end)
                                                throws com.liferay.portal.SystemException
Specified by:
getSocialRequests in interface SocialRequestLocalService
Throws:
com.liferay.portal.SystemException

getSocialRequestsCount

public int getSocialRequestsCount()
                           throws com.liferay.portal.SystemException
Specified by:
getSocialRequestsCount in interface SocialRequestLocalService
Throws:
com.liferay.portal.SystemException

updateSocialRequest

public SocialRequest updateSocialRequest(SocialRequest socialRequest)
                                  throws com.liferay.portal.SystemException
Specified by:
updateSocialRequest in interface SocialRequestLocalService
Throws:
com.liferay.portal.SystemException

updateSocialRequest

public SocialRequest updateSocialRequest(SocialRequest socialRequest,
                                         boolean merge)
                                  throws com.liferay.portal.SystemException
Specified by:
updateSocialRequest in interface SocialRequestLocalService
Throws:
com.liferay.portal.SystemException

addRequest

public 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
Specified by:
addRequest in interface SocialRequestLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteReceiverUserRequests

public void deleteReceiverUserRequests(long receiverUserId)
                                throws com.liferay.portal.SystemException
Specified by:
deleteReceiverUserRequests in interface SocialRequestLocalService
Throws:
com.liferay.portal.SystemException

deleteRequest

public void deleteRequest(long requestId)
                   throws com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException
Specified by:
deleteRequest in interface SocialRequestLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteUserRequests

public void deleteUserRequests(long userId)
                        throws com.liferay.portal.SystemException
Specified by:
deleteUserRequests in interface SocialRequestLocalService
Throws:
com.liferay.portal.SystemException

getReceiverUserRequests

public java.util.List<SocialRequest> getReceiverUserRequests(long receiverUserId,
                                                             int start,
                                                             int end)
                                                      throws com.liferay.portal.SystemException
Specified by:
getReceiverUserRequests in interface SocialRequestLocalService
Throws:
com.liferay.portal.SystemException

getReceiverUserRequests

public java.util.List<SocialRequest> getReceiverUserRequests(long receiverUserId,
                                                             int status,
                                                             int start,
                                                             int end)
                                                      throws com.liferay.portal.SystemException
Specified by:
getReceiverUserRequests in interface SocialRequestLocalService
Throws:
com.liferay.portal.SystemException

getReceiverUserRequestsCount

public int getReceiverUserRequestsCount(long receiverUserId)
                                 throws com.liferay.portal.SystemException
Specified by:
getReceiverUserRequestsCount in interface SocialRequestLocalService
Throws:
com.liferay.portal.SystemException

getReceiverUserRequestsCount

public int getReceiverUserRequestsCount(long receiverUserId,
                                        int status)
                                 throws com.liferay.portal.SystemException
Specified by:
getReceiverUserRequestsCount in interface SocialRequestLocalService
Throws:
com.liferay.portal.SystemException

getUserRequests

public java.util.List<SocialRequest> getUserRequests(long userId,
                                                     int start,
                                                     int end)
                                              throws com.liferay.portal.SystemException
Specified by:
getUserRequests in interface SocialRequestLocalService
Throws:
com.liferay.portal.SystemException

getUserRequests

public java.util.List<SocialRequest> getUserRequests(long userId,
                                                     int status,
                                                     int start,
                                                     int end)
                                              throws com.liferay.portal.SystemException
Specified by:
getUserRequests in interface SocialRequestLocalService
Throws:
com.liferay.portal.SystemException

getUserRequestsCount

public int getUserRequestsCount(long userId)
                         throws com.liferay.portal.SystemException
Specified by:
getUserRequestsCount in interface SocialRequestLocalService
Throws:
com.liferay.portal.SystemException

getUserRequestsCount

public int getUserRequestsCount(long userId,
                                int status)
                         throws com.liferay.portal.SystemException
Specified by:
getUserRequestsCount in interface SocialRequestLocalService
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
Specified by:
hasRequest in interface SocialRequestLocalService
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
Specified by:
hasRequest in interface SocialRequestLocalService
Throws:
com.liferay.portal.SystemException

updateRequest

public SocialRequest updateRequest(long requestId,
                                   int status,
                                   ThemeDisplay themeDisplay)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Specified by:
updateRequest in interface SocialRequestLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getWrappedSocialRequestLocalService

public SocialRequestLocalService getWrappedSocialRequestLocalService()