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 countByGroupUsers(long groupId)
           
static int countByOrganizationId(long organizationId)
           
static int countByOrganizationUsers(long organizationId)
           
static int countByRelation(long userId)
           
static int countByRelationType(long userId, int type)
           
static int countByUserGroups(long userId)
           
static int countByUserGroupsAndOrganizations(long userId)
           
static int countByUserOrganizations(long userId)
           
static java.util.List<SocialActivity> findByGroupId(long groupId, int start, int end)
           
static java.util.List<SocialActivity> findByGroupUsers(long groupId, int start, int end)
           
static java.util.List<SocialActivity> findByOrganizationId(long organizationId, int start, int end)
           
static java.util.List<SocialActivity> findByOrganizationUsers(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 java.util.List<SocialActivity> findByUserGroups(long userId, int start, int end)
           
static java.util.List<SocialActivity> findByUserGroupsAndOrganizations(long userId, int start, int end)
           
static java.util.List<SocialActivity> findByUserOrganizations(long userId, 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

countByGroupUsers

public static int countByGroupUsers(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

countByOrganizationUsers

public static int countByOrganizationUsers(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

countByUserGroups

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

countByUserGroupsAndOrganizations

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

countByUserOrganizations

public static int countByUserOrganizations(long userId)
                                    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

findByGroupUsers

public static java.util.List<SocialActivity> findByGroupUsers(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

findByOrganizationUsers

public static java.util.List<SocialActivity> findByOrganizationUsers(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

findByUserGroups

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

findByUserGroupsAndOrganizations

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

findByUserOrganizations

public static java.util.List<SocialActivity> findByUserOrganizations(long userId,
                                                                     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)