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