com.liferay.portlet.social.service.persistence
Interface SocialRequestPersistence

All Superinterfaces:
BasePersistence

@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface SocialRequestPersistence
extends BasePersistence

View Source

Author:
Brian Wing Shun Chan

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

Method Detail

create

SocialRequest create(long requestId)

remove

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

remove

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

update

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

Throws:
com.liferay.portal.SystemException

update

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

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

findByPrimaryKey

@Transactional(propagation=SUPPORTS,
               readOnly=true)
SocialRequest findByPrimaryKey(long requestId)
                               throws com.liferay.portal.SystemException,
                                      NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

fetchByPrimaryKey

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

findByUuid

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SocialRequest> findByUuid(java.lang.String uuid)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SocialRequest> findByUuid(java.lang.String uuid,
                                                       int start,
                                                       int end)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
SocialRequest findByUUID_G(java.lang.String uuid,
                                         long groupId)
                           throws com.liferay.portal.SystemException,
                                  NoSuchRequestException
Throws:
com.liferay.portal.SystemException
NoSuchRequestException

fetchByUUID_G

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

findByCompanyId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SocialRequest> findByCompanyId(long companyId)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SocialRequest> findByCompanyId(long companyId,
                                                            int start,
                                                            int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SocialRequest> findByUserId(long userId)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUserId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SocialRequest> findByUserId(long userId,
                                                         int start,
                                                         int end)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUserId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SocialRequest> findByReceiverUserId(long receiverUserId)
                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByReceiverUserId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SocialRequest> findByReceiverUserId(long receiverUserId,
                                                                 int start,
                                                                 int end)
                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByReceiverUserId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SocialRequest> findByU_S(long userId,
                                                      int status)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByU_S

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SocialRequest> findByR_S(long receiverUserId,
                                                      int status)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByR_S

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SocialRequest> findAll()
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SocialRequest> findAll(int start,
                                                    int end)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

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

removeByUUID_G

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

removeByCompanyId

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

removeByUserId

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

removeByReceiverUserId

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

removeByU_S

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

removeByR_S

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

removeByU_C_C_T_R

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

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

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

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

countByUuid

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByUuid(java.lang.String uuid)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByUUID_G

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByUUID_G(java.lang.String uuid,
                                long groupId)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByCompanyId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByCompanyId(long companyId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByUserId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByUserId(long userId)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByReceiverUserId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByReceiverUserId(long receiverUserId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByU_S

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByU_S(long userId,
                             int status)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByR_S

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByR_S(long receiverUserId,
                             int status)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByU_C_C_T_R

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException