com.liferay.portlet.social.service.persistence
Class SocialRequestUtil

java.lang.Object
  extended by com.liferay.portlet.social.service.persistence.SocialRequestUtil

public class SocialRequestUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
SocialRequestUtil()
           
 
Method Summary
static int countAll()
           
static int countByCompanyId(long companyId)
           
static int countByR_S(long receiverUserId, int status)
           
static int countByReceiverUserId(long receiverUserId)
           
static int countByU_C_C_T_R_S(long userId, long classNameId, long classPK, int type, long receiverUserId, int status)
           
static int countByU_C_C_T_R(long userId, long classNameId, long classPK, int type, long receiverUserId)
           
static int countByU_C_C_T_S(long userId, long classNameId, long classPK, int type, int status)
           
static int countByU_S(long userId, int status)
           
static int countByUserId(long userId)
           
static int countByUUID_G(java.lang.String uuid, long groupId)
           
static int countByUuid(java.lang.String uuid)
           
static SocialRequest create(long requestId)
           
static SocialRequest fetchByPrimaryKey(long requestId)
           
static SocialRequest fetchByU_C_C_T_R_S(long userId, long classNameId, long classPK, int type, long receiverUserId, int status)
           
static SocialRequest fetchByU_C_C_T_R(long userId, long classNameId, long classPK, int type, long receiverUserId)
           
static SocialRequest fetchByUUID_G(java.lang.String uuid, long groupId)
           
static java.util.List<SocialRequest> findAll()
           
static java.util.List<SocialRequest> findAll(int start, int end)
           
