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