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


public interface SocialRelationFinder

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countByU_T(long userId, int type)
           
 java.util.List<SocialRelation> findByU_T(long userId, int type, int begin, int end)
           
 SocialRelation findByU_U_T(long userId1, long userId2, int type)
           
 

Method Detail

countByU_T

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

findByU_T

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

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