1
22
23 package com.liferay.portlet.social.service.persistence;
24
25
30 public class SocialActivityFinderUtil {
31 public static int countByGroupId(long groupId)
32 throws com.liferay.portal.SystemException {
33 return getFinder().countByGroupId(groupId);
34 }
35
36 public static int countByGroupUsers(long groupId)
37 throws com.liferay.portal.SystemException {
38 return getFinder().countByGroupUsers(groupId);
39 }
40
41 public static int countByOrganizationId(long organizationId)
42 throws com.liferay.portal.SystemException {
43 return getFinder().countByOrganizationId(organizationId);
44 }
45
46 public static int countByOrganizationUsers(long organizationId)
47 throws com.liferay.portal.SystemException {
48 return getFinder().countByOrganizationUsers(organizationId);
49 }
50
51 public static int countByRelation(long userId)
52 throws com.liferay.portal.SystemException {
53 return getFinder().countByRelation(userId);
54 }
55
56 public static int countByRelationType(long userId, int type)
57 throws com.liferay.portal.SystemException {
58 return getFinder().countByRelationType(userId, type);
59 }
60
61 public static int countByUserGroups(long userId)
62 throws com.liferay.portal.SystemException {
63 return getFinder().countByUserGroups(userId);
64 }
65
66 public static int countByUserGroupsAndOrganizations(long userId)
67 throws com.liferay.portal.SystemException {
68 return getFinder().countByUserGroupsAndOrganizations(userId);
69 }
70
71 public static int countByUserOrganizations(long userId)
72 throws com.liferay.portal.SystemException {
73 return getFinder().countByUserOrganizations(userId);
74 }
75
76 public static java.util.List<com.liferay.portlet.social.model.SocialActivity> findByGroupId(
77 long groupId, int start, int end)
78 throws com.liferay.portal.SystemException {
79 return getFinder().findByGroupId(groupId, start, end);
80 }
81
82 public static java.util.List<com.liferay.portlet.social.model.SocialActivity> findByGroupUsers(
83 long groupId, int start, int end)
84 throws com.liferay.portal.SystemException {
85 return getFinder().findByGroupUsers(groupId, start, end);
86 }
87
88 public static java.util.List<com.liferay.portlet.social.model.SocialActivity> findByOrganizationId(
89 long organizationId, int start, int end)
90 throws com.liferay.portal.SystemException {
91 return getFinder().findByOrganizationId(organizationId, start, end);
92 }
93
94 public static java.util.List<com.liferay.portlet.social.model.SocialActivity> findByOrganizationUsers(
95 long organizationId, int start, int end)
96 throws com.liferay.portal.SystemException {
97 return getFinder().findByOrganizationUsers(organizationId, start, end);
98 }
99
100 public static java.util.List<com.liferay.portlet.social.model.SocialActivity> findByRelation(
101 long userId, int start, int end)
102 throws com.liferay.portal.SystemException {
103 return getFinder().findByRelation(userId, start, end);
104 }
105
106 public static java.util.List<com.liferay.portlet.social.model.SocialActivity> findByRelationType(
107 long userId, int type, int start, int end)
108 throws com.liferay.portal.SystemException {
109 return getFinder().findByRelationType(userId, type, start, end);
110 }
111
112 public static java.util.List<com.liferay.portlet.social.model.SocialActivity> findByUserGroups(
113 long userId, int start, int end)
114 throws com.liferay.portal.SystemException {
115 return getFinder().findByUserGroups(userId, start, end);
116 }
117
118 public static java.util.List<com.liferay.portlet.social.model.SocialActivity> findByUserGroupsAndOrganizations(
119 long userId, int start, int end)
120 throws com.liferay.portal.SystemException {
121 return getFinder().findByUserGroupsAndOrganizations(userId, start, end);
122 }
123
124 public static java.util.List<com.liferay.portlet.social.model.SocialActivity> findByUserOrganizations(
125 long userId, int start, int end)
126 throws com.liferay.portal.SystemException {
127 return getFinder().findByUserOrganizations(userId, start, end);
128 }
129
130 public static SocialActivityFinder getFinder() {
131 return _finder;
132 }
133
134 public void setFinder(SocialActivityFinder finder) {
135 _finder = finder;
136 }
137
138 private static SocialActivityFinder _finder;
139 }