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

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

public class SocialActivityFinderUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
SocialActivityFinderUtil()
           
 
Method Summary
static int countByGroupId(long groupId)
           
static int countByOrganizationId(long organizationId)
           
static int countByRelation(long userId)
           
static int countByRelationType(long userId, int type)
           
static java.util.List<SocialActivity> findByGroupId(long groupId, int start, int end)
           
static java.util.List<SocialActivity> findByOrganizationId(long organizationId, int start, int end)
           
static java.util.List<SocialActivity> findByRelation(long userId, int start, int end)
           
static java.util.List<SocialActivity> findByRelationType(long userId, int type, int start, int end)
           
static SocialActivityFinder getFinder()
           
 void setFinder(SocialActivityFinder finder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocialActivityFinderUtil

public SocialActivityFinderUtil()
Method Detail

countByGroupId

public static int countByGroupId(long groupId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByOrganizationId

public static int countByOrganizationId(long organizationId)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByRelation

public static int countByRelation(long userId)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByRelationType

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

findByGroupId

public static java.util.List<SocialActivity> findByGroupId(long groupId,
                                                           int start,
                                                           int end)
                                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByOrganizationId

public static java.util.List<SocialActivity> findByOrganizationId(long organizationId,
                                                                  int start,
                                                                  int end)
                                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByRelation

public static java.util.List<SocialActivity> findByRelation(long userId,
                                                            int start,
                                                            int end)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByRelationType

public static java.util.List<SocialActivity> findByRelationType(long userId,
                                                                int type,
                                                                int start,
                                                                int end)
                                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFinder

public static SocialActivityFinder getFinder()

setFinder

public void setFinder(SocialActivityFinder finder)