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

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

public class SocialRelationFinderUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
SocialRelationFinderUtil()
           
 
Method Summary
static int countByU_T(long userId, int type)
           
static java.util.List<SocialRelation> findByU_T(long userId, int type, int begin, int end)
           
static SocialRelation findByU_U_T(long userId1, long userId2, int type)
           
static SocialRelationFinder getFinder()
           
 void setFinder(SocialRelationFinder finder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocialRelationFinderUtil

public SocialRelationFinderUtil()
Method Detail

countByU_T

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

findByU_T

public static java.util.List<SocialRelation> findByU_T(long userId,
                                                       int type,
                                                       int begin,
                                                       int end)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByU_U_T

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

getFinder

public static SocialRelationFinder getFinder()

setFinder

public void setFinder(SocialRelationFinder finder)