1
14
15 package com.liferay.portlet.social.service.persistence;
16
17
22 public interface SocialActivityFinder {
23 public int countByGroupId(long groupId)
24 throws com.liferay.portal.kernel.exception.SystemException;
25
26 public int countByGroupUsers(long groupId)
27 throws com.liferay.portal.kernel.exception.SystemException;
28
29 public int countByOrganizationId(long organizationId)
30 throws com.liferay.portal.kernel.exception.SystemException;
31
32 public int countByOrganizationUsers(long organizationId)
33 throws com.liferay.portal.kernel.exception.SystemException;
34
35 public int countByRelation(long userId)
36 throws com.liferay.portal.kernel.exception.SystemException;
37
38 public int countByRelationType(long userId, int type)
39 throws com.liferay.portal.kernel.exception.SystemException;
40
41 public int countByUserGroups(long userId)
42 throws com.liferay.portal.kernel.exception.SystemException;
43
44 public int countByUserGroupsAndOrganizations(long userId)
45 throws com.liferay.portal.kernel.exception.SystemException;
46
47 public int countByUserOrganizations(long userId)
48 throws com.liferay.portal.kernel.exception.SystemException;
49
50 public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByGroupId(
51 long groupId, int start, int end)
52 throws com.liferay.portal.kernel.exception.SystemException;
53
54 public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByGroupUsers(
55 long groupId, int start, int end)
56 throws com.liferay.portal.kernel.exception.SystemException;
57
58 public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByOrganizationId(
59 long organizationId, int start, int end)
60 throws com.liferay.portal.kernel.exception.SystemException;
61
62 public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByOrganizationUsers(
63 long organizationId, int start, int end)
64 throws com.liferay.portal.kernel.exception.SystemException;
65
66 public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByRelation(
67 long userId, int start, int end)
68 throws com.liferay.portal.kernel.exception.SystemException;
69
70 public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByRelationType(
71 long userId, int type, int start, int end)
72 throws com.liferay.portal.kernel.exception.SystemException;
73
74 public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByUserGroups(
75 long userId, int start, int end)
76 throws com.liferay.portal.kernel.exception.SystemException;
77
78 public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByUserGroupsAndOrganizations(
79 long userId, int start, int end)
80 throws com.liferay.portal.kernel.exception.SystemException;
81
82 public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByUserOrganizations(
83 long userId, int start, int end)
84 throws com.liferay.portal.kernel.exception.SystemException;
85 }