@ProviderType
public class SocialActivityFinderUtil
extends Object
Constructor and Description |
---|
SocialActivityFinderUtil() |
Modifier and Type | Method and Description |
---|---|
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) |
public static int countByGroupId(long groupId)
public static int countByGroupUsers(long groupId)
public static int countByOrganizationId(long organizationId)
public static int countByOrganizationUsers(long organizationId)
public static int countByRelation(long userId)
public static int countByRelationType(long userId, int type)
public static int countByUserGroups(long userId)
public static int countByUserGroupsAndOrganizations(long userId)
public static int countByUserOrganizations(long userId)
public static List<SocialActivity> findByGroupId(long groupId, int start, int end)
public static List<SocialActivity> findByGroupUsers(long groupId, int start, int end)
public static List<SocialActivity> findByOrganizationId(long organizationId, int start, int end)
public static List<SocialActivity> findByOrganizationUsers(long organizationId, int start, int end)
public static List<SocialActivity> findByRelation(long userId, int start, int end)
public static List<SocialActivity> findByRelationType(long userId, int type, int start, int end)
public static List<SocialActivity> findByUserGroups(long userId, int start, int end)
public static List<SocialActivity> findByUserGroupsAndOrganizations(long userId, int start, int end)
public static List<SocialActivity> findByUserOrganizations(long userId, int start, int end)
public static SocialActivityFinder getFinder()
public void setFinder(SocialActivityFinder finder)