static java.util.List<SocialRequest> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SocialRequest findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SocialRequest findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SocialRequest[] findByCompanyId_PrevAndNext(long requestId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<SocialRequest> findByCompanyId(long companyId)
           
static java.util.List<SocialRequest> findByCompanyId(long companyId, int start, int end)
           
static java.util.List<SocialRequest> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SocialRequest findByPrimaryKey(long requestId)
           
static SocialRequest findByR_S_First(long receiverUserId, int status, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SocialRequest findByR_S_Last(long receiverUserId, int status, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SocialRequest[] findByR_S_PrevAndNext(long requestId, long receiverUserId, int status, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<SocialRequest> findByR_S(long receiverUserId, int status)
           
static java.util.List<SocialRequest> findByR_S(long receiverUserId, int status, int start, int end)
           
static java.util.List<SocialRequest> findByR_S(long receiverUserId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SocialRequest findByReceiverUserId_First(long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SocialRequest findByReceiverUserId_Last(long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SocialRequest[] findByReceiverUserId_PrevAndNext(long requestId, long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<SocialRequest> findByReceiverUserId(long receiverUserId)
           
static java.util.List<SocialRequest> findByReceiverUserId(long receiverUserId, int start, int end)
           
static java.util.List<SocialRequest> findByReceiverUserId(long receiverUserId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SocialRequest findByU_C_C_T_R_S(long userId, long classNameId, long classPK, int type, long receiverUserId, int status)
           
static SocialRequest findByU_C_C_T_R(long userId, long classNameId, long classPK, int type, long receiverUserId)
           
static SocialRequest findByU_C_C_T_S_First(long userId, long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SocialRequest findByU_C_C_T_S_Last(long userId, long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SocialRequest[] findByU_C_C_T_S_PrevAndNext(long requestId, long userId, long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<SocialRequest> findByU_C_C_T_S(long userId, long classNameId, long classPK, int type, int status)
           
static java.util.List<SocialRequest> findByU_C_C_T_S(long userId, long classNameId, long classPK, int type, int status, int start, int end)
           
static java.util.List<SocialRequest> findByU_C_C_T_S(long userId, long classNameId, long classPK, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SocialRequest findByU_S_First(long userId, int status, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SocialRequest findByU_S_Last(long userId, int status, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SocialRequest[] findByU_S_PrevAndNext(long requestId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<SocialRequest> findByU_S(long userId, int status)
           
static java.util.List<SocialRequest> findByU_S(long userId, int status, int start, int end)
           
static java.util.List<SocialRequest> findByU_S(long userId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SocialRequest findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SocialRequest findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SocialRequest[] findByUserId_PrevAndNext(long requestId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<SocialRequest> findByUserId(long userId)
           
static java.util.List<SocialRequest> findByUserId(long userId, int start, int end)
           
static java.util.List<SocialRequest> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SocialRequest findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SocialRequest findByUUID_G(java.lang.String uuid, long groupId)
           
static SocialRequest findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SocialRequest[] findByUuid_PrevAndNext(long requestId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<SocialRequest> findByUuid(java.lang.String uuid)
           
static java.util.List<SocialRequest> findByUuid(java.lang.String uuid, int start, int end)
           
static java.util.List<SocialRequest> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static SocialRequestPersistence getPersistence()
           
static SocialRequest remove(long requestId)
           
static SocialRequest remove(SocialRequest socialRequest)
           
static void removeAll()
           
static void removeByCompanyId(long companyId)
           
static void removeByR_S(long receiverUserId, int status)
           
static void removeByReceiverUserId(long receiverUserId)
           
static void removeByU_C_C_T_R_S(long userId, long classNameId, long classPK, int type, long receiverUserId, int status)
           
static void removeByU_C_C_T_R(long userId, long classNameId, long classPK, int type, long receiverUserId)
           
static void removeByU_C_C_T_S(long userId, long classNameId, long classPK, int type, int status)
           
static void removeByU_S(long userId, int status)
           
static void removeByUserId(long userId)
           
static void removeByUUID_G(java.lang.String uuid, long groupId)
           
static void removeByUuid(java.lang.String uuid)
           
 void setPersistence(SocialRequestPersistence persistence)
           
static SocialRequest update(SocialRequest socialRequest)
          Deprecated. Use update(SocialRequest socialRequest, boolean merge).
static SocialRequest update(SocialRequest socialRequest, boolean merge)
          Add, update, or merge, the entity.
static SocialRequest updateImpl(SocialRequest socialRequest, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocialRequestUtil

public SocialRequestUtil()
Method Detail

create

public static SocialRequest create(long requestId)

remove

public static SocialRequest remove(long requestId)
                            throws com.liferay.portal.SystemException,
                                   NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

remove

public static SocialRequest remove(SocialRequest socialRequest)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public static SocialRequest update(SocialRequest socialRequest)
                            throws com.liferay.portal.SystemException
Deprecated. Use update(SocialRequest socialRequest, boolean merge).

Throws:
com.liferay.portal.SystemException

update

public static SocialRequest update(SocialRequest socialRequest,
                                   boolean merge)
                            throws com.liferay.portal.SystemException
Add, update, or merge, the entity. This method also calls the model listeners to trigger the proper events associated with adding, deleting, or updating an entity.

Parameters:
socialRequest - the entity to add, update, or merge
merge - boolean value for whether to merge the entity. The default value is false. Setting merge to true is more expensive and should only be true when socialRequest is transient. See LEP-5473 for a detailed discussion of this method.
Returns:
true if the portlet can be displayed via Ajax
Throws:
com.liferay.portal.SystemException

updateImpl

public static SocialRequest updateImpl(SocialRequest socialRequest,
                                       boolean merge)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public static SocialRequest findByPrimaryKey(long requestId)
                                      throws com.liferay.portal.SystemException,
                                             NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

fetchByPrimaryKey

public static SocialRequest fetchByPrimaryKey(long requestId)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

public static java.util.List<SocialRequest> findByUuid(java.lang.String uuid)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

public static java.util.List<SocialRequest> findByUuid(java.lang.String uuid,
                                                       int start,
                                                       int end)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

public static java.util.List<SocialRequest> findByUuid(java.lang.String uuid,
                                                       int start,
                                                       int end,
                                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid_First

public static SocialRequest findByUuid_First(java.lang.String uuid,
                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                      throws com.liferay.portal.SystemException,
                                             NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

findByUuid_Last

public static SocialRequest findByUuid_Last(java.lang.String uuid,
                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

findByUuid_PrevAndNext

public static SocialRequest[] findByUuid_PrevAndNext(long requestId,
                                                     java.lang.String uuid,
                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                              throws com.liferay.portal.SystemException,
                                                     NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

findByUUID_G

public static SocialRequest findByUUID_G(java.lang.String uuid,
                                         long groupId)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

fetchByUUID_G

public static SocialRequest fetchByUUID_G(java.lang.String uuid,
                                          long groupId)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

public static java.util.List<SocialRequest> findByCompanyId(long companyId)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

public static java.util.List<SocialRequest> findByCompanyId(long companyId,
                                                            int start,
                                                            int end)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

public static java.util.List<SocialRequest> findByCompanyId(long companyId,
                                                            int start,
                                                            int end,
                                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId_First

public static SocialRequest findByCompanyId_First(long companyId,
                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws com.liferay.portal.SystemException,
                                                  NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

findByCompanyId_Last

public static SocialRequest findByCompanyId_Last(long companyId,
                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws com.liferay.portal.SystemException,
                                                 NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

findByCompanyId_PrevAndNext

public static SocialRequest[] findByCompanyId_PrevAndNext(long requestId,
                                                          long companyId,
                                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                                   throws com.liferay.portal.SystemException,
                                                          NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

findByUserId

public static java.util.List<SocialRequest> findByUserId(long userId)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUserId

public static java.util.List<SocialRequest> findByUserId(long userId,
                                                         int start,
                                                         int end)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUserId

public static java.util.List<SocialRequest> findByUserId(long userId,
                                                         int start,
                                                         int end,
                                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUserId_First

public static SocialRequest findByUserId_First(long userId,
                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws com.liferay.portal.SystemException,
                                               NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

findByUserId_Last

public static SocialRequest findByUserId_Last(long userId,
                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.SystemException,
                                              NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

findByUserId_PrevAndNext

public static SocialRequest[] findByUserId_PrevAndNext(long requestId,
                                                       long userId,
                                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                                throws com.liferay.portal.SystemException,
                                                       NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

findByReceiverUserId

public static java.util.List<SocialRequest> findByReceiverUserId(long receiverUserId)
                                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByReceiverUserId

public static java.util.List<SocialRequest> findByReceiverUserId(long receiverUserId,
                                                                 int start,
                                                                 int end)
                                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByReceiverUserId

public static java.util.List<SocialRequest> findByReceiverUserId(long receiverUserId,
                                                                 int start,
                                                                 int end,
                                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByReceiverUserId_First

public static SocialRequest findByReceiverUserId_First(long receiverUserId,
                                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                                throws com.liferay.portal.SystemException,
                                                       NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

findByReceiverUserId_Last

public static SocialRequest findByReceiverUserId_Last(long receiverUserId,
                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                               throws com.liferay.portal.SystemException,
                                                      NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

findByReceiverUserId_PrevAndNext

public static SocialRequest[] findByReceiverUserId_PrevAndNext(long requestId,
                                                               long receiverUserId,
                                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                                        throws com.liferay.portal.SystemException,
                                                               NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

findByU_S

public static java.util.List<SocialRequest> findByU_S(long userId,
                                                      int status)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByU_S

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

findByU_S

public static java.util.List<SocialRequest> findByU_S(long userId,
                                                      int status,
                                                      int start,
                                                      int end,
                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByU_S_First

public static SocialRequest findByU_S_First(long userId,
                                            int status,
                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

findByU_S_Last

public static SocialRequest findByU_S_Last(long userId,
                                           int status,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                    throws com.liferay.portal.SystemException,
                                           NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

findByU_S_PrevAndNext

public static SocialRequest[] findByU_S_PrevAndNext(long requestId,
                                                    long userId,
                                                    int status,
                                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.SystemException,
                                                    NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

findByR_S

public static java.util.List<SocialRequest> findByR_S(long receiverUserId,
                                                      int status)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByR_S

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

findByR_S

public static java.util.List<SocialRequest> findByR_S(long receiverUserId,
                                                      int status,
                                                      int start,
                                                      int end,
                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByR_S_First

public static SocialRequest findByR_S_First(long receiverUserId,
                                            int status,
                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

findByR_S_Last

public static SocialRequest findByR_S_Last(long receiverUserId,
                                           int status,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                    throws com.liferay.portal.SystemException,
                                           NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

findByR_S_PrevAndNext

public static SocialRequest[] findByR_S_PrevAndNext(long requestId,
                                                    long receiverUserId,
                                                    int status,
                                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.SystemException,
                                                    NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

findByU_C_C_T_R

public static SocialRequest findByU_C_C_T_R(long userId,
                                            long classNameId,
                                            long classPK,
                                            int type,
                                            long receiverUserId)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

fetchByU_C_C_T_R

public static SocialRequest fetchByU_C_C_T_R(long userId,
                                             long classNameId,
                                             long classPK,
                                             int type,
                                             long receiverUserId)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByU_C_C_T_S

public static java.util.List<SocialRequest> findByU_C_C_T_S(long userId,
                                                            long classNameId,
                                                            long classPK,
                                                            int type,
                                                            int status)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByU_C_C_T_S

public static java.util.List<SocialRequest> findByU_C_C_T_S(long userId,
                                                            long classNameId,
                                                            long classPK,
                                                            int type,
                                                            int status,
                                                            int start,
                                                            int end)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByU_C_C_T_S

public static java.util.List<SocialRequest> findByU_C_C_T_S(long userId,
                                                            long classNameId,
                                                            long classPK,
                                                            int type,
                                                            int status,
                                                            int start,
                                                            int end,
                                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByU_C_C_T_S_First

public static SocialRequest findByU_C_C_T_S_First(long userId,
                                                  long classNameId,
                                                  long classPK,
                                                  int type,
                                                  int status,
                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws com.liferay.portal.SystemException,
                                                  NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

findByU_C_C_T_S_Last

public static SocialRequest findByU_C_C_T_S_Last(long userId,
                                                 long classNameId,
                                                 long classPK,
                                                 int type,
                                                 int status,
                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws com.liferay.portal.SystemException,
                                                 NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

findByU_C_C_T_S_PrevAndNext

public static SocialRequest[] findByU_C_C_T_S_PrevAndNext(long requestId,
                                                          long userId,
                                                          long classNameId,
                                                          long classPK,
                                                          int type,
                                                          int status,
                                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                                   throws com.liferay.portal.SystemException,
                                                          NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

findByU_C_C_T_R_S

public static SocialRequest findByU_C_C_T_R_S(long userId,
                                              long classNameId,
                                              long classPK,
                                              int type,
                                              long receiverUserId,
                                              int status)
                                       throws com.liferay.portal.SystemException,
                                              NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

fetchByU_C_C_T_R_S

public static SocialRequest fetchByU_C_C_T_R_S(long userId,
                                               long classNameId,
                                               long classPK,
                                               int type,
                                               long receiverUserId,
                                               int status)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                                    int start,
                                                                    int end)
                                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List<SocialRequest> findAll()
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List<SocialRequest> findAll(int start,
                                                    int end)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List<SocialRequest> findAll(int start,
                                                    int end,
                                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByUuid

public static void removeByUuid(java.lang.String uuid)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByUUID_G

public static void removeByUUID_G(java.lang.String uuid,
                                  long groupId)
                           throws com.liferay.portal.SystemException,
                                  NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

removeByCompanyId

public static void removeByCompanyId(long companyId)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByUserId

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

removeByReceiverUserId

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

removeByU_S

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

removeByR_S

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

removeByU_C_C_T_R

public static void removeByU_C_C_T_R(long userId,
                                     long classNameId,
                                     long classPK,
                                     int type,
                                     long receiverUserId)
                              throws com.liferay.portal.SystemException,
                                     NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

removeByU_C_C_T_S

public static void removeByU_C_C_T_S(long userId,
                                     long classNameId,
                                     long classPK,
                                     int type,
                                     int status)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByU_C_C_T_R_S

public static void removeByU_C_C_T_R_S(long userId,
                                       long classNameId,
                                       long classPK,
                                       int type,
                                       long receiverUserId,
                                       int status)
                                throws com.liferay.portal.SystemException,
                                       NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

removeAll

public static void removeAll()
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByUuid

public static int countByUuid(java.lang.String uuid)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByUUID_G

public static int countByUUID_G(java.lang.String uuid,
                                long groupId)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByCompanyId

public static int countByCompanyId(long companyId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByUserId

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

countByReceiverUserId

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

countByU_S

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

countByR_S

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

countByU_C_C_T_R

public static int countByU_C_C_T_R(long userId,
                                   long classNameId,
                                   long classPK,
                                   int type,
                                   long receiverUserId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByU_C_C_T_S

public static int countByU_C_C_T_S(long userId,
                                   long classNameId,
                                   long classPK,
                                   int type,
                                   int status)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByU_C_C_T_R_S

public static int countByU_C_C_T_R_S(long userId,
                                     long classNameId,
                                     long classPK,
                                     int type,
                                     long receiverUserId,
                                     int status)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

public static int countAll()
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPersistence

public static SocialRequestPersistence getPersistence()

setPersistence

public void setPersistence(SocialRequestPersistence persistence)