1
14
15 package com.liferay.portlet.messageboards.service.persistence;
16
17 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
18 import com.liferay.portal.kernel.dao.orm.DynamicQuery;
19 import com.liferay.portal.kernel.exception.SystemException;
20
21 import com.liferay.portlet.messageboards.model.MBMessage;
22
23 import java.util.List;
24
25
38 public class MBMessageUtil {
39
42 public static void clearCache() {
43 getPersistence().clearCache();
44 }
45
46
49 public static List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery)
50 throws SystemException {
51 return getPersistence().findWithDynamicQuery(dynamicQuery);
52 }
53
54
57 public static List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery,
58 int start, int end) throws SystemException {
59 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
60 }
61
62
65 public static MBMessage remove(MBMessage mbMessage)
66 throws SystemException {
67 return getPersistence().remove(mbMessage);
68 }
69
70
73 public static MBMessage update(MBMessage mbMessage, boolean merge)
74 throws SystemException {
75 return getPersistence().update(mbMessage, merge);
76 }
77
78 public static void cacheResult(
79 com.liferay.portlet.messageboards.model.MBMessage mbMessage) {
80 getPersistence().cacheResult(mbMessage);
81 }
82
83 public static void cacheResult(
84 java.util.List<com.liferay.portlet.messageboards.model.MBMessage> mbMessages) {
85 getPersistence().cacheResult(mbMessages);
86 }
87
88 public static com.liferay.portlet.messageboards.model.MBMessage create(
89 long messageId) {
90 return getPersistence().create(messageId);
91 }
92
93 public static com.liferay.portlet.messageboards.model.MBMessage remove(
94 long messageId)
95 throws com.liferay.portal.kernel.exception.SystemException,
96 com.liferay.portlet.messageboards.NoSuchMessageException {
97 return getPersistence().remove(messageId);
98 }
99
100 public static com.liferay.portlet.messageboards.model.MBMessage updateImpl(
101 com.liferay.portlet.messageboards.model.MBMessage mbMessage,
102 boolean merge)
103 throws com.liferay.portal.kernel.exception.SystemException {
104 return getPersistence().updateImpl(mbMessage, merge);
105 }
106
107 public static com.liferay.portlet.messageboards.model.MBMessage findByPrimaryKey(
108 long messageId)
109 throws com.liferay.portal.kernel.exception.SystemException,
110 com.liferay.portlet.messageboards.NoSuchMessageException {
111 return getPersistence().findByPrimaryKey(messageId);
112 }
113
114 public static com.liferay.portlet.messageboards.model.MBMessage fetchByPrimaryKey(
115 long messageId)
116 throws com.liferay.portal.kernel.exception.SystemException {
117 return getPersistence().fetchByPrimaryKey(messageId);
118 }
119
120 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByUuid(
121 java.lang.String uuid)
122 throws com.liferay.portal.kernel.exception.SystemException {
123 return getPersistence().findByUuid(uuid);
124 }
125
126 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByUuid(
127 java.lang.String uuid, int start, int end)
128 throws com.liferay.portal.kernel.exception.SystemException {
129 return getPersistence().findByUuid(uuid, start, end);
130 }
131
132 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByUuid(
133 java.lang.String uuid, int start, int end,
134 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
135 throws com.liferay.portal.kernel.exception.SystemException {
136 return getPersistence().findByUuid(uuid, start, end, orderByComparator);
137 }
138
139 public static com.liferay.portlet.messageboards.model.MBMessage findByUuid_First(
140 java.lang.String uuid,
141 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
142 throws com.liferay.portal.kernel.exception.SystemException,
143 com.liferay.portlet.messageboards.NoSuchMessageException {
144 return getPersistence().findByUuid_First(uuid, orderByComparator);
145 }
146
147 public static com.liferay.portlet.messageboards.model.MBMessage findByUuid_Last(
148 java.lang.String uuid,
149 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
150 throws com.liferay.portal.kernel.exception.SystemException,
151 com.liferay.portlet.messageboards.NoSuchMessageException {
152 return getPersistence().findByUuid_Last(uuid, orderByComparator);
153 }
154
155 public static com.liferay.portlet.messageboards.model.MBMessage[] findByUuid_PrevAndNext(
156 long messageId, java.lang.String uuid,
157 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
158 throws com.liferay.portal.kernel.exception.SystemException,
159 com.liferay.portlet.messageboards.NoSuchMessageException {
160 return getPersistence()
161 .findByUuid_PrevAndNext(messageId, uuid, orderByComparator);
162 }
163
164 public static com.liferay.portlet.messageboards.model.MBMessage findByUUID_G(
165 java.lang.String uuid, long groupId)
166 throws com.liferay.portal.kernel.exception.SystemException,
167 com.liferay.portlet.messageboards.NoSuchMessageException {
168 return getPersistence().findByUUID_G(uuid, groupId);
169 }
170
171 public static com.liferay.portlet.messageboards.model.MBMessage fetchByUUID_G(
172 java.lang.String uuid, long groupId)
173 throws com.liferay.portal.kernel.exception.SystemException {
174 return getPersistence().fetchByUUID_G(uuid, groupId);
175 }
176
177 public static com.liferay.portlet.messageboards.model.MBMessage fetchByUUID_G(
178 java.lang.String uuid, long groupId, boolean retrieveFromCache)
179 throws com.liferay.portal.kernel.exception.SystemException {
180 return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
181 }
182
183 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByGroupId(
184 long groupId)
185 throws com.liferay.portal.kernel.exception.SystemException {
186 return getPersistence().findByGroupId(groupId);
187 }
188
189 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByGroupId(
190 long groupId, int start, int end)
191 throws com.liferay.portal.kernel.exception.SystemException {
192 return getPersistence().findByGroupId(groupId, start, end);
193 }
194
195 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByGroupId(
196 long groupId, int start, int end,
197 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
198 throws com.liferay.portal.kernel.exception.SystemException {
199 return getPersistence()
200 .findByGroupId(groupId, start, end, orderByComparator);
201 }
202
203 public static com.liferay.portlet.messageboards.model.MBMessage findByGroupId_First(
204 long groupId,
205 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
206 throws com.liferay.portal.kernel.exception.SystemException,
207 com.liferay.portlet.messageboards.NoSuchMessageException {
208 return getPersistence().findByGroupId_First(groupId, orderByComparator);
209 }
210
211 public static com.liferay.portlet.messageboards.model.MBMessage findByGroupId_Last(
212 long groupId,
213 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
214 throws com.liferay.portal.kernel.exception.SystemException,
215 com.liferay.portlet.messageboards.NoSuchMessageException {
216 return getPersistence().findByGroupId_Last(groupId, orderByComparator);
217 }
218
219 public static com.liferay.portlet.messageboards.model.MBMessage[] findByGroupId_PrevAndNext(
220 long messageId, long groupId,
221 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
222 throws com.liferay.portal.kernel.exception.SystemException,
223 com.liferay.portlet.messageboards.NoSuchMessageException {
224 return getPersistence()
225 .findByGroupId_PrevAndNext(messageId, groupId,
226 orderByComparator);
227 }
228
229 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByCompanyId(
230 long companyId)
231 throws com.liferay.portal.kernel.exception.SystemException {
232 return getPersistence().findByCompanyId(companyId);
233 }
234
235 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByCompanyId(
236 long companyId, int start, int end)
237 throws com.liferay.portal.kernel.exception.SystemException {
238 return getPersistence().findByCompanyId(companyId, start, end);
239 }
240
241 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByCompanyId(
242 long companyId, int start, int end,
243 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
244 throws com.liferay.portal.kernel.exception.SystemException {
245 return getPersistence()
246 .findByCompanyId(companyId, start, end, orderByComparator);
247 }
248
249 public static com.liferay.portlet.messageboards.model.MBMessage findByCompanyId_First(
250 long companyId,
251 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
252 throws com.liferay.portal.kernel.exception.SystemException,
253 com.liferay.portlet.messageboards.NoSuchMessageException {
254 return getPersistence()
255 .findByCompanyId_First(companyId, orderByComparator);
256 }
257
258 public static com.liferay.portlet.messageboards.model.MBMessage findByCompanyId_Last(
259 long companyId,
260 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
261 throws com.liferay.portal.kernel.exception.SystemException,
262 com.liferay.portlet.messageboards.NoSuchMessageException {
263 return getPersistence()
264 .findByCompanyId_Last(companyId, orderByComparator);
265 }
266
267 public static com.liferay.portlet.messageboards.model.MBMessage[] findByCompanyId_PrevAndNext(
268 long messageId, long companyId,
269 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
270 throws com.liferay.portal.kernel.exception.SystemException,
271 com.liferay.portlet.messageboards.NoSuchMessageException {
272 return getPersistence()
273 .findByCompanyId_PrevAndNext(messageId, companyId,
274 orderByComparator);
275 }
276
277 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadId(
278 long threadId)
279 throws com.liferay.portal.kernel.exception.SystemException {
280 return getPersistence().findByThreadId(threadId);
281 }
282
283 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadId(
284 long threadId, int start, int end)
285 throws com.liferay.portal.kernel.exception.SystemException {
286 return getPersistence().findByThreadId(threadId, start, end);
287 }
288
289 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadId(
290 long threadId, int start, int end,
291 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
292 throws com.liferay.portal.kernel.exception.SystemException {
293 return getPersistence()
294 .findByThreadId(threadId, start, end, orderByComparator);
295 }
296
297 public static com.liferay.portlet.messageboards.model.MBMessage findByThreadId_First(
298 long threadId,
299 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
300 throws com.liferay.portal.kernel.exception.SystemException,
301 com.liferay.portlet.messageboards.NoSuchMessageException {
302 return getPersistence().findByThreadId_First(threadId, orderByComparator);
303 }
304
305 public static com.liferay.portlet.messageboards.model.MBMessage findByThreadId_Last(
306 long threadId,
307 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
308 throws com.liferay.portal.kernel.exception.SystemException,
309 com.liferay.portlet.messageboards.NoSuchMessageException {
310 return getPersistence().findByThreadId_Last(threadId, orderByComparator);
311 }
312
313 public static com.liferay.portlet.messageboards.model.MBMessage[] findByThreadId_PrevAndNext(
314 long messageId, long threadId,
315 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
316 throws com.liferay.portal.kernel.exception.SystemException,
317 com.liferay.portlet.messageboards.NoSuchMessageException {
318 return getPersistence()
319 .findByThreadId_PrevAndNext(messageId, threadId,
320 orderByComparator);
321 }
322
323 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadReplies(
324 long threadId)
325 throws com.liferay.portal.kernel.exception.SystemException {
326 return getPersistence().findByThreadReplies(threadId);
327 }
328
329 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadReplies(
330 long threadId, int start, int end)
331 throws com.liferay.portal.kernel.exception.SystemException {
332 return getPersistence().findByThreadReplies(threadId, start, end);
333 }
334
335 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadReplies(
336 long threadId, int start, int end,
337 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
338 throws com.liferay.portal.kernel.exception.SystemException {
339 return getPersistence()
340 .findByThreadReplies(threadId, start, end, orderByComparator);
341 }
342
343 public static com.liferay.portlet.messageboards.model.MBMessage findByThreadReplies_First(
344 long threadId,
345 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
346 throws com.liferay.portal.kernel.exception.SystemException,
347 com.liferay.portlet.messageboards.NoSuchMessageException {
348 return getPersistence()
349 .findByThreadReplies_First(threadId, orderByComparator);
350 }
351
352 public static com.liferay.portlet.messageboards.model.MBMessage findByThreadReplies_Last(
353 long threadId,
354 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
355 throws com.liferay.portal.kernel.exception.SystemException,
356 com.liferay.portlet.messageboards.NoSuchMessageException {
357 return getPersistence()
358 .findByThreadReplies_Last(threadId, orderByComparator);
359 }
360
361 public static com.liferay.portlet.messageboards.model.MBMessage[] findByThreadReplies_PrevAndNext(
362 long messageId, long threadId,
363 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
364 throws com.liferay.portal.kernel.exception.SystemException,
365 com.liferay.portlet.messageboards.NoSuchMessageException {
366 return getPersistence()
367 .findByThreadReplies_PrevAndNext(messageId, threadId,
368 orderByComparator);
369 }
370
371 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U(
372 long groupId, long userId)
373 throws com.liferay.portal.kernel.exception.SystemException {
374 return getPersistence().findByG_U(groupId, userId);
375 }
376
377 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U(
378 long groupId, long userId, int start, int end)
379 throws com.liferay.portal.kernel.exception.SystemException {
380 return getPersistence().findByG_U(groupId, userId, start, end);
381 }
382
383 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U(
384 long groupId, long userId, int start, int end,
385 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
386 throws com.liferay.portal.kernel.exception.SystemException {
387 return getPersistence()
388 .findByG_U(groupId, userId, start, end, orderByComparator);
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 orderByComparator)
394 throws com.liferay.portal.kernel.exception.SystemException,
395 com.liferay.portlet.messageboards.NoSuchMessageException {
396 return getPersistence()
397 .findByG_U_First(groupId, userId, orderByComparator);
398 }
399
400 public static com.liferay.portlet.messageboards.model.MBMessage findByG_U_Last(
401 long groupId, long userId,
402 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
403 throws com.liferay.portal.kernel.exception.SystemException,
404 com.liferay.portlet.messageboards.NoSuchMessageException {
405 return getPersistence()
406 .findByG_U_Last(groupId, userId, orderByComparator);
407 }
408
409 public static com.liferay.portlet.messageboards.model.MBMessage[] findByG_U_PrevAndNext(
410 long messageId, long groupId, long userId,
411 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
412 throws com.liferay.portal.kernel.exception.SystemException,
413 com.liferay.portlet.messageboards.NoSuchMessageException {
414 return getPersistence()
415 .findByG_U_PrevAndNext(messageId, groupId, userId,
416 orderByComparator);
417 }
418
419 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C(
420 long groupId, long categoryId)
421 throws com.liferay.portal.kernel.exception.SystemException {
422 return getPersistence().findByG_C(groupId, categoryId);
423 }
424
425 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C(
426 long groupId, long categoryId, int start, int end)
427 throws com.liferay.portal.kernel.exception.SystemException {
428 return getPersistence().findByG_C(groupId, categoryId, start, end);
429 }
430
431 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C(
432 long groupId, long categoryId, int start, int end,
433 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
434 throws com.liferay.portal.kernel.exception.SystemException {
435 return getPersistence()
436 .findByG_C(groupId, categoryId, start, end, orderByComparator);
437 }
438
439 public static com.liferay.portlet.messageboards.model.MBMessage findByG_C_First(
440 long groupId, long categoryId,
441 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
442 throws com.liferay.portal.kernel.exception.SystemException,
443 com.liferay.portlet.messageboards.NoSuchMessageException {
444 return getPersistence()
445 .findByG_C_First(groupId, categoryId, orderByComparator);
446 }
447
448 public static com.liferay.portlet.messageboards.model.MBMessage findByG_C_Last(
449 long groupId, long categoryId,
450 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
451 throws com.liferay.portal.kernel.exception.SystemException,
452 com.liferay.portlet.messageboards.NoSuchMessageException {
453 return getPersistence()
454 .findByG_C_Last(groupId, categoryId, orderByComparator);
455 }
456
457 public static com.liferay.portlet.messageboards.model.MBMessage[] findByG_C_PrevAndNext(
458 long messageId, long groupId, long categoryId,
459 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
460 throws com.liferay.portal.kernel.exception.SystemException,
461 com.liferay.portlet.messageboards.NoSuchMessageException {
462 return getPersistence()
463 .findByG_C_PrevAndNext(messageId, groupId, categoryId,
464 orderByComparator);
465 }
466
467 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_S(
468 long groupId, int status)
469 throws com.liferay.portal.kernel.exception.SystemException {
470 return getPersistence().findByG_S(groupId, status);
471 }
472
473 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_S(
474 long groupId, int status, int start, int end)
475 throws com.liferay.portal.kernel.exception.SystemException {
476 return getPersistence().findByG_S(groupId, status, start, end);
477 }
478
479 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_S(
480 long groupId, int status, int start, int end,
481 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
482 throws com.liferay.portal.kernel.exception.SystemException {
483 return getPersistence()
484 .findByG_S(groupId, status, start, end, orderByComparator);
485 }
486
487 public static com.liferay.portlet.messageboards.model.MBMessage findByG_S_First(
488 long groupId, int status,
489 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
490 throws com.liferay.portal.kernel.exception.SystemException,
491 com.liferay.portlet.messageboards.NoSuchMessageException {
492 return getPersistence()
493 .findByG_S_First(groupId, status, orderByComparator);
494 }
495
496 public static com.liferay.portlet.messageboards.model.MBMessage findByG_S_Last(
497 long groupId, int status,
498 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
499 throws com.liferay.portal.kernel.exception.SystemException,
500 com.liferay.portlet.messageboards.NoSuchMessageException {
501 return getPersistence()
502 .findByG_S_Last(groupId, status, orderByComparator);
503 }
504
505 public static com.liferay.portlet.messageboards.model.MBMessage[] findByG_S_PrevAndNext(
506 long messageId, long groupId, int status,
507 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
508 throws com.liferay.portal.kernel.exception.SystemException,
509 com.liferay.portlet.messageboards.NoSuchMessageException {
510 return getPersistence()
511 .findByG_S_PrevAndNext(messageId, groupId, status,
512 orderByComparator);
513 }
514
515 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_S(
516 long companyId, int status)
517 throws com.liferay.portal.kernel.exception.SystemException {
518 return getPersistence().findByC_S(companyId, status);
519 }
520
521 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_S(
522 long companyId, int status, int start, int end)
523 throws com.liferay.portal.kernel.exception.SystemException {
524 return getPersistence().findByC_S(companyId, status, start, end);
525 }
526
527 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_S(
528 long companyId, int status, int start, int end,
529 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
530 throws com.liferay.portal.kernel.exception.SystemException {
531 return getPersistence()
532 .findByC_S(companyId, status, start, end, orderByComparator);
533 }
534
535 public static com.liferay.portlet.messageboards.model.MBMessage findByC_S_First(
536 long companyId, int status,
537 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
538 throws com.liferay.portal.kernel.exception.SystemException,
539 com.liferay.portlet.messageboards.NoSuchMessageException {
540 return getPersistence()
541 .findByC_S_First(companyId, status, orderByComparator);
542 }
543
544 public static com.liferay.portlet.messageboards.model.MBMessage findByC_S_Last(
545 long companyId, int status,
546 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
547 throws com.liferay.portal.kernel.exception.SystemException,
548 com.liferay.portlet.messageboards.NoSuchMessageException {
549 return getPersistence()
550 .findByC_S_Last(companyId, status, orderByComparator);
551 }
552
553 public static com.liferay.portlet.messageboards.model.MBMessage[] findByC_S_PrevAndNext(
554 long messageId, long companyId, int status,
555 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
556 throws com.liferay.portal.kernel.exception.SystemException,
557 com.liferay.portlet.messageboards.NoSuchMessageException {
558 return getPersistence()
559 .findByC_S_PrevAndNext(messageId, companyId, status,
560 orderByComparator);
561 }
562
563 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C(
564 long classNameId, long classPK)
565 throws com.liferay.portal.kernel.exception.SystemException {
566 return getPersistence().findByC_C(classNameId, classPK);
567 }
568
569 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C(
570 long classNameId, long classPK, int start, int end)
571 throws com.liferay.portal.kernel.exception.SystemException {
572 return getPersistence().findByC_C(classNameId, classPK, start, end);
573 }
574
575 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C(
576 long classNameId, long classPK, int start, int end,
577 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
578 throws com.liferay.portal.kernel.exception.SystemException {
579 return getPersistence()
580 .findByC_C(classNameId, classPK, start, end,
581 orderByComparator);
582 }
583
584 public static com.liferay.portlet.messageboards.model.MBMessage findByC_C_First(
585 long classNameId, long classPK,
586 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
587 throws com.liferay.portal.kernel.exception.SystemException,
588 com.liferay.portlet.messageboards.NoSuchMessageException {
589 return getPersistence()
590 .findByC_C_First(classNameId, classPK, orderByComparator);
591 }
592
593 public static com.liferay.portlet.messageboards.model.MBMessage findByC_C_Last(
594 long classNameId, long classPK,
595 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
596 throws com.liferay.portal.kernel.exception.SystemException,
597 com.liferay.portlet.messageboards.NoSuchMessageException {
598 return getPersistence()
599 .findByC_C_Last(classNameId, classPK, orderByComparator);
600 }
601
602 public static com.liferay.portlet.messageboards.model.MBMessage[] findByC_C_PrevAndNext(
603 long messageId, long classNameId, long classPK,
604 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
605 throws com.liferay.portal.kernel.exception.SystemException,
606 com.liferay.portlet.messageboards.NoSuchMessageException {
607 return getPersistence()
608 .findByC_C_PrevAndNext(messageId, classNameId, classPK,
609 orderByComparator);
610 }
611
612 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_P(
613 long threadId, long parentMessageId)
614 throws com.liferay.portal.kernel.exception.SystemException {
615 return getPersistence().findByT_P(threadId, parentMessageId);
616 }
617
618 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_P(
619 long threadId, long parentMessageId, int start, int end)
620 throws com.liferay.portal.kernel.exception.SystemException {
621 return getPersistence().findByT_P(threadId, parentMessageId, start, end);
622 }
623
624 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_P(
625 long threadId, long parentMessageId, int start, int end,
626 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
627 throws com.liferay.portal.kernel.exception.SystemException {
628 return getPersistence()
629 .findByT_P(threadId, parentMessageId, start, end,
630 orderByComparator);
631 }
632
633 public static com.liferay.portlet.messageboards.model.MBMessage findByT_P_First(
634 long threadId, long parentMessageId,
635 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
636 throws com.liferay.portal.kernel.exception.SystemException,
637 com.liferay.portlet.messageboards.NoSuchMessageException {
638 return getPersistence()
639 .findByT_P_First(threadId, parentMessageId, orderByComparator);
640 }
641
642 public static com.liferay.portlet.messageboards.model.MBMessage findByT_P_Last(
643 long threadId, long parentMessageId,
644 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
645 throws com.liferay.portal.kernel.exception.SystemException,
646 com.liferay.portlet.messageboards.NoSuchMessageException {
647 return getPersistence()
648 .findByT_P_Last(threadId, parentMessageId, orderByComparator);
649 }
650
651 public static com.liferay.portlet.messageboards.model.MBMessage[] findByT_P_PrevAndNext(
652 long messageId, long threadId, long parentMessageId,
653 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
654 throws com.liferay.portal.kernel.exception.SystemException,
655 com.liferay.portlet.messageboards.NoSuchMessageException {
656 return getPersistence()
657 .findByT_P_PrevAndNext(messageId, threadId, parentMessageId,
658 orderByComparator);
659 }
660
661 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_S(
662 long threadId, int status)
663 throws com.liferay.portal.kernel.exception.SystemException {
664 return getPersistence().findByT_S(threadId, status);
665 }
666
667 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_S(
668 long threadId, int status, int start, int end)
669 throws com.liferay.portal.kernel.exception.SystemException {
670 return getPersistence().findByT_S(threadId, status, start, end);
671 }
672
673 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_S(
674 long threadId, int status, int start, int end,
675 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
676 throws com.liferay.portal.kernel.exception.SystemException {
677 return getPersistence()
678 .findByT_S(threadId, status, start, end, orderByComparator);
679 }
680
681 public static com.liferay.portlet.messageboards.model.MBMessage findByT_S_First(
682 long threadId, int status,
683 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
684 throws com.liferay.portal.kernel.exception.SystemException,
685 com.liferay.portlet.messageboards.NoSuchMessageException {
686 return getPersistence()
687 .findByT_S_First(threadId, status, orderByComparator);
688 }
689
690 public static com.liferay.portlet.messageboards.model.MBMessage findByT_S_Last(
691 long threadId, int status,
692 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
693 throws com.liferay.portal.kernel.exception.SystemException,
694 com.liferay.portlet.messageboards.NoSuchMessageException {
695 return getPersistence()
696 .findByT_S_Last(threadId, status, orderByComparator);
697 }
698
699 public static com.liferay.portlet.messageboards.model.MBMessage[] findByT_S_PrevAndNext(
700 long messageId, long threadId, int status,
701 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
702 throws com.liferay.portal.kernel.exception.SystemException,
703 com.liferay.portlet.messageboards.NoSuchMessageException {
704 return getPersistence()
705 .findByT_S_PrevAndNext(messageId, threadId, status,
706 orderByComparator);
707 }
708
709 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByTR_S(
710 long threadId, int status)
711 throws com.liferay.portal.kernel.exception.SystemException {
712 return getPersistence().findByTR_S(threadId, status);
713 }
714
715 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByTR_S(
716 long threadId, int status, int start, int end)
717 throws com.liferay.portal.kernel.exception.SystemException {
718 return getPersistence().findByTR_S(threadId, status, start, end);
719 }
720
721 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByTR_S(
722 long threadId, int status, int start, int end,
723 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
724 throws com.liferay.portal.kernel.exception.SystemException {
725 return getPersistence()
726 .findByTR_S(threadId, status, start, end, orderByComparator);
727 }
728
729 public static com.liferay.portlet.messageboards.model.MBMessage findByTR_S_First(
730 long threadId, int status,
731 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
732 throws com.liferay.portal.kernel.exception.SystemException,
733 com.liferay.portlet.messageboards.NoSuchMessageException {
734 return getPersistence()
735 .findByTR_S_First(threadId, status, orderByComparator);
736 }
737
738 public static com.liferay.portlet.messageboards.model.MBMessage findByTR_S_Last(
739 long threadId, int status,
740 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
741 throws com.liferay.portal.kernel.exception.SystemException,
742 com.liferay.portlet.messageboards.NoSuchMessageException {
743 return getPersistence()
744 .findByTR_S_Last(threadId, status, orderByComparator);
745 }
746
747 public static com.liferay.portlet.messageboards.model.MBMessage[] findByTR_S_PrevAndNext(
748 long messageId, long threadId, int status,
749 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
750 throws com.liferay.portal.kernel.exception.SystemException,
751 com.liferay.portlet.messageboards.NoSuchMessageException {
752 return getPersistence()
753 .findByTR_S_PrevAndNext(messageId, threadId, status,
754 orderByComparator);
755 }
756
757 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U_S(
758 long groupId, long userId, int status)
759 throws com.liferay.portal.kernel.exception.SystemException {
760 return getPersistence().findByG_U_S(groupId, userId, status);
761 }
762
763 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U_S(
764 long groupId, long userId, int status, int start, int end)
765 throws com.liferay.portal.kernel.exception.SystemException {
766 return getPersistence().findByG_U_S(groupId, userId, status, start, end);
767 }
768
769 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U_S(
770 long groupId, long userId, int status, int start, int end,
771 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
772 throws com.liferay.portal.kernel.exception.SystemException {
773 return getPersistence()
774 .findByG_U_S(groupId, userId, status, start, end,
775 orderByComparator);
776 }
777
778 public static com.liferay.portlet.messageboards.model.MBMessage findByG_U_S_First(
779 long groupId, long userId, int status,
780 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
781 throws com.liferay.portal.kernel.exception.SystemException,
782 com.liferay.portlet.messageboards.NoSuchMessageException {
783 return getPersistence()
784 .findByG_U_S_First(groupId, userId, status, orderByComparator);
785 }
786
787 public static com.liferay.portlet.messageboards.model.MBMessage findByG_U_S_Last(
788 long groupId, long userId, int status,
789 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
790 throws com.liferay.portal.kernel.exception.SystemException,
791 com.liferay.portlet.messageboards.NoSuchMessageException {
792 return getPersistence()
793 .findByG_U_S_Last(groupId, userId, status, orderByComparator);
794 }
795
796 public static com.liferay.portlet.messageboards.model.MBMessage[] findByG_U_S_PrevAndNext(
797 long messageId, long groupId, long userId, int status,
798 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
799 throws com.liferay.portal.kernel.exception.SystemException,
800 com.liferay.portlet.messageboards.NoSuchMessageException {
801 return getPersistence()
802 .findByG_U_S_PrevAndNext(messageId, groupId, userId, status,
803 orderByComparator);
804 }
805
806 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_T(
807 long groupId, long categoryId, long threadId)
808 throws com.liferay.portal.kernel.exception.SystemException {
809 return getPersistence().findByG_C_T(groupId, categoryId, threadId);
810 }
811
812 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_T(
813 long groupId, long categoryId, long threadId, int start, int end)
814 throws com.liferay.portal.kernel.exception.SystemException {
815 return getPersistence()
816 .findByG_C_T(groupId, categoryId, threadId, start, end);
817 }
818
819 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_T(
820 long groupId, long categoryId, long threadId, int start, int end,
821 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
822 throws com.liferay.portal.kernel.exception.SystemException {
823 return getPersistence()
824 .findByG_C_T(groupId, categoryId, threadId, start, end,
825 orderByComparator);
826 }
827
828 public static com.liferay.portlet.messageboards.model.MBMessage findByG_C_T_First(
829 long groupId, long categoryId, long threadId,
830 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
831 throws com.liferay.portal.kernel.exception.SystemException,
832 com.liferay.portlet.messageboards.NoSuchMessageException {
833 return getPersistence()
834 .findByG_C_T_First(groupId, categoryId, threadId,
835 orderByComparator);
836 }
837
838 public static com.liferay.portlet.messageboards.model.MBMessage findByG_C_T_Last(
839 long groupId, long categoryId, long threadId,
840 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
841 throws com.liferay.portal.kernel.exception.SystemException,
842 com.liferay.portlet.messageboards.NoSuchMessageException {
843 return getPersistence()
844 .findByG_C_T_Last(groupId, categoryId, threadId,
845 orderByComparator);
846 }
847
848 public static com.liferay.portlet.messageboards.model.MBMessage[] findByG_C_T_PrevAndNext(
849 long messageId, long groupId, long categoryId, long threadId,
850 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
851 throws com.liferay.portal.kernel.exception.SystemException,
852 com.liferay.portlet.messageboards.NoSuchMessageException {
853 return getPersistence()
854 .findByG_C_T_PrevAndNext(messageId, groupId, categoryId,
855 threadId, orderByComparator);
856 }
857
858 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_S(
859 long groupId, long categoryId, int status)
860 throws com.liferay.portal.kernel.exception.SystemException {
861 return getPersistence().findByG_C_S(groupId, categoryId, status);
862 }
863
864 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_S(
865 long groupId, long categoryId, int status, int start, int end)
866 throws com.liferay.portal.kernel.exception.SystemException {
867 return getPersistence()
868 .findByG_C_S(groupId, categoryId, status, start, end);
869 }
870
871 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_S(
872 long groupId, long categoryId, int status, int start, int end,
873 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
874 throws com.liferay.portal.kernel.exception.SystemException {
875 return getPersistence()
876 .findByG_C_S(groupId, categoryId, status, start, end,
877 orderByComparator);
878 }
879
880 public static com.liferay.portlet.messageboards.model.MBMessage findByG_C_S_First(
881 long groupId, long categoryId, int status,
882 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
883 throws com.liferay.portal.kernel.exception.SystemException,
884 com.liferay.portlet.messageboards.NoSuchMessageException {
885 return getPersistence()
886 .findByG_C_S_First(groupId, categoryId, status,
887 orderByComparator);
888 }
889
890 public static com.liferay.portlet.messageboards.model.MBMessage findByG_C_S_Last(
891 long groupId, long categoryId, int status,
892 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
893 throws com.liferay.portal.kernel.exception.SystemException,
894 com.liferay.portlet.messageboards.NoSuchMessageException {
895 return getPersistence()
896 .findByG_C_S_Last(groupId, categoryId, status,
897 orderByComparator);
898 }
899
900 public static com.liferay.portlet.messageboards.model.MBMessage[] findByG_C_S_PrevAndNext(
901 long messageId, long groupId, long categoryId, int status,
902 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
903 throws com.liferay.portal.kernel.exception.SystemException,
904 com.liferay.portlet.messageboards.NoSuchMessageException {
905 return getPersistence()
906 .findByG_C_S_PrevAndNext(messageId, groupId, categoryId,
907 status, orderByComparator);
908 }
909
910 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C_S(
911 long classNameId, long classPK, int status)
912 throws com.liferay.portal.kernel.exception.SystemException {
913 return getPersistence().findByC_C_S(classNameId, classPK, status);
914 }
915
916 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C_S(
917 long classNameId, long classPK, int status, int start, int end)
918 throws com.liferay.portal.kernel.exception.SystemException {
919 return getPersistence()
920 .findByC_C_S(classNameId, classPK, status, start, end);
921 }
922
923 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C_S(
924 long classNameId, long classPK, int status, int start, int end,
925 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
926 throws com.liferay.portal.kernel.exception.SystemException {
927 return getPersistence()
928 .findByC_C_S(classNameId, classPK, status, start, end,
929 orderByComparator);
930 }
931
932 public static com.liferay.portlet.messageboards.model.MBMessage findByC_C_S_First(
933 long classNameId, long classPK, int status,
934 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
935 throws com.liferay.portal.kernel.exception.SystemException,
936 com.liferay.portlet.messageboards.NoSuchMessageException {
937 return getPersistence()
938 .findByC_C_S_First(classNameId, classPK, status,
939 orderByComparator);
940 }
941
942 public static com.liferay.portlet.messageboards.model.MBMessage findByC_C_S_Last(
943 long classNameId, long classPK, int status,
944 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
945 throws com.liferay.portal.kernel.exception.SystemException,
946 com.liferay.portlet.messageboards.NoSuchMessageException {
947 return getPersistence()
948 .findByC_C_S_Last(classNameId, classPK, status,
949 orderByComparator);
950 }
951
952 public static com.liferay.portlet.messageboards.model.MBMessage[] findByC_C_S_PrevAndNext(
953 long messageId, long classNameId, long classPK, int status,
954 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
955 throws com.liferay.portal.kernel.exception.SystemException,
956 com.liferay.portlet.messageboards.NoSuchMessageException {
957 return getPersistence()
958 .findByC_C_S_PrevAndNext(messageId, classNameId, classPK,
959 status, orderByComparator);
960 }
961
962 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_T_S(
963 long groupId, long categoryId, long threadId, int status)
964 throws com.liferay.portal.kernel.exception.SystemException {
965 return getPersistence()
966 .findByG_C_T_S(groupId, categoryId, threadId, status);
967 }
968
969 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_T_S(
970 long groupId, long categoryId, long threadId, int status, int start,
971 int end) throws com.liferay.portal.kernel.exception.SystemException {
972 return getPersistence()
973 .findByG_C_T_S(groupId, categoryId, threadId, status, start,
974 end);
975 }
976
977 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_T_S(
978 long groupId, long categoryId, long threadId, int status, int start,
979 int end,
980 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
981 throws com.liferay.portal.kernel.exception.SystemException {
982 return getPersistence()
983 .findByG_C_T_S(groupId, categoryId, threadId, status, start,
984 end, orderByComparator);
985 }
986
987 public static com.liferay.portlet.messageboards.model.MBMessage findByG_C_T_S_First(
988 long groupId, long categoryId, long threadId, int status,
989 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
990 throws com.liferay.portal.kernel.exception.SystemException,
991 com.liferay.portlet.messageboards.NoSuchMessageException {
992 return getPersistence()
993 .findByG_C_T_S_First(groupId, categoryId, threadId, status,
994 orderByComparator);
995 }
996
997 public static com.liferay.portlet.messageboards.model.MBMessage findByG_C_T_S_Last(
998 long groupId, long categoryId, long threadId, int status,
999 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1000 throws com.liferay.portal.kernel.exception.SystemException,
1001 com.liferay.portlet.messageboards.NoSuchMessageException {
1002 return getPersistence()
1003 .findByG_C_T_S_Last(groupId, categoryId, threadId, status,
1004 orderByComparator);
1005 }
1006
1007 public static com.liferay.portlet.messageboards.model.MBMessage[] findByG_C_T_S_PrevAndNext(
1008 long messageId, long groupId, long categoryId, long threadId,
1009 int status,
1010 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1011 throws com.liferay.portal.kernel.exception.SystemException,
1012 com.liferay.portlet.messageboards.NoSuchMessageException {
1013 return getPersistence()
1014 .findByG_C_T_S_PrevAndNext(messageId, groupId, categoryId,
1015 threadId, status, orderByComparator);
1016 }
1017
1018 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findAll()
1019 throws com.liferay.portal.kernel.exception.SystemException {
1020 return getPersistence().findAll();
1021 }
1022
1023 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findAll(
1024 int start, int end)
1025 throws com.liferay.portal.kernel.exception.SystemException {
1026 return getPersistence().findAll(start, end);
1027 }
1028
1029 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findAll(
1030 int start, int end,
1031 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1032 throws com.liferay.portal.kernel.exception.SystemException {
1033 return getPersistence().findAll(start, end, orderByComparator);
1034 }
1035
1036 public static void removeByUuid(java.lang.String uuid)
1037 throws com.liferay.portal.kernel.exception.SystemException {
1038 getPersistence().removeByUuid(uuid);
1039 }
1040
1041 public static void removeByUUID_G(java.lang.String uuid, long groupId)
1042 throws com.liferay.portal.kernel.exception.SystemException,
1043 com.liferay.portlet.messageboards.NoSuchMessageException {
1044 getPersistence().removeByUUID_G(uuid, groupId);
1045 }
1046
1047 public static void removeByGroupId(long groupId)
1048 throws com.liferay.portal.kernel.exception.SystemException {
1049 getPersistence().removeByGroupId(groupId);
1050 }
1051
1052 public static void removeByCompanyId(long companyId)
1053 throws com.liferay.portal.kernel.exception.SystemException {
1054 getPersistence().removeByCompanyId(companyId);
1055 }
1056
1057 public static void removeByThreadId(long threadId)
1058 throws com.liferay.portal.kernel.exception.SystemException {
1059 getPersistence().removeByThreadId(threadId);
1060 }
1061
1062 public static void removeByThreadReplies(long threadId)
1063 throws com.liferay.portal.kernel.exception.SystemException {
1064 getPersistence().removeByThreadReplies(threadId);
1065 }
1066
1067 public static void removeByG_U(long groupId, long userId)
1068 throws com.liferay.portal.kernel.exception.SystemException {
1069 getPersistence().removeByG_U(groupId, userId);
1070 }
1071
1072 public static void removeByG_C(long groupId, long categoryId)
1073 throws com.liferay.portal.kernel.exception.SystemException {
1074 getPersistence().removeByG_C(groupId, categoryId);
1075 }
1076
1077 public static void removeByG_S(long groupId, int status)
1078 throws com.liferay.portal.kernel.exception.SystemException {
1079 getPersistence().removeByG_S(groupId, status);
1080 }
1081
1082 public static void removeByC_S(long companyId, int status)
1083 throws com.liferay.portal.kernel.exception.SystemException {
1084 getPersistence().removeByC_S(companyId, status);
1085 }
1086
1087 public static void removeByC_C(long classNameId, long classPK)
1088 throws com.liferay.portal.kernel.exception.SystemException {
1089 getPersistence().removeByC_C(classNameId, classPK);
1090 }
1091
1092 public static void removeByT_P(long threadId, long parentMessageId)
1093 throws com.liferay.portal.kernel.exception.SystemException {
1094 getPersistence().removeByT_P(threadId, parentMessageId);
1095 }
1096
1097 public static void removeByT_S(long threadId, int status)
1098 throws com.liferay.portal.kernel.exception.SystemException {
1099 getPersistence().removeByT_S(threadId, status);
1100 }
1101
1102 public static void removeByTR_S(long threadId, int status)
1103 throws com.liferay.portal.kernel.exception.SystemException {
1104 getPersistence().removeByTR_S(threadId, status);
1105 }
1106
1107 public static void removeByG_U_S(long groupId, long userId, int status)
1108 throws com.liferay.portal.kernel.exception.SystemException {
1109 getPersistence().removeByG_U_S(groupId, userId, status);
1110 }
1111
1112 public static void removeByG_C_T(long groupId, long categoryId,
1113 long threadId)
1114 throws com.liferay.portal.kernel.exception.SystemException {
1115 getPersistence().removeByG_C_T(groupId, categoryId, threadId);
1116 }
1117
1118 public static void removeByG_C_S(long groupId, long categoryId, int status)
1119 throws com.liferay.portal.kernel.exception.SystemException {
1120 getPersistence().removeByG_C_S(groupId, categoryId, status);
1121 }
1122
1123 public static void removeByC_C_S(long classNameId, long classPK, int status)
1124 throws com.liferay.portal.kernel.exception.SystemException {
1125 getPersistence().removeByC_C_S(classNameId, classPK, status);
1126 }
1127
1128 public static void removeByG_C_T_S(long groupId, long categoryId,
1129 long threadId, int status)
1130 throws com.liferay.portal.kernel.exception.SystemException {
1131 getPersistence().removeByG_C_T_S(groupId, categoryId, threadId, status);
1132 }
1133
1134 public static void removeAll()
1135 throws com.liferay.portal.kernel.exception.SystemException {
1136 getPersistence().removeAll();
1137 }
1138
1139 public static int countByUuid(java.lang.String uuid)
1140 throws com.liferay.portal.kernel.exception.SystemException {
1141 return getPersistence().countByUuid(uuid);
1142 }
1143
1144 public static int countByUUID_G(java.lang.String uuid, long groupId)
1145 throws com.liferay.portal.kernel.exception.SystemException {
1146 return getPersistence().countByUUID_G(uuid, groupId);
1147 }
1148
1149 public static int countByGroupId(long groupId)
1150 throws com.liferay.portal.kernel.exception.SystemException {
1151 return getPersistence().countByGroupId(groupId);
1152 }
1153
1154 public static int countByCompanyId(long companyId)
1155 throws com.liferay.portal.kernel.exception.SystemException {
1156 return getPersistence().countByCompanyId(companyId);
1157 }
1158
1159 public static int countByThreadId(long threadId)
1160 throws com.liferay.portal.kernel.exception.SystemException {
1161 return getPersistence().countByThreadId(threadId);
1162 }
1163
1164 public static int countByThreadReplies(long threadId)
1165 throws com.liferay.portal.kernel.exception.SystemException {
1166 return getPersistence().countByThreadReplies(threadId);
1167 }
1168
1169 public static int countByG_U(long groupId, long userId)
1170 throws com.liferay.portal.kernel.exception.SystemException {
1171 return getPersistence().countByG_U(groupId, userId);
1172 }
1173
1174 public static int countByG_C(long groupId, long categoryId)
1175 throws com.liferay.portal.kernel.exception.SystemException {
1176 return getPersistence().countByG_C(groupId, categoryId);
1177 }
1178
1179 public static int countByG_S(long groupId, int status)
1180 throws com.liferay.portal.kernel.exception.SystemException {
1181 return getPersistence().countByG_S(groupId, status);
1182 }
1183
1184 public static int countByC_S(long companyId, int status)
1185 throws com.liferay.portal.kernel.exception.SystemException {
1186 return getPersistence().countByC_S(companyId, status);
1187 }
1188
1189 public static int countByC_C(long classNameId, long classPK)
1190 throws com.liferay.portal.kernel.exception.SystemException {
1191 return getPersistence().countByC_C(classNameId, classPK);
1192 }
1193
1194 public static int countByT_P(long threadId, long parentMessageId)
1195 throws com.liferay.portal.kernel.exception.SystemException {
1196 return getPersistence().countByT_P(threadId, parentMessageId);
1197 }
1198
1199 public static int countByT_S(long threadId, int status)
1200 throws com.liferay.portal.kernel.exception.SystemException {
1201 return getPersistence().countByT_S(threadId, status);
1202 }
1203
1204 public static int countByTR_S(long threadId, int status)
1205 throws com.liferay.portal.kernel.exception.SystemException {
1206 return getPersistence().countByTR_S(threadId, status);
1207 }
1208
1209 public static int countByG_U_S(long groupId, long userId, int status)
1210 throws com.liferay.portal.kernel.exception.SystemException {
1211 return getPersistence().countByG_U_S(groupId, userId, status);
1212 }
1213
1214 public static int countByG_C_T(long groupId, long categoryId, long threadId)
1215 throws com.liferay.portal.kernel.exception.SystemException {
1216 return getPersistence().countByG_C_T(groupId, categoryId, threadId);
1217 }
1218
1219 public static int countByG_C_S(long groupId, long categoryId, int status)
1220 throws com.liferay.portal.kernel.exception.SystemException {
1221 return getPersistence().countByG_C_S(groupId, categoryId, status);
1222 }
1223
1224 public static int countByC_C_S(long classNameId, long classPK, int status)
1225 throws com.liferay.portal.kernel.exception.SystemException {
1226 return getPersistence().countByC_C_S(classNameId, classPK, status);
1227 }
1228
1229 public static int countByG_C_T_S(long groupId, long categoryId,
1230 long threadId, int status)
1231 throws com.liferay.portal.kernel.exception.SystemException {
1232 return getPersistence()
1233 .countByG_C_T_S(groupId, categoryId, threadId, status);
1234 }
1235
1236 public static int countAll()
1237 throws com.liferay.portal.kernel.exception.SystemException {
1238 return getPersistence().countAll();
1239 }
1240
1241 public static MBMessagePersistence getPersistence() {
1242 if (_persistence == null) {
1243 _persistence = (MBMessagePersistence)PortalBeanLocatorUtil.locate(MBMessagePersistence.class.getName());
1244 }
1245
1246 return _persistence;
1247 }
1248
1249 public void setPersistence(MBMessagePersistence persistence) {
1250 _persistence = persistence;
1251 }
1252
1253 private static MBMessagePersistence _persistence;
1254}