com.liferay.portlet.social.service.persistence
Class SocialActivityFinderUtil
java.lang.Object
com.liferay.portlet.social.service.persistence.SocialActivityFinderUtil
public class SocialActivityFinderUtil
- extends Object
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 List<SocialActivity> |
findByGroupId(long groupId,
int start,
int end)
|
static List<SocialActivity> |
findByGroupUsers(long groupId,
int start,
int end)
|
static List<SocialActivity> |
findByOrganizationId(long organizationId,
int start,
int end)
|
static List<SocialActivity> |
findByOrganizationUsers(long organizationId,
int start,
int end)
|
static List<SocialActivity> |
findByRelation(long userId,
int start,
int end)
|
static List<SocialActivity> |
findByRelationType(long userId,
int type,
int start,
int end)
|
static List<SocialActivity> |
findByUserGroups(long userId,
int start,
int end)
|
static List<SocialActivity> |
findByUserGroupsAndOrganizations(long userId,
int start,
int end)
|
static 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 |
SocialActivityFinderUtil
public SocialActivityFinderUtil()
countByGroupId
public static int countByGroupId(long groupId)
throws SystemException
- Throws:
SystemException
countByGroupUsers
public static int countByGroupUsers(long groupId)
throws SystemException
- Throws:
SystemException
countByOrganizationId
public static int countByOrganizationId(long organizationId)
throws SystemException
- Throws:
SystemException
countByOrganizationUsers
public static int countByOrganizationUsers(long organizationId)
throws SystemException
- Throws:
SystemException
countByRelation
public static int countByRelation(long userId)
throws SystemException
- Throws:
SystemException
countByRelationType
public static int countByRelationType(long userId,
int type)
throws SystemException
- Throws:
SystemException
countByUserGroups
public static int countByUserGroups(long userId)
throws SystemException
- Throws:
SystemException
countByUserGroupsAndOrganizations
public static int countByUserGroupsAndOrganizations(long userId)
throws SystemException
- Throws:
SystemException
countByUserOrganizations
public static int countByUserOrganizations(long userId)
throws SystemException
- Throws:
SystemException
findByGroupId
public static List<SocialActivity> findByGroupId(long groupId,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByGroupUsers
public static List<SocialActivity> findByGroupUsers(long groupId,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByOrganizationId
public static List<SocialActivity> findByOrganizationId(long organizationId,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByOrganizationUsers
public static List<SocialActivity> findByOrganizationUsers(long organizationId,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByRelation
public static List<SocialActivity> findByRelation(long userId,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByRelationType
public static List<SocialActivity> findByRelationType(long userId,
int type,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByUserGroups
public static List<SocialActivity> findByUserGroups(long userId,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByUserGroupsAndOrganizations
public static List<SocialActivity> findByUserGroupsAndOrganizations(long userId,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByUserOrganizations
public static List<SocialActivity> findByUserOrganizations(long userId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getFinder
public static SocialActivityFinder getFinder()
setFinder
public void setFinder(SocialActivityFinder finder)