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

java.lang.Object
  extended by com.liferay.portlet.social.service.persistence.SocialRelationFinderImpl
All Implemented Interfaces:
com.liferay.portlet.social.service.persistence.SocialRelationFinder

public class SocialRelationFinderImpl
extends java.lang.Object
implements com.liferay.portlet.social.service.persistence.SocialRelationFinder

View Source

Author:
Raymond Augé

Field Summary
static java.lang.String COUNT_BY_U_T
           
static java.lang.String FIND_BY_U_T
           
static java.lang.String FIND_BY_U_U_T_BI
           
static java.lang.String FIND_BY_U_U_T_UNI
           
 
Constructor Summary
SocialRelationFinderImpl()
           
 
Method Summary
 int countByU_T(long userId, int type)
           
 java.util.List<com.liferay.portlet.social.model.SocialRelation> findByU_T(long userId, int type, int begin, int end)
           
 com.liferay.portlet.social.model.SocialRelation findByU_U_T(long userId1, long userId2, int type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COUNT_BY_U_T

public static java.lang.String COUNT_BY_U_T

FIND_BY_U_T

public static java.lang.String FIND_BY_U_T

FIND_BY_U_U_T_BI

public static java.lang.String FIND_BY_U_U_T_BI

FIND_BY_U_U_T_UNI

public static java.lang.String FIND_BY_U_U_T_UNI
Constructor Detail

SocialRelationFinderImpl

public SocialRelationFinderImpl()
Method Detail

countByU_T

public int countByU_T(long userId,
                      int type)
               throws com.liferay.portal.SystemException
Specified by:
countByU_T in interface com.liferay.portlet.social.service.persistence.SocialRelationFinder
Throws:
com.liferay.portal.SystemException

findByU_T

public java.util.List<com.liferay.portlet.social.model.SocialRelation> findByU_T(long userId,
                                                                                 int type,
                                                                                 int begin,
                                                                                 int end)
                                                                          throws com.liferay.portal.SystemException
Specified by:
findByU_T in interface com.liferay.portlet.social.service.persistence.SocialRelationFinder
Throws:
com.liferay.portal.SystemException

findByU_U_T

public com.liferay.portlet.social.model.SocialRelation findByU_U_T(long userId1,
                                                                   long userId2,
                                                                   int type)
                                                            throws com.liferay.portlet.social.NoSuchRelationException,
                                                                   com.liferay.portal.SystemException
Specified by:
findByU_U_T in interface com.liferay.portlet.social.service.persistence.SocialRelationFinder
Throws:
com.liferay.portlet.social.NoSuchRelationException
com.liferay.portal.SystemException