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

All Superinterfaces:
BasePersistence<SocialRelation>

public interface SocialRelationPersistence
extends BasePersistence<SocialRelation>

View Source

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

Author:
Brian Wing Shun Chan
See Also:
SocialRelationPersistenceImpl, SocialRelationUtil
Generated:

Method Summary
 void cacheResult(java.util.List<SocialRelation> socialRelations)
           
 void cacheResult(SocialRelation socialRelation)
           
 int countAll()
           
 int countByC_T(long companyId, int type)
           
 int countByCompanyId(long companyId)
           
 int countByType(int type)
           
 int countByU1_T(long userId1, int type)
           
 int countByU1_U2_T(long userId1, long userId2, int type)
           
 int countByU2_T(long userId2, int type)
           
 int countByUserId1(long userId1)
           
 int countByUserId2(long userId2)
           
 int countByUuid(java.lang.String uuid)
           
 SocialRelation create(long relationId)
           
 SocialRelation fetchByPrimaryKey(long relationId)
           
 SocialRelation fetchByU1_U2_T(long userId1, long userId2, int type)
           
 SocialRelation fetchByU1_U2_T(long userId1, long userId2, int type, boolean retrieveFromCache)
           
 java.util.List<SocialRelation> findAll()
           
 java.util.List<SocialRelation> findAll(int start, int end)
           
 java.util.List<SocialRelation> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SocialRelation findByC_T_First(long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SocialRelation findByC_T_Last(long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SocialRelation[] findByC_T_PrevAndNext(long relationId, long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<SocialRelation> findByC_T(long companyId, int type)
           
 java.util.List<SocialRelation> findByC_T(long companyId, int type, int start, int end)
           
 java.util.List<SocialRelation> findByC_T(long companyId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SocialRelation findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SocialRelation findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SocialRelation[] findByCompanyId_PrevAndNext(long relationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<SocialRelation> findByCompanyId(long companyId)
           
 java.util.List<SocialRelation> findByCompanyId(long companyId, int start, int end)
           
 java.util.List<SocialRelation> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SocialRelation findByPrimaryKey(long relationId)
           
 SocialRelation findByType_First(int type, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SocialRelation findByType_Last(int type, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SocialRelation[] findByType_PrevAndNext(long relationId, int type, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<SocialRelation> findByType(int type)
           
 java.util.List<SocialRelation> findByType(int type, int start, int end)
           
 java.util.List<SocialRelation> findByType(int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SocialRelation findByU1_T_First(long userId1, int type, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SocialRelation findByU1_T_Last(long userId1, int type, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SocialRelation[] findByU1_T_PrevAndNext(long relationId, long userId1, int type, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<SocialRelation> findByU1_T(long userId1, int type)
           
 java.util.List<SocialRelation> findByU1_T(long userId1, int type, int start, int end)
           
 java.util.List<SocialRelation> findByU1_T(long userId1, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SocialRelation findByU1_U2_T(long userId1, long userId2, int type)
           
 SocialRelation findByU2_T_First(long userId2, int type, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SocialRelation findByU2_T_Last(long userId2, int type, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SocialRelation[] findByU2_T_PrevAndNext(long relationId, long userId2, int type, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<SocialRelation> findByU2_T(long userId2, int type)
           
 java.util.List<SocialRelation> findByU2_T(long userId2, int type, int start, int end)
           
 java.util.List<SocialRelation> findByU2_T(long userId2, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SocialRelation findByUserId1_First(long userId1, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SocialRelation findByUserId1_Last(long userId1, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SocialRelation[] findByUserId1_PrevAndNext(long relationId, long userId1, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<SocialRelation> findByUserId1(long userId1)
           
 java.util.List<SocialRelation> findByUserId1(long userId1, int start, int end)
           
 java.util.List<SocialRelation> findByUserId1(long userId1, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SocialRelation findByUserId2_First(long userId2, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SocialRelation findByUserId2_Last(long userId2, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SocialRelation[] findByUserId2_PrevAndNext(long relationId, long userId2, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<SocialRelation> findByUserId2(long userId2)
           
 java.util.List<SocialRelation> findByUserId2(long userId2, int start, int end)
           
 java.util.List<SocialRelation> findByUserId2(long userId2, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SocialRelation findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SocialRelation findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SocialRelation[] findByUuid_PrevAndNext(long relationId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<SocialRelation> findByUuid(java.lang.String uuid)
           
 java.util.List<SocialRelation> findByUuid(java.lang.String uuid, int start, int end)
           
 java.util.List<SocialRelation> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SocialRelation remove(long relationId)
           
 void removeAll()
           
 void removeByC_T(long companyId, int type)
           
 void removeByCompanyId(long companyId)
           
 void removeByType(int type)
           
 void removeByU1_T(long userId1, int type)
           
 void removeByU1_U2_T(long userId1, long userId2, int type)
           
 void removeByU2_T(long userId2, int type)
           
 void removeByUserId1(long userId1)
           
 void removeByUserId2(long userId2)
           
 void removeByUuid(java.lang.String uuid)
           
 SocialRelation updateImpl(SocialRelation socialRelation, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, getListeners, registerListener, remove, remove, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(SocialRelation socialRelation)

cacheResult

void cacheResult(java.util.List<SocialRelation> socialRelations)

create

SocialRelation create(long relationId)

remove

SocialRelation remove(long relationId)
                      throws com.liferay.portal.kernel.exception.SystemException,
                             NoSuchRelationException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchRelationException

updateImpl

SocialRelation updateImpl(SocialRelation socialRelation,
                          boolean merge)
                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByPrimaryKey

SocialRelation findByPrimaryKey(long relationId)
                                throws com.liferay.portal.kernel.exception.SystemException,
                                       NoSuchRelationException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchRelationException

fetchByPrimaryKey

SocialRelation fetchByPrimaryKey(long relationId)
                                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUuid

java.util.List<SocialRelation> findByUuid(java.lang.String uuid)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUuid

java.util.List<SocialRelation> findByUuid(java.lang.String uuid,
                                          int start,
                                          int end)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUuid

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

findByUuid_First

SocialRelation findByUuid_First(java.lang.String uuid,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws com.liferay.portal.kernel.exception.SystemException,
                                       NoSuchRelationException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchRelationException

findByUuid_Last

SocialRelation findByUuid_Last(java.lang.String uuid,
                               com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.kernel.exception.SystemException,
                                      NoSuchRelationException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchRelationException

findByUuid_PrevAndNext

SocialRelation[] findByUuid_PrevAndNext(long relationId,
                                        java.lang.String uuid,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws com.liferay.portal.kernel.exception.SystemException,
                                               NoSuchRelationException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchRelationException

findByCompanyId

java.util.List<SocialRelation> findByCompanyId(long companyId)
                                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByCompanyId

java.util.List<SocialRelation> findByCompanyId(long companyId,
                                               int start,
                                               int end)
                                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByCompanyId

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

findByCompanyId_First

SocialRelation findByCompanyId_First(long companyId,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.kernel.exception.SystemException,
                                            NoSuchRelationException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchRelationException

findByCompanyId_Last

SocialRelation findByCompanyId_Last(long companyId,
                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                    throws com.liferay.portal.kernel.exception.SystemException,
                                           NoSuchRelationException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchRelationException

findByCompanyId_PrevAndNext

SocialRelation[] findByCompanyId_PrevAndNext(long relationId,
                                             long companyId,
                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.kernel.exception.SystemException,
                                                    NoSuchRelationException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchRelationException

findByUserId1

java.util.List<SocialRelation> findByUserId1(long userId1)
                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUserId1

java.util.List<SocialRelation> findByUserId1(long userId1,
                                             int start,
                                             int end)
                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUserId1

java.util.List<SocialRelation> findByUserId1(long userId1,
                                             int start,
                                             int end,
                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUserId1_First

SocialRelation findByUserId1_First(long userId1,
                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws com.liferay.portal.kernel.exception.SystemException,
                                          NoSuchRelationException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchRelationException

findByUserId1_Last

SocialRelation findByUserId1_Last(long userId1,
                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                  throws com.liferay.portal.kernel.exception.SystemException,
                                         NoSuchRelationException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchRelationException

findByUserId1_PrevAndNext

SocialRelation[] findByUserId1_PrevAndNext(long relationId,
                                           long userId1,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws com.liferay.portal.kernel.exception.SystemException,
                                                  NoSuchRelationException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchRelationException

findByUserId2

java.util.List<SocialRelation> findByUserId2(long userId2)
                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUserId2

java.util.List<SocialRelation> findByUserId2(long userId2,
                                             int start,
                                             int end)
                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUserId2

java.util.List<SocialRelation> findByUserId2(long userId2,
                                             int start,
                                             int end,
                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUserId2_First

SocialRelation findByUserId2_First(long userId2,
                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws com.liferay.portal.kernel.exception.SystemException,
                                          NoSuchRelationException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchRelationException

findByUserId2_Last

SocialRelation findByUserId2_Last(long userId2,
                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                  throws com.liferay.portal.kernel.exception.SystemException,
                                         NoSuchRelationException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchRelationException

findByUserId2_PrevAndNext

SocialRelation[] findByUserId2_PrevAndNext(long relationId,
                                           long userId2,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws com.liferay.portal.kernel.exception.SystemException,
                                                  NoSuchRelationException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchRelationException

findByType

java.util.List<SocialRelation> findByType(int type)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByType

java.util.List<SocialRelation> findByType(int type,
                                          int start,
                                          int end)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByType

java.util.List<SocialRelation> findByType(int type,
                                          int start,
                                          int end,
                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByType_First

SocialRelation findByType_First(int type,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws com.liferay.portal.kernel.exception.SystemException,
                                       NoSuchRelationException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchRelationException

findByType_Last

SocialRelation findByType_Last(int type,
                               com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.kernel.exception.SystemException,
                                      NoSuchRelationException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchRelationException

findByType_PrevAndNext

SocialRelation[] findByType_PrevAndNext(long relationId,
                                        int type,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws com.liferay.portal.kernel.exception.SystemException,
                                               NoSuchRelationException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchRelationException

findByC_T

java.util.List<SocialRelation> findByC_T(long companyId,
                                         int type)
                                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByC_T

java.util.List<SocialRelation> findByC_T(long companyId,
                                         int type,
                                         int start,
                                         int end)
                                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByC_T

java.util.List<SocialRelation> findByC_T(long companyId,
                                         int type,
                                         int start,
                                         int end,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByC_T_First

SocialRelation findByC_T_First(long companyId,
                               int type,
                               com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.kernel.exception.SystemException,
                                      NoSuchRelationException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchRelationException

findByC_T_Last

SocialRelation findByC_T_Last(long companyId,
                              int type,
                              com.liferay.portal.kernel.util.OrderByComparator obc)
                              throws com.liferay.portal.kernel.exception.SystemException,
                                     NoSuchRelationException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchRelationException

findByC_T_PrevAndNext

SocialRelation[] findByC_T_PrevAndNext(long relationId,
                                       long companyId,
                                       int type,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.kernel.exception.SystemException,
                                              NoSuchRelationException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchRelationException

findByU1_T

java.util.List<SocialRelation> findByU1_T(long userId1,
                                          int type)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByU1_T

java.util.List<SocialRelation> findByU1_T(long userId1,
                                          int type,
                                          int start,
                                          int end)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByU1_T

java.util.List<SocialRelation> findByU1_T(long userId1,
                                          int type,
                                          int start,
                                          int end,
                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByU1_T_First

SocialRelation findByU1_T_First(long userId1,
                                int type,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws com.liferay.portal.kernel.exception.SystemException,
                                       NoSuchRelationException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchRelationException

findByU1_T_Last

SocialRelation findByU1_T_Last(long userId1,
                               int type,
                               com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.kernel.exception.SystemException,
                                      NoSuchRelationException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchRelationException

findByU1_T_PrevAndNext

SocialRelation[] findByU1_T_PrevAndNext(long relationId,
                                        long userId1,
                                        int type,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws com.liferay.portal.kernel.exception.SystemException,
                                               NoSuchRelationException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchRelationException

findByU2_T

java.util.List<SocialRelation> findByU2_T(long userId2,
                                          int type)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByU2_T

java.util.List<SocialRelation> findByU2_T(long userId2,
                                          int type,
                                          int start,
                                          int end)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByU2_T

java.util.List<SocialRelation> findByU2_T(long userId2,
                                          int type,
                                          int start,
                                          int end,
                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByU2_T_First

SocialRelation findByU2_T_First(long userId2,
                                int type,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws com.liferay.portal.kernel.exception.SystemException,
                                       NoSuchRelationException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchRelationException

findByU2_T_Last

SocialRelation findByU2_T_Last(long userId2,
                               int type,
                               com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.kernel.exception.SystemException,
                                      NoSuchRelationException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchRelationException

findByU2_T_PrevAndNext

SocialRelation[] findByU2_T_PrevAndNext(long relationId,
                                        long userId2,
                                        int type,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws com.liferay.portal.kernel.exception.SystemException,
                                               NoSuchRelationException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchRelationException

findByU1_U2_T

SocialRelation findByU1_U2_T(long userId1,
                             long userId2,
                             int type)
                             throws com.liferay.portal.kernel.exception.SystemException,
                                    NoSuchRelationException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchRelationException

fetchByU1_U2_T

SocialRelation fetchByU1_U2_T(long userId1,
                              long userId2,
                              int type)
                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

fetchByU1_U2_T

SocialRelation fetchByU1_U2_T(long userId1,
                              long userId2,
                              int type,
                              boolean retrieveFromCache)
                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<SocialRelation> findAll()
                                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<SocialRelation> findAll(int start,
                                       int end)
                                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

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

removeByUuid

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

removeByCompanyId

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

removeByUserId1

void removeByUserId1(long userId1)
                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByUserId2

void removeByUserId2(long userId2)
                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByType

void removeByType(int type)
                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByC_T

void removeByC_T(long companyId,
                 int type)
                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByU1_T

void removeByU1_T(long userId1,
                  int type)
                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByU2_T

void removeByU2_T(long userId2,
                  int type)
                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByU1_U2_T

void removeByU1_U2_T(long userId1,
                     long userId2,
                     int type)
                     throws com.liferay.portal.kernel.exception.SystemException,
                            NoSuchRelationException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchRelationException

removeAll

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

countByUuid

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

countByCompanyId

int countByCompanyId(long companyId)
                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByUserId1

int countByUserId1(long userId1)
                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByUserId2

int countByUserId2(long userId2)
                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByType

int countByType(int type)
                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByC_T

int countByC_T(long companyId,
               int type)
               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByU1_T

int countByU1_T(long userId1,
                int type)
                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByU2_T

int countByU2_T(long userId2,
                int type)
                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByU1_U2_T

int countByU1_U2_T(long userId1,
                   long userId2,
                   int type)
                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countAll

int countAll()
             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException