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


public interface SocialRelationPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 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)
           
 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)
           
 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)
           
 void registerListener(ModelListener listener)
           
 SocialRelation remove(long relationId)
           
 SocialRelation remove(SocialRelation socialRelation)
           
 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)
           
 void unregisterListener(ModelListener listener)
           
 SocialRelation update(SocialRelation socialRelation)
          Deprecated. Use update(SocialRelation socialRelation, boolean merge).
 SocialRelation update(SocialRelation socialRelation, boolean merge)
          Add, update, or merge, the entity.
 SocialRelation updateImpl(SocialRelation socialRelation, boolean merge)
           
 

Method Detail

create

SocialRelation create(long relationId)

remove

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

remove

SocialRelation remove(SocialRelation socialRelation)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

SocialRelation update(SocialRelation socialRelation)
                      throws com.liferay.portal.SystemException
Deprecated. Use update(SocialRelation socialRelation, boolean merge).

Throws:
com.liferay.portal.SystemException

update

SocialRelation update(SocialRelation socialRelation,
                      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:
socialRelation - 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 socialRelation 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

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByUuid

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

findByUuid

java.util.List<SocialRelation> findByUuid(java.lang.String uuid,
                                          int start,
                                          int end)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.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.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid_First

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

findByUuid_Last

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

findByUuid_PrevAndNext

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

findByCompanyId

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

findByCompanyId

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

findByCompanyId

java.util.List<SocialRelation> 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

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

findByCompanyId_Last

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

findByCompanyId_PrevAndNext

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

findByUserId1

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

findByUserId1

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

findByUserId1

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

findByUserId1_First

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

findByUserId1_Last

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

findByUserId1_PrevAndNext

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

findByUserId2

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

findByUserId2

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

findByUserId2

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

findByUserId2_First

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

findByUserId2_Last

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

findByUserId2_PrevAndNext

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

findByType

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

findByType

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

findByType

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

findByType_First

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

findByType_Last

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

findByType_PrevAndNext

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

findByC_T

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

findByC_T

java.util.List<SocialRelation> findByC_T(long companyId,
                                         int type,
                                         int start,
                                         int end)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.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.SystemException
Throws:
com.liferay.portal.SystemException

findByC_T_First

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

findByC_T_Last

SocialRelation findByC_T_Last(long companyId,
                              int type,
                              com.liferay.portal.kernel.util.OrderByComparator obc)
                              throws com.liferay.portal.SystemException,
                                     NoSuchRelationException
Throws:
com.liferay.portal.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.SystemException,
                                              NoSuchRelationException
Throws:
com.liferay.portal.SystemException
NoSuchRelationException

findByU1_T

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

findByU1_T

java.util.List<SocialRelation> findByU1_T(long userId1,
                                          int type,
                                          int start,
                                          int end)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.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.SystemException
Throws:
com.liferay.portal.SystemException

findByU1_T_First

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

findByU1_T_Last

SocialRelation findByU1_T_Last(long userId1,
                               int type,
                               com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.SystemException,
                                      NoSuchRelationException
Throws:
com.liferay.portal.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.SystemException,
                                               NoSuchRelationException
Throws:
com.liferay.portal.SystemException
NoSuchRelationException

findByU2_T

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

findByU2_T

java.util.List<SocialRelation> findByU2_T(long userId2,
                                          int type,
                                          int start,
                                          int end)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.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.SystemException
Throws:
com.liferay.portal.SystemException

findByU2_T_First

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

findByU2_T_Last

SocialRelation findByU2_T_Last(long userId2,
                               int type,
                               com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.SystemException,
                                      NoSuchRelationException
Throws:
com.liferay.portal.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.SystemException,
                                               NoSuchRelationException
Throws:
com.liferay.portal.SystemException
NoSuchRelationException

findByU1_U2_T

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

fetchByU1_U2_T

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

findWithDynamicQuery

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

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

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

findAll

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

findAll

java.util.List<SocialRelation> 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

removeByCompanyId

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

removeByUserId1

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

removeByUserId2

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

removeByType

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

removeByC_T

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

removeByU1_T

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

removeByU2_T

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

removeByU1_U2_T

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

removeAll

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

countByUuid

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

countByCompanyId

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

countByUserId1

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

countByUserId2

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

countByType

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

countByC_T

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

countByU1_T

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

countByU2_T

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

countByU1_U2_T

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

countAll

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

registerListener

void registerListener(ModelListener listener)

unregisterListener

void unregisterListener(ModelListener listener)