1
19
20 package com.liferay.portlet.messageboards.service.persistence;
21
22
28 public class MBStatsUserUtil {
29 public static com.liferay.portlet.messageboards.model.MBStatsUser create(
30 long statsUserId) {
31 return getPersistence().create(statsUserId);
32 }
33
34 public static com.liferay.portlet.messageboards.model.MBStatsUser remove(
35 long statsUserId)
36 throws com.liferay.portal.SystemException,
37 com.liferay.portlet.messageboards.NoSuchStatsUserException {
38 return getPersistence().remove(statsUserId);
39 }
40
41 public static com.liferay.portlet.messageboards.model.MBStatsUser remove(
42 com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser)
43 throws com.liferay.portal.SystemException {
44 return getPersistence().remove(mbStatsUser);
45 }
46
47
50 public static com.liferay.portlet.messageboards.model.MBStatsUser update(
51 com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser)
52 throws com.liferay.portal.SystemException {
53 return getPersistence().update(mbStatsUser);
54 }
55
56
69 public static com.liferay.portlet.messageboards.model.MBStatsUser update(
70 com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser,
71 boolean merge) throws com.liferay.portal.SystemException {
72 return getPersistence().update(mbStatsUser, merge);
73 }
74
75 public static com.liferay.portlet.messageboards.model.MBStatsUser updateImpl(
76 com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser,
77 boolean merge) throws com.liferay.portal.SystemException {
78 return getPersistence().updateImpl(mbStatsUser, merge);
79 }
80
81 public static com.liferay.portlet.messageboards.model.MBStatsUser findByPrimaryKey(
82 long statsUserId)
83 throws com.liferay.portal.SystemException,
84 com.liferay.portlet.messageboards.NoSuchStatsUserException {
85 return getPersistence().findByPrimaryKey(statsUserId);
86 }
87
88 public static com.liferay.portlet.messageboards.model.MBStatsUser fetchByPrimaryKey(
89 long statsUserId) throws com.liferay.portal.SystemException {
90 return getPersistence().fetchByPrimaryKey(statsUserId);
91 }
92
93 public static java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByGroupId(
94 long groupId) throws com.liferay.portal.SystemException {
95 return getPersistence().findByGroupId(groupId);
96 }
97
98 public static java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByGroupId(
99 long groupId, int start, int end)
100 throws com.liferay.portal.SystemException {
101 return getPersistence().findByGroupId(groupId, start, end);
102 }
103
104 public static java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByGroupId(
105 long groupId, int start, int end,
106 com.liferay.portal.kernel.util.OrderByComparator obc)
107 throws com.liferay.portal.SystemException {
108 return getPersistence().findByGroupId(groupId, start, end, obc);
109 }
110
111 public static com.liferay.portlet.messageboards.model.MBStatsUser findByGroupId_First(
112 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
113 throws com.liferay.portal.SystemException,
114 com.liferay.portlet.messageboards.NoSuchStatsUserException {
115 return getPersistence().findByGroupId_First(groupId, obc);
116 }
117
118 public static com.liferay.portlet.messageboards.model.MBStatsUser findByGroupId_Last(
119 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
120 throws com.liferay.portal.SystemException,
121 com.liferay.portlet.messageboards.NoSuchStatsUserException {
122 return getPersistence().findByGroupId_Last(groupId, obc);
123 }
124
125 public static com.liferay.portlet.messageboards.model.MBStatsUser[] findByGroupId_PrevAndNext(
126 long statsUserId, long groupId,
127 com.liferay.portal.kernel.util.OrderByComparator obc)
128 throws com.liferay.portal.SystemException,
129 com.liferay.portlet.messageboards.NoSuchStatsUserException {
130 return getPersistence()
131 .findByGroupId_PrevAndNext(statsUserId, groupId, obc);
132 }
133
134 public static java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByUserId(
135 long userId) throws com.liferay.portal.SystemException {
136 return getPersistence().findByUserId(userId);
137 }
138
139 public static java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByUserId(
140 long userId, int start, int end)
141 throws com.liferay.portal.SystemException {
142 return getPersistence().findByUserId(userId, start, end);
143 }
144
145 public static java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByUserId(
146 long userId, int start, int end,
147 com.liferay.portal.kernel.util.OrderByComparator obc)
148 throws com.liferay.portal.SystemException {
149 return getPersistence().findByUserId(userId, start, end, obc);
150 }
151
152 public static com.liferay.portlet.messageboards.model.MBStatsUser findByUserId_First(
153 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
154 throws com.liferay.portal.SystemException,
155 com.liferay.portlet.messageboards.NoSuchStatsUserException {
156 return getPersistence().findByUserId_First(userId, obc);
157 }
158
159 public static com.liferay.portlet.messageboards.model.MBStatsUser findByUserId_Last(
160 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
161 throws com.liferay.portal.SystemException,
162 com.liferay.portlet.messageboards.NoSuchStatsUserException {
163 return getPersistence().findByUserId_Last(userId, obc);
164 }
165
166 public static com.liferay.portlet.messageboards.model.MBStatsUser[] findByUserId_PrevAndNext(
167 long statsUserId, long userId,
168 com.liferay.portal.kernel.util.OrderByComparator obc)
169 throws com.liferay.portal.SystemException,
170 com.liferay.portlet.messageboards.NoSuchStatsUserException {
171 return getPersistence()
172 .findByUserId_PrevAndNext(statsUserId, userId, obc);
173 }
174
175 public static com.liferay.portlet.messageboards.model.MBStatsUser findByG_U(
176 long groupId, long userId)
177 throws com.liferay.portal.SystemException,
178 com.liferay.portlet.messageboards.NoSuchStatsUserException {
179 return getPersistence().findByG_U(groupId, userId);
180 }
181
182 public static com.liferay.portlet.messageboards.model.MBStatsUser fetchByG_U(
183 long groupId, long userId) throws com.liferay.portal.SystemException {
184 return getPersistence().fetchByG_U(groupId, userId);
185 }
186
187 public static java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByG_M(
188 long groupId, int messageCount)
189 throws com.liferay.portal.SystemException {
190 return getPersistence().findByG_M(groupId, messageCount);
191 }
192
193 public static java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByG_M(
194 long groupId, int messageCount, int start, int end)
195 throws com.liferay.portal.SystemException {
196 return getPersistence().findByG_M(groupId, messageCount, start, end);
197 }
198
199 public static java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByG_M(
200 long groupId, int messageCount, int start, int end,
201 com.liferay.portal.kernel.util.OrderByComparator obc)
202 throws com.liferay.portal.SystemException {
203 return getPersistence().findByG_M(groupId, messageCount, start, end, obc);
204 }
205
206 public static com.liferay.portlet.messageboards.model.MBStatsUser findByG_M_First(
207 long groupId, int messageCount,
208 com.liferay.portal.kernel.util.OrderByComparator obc)
209 throws com.liferay.portal.SystemException,
210 com.liferay.portlet.messageboards.NoSuchStatsUserException {
211 return getPersistence().findByG_M_First(groupId, messageCount, obc);
212 }
213
214 public static com.liferay.portlet.messageboards.model.MBStatsUser findByG_M_Last(
215 long groupId, int messageCount,
216 com.liferay.portal.kernel.util.OrderByComparator obc)
217 throws com.liferay.portal.SystemException,
218 com.liferay.portlet.messageboards.NoSuchStatsUserException {
219 return getPersistence().findByG_M_Last(groupId, messageCount, obc);
220 }
221
222 public static com.liferay.portlet.messageboards.model.MBStatsUser[] findByG_M_PrevAndNext(
223 long statsUserId, long groupId, int messageCount,
224 com.liferay.portal.kernel.util.OrderByComparator obc)
225 throws com.liferay.portal.SystemException,
226 com.liferay.portlet.messageboards.NoSuchStatsUserException {
227 return getPersistence()
228 .findByG_M_PrevAndNext(statsUserId, groupId, messageCount,
229 obc);
230 }
231
232 public static java.util.List<Object> findWithDynamicQuery(
233 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
234 throws com.liferay.portal.SystemException {
235 return getPersistence().findWithDynamicQuery(dynamicQuery);
236 }
237
238 public static java.util.List<Object> findWithDynamicQuery(
239 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
240 int end) throws com.liferay.portal.SystemException {
241 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
242 }
243
244 public static java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findAll()
245 throws com.liferay.portal.SystemException {
246 return getPersistence().findAll();
247 }
248
249 public static java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findAll(
250 int start, int end) throws com.liferay.portal.SystemException {
251 return getPersistence().findAll(start, end);
252 }
253
254 public static java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findAll(
255 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
256 throws com.liferay.portal.SystemException {
257 return getPersistence().findAll(start, end, obc);
258 }
259
260 public static void removeByGroupId(long groupId)
261 throws com.liferay.portal.SystemException {
262 getPersistence().removeByGroupId(groupId);
263 }
264
265 public static void removeByUserId(long userId)
266 throws com.liferay.portal.SystemException {
267 getPersistence().removeByUserId(userId);
268 }
269
270 public static void removeByG_U(long groupId, long userId)
271 throws com.liferay.portal.SystemException,
272 com.liferay.portlet.messageboards.NoSuchStatsUserException {
273 getPersistence().removeByG_U(groupId, userId);
274 }
275
276 public static void removeByG_M(long groupId, int messageCount)
277 throws com.liferay.portal.SystemException {
278 getPersistence().removeByG_M(groupId, messageCount);
279 }
280
281 public static void removeAll() throws com.liferay.portal.SystemException {
282 getPersistence().removeAll();
283 }
284
285 public static int countByGroupId(long groupId)
286 throws com.liferay.portal.SystemException {
287 return getPersistence().countByGroupId(groupId);
288 }
289
290 public static int countByUserId(long userId)
291 throws com.liferay.portal.SystemException {
292 return getPersistence().countByUserId(userId);
293 }
294
295 public static int countByG_U(long groupId, long userId)
296 throws com.liferay.portal.SystemException {
297 return getPersistence().countByG_U(groupId, userId);
298 }
299
300 public static int countByG_M(long groupId, int messageCount)
301 throws com.liferay.portal.SystemException {
302 return getPersistence().countByG_M(groupId, messageCount);
303 }
304
305 public static int countAll() throws com.liferay.portal.SystemException {
306 return getPersistence().countAll();
307 }
308
309 public static MBStatsUserPersistence getPersistence() {
310 return _persistence;
311 }
312
313 public void setPersistence(MBStatsUserPersistence persistence) {
314 _persistence = persistence;
315 }
316
317 private static MBStatsUserPersistence _persistence;
318 }