1
19
20 package com.liferay.portlet.messageboards.service.persistence;
21
22
28 public class MBMessageUtil {
29 public static void cacheResult(
30 com.liferay.portlet.messageboards.model.MBMessage mbMessage) {
31 getPersistence().cacheResult(mbMessage);
32 }
33
34 public static void cacheResult(
35 java.util.List<com.liferay.portlet.messageboards.model.MBMessage> mbMessages) {
36 getPersistence().cacheResult(mbMessages);
37 }
38
39 public static void clearCache() {
40 getPersistence().clearCache();
41 }
42
43 public static com.liferay.portlet.messageboards.model.MBMessage create(
44 long messageId) {
45 return getPersistence().create(messageId);
46 }
47
48 public static com.liferay.portlet.messageboards.model.MBMessage remove(
49 long messageId)
50 throws com.liferay.portal.SystemException,
51 com.liferay.portlet.messageboards.NoSuchMessageException {
52 return getPersistence().remove(messageId);
53 }
54
55 public static com.liferay.portlet.messageboards.model.MBMessage remove(
56 com.liferay.portlet.messageboards.model.MBMessage mbMessage)
57 throws com.liferay.portal.SystemException {
58 return getPersistence().remove(mbMessage);
59 }
60
61
64 public static com.liferay.portlet.messageboards.model.MBMessage update(
65 com.liferay.portlet.messageboards.model.MBMessage mbMessage)
66 throws com.liferay.portal.SystemException {
67 return getPersistence().update(mbMessage);
68 }
69
70
83 public static com.liferay.portlet.messageboards.model.MBMessage update(
84 com.liferay.portlet.messageboards.model.MBMessage mbMessage,
85 boolean merge) throws com.liferay.portal.SystemException {
86 return getPersistence().update(mbMessage, merge);
87 }
88
89 public static com.liferay.portlet.messageboards.model.MBMessage updateImpl(
90 com.liferay.portlet.messageboards.model.MBMessage mbMessage,
91 boolean merge) throws com.liferay.portal.SystemException {
92 return getPersistence().updateImpl(mbMessage, merge);
93 }
94
95 public static com.liferay.portlet.messageboards.model.MBMessage findByPrimaryKey(
96 long messageId)
97 throws com.liferay.portal.SystemException,
98 com.liferay.portlet.messageboards.NoSuchMessageException {
99 return getPersistence().findByPrimaryKey(messageId);
100 }
101
102 public static com.liferay.portlet.messageboards.model.MBMessage fetchByPrimaryKey(
103 long messageId) throws com.liferay.portal.SystemException {
104 return getPersistence().fetchByPrimaryKey(messageId);
105 }
106
107 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByUuid(
108 java.lang.String uuid) throws com.liferay.portal.SystemException {
109 return getPersistence().findByUuid(uuid);
110 }
111
112 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByUuid(
113 java.lang.String uuid, int start, int end)
114 throws com.liferay.portal.SystemException {
115 return getPersistence().findByUuid(uuid, start, end);
116 }
117
118 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByUuid(
119 java.lang.String uuid, int start, int end,
120 com.liferay.portal.kernel.util.OrderByComparator obc)
121 throws com.liferay.portal.SystemException {
122 return getPersistence().findByUuid(uuid, start, end, obc);
123 }
124
125 public static com.liferay.portlet.messageboards.model.MBMessage findByUuid_First(
126 java.lang.String uuid,
127 com.liferay.portal.kernel.util.OrderByComparator obc)
128 throws com.liferay.portal.SystemException,
129 com.liferay.portlet.messageboards.NoSuchMessageException {
130 return getPersistence().findByUuid_First(uuid, obc);
131 }
132
133 public static com.liferay.portlet.messageboards.model.MBMessage findByUuid_Last(
134 java.lang.String uuid,
135 com.liferay.portal.kernel.util.OrderByComparator obc)
136 throws com.liferay.portal.SystemException,
137 com.liferay.portlet.messageboards.NoSuchMessageException {
138 return getPersistence().findByUuid_Last(uuid, obc);
139 }
140
141 public static com.liferay.portlet.messageboards.model.MBMessage[] findByUuid_PrevAndNext(
142 long messageId, java.lang.String uuid,
143 com.liferay.portal.kernel.util.OrderByComparator obc)
144 throws com.liferay.portal.SystemException,
145 com.liferay.portlet.messageboards.NoSuchMessageException {
146 return getPersistence().findByUuid_PrevAndNext(messageId, uuid, obc);
147 }
148
149 public static com.liferay.portlet.messageboards.model.MBMessage findByUUID_G(
150 java.lang.String uuid, long groupId)
151 throws com.liferay.portal.SystemException,
152 com.liferay.portlet.messageboards.NoSuchMessageException {
153 return getPersistence().findByUUID_G(uuid, groupId);
154 }
155
156 public static com.liferay.portlet.messageboards.model.MBMessage fetchByUUID_G(
157 java.lang.String uuid, long groupId)
158 throws com.liferay.portal.SystemException {
159 return getPersistence().fetchByUUID_G(uuid, groupId);
160 }
161
162 public static com.liferay.portlet.messageboards.model.MBMessage fetchByUUID_G(
163 java.lang.String uuid, long groupId, boolean retrieveFromCache)
164 throws com.liferay.portal.SystemException {
165 return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
166 }
167
168 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByCompanyId(
169 long companyId) throws com.liferay.portal.SystemException {
170 return getPersistence().findByCompanyId(companyId);
171 }
172
173 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByCompanyId(
174 long companyId, int start, int end)
175 throws com.liferay.portal.SystemException {
176 return getPersistence().findByCompanyId(companyId, start, end);
177 }
178
179 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByCompanyId(
180 long companyId, int start, int end,
181 com.liferay.portal.kernel.util.OrderByComparator obc)
182 throws com.liferay.portal.SystemException {
183 return getPersistence().findByCompanyId(companyId, start, end, obc);
184 }
185
186 public static com.liferay.portlet.messageboards.model.MBMessage findByCompanyId_First(
187 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
188 throws com.liferay.portal.SystemException,
189 com.liferay.portlet.messageboards.NoSuchMessageException {
190 return getPersistence().findByCompanyId_First(companyId, obc);
191 }
192
193 public static com.liferay.portlet.messageboards.model.MBMessage findByCompanyId_Last(
194 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
195 throws com.liferay.portal.SystemException,
196 com.liferay.portlet.messageboards.NoSuchMessageException {
197 return getPersistence().findByCompanyId_Last(companyId, obc);
198 }
199
200 public static com.liferay.portlet.messageboards.model.MBMessage[] findByCompanyId_PrevAndNext(
201 long messageId, long companyId,
202 com.liferay.portal.kernel.util.OrderByComparator obc)
203 throws com.liferay.portal.SystemException,
204 com.liferay.portlet.messageboards.NoSuchMessageException {
205 return getPersistence()
206 .findByCompanyId_PrevAndNext(messageId, companyId, obc);
207 }
208
209 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByGroupId(
210 long groupId) throws com.liferay.portal.SystemException {
211 return getPersistence().findByGroupId(groupId);
212 }
213
214 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByGroupId(
215 long groupId, int start, int end)
216 throws com.liferay.portal.SystemException {
217 return getPersistence().findByGroupId(groupId, start, end);
218 }
219
220 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByGroupId(
221 long groupId, int start, int end,
222 com.liferay.portal.kernel.util.OrderByComparator obc)
223 throws com.liferay.portal.SystemException {
224 return getPersistence().findByGroupId(groupId, start, end, obc);
225 }
226
227 public static com.liferay.portlet.messageboards.model.MBMessage findByGroupId_First(
228 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
229 throws com.liferay.portal.SystemException,
230 com.liferay.portlet.messageboards.NoSuchMessageException {
231 return getPersistence().findByGroupId_First(groupId, obc);
232 }
233
234 public static com.liferay.portlet.messageboards.model.MBMessage findByGroupId_Last(
235 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
236 throws com.liferay.portal.SystemException,
237 com.liferay.portlet.messageboards.NoSuchMessageException {
238 return getPersistence().findByGroupId_Last(groupId, obc);
239 }
240
241 public static com.liferay.portlet.messageboards.model.MBMessage[] findByGroupId_PrevAndNext(
242 long messageId, long groupId,
243 com.liferay.portal.kernel.util.OrderByComparator obc)
244 throws com.liferay.portal.SystemException,
245 com.liferay.portlet.messageboards.NoSuchMessageException {
246 return getPersistence()
247 .findByGroupId_PrevAndNext(messageId, groupId, obc);
248 }
249
250 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByCategoryId(
251 long categoryId) throws com.liferay.portal.SystemException {
252 return getPersistence().findByCategoryId(categoryId);
253 }
254
255 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByCategoryId(
256 long categoryId, int start, int end)
257 throws com.liferay.portal.SystemException {
258 return getPersistence().findByCategoryId(categoryId, start, end);
259 }
260
261 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByCategoryId(
262 long categoryId, int start, int end,
263 com.liferay.portal.kernel.util.OrderByComparator obc)
264 throws com.liferay.portal.SystemException {
265 return getPersistence().findByCategoryId(categoryId, start, end, obc);
266 }
267
268 public static com.liferay.portlet.messageboards.model.MBMessage findByCategoryId_First(
269 long categoryId, com.liferay.portal.kernel.util.OrderByComparator obc)
270 throws com.liferay.portal.SystemException,
271 com.liferay.portlet.messageboards.NoSuchMessageException {
272 return getPersistence().findByCategoryId_First(categoryId, obc);
273 }
274
275 public static com.liferay.portlet.messageboards.model.MBMessage findByCategoryId_Last(
276 long categoryId, com.liferay.portal.kernel.util.OrderByComparator obc)
277 throws com.liferay.portal.SystemException,
278 com.liferay.portlet.messageboards.NoSuchMessageException {
279 return getPersistence().findByCategoryId_Last(categoryId, obc);
280 }
281
282 public static com.liferay.portlet.messageboards.model.MBMessage[] findByCategoryId_PrevAndNext(
283 long messageId, long categoryId,
284 com.liferay.portal.kernel.util.OrderByComparator obc)
285 throws com.liferay.portal.SystemException,
286 com.liferay.portlet.messageboards.NoSuchMessageException {
287 return getPersistence()
288 .findByCategoryId_PrevAndNext(messageId, categoryId, obc);
289 }
290
291 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadId(
292 long threadId) throws com.liferay.portal.SystemException {
293 return getPersistence().findByThreadId(threadId);
294 }
295
296 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadId(
297 long threadId, int start, int end)
298 throws com.liferay.portal.SystemException {
299 return getPersistence().findByThreadId(threadId, start, end);
300 }
301
302 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadId(
303 long threadId, int start, int end,
304 com.liferay.portal.kernel.util.OrderByComparator obc)
305 throws com.liferay.portal.SystemException {
306 return getPersistence().findByThreadId(threadId, start, end, obc);
307 }
308
309 public static com.liferay.portlet.messageboards.model.MBMessage findByThreadId_First(
310 long threadId, com.liferay.portal.kernel.util.OrderByComparator obc)
311 throws com.liferay.portal.SystemException,
312 com.liferay.portlet.messageboards.NoSuchMessageException {
313 return getPersistence().findByThreadId_First(threadId, obc);
314 }
315
316 public static com.liferay.portlet.messageboards.model.MBMessage findByThreadId_Last(
317 long threadId, com.liferay.portal.kernel.util.OrderByComparator obc)
318 throws com.liferay.portal.SystemException,
319 com.liferay.portlet.messageboards.NoSuchMessageException {
320 return getPersistence().findByThreadId_Last(threadId, obc);
321 }
322
323 public static com.liferay.portlet.messageboards.model.MBMessage[] findByThreadId_PrevAndNext(
324 long messageId, long threadId,
325 com.liferay.portal.kernel.util.OrderByComparator obc)
326 throws com.liferay.portal.SystemException,
327 com.liferay.portlet.messageboards.NoSuchMessageException {
328 return getPersistence()
329 .findByThreadId_PrevAndNext(messageId, threadId, obc);
330 }
331
332 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadReplies(
333 long threadId) throws com.liferay.portal.SystemException {
334 return getPersistence().findByThreadReplies(threadId);
335 }
336
337 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadReplies(
338 long threadId, int start, int end)
339 throws com.liferay.portal.SystemException {
340 return getPersistence().findByThreadReplies(threadId, start, end);
341 }
342
343 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadReplies(
344 long threadId, int start, int end,
345 com.liferay.portal.kernel.util.OrderByComparator obc)
346 throws com.liferay.portal.SystemException {
347 return getPersistence().findByThreadReplies(threadId, start, end, obc);
348 }
349
350 public static com.liferay.portlet.messageboards.model.MBMessage findByThreadReplies_First(
351 long threadId, com.liferay.portal.kernel.util.OrderByComparator obc)
352 throws com.liferay.portal.SystemException,
353 com.liferay.portlet.messageboards.NoSuchMessageException {
354 return getPersistence().findByThreadReplies_First(threadId, obc);
355 }
356
357 public static com.liferay.portlet.messageboards.model.MBMessage findByThreadReplies_Last(
358 long threadId, com.liferay.portal.kernel.util.OrderByComparator obc)
359 throws com.liferay.portal.SystemException,
360 com.liferay.portlet.messageboards.NoSuchMessageException {
361 return getPersistence().findByThreadReplies_Last(threadId, obc);
362 }
363
364 public static com.liferay.portlet.messageboards.model.MBMessage[] findByThreadReplies_PrevAndNext(
365 long messageId, long threadId,
366 com.liferay.portal.kernel.util.OrderByComparator obc)
367 throws com.liferay.portal.SystemException,
368 com.liferay.portlet.messageboards.NoSuchMessageException {
369 return getPersistence()
370 .findByThreadReplies_PrevAndNext(messageId, threadId, obc);
371 }
372
373 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U(
374 long groupId, long userId) throws com.liferay.portal.SystemException {
375 return getPersistence().findByG_U(groupId, userId);
376 }
377
378 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U(
379 long groupId, long userId, int start, int end)
380 throws com.liferay.portal.SystemException {
381 return getPersistence().findByG_U(groupId, userId, start, end);
382 }
383
384 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U(
385 long groupId, long userId, int start, int end,
386 com.liferay.portal.kernel.util.OrderByComparator obc)
387 throws com.liferay.portal.SystemException {
388 return getPersistence().findByG_U(groupId, userId, start, end, obc);
389 }
390
391 public static com.liferay.portlet.messageboards.model.MBMessage findByG_U_First(
392 long groupId, long userId,
393 com.liferay.portal.kernel.util.OrderByComparator obc)
394 throws com.liferay.portal.SystemException,
395 com.liferay.portlet.messageboards.NoSuchMessageException {
396 return getPersistence().findByG_U_First(groupId, userId, obc);
397 }
398
399 public static com.liferay.portlet.messageboards.model.MBMessage findByG_U_Last(
400 long groupId, long userId,
401 com.liferay.portal.kernel.util.OrderByComparator obc)
402 throws com.liferay.portal.SystemException,
403 com.liferay.portlet.messageboards.NoSuchMessageException {
404 return getPersistence().findByG_U_Last(groupId, userId, obc);
405 }
406
407 public static com.liferay.portlet.messageboards.model.MBMessage[] findByG_U_PrevAndNext(
408 long messageId, long groupId, long userId,
409 com.liferay.portal.kernel.util.OrderByComparator obc)
410 throws com.liferay.portal.SystemException,
411 com.liferay.portlet.messageboards.NoSuchMessageException {
412 return getPersistence()
413 .findByG_U_PrevAndNext(messageId, groupId, userId, obc);
414 }
415
416 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C(
417 long classNameId, long classPK)
418 throws com.liferay.portal.SystemException {
419 return getPersistence().findByC_C(classNameId, classPK);
420 }
421
422 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C(
423 long classNameId, long classPK, int start, int end)
424 throws com.liferay.portal.SystemException {
425 return getPersistence().findByC_C(classNameId, classPK, start, end);
426 }
427
428 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C(
429 long classNameId, long classPK, int start, int end,
430 com.liferay.portal.kernel.util.OrderByComparator obc)
431 throws com.liferay.portal.SystemException {
432 return getPersistence().findByC_C(classNameId, classPK, start, end, obc);
433 }
434
435 public static com.liferay.portlet.messageboards.model.MBMessage findByC_C_First(
436 long classNameId, long classPK,
437 com.liferay.portal.kernel.util.OrderByComparator obc)
438 throws com.liferay.portal.SystemException,
439 com.liferay.portlet.messageboards.NoSuchMessageException {
440 return getPersistence().findByC_C_First(classNameId, classPK, obc);
441 }
442
443 public static com.liferay.portlet.messageboards.model.MBMessage findByC_C_Last(
444 long classNameId, long classPK,
445 com.liferay.portal.kernel.util.OrderByComparator obc)
446 throws com.liferay.portal.SystemException,
447 com.liferay.portlet.messageboards.NoSuchMessageException {
448 return getPersistence().findByC_C_Last(classNameId, classPK, obc);
449 }
450
451 public static com.liferay.portlet.messageboards.model.MBMessage[] findByC_C_PrevAndNext(
452 long messageId, long classNameId, long classPK,
453 com.liferay.portal.kernel.util.OrderByComparator obc)
454 throws com.liferay.portal.SystemException,
455 com.liferay.portlet.messageboards.NoSuchMessageException {
456 return getPersistence()
457 .findByC_C_PrevAndNext(messageId, classNameId, classPK, obc);
458 }
459
460 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_T(
461 long categoryId, long threadId)
462 throws com.liferay.portal.SystemException {
463 return getPersistence().findByC_T(categoryId, threadId);
464 }
465
466 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_T(
467 long categoryId, long threadId, int start, int end)
468 throws com.liferay.portal.SystemException {
469 return getPersistence().findByC_T(categoryId, threadId, start, end);
470 }
471
472 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_T(
473 long categoryId, long threadId, int start, int end,
474 com.liferay.portal.kernel.util.OrderByComparator obc)
475 throws com.liferay.portal.SystemException {
476 return getPersistence().findByC_T(categoryId, threadId, start, end, obc);
477 }
478
479 public static com.liferay.portlet.messageboards.model.MBMessage findByC_T_First(
480 long categoryId, long threadId,
481 com.liferay.portal.kernel.util.OrderByComparator obc)
482 throws com.liferay.portal.SystemException,
483 com.liferay.portlet.messageboards.NoSuchMessageException {
484 return getPersistence().findByC_T_First(categoryId, threadId, obc);
485 }
486
487 public static com.liferay.portlet.messageboards.model.MBMessage findByC_T_Last(
488 long categoryId, long threadId,
489 com.liferay.portal.kernel.util.OrderByComparator obc)
490 throws com.liferay.portal.SystemException,
491 com.liferay.portlet.messageboards.NoSuchMessageException {
492 return getPersistence().findByC_T_Last(categoryId, threadId, obc);
493 }
494
495 public static com.liferay.portlet.messageboards.model.MBMessage[] findByC_T_PrevAndNext(
496 long messageId, long categoryId, long threadId,
497 com.liferay.portal.kernel.util.OrderByComparator obc)
498 throws com.liferay.portal.SystemException,
499 com.liferay.portlet.messageboards.NoSuchMessageException {
500 return getPersistence()
501 .findByC_T_PrevAndNext(messageId, categoryId, threadId, obc);
502 }
503
504 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_P(
505 long threadId, long parentMessageId)
506 throws com.liferay.portal.SystemException {
507 return getPersistence().findByT_P(threadId, parentMessageId);
508 }
509
510 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_P(
511 long threadId, long parentMessageId, int start, int end)
512 throws com.liferay.portal.SystemException {
513 return getPersistence().findByT_P(threadId, parentMessageId, start, end);
514 }
515
516 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_P(
517 long threadId, long parentMessageId, int start, int end,
518 com.liferay.portal.kernel.util.OrderByComparator obc)
519 throws com.liferay.portal.SystemException {
520 return getPersistence()
521 .findByT_P(threadId, parentMessageId, start, end, obc);
522 }
523
524 public static com.liferay.portlet.messageboards.model.MBMessage findByT_P_First(
525 long threadId, long parentMessageId,
526 com.liferay.portal.kernel.util.OrderByComparator obc)
527 throws com.liferay.portal.SystemException,
528 com.liferay.portlet.messageboards.NoSuchMessageException {
529 return getPersistence().findByT_P_First(threadId, parentMessageId, obc);
530 }
531
532 public static com.liferay.portlet.messageboards.model.MBMessage findByT_P_Last(
533 long threadId, long parentMessageId,
534 com.liferay.portal.kernel.util.OrderByComparator obc)
535 throws com.liferay.portal.SystemException,
536 com.liferay.portlet.messageboards.NoSuchMessageException {
537 return getPersistence().findByT_P_Last(threadId, parentMessageId, obc);
538 }
539
540 public static com.liferay.portlet.messageboards.model.MBMessage[] findByT_P_PrevAndNext(
541 long messageId, long threadId, long parentMessageId,
542 com.liferay.portal.kernel.util.OrderByComparator obc)
543 throws com.liferay.portal.SystemException,
544 com.liferay.portlet.messageboards.NoSuchMessageException {
545 return getPersistence()
546 .findByT_P_PrevAndNext(messageId, threadId, parentMessageId,
547 obc);
548 }
549
550 public static java.util.List<Object> findWithDynamicQuery(
551 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
552 throws com.liferay.portal.SystemException {
553 return getPersistence().findWithDynamicQuery(dynamicQuery);
554 }
555
556 public static java.util.List<Object> findWithDynamicQuery(
557 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
558 int end) throws com.liferay.portal.SystemException {
559 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
560 }
561
562 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findAll()
563 throws com.liferay.portal.SystemException {
564 return getPersistence().findAll();
565 }
566
567 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findAll(
568 int start, int end) throws com.liferay.portal.SystemException {
569 return getPersistence().findAll(start, end);
570 }
571
572 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findAll(
573 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
574 throws com.liferay.portal.SystemException {
575 return getPersistence().findAll(start, end, obc);
576 }
577
578 public static void removeByUuid(java.lang.String uuid)
579 throws com.liferay.portal.SystemException {
580 getPersistence().removeByUuid(uuid);
581 }
582
583 public static void removeByUUID_G(java.lang.String uuid, long groupId)
584 throws com.liferay.portal.SystemException,
585 com.liferay.portlet.messageboards.NoSuchMessageException {
586 getPersistence().removeByUUID_G(uuid, groupId);
587 }
588
589 public static void removeByCompanyId(long companyId)
590 throws com.liferay.portal.SystemException {
591 getPersistence().removeByCompanyId(companyId);
592 }
593
594 public static void removeByGroupId(long groupId)
595 throws com.liferay.portal.SystemException {
596 getPersistence().removeByGroupId(groupId);
597 }
598
599 public static void removeByCategoryId(long categoryId)
600 throws com.liferay.portal.SystemException {
601 getPersistence().removeByCategoryId(categoryId);
602 }
603
604 public static void removeByThreadId(long threadId)
605 throws com.liferay.portal.SystemException {
606 getPersistence().removeByThreadId(threadId);
607 }
608
609 public static void removeByThreadReplies(long threadId)
610 throws com.liferay.portal.SystemException {
611 getPersistence().removeByThreadReplies(threadId);
612 }
613
614 public static void removeByG_U(long groupId, long userId)
615 throws com.liferay.portal.SystemException {
616 getPersistence().removeByG_U(groupId, userId);
617 }
618
619 public static void removeByC_C(long classNameId, long classPK)
620 throws com.liferay.portal.SystemException {
621 getPersistence().removeByC_C(classNameId, classPK);
622 }
623
624 public static void removeByC_T(long categoryId, long threadId)
625 throws com.liferay.portal.SystemException {
626 getPersistence().removeByC_T(categoryId, threadId);
627 }
628
629 public static void removeByT_P(long threadId, long parentMessageId)
630 throws com.liferay.portal.SystemException {
631 getPersistence().removeByT_P(threadId, parentMessageId);
632 }
633
634 public static void removeAll() throws com.liferay.portal.SystemException {
635 getPersistence().removeAll();
636 }
637
638 public static int countByUuid(java.lang.String uuid)
639 throws com.liferay.portal.SystemException {
640 return getPersistence().countByUuid(uuid);
641 }
642
643 public static int countByUUID_G(java.lang.String uuid, long groupId)
644 throws com.liferay.portal.SystemException {
645 return getPersistence().countByUUID_G(uuid, groupId);
646 }
647
648 public static int countByCompanyId(long companyId)
649 throws com.liferay.portal.SystemException {
650 return getPersistence().countByCompanyId(companyId);
651 }
652
653 public static int countByGroupId(long groupId)
654 throws com.liferay.portal.SystemException {
655 return getPersistence().countByGroupId(groupId);
656 }
657
658 public static int countByCategoryId(long categoryId)
659 throws com.liferay.portal.SystemException {
660 return getPersistence().countByCategoryId(categoryId);
661 }
662
663 public static int countByThreadId(long threadId)
664 throws com.liferay.portal.SystemException {
665 return getPersistence().countByThreadId(threadId);
666 }
667
668 public static int countByThreadReplies(long threadId)
669 throws com.liferay.portal.SystemException {
670 return getPersistence().countByThreadReplies(threadId);
671 }
672
673 public static int countByG_U(long groupId, long userId)
674 throws com.liferay.portal.SystemException {
675 return getPersistence().countByG_U(groupId, userId);
676 }
677
678 public static int countByC_C(long classNameId, long classPK)
679 throws com.liferay.portal.SystemException {
680 return getPersistence().countByC_C(classNameId, classPK);
681 }
682
683 public static int countByC_T(long categoryId, long threadId)
684 throws com.liferay.portal.SystemException {
685 return getPersistence().countByC_T(categoryId, threadId);
686 }
687
688 public static int countByT_P(long threadId, long parentMessageId)
689 throws com.liferay.portal.SystemException {
690 return getPersistence().countByT_P(threadId, parentMessageId);
691 }
692
693 public static int countAll() throws com.liferay.portal.SystemException {
694 return getPersistence().countAll();
695 }
696
697 public static MBMessagePersistence getPersistence() {
698 return _persistence;
699 }
700
701 public void setPersistence(MBMessagePersistence persistence) {
702 _persistence = persistence;
703 }
704
705 private static MBMessagePersistence _persistence;
706 }