001
014
015 package com.liferay.portlet.messageboards.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
026 public class MBThreadLocalServiceWrapper implements MBThreadLocalService,
027 ServiceWrapper<MBThreadLocalService> {
028 public MBThreadLocalServiceWrapper(
029 MBThreadLocalService mbThreadLocalService) {
030 _mbThreadLocalService = mbThreadLocalService;
031 }
032
033
040 @Override
041 public com.liferay.portlet.messageboards.model.MBThread addMBThread(
042 com.liferay.portlet.messageboards.model.MBThread mbThread)
043 throws com.liferay.portal.kernel.exception.SystemException {
044 return _mbThreadLocalService.addMBThread(mbThread);
045 }
046
047
053 @Override
054 public com.liferay.portlet.messageboards.model.MBThread createMBThread(
055 long threadId) {
056 return _mbThreadLocalService.createMBThread(threadId);
057 }
058
059
067 @Override
068 public com.liferay.portlet.messageboards.model.MBThread deleteMBThread(
069 long threadId)
070 throws com.liferay.portal.kernel.exception.PortalException,
071 com.liferay.portal.kernel.exception.SystemException {
072 return _mbThreadLocalService.deleteMBThread(threadId);
073 }
074
075
082 @Override
083 public com.liferay.portlet.messageboards.model.MBThread deleteMBThread(
084 com.liferay.portlet.messageboards.model.MBThread mbThread)
085 throws com.liferay.portal.kernel.exception.SystemException {
086 return _mbThreadLocalService.deleteMBThread(mbThread);
087 }
088
089 @Override
090 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
091 return _mbThreadLocalService.dynamicQuery();
092 }
093
094
101 @Override
102 @SuppressWarnings("rawtypes")
103 public java.util.List dynamicQuery(
104 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
105 throws com.liferay.portal.kernel.exception.SystemException {
106 return _mbThreadLocalService.dynamicQuery(dynamicQuery);
107 }
108
109
122 @Override
123 @SuppressWarnings("rawtypes")
124 public java.util.List dynamicQuery(
125 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
126 int end) throws com.liferay.portal.kernel.exception.SystemException {
127 return _mbThreadLocalService.dynamicQuery(dynamicQuery, start, end);
128 }
129
130
144 @Override
145 @SuppressWarnings("rawtypes")
146 public java.util.List dynamicQuery(
147 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
148 int end,
149 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
150 throws com.liferay.portal.kernel.exception.SystemException {
151 return _mbThreadLocalService.dynamicQuery(dynamicQuery, start, end,
152 orderByComparator);
153 }
154
155
162 @Override
163 public long dynamicQueryCount(
164 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
165 throws com.liferay.portal.kernel.exception.SystemException {
166 return _mbThreadLocalService.dynamicQueryCount(dynamicQuery);
167 }
168
169
177 @Override
178 public long dynamicQueryCount(
179 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
180 com.liferay.portal.kernel.dao.orm.Projection projection)
181 throws com.liferay.portal.kernel.exception.SystemException {
182 return _mbThreadLocalService.dynamicQueryCount(dynamicQuery, projection);
183 }
184
185 @Override
186 public com.liferay.portlet.messageboards.model.MBThread fetchMBThread(
187 long threadId)
188 throws com.liferay.portal.kernel.exception.SystemException {
189 return _mbThreadLocalService.fetchMBThread(threadId);
190 }
191
192
200 @Override
201 public com.liferay.portlet.messageboards.model.MBThread fetchMBThreadByUuidAndCompanyId(
202 java.lang.String uuid, long companyId)
203 throws com.liferay.portal.kernel.exception.SystemException {
204 return _mbThreadLocalService.fetchMBThreadByUuidAndCompanyId(uuid,
205 companyId);
206 }
207
208
216 @Override
217 public com.liferay.portlet.messageboards.model.MBThread fetchMBThreadByUuidAndGroupId(
218 java.lang.String uuid, long groupId)
219 throws com.liferay.portal.kernel.exception.SystemException {
220 return _mbThreadLocalService.fetchMBThreadByUuidAndGroupId(uuid, groupId);
221 }
222
223
231 @Override
232 public com.liferay.portlet.messageboards.model.MBThread getMBThread(
233 long threadId)
234 throws com.liferay.portal.kernel.exception.PortalException,
235 com.liferay.portal.kernel.exception.SystemException {
236 return _mbThreadLocalService.getMBThread(threadId);
237 }
238
239 @Override
240 public com.liferay.portal.model.PersistedModel getPersistedModel(
241 java.io.Serializable primaryKeyObj)
242 throws com.liferay.portal.kernel.exception.PortalException,
243 com.liferay.portal.kernel.exception.SystemException {
244 return _mbThreadLocalService.getPersistedModel(primaryKeyObj);
245 }
246
247
256 @Override
257 public com.liferay.portlet.messageboards.model.MBThread getMBThreadByUuidAndCompanyId(
258 java.lang.String uuid, long companyId)
259 throws com.liferay.portal.kernel.exception.PortalException,
260 com.liferay.portal.kernel.exception.SystemException {
261 return _mbThreadLocalService.getMBThreadByUuidAndCompanyId(uuid,
262 companyId);
263 }
264
265
274 @Override
275 public com.liferay.portlet.messageboards.model.MBThread getMBThreadByUuidAndGroupId(
276 java.lang.String uuid, long groupId)
277 throws com.liferay.portal.kernel.exception.PortalException,
278 com.liferay.portal.kernel.exception.SystemException {
279 return _mbThreadLocalService.getMBThreadByUuidAndGroupId(uuid, groupId);
280 }
281
282
294 @Override
295 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getMBThreads(
296 int start, int end)
297 throws com.liferay.portal.kernel.exception.SystemException {
298 return _mbThreadLocalService.getMBThreads(start, end);
299 }
300
301
307 @Override
308 public int getMBThreadsCount()
309 throws com.liferay.portal.kernel.exception.SystemException {
310 return _mbThreadLocalService.getMBThreadsCount();
311 }
312
313
320 @Override
321 public com.liferay.portlet.messageboards.model.MBThread updateMBThread(
322 com.liferay.portlet.messageboards.model.MBThread mbThread)
323 throws com.liferay.portal.kernel.exception.SystemException {
324 return _mbThreadLocalService.updateMBThread(mbThread);
325 }
326
327
332 @Override
333 public java.lang.String getBeanIdentifier() {
334 return _mbThreadLocalService.getBeanIdentifier();
335 }
336
337
342 @Override
343 public void setBeanIdentifier(java.lang.String beanIdentifier) {
344 _mbThreadLocalService.setBeanIdentifier(beanIdentifier);
345 }
346
347 @Override
348 public com.liferay.portlet.messageboards.model.MBThread addThread(
349 long categoryId,
350 com.liferay.portlet.messageboards.model.MBMessage message,
351 com.liferay.portal.service.ServiceContext serviceContext)
352 throws com.liferay.portal.kernel.exception.PortalException,
353 com.liferay.portal.kernel.exception.SystemException {
354 return _mbThreadLocalService.addThread(categoryId, message,
355 serviceContext);
356 }
357
358 @Override
359 public void deleteThread(long threadId)
360 throws com.liferay.portal.kernel.exception.PortalException,
361 com.liferay.portal.kernel.exception.SystemException {
362 _mbThreadLocalService.deleteThread(threadId);
363 }
364
365 @Override
366 public void deleteThread(
367 com.liferay.portlet.messageboards.model.MBThread thread)
368 throws com.liferay.portal.kernel.exception.PortalException,
369 com.liferay.portal.kernel.exception.SystemException {
370 _mbThreadLocalService.deleteThread(thread);
371 }
372
373 @Override
374 public void deleteThreads(long groupId, long categoryId)
375 throws com.liferay.portal.kernel.exception.PortalException,
376 com.liferay.portal.kernel.exception.SystemException {
377 _mbThreadLocalService.deleteThreads(groupId, categoryId);
378 }
379
380 @Override
381 public void deleteThreads(long groupId, long categoryId,
382 boolean includeTrashedEntries)
383 throws com.liferay.portal.kernel.exception.PortalException,
384 com.liferay.portal.kernel.exception.SystemException {
385 _mbThreadLocalService.deleteThreads(groupId, categoryId,
386 includeTrashedEntries);
387 }
388
389 @Override
390 public com.liferay.portlet.messageboards.model.MBThread fetchThread(
391 long threadId)
392 throws com.liferay.portal.kernel.exception.SystemException {
393 return _mbThreadLocalService.fetchThread(threadId);
394 }
395
396 @Override
397 public int getCategoryThreadsCount(long groupId, long categoryId, int status)
398 throws com.liferay.portal.kernel.exception.SystemException {
399 return _mbThreadLocalService.getCategoryThreadsCount(groupId,
400 categoryId, status);
401 }
402
403
407 @Override
408 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
409 long groupId, int status, int start, int end)
410 throws com.liferay.portal.kernel.exception.SystemException {
411 return _mbThreadLocalService.getGroupThreads(groupId, status, start, end);
412 }
413
414 @Override
415 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
416 long groupId, long userId, boolean subscribed,
417 boolean includeAnonymous,
418 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
419 throws com.liferay.portal.kernel.exception.SystemException {
420 return _mbThreadLocalService.getGroupThreads(groupId, userId,
421 subscribed, includeAnonymous, queryDefinition);
422 }
423
424 @Override
425 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
426 long groupId, long userId, boolean subscribed,
427 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
428 throws com.liferay.portal.kernel.exception.SystemException {
429 return _mbThreadLocalService.getGroupThreads(groupId, userId,
430 subscribed, queryDefinition);
431 }
432
433
437 @Override
438 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
439 long groupId, long userId, int status, boolean subscribed,
440 boolean includeAnonymous, int start, int end)
441 throws com.liferay.portal.kernel.exception.SystemException {
442 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
443 subscribed, includeAnonymous, start, end);
444 }
445
446
450 @Override
451 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
452 long groupId, long userId, int status, boolean subscribed, int start,
453 int end) throws com.liferay.portal.kernel.exception.SystemException {
454 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
455 subscribed, start, end);
456 }
457
458
462 @Override
463 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
464 long groupId, long userId, int status, int start, int end)
465 throws com.liferay.portal.kernel.exception.SystemException {
466 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
467 start, end);
468 }
469
470 @Override
471 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
472 long groupId, long userId,
473 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
474 throws com.liferay.portal.kernel.exception.SystemException {
475 return _mbThreadLocalService.getGroupThreads(groupId, userId,
476 queryDefinition);
477 }
478
479 @Override
480 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
481 long groupId,
482 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
483 throws com.liferay.portal.kernel.exception.SystemException {
484 return _mbThreadLocalService.getGroupThreads(groupId, queryDefinition);
485 }
486
487
491 @Override
492 public int getGroupThreadsCount(long groupId, int status)
493 throws com.liferay.portal.kernel.exception.SystemException {
494 return _mbThreadLocalService.getGroupThreadsCount(groupId, status);
495 }
496
497 @Override
498 public int getGroupThreadsCount(long groupId, long userId,
499 boolean subscribed, boolean includeAnonymous,
500 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
501 throws com.liferay.portal.kernel.exception.SystemException {
502 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
503 subscribed, includeAnonymous, queryDefinition);
504 }
505
506 @Override
507 public int getGroupThreadsCount(long groupId, long userId,
508 boolean subscribed,
509 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
510 throws com.liferay.portal.kernel.exception.SystemException {
511 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
512 subscribed, queryDefinition);
513 }
514
515
519 @Override
520 public int getGroupThreadsCount(long groupId, long userId, int status)
521 throws com.liferay.portal.kernel.exception.SystemException {
522 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
523 status);
524 }
525
526
530 @Override
531 public int getGroupThreadsCount(long groupId, long userId, int status,
532 boolean subscribed)
533 throws com.liferay.portal.kernel.exception.SystemException {
534 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
535 status, subscribed);
536 }
537
538
542 @Override
543 public int getGroupThreadsCount(long groupId, long userId, int status,
544 boolean subscribed, boolean includeAnonymous)
545 throws com.liferay.portal.kernel.exception.SystemException {
546 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
547 status, subscribed, includeAnonymous);
548 }
549
550 @Override
551 public int getGroupThreadsCount(long groupId, long userId,
552 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
553 throws com.liferay.portal.kernel.exception.SystemException {
554 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
555 queryDefinition);
556 }
557
558 @Override
559 public int getGroupThreadsCount(long groupId,
560 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
561 throws com.liferay.portal.kernel.exception.SystemException {
562 return _mbThreadLocalService.getGroupThreadsCount(groupId,
563 queryDefinition);
564 }
565
566 @Override
567 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getNoAssetThreads()
568 throws com.liferay.portal.kernel.exception.SystemException {
569 return _mbThreadLocalService.getNoAssetThreads();
570 }
571
572 @Override
573 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
574 long categoryId, double priority)
575 throws com.liferay.portal.kernel.exception.PortalException,
576 com.liferay.portal.kernel.exception.SystemException {
577 return _mbThreadLocalService.getPriorityThreads(categoryId, priority);
578 }
579
580 @Override
581 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
582 long categoryId, double priority, boolean inherit)
583 throws com.liferay.portal.kernel.exception.PortalException,
584 com.liferay.portal.kernel.exception.SystemException {
585 return _mbThreadLocalService.getPriorityThreads(categoryId, priority,
586 inherit);
587 }
588
589 @Override
590 public com.liferay.portlet.messageboards.model.MBThread getThread(
591 long threadId)
592 throws com.liferay.portal.kernel.exception.PortalException,
593 com.liferay.portal.kernel.exception.SystemException {
594 return _mbThreadLocalService.getThread(threadId);
595 }
596
597 @Override
598 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getThreads(
599 long groupId, long categoryId, int status, int start, int end)
600 throws com.liferay.portal.kernel.exception.SystemException {
601 return _mbThreadLocalService.getThreads(groupId, categoryId, status,
602 start, end);
603 }
604
605 @Override
606 public int getThreadsCount(long groupId, long categoryId, int status)
607 throws com.liferay.portal.kernel.exception.SystemException {
608 return _mbThreadLocalService.getThreadsCount(groupId, categoryId, status);
609 }
610
611 @Override
612 public boolean hasAnswerMessage(long threadId)
613 throws com.liferay.portal.kernel.exception.SystemException {
614 return _mbThreadLocalService.hasAnswerMessage(threadId);
615 }
616
617 @Override
618 public com.liferay.portlet.messageboards.model.MBThread incrementViewCounter(
619 long threadId, int increment)
620 throws com.liferay.portal.kernel.exception.PortalException,
621 com.liferay.portal.kernel.exception.SystemException {
622 return _mbThreadLocalService.incrementViewCounter(threadId, increment);
623 }
624
625 @Override
626 public void moveDependentsToTrash(long groupId, long threadId,
627 long trashEntryId)
628 throws com.liferay.portal.kernel.exception.PortalException,
629 com.liferay.portal.kernel.exception.SystemException {
630 _mbThreadLocalService.moveDependentsToTrash(groupId, threadId,
631 trashEntryId);
632 }
633
634 @Override
635 public com.liferay.portlet.messageboards.model.MBThread moveThread(
636 long groupId, long categoryId, long threadId)
637 throws com.liferay.portal.kernel.exception.PortalException,
638 com.liferay.portal.kernel.exception.SystemException {
639 return _mbThreadLocalService.moveThread(groupId, categoryId, threadId);
640 }
641
642 @Override
643 public com.liferay.portlet.messageboards.model.MBThread moveThreadFromTrash(
644 long userId, long categoryId, long threadId)
645 throws com.liferay.portal.kernel.exception.PortalException,
646 com.liferay.portal.kernel.exception.SystemException {
647 return _mbThreadLocalService.moveThreadFromTrash(userId, categoryId,
648 threadId);
649 }
650
651 @Override
652 public void moveThreadsToTrash(long groupId, long userId)
653 throws com.liferay.portal.kernel.exception.PortalException,
654 com.liferay.portal.kernel.exception.SystemException {
655 _mbThreadLocalService.moveThreadsToTrash(groupId, userId);
656 }
657
658 @Override
659 public com.liferay.portlet.messageboards.model.MBThread moveThreadToTrash(
660 long userId, long threadId)
661 throws com.liferay.portal.kernel.exception.PortalException,
662 com.liferay.portal.kernel.exception.SystemException {
663 return _mbThreadLocalService.moveThreadToTrash(userId, threadId);
664 }
665
666 @Override
667 public com.liferay.portlet.messageboards.model.MBThread moveThreadToTrash(
668 long userId, com.liferay.portlet.messageboards.model.MBThread thread)
669 throws com.liferay.portal.kernel.exception.PortalException,
670 com.liferay.portal.kernel.exception.SystemException {
671 return _mbThreadLocalService.moveThreadToTrash(userId, thread);
672 }
673
674 @Override
675 public void restoreDependentsFromTrash(long groupId, long threadId,
676 long trashEntryId)
677 throws com.liferay.portal.kernel.exception.PortalException,
678 com.liferay.portal.kernel.exception.SystemException {
679 _mbThreadLocalService.restoreDependentsFromTrash(groupId, threadId,
680 trashEntryId);
681 }
682
683 @Override
684 public void restoreThreadFromTrash(long userId, long threadId)
685 throws com.liferay.portal.kernel.exception.PortalException,
686 com.liferay.portal.kernel.exception.SystemException {
687 _mbThreadLocalService.restoreThreadFromTrash(userId, threadId);
688 }
689
690 @Override
691 public com.liferay.portal.kernel.search.Hits search(long groupId,
692 long userId, long creatorUserId, int status, int start, int end)
693 throws com.liferay.portal.kernel.exception.PortalException,
694 com.liferay.portal.kernel.exception.SystemException {
695 return _mbThreadLocalService.search(groupId, userId, creatorUserId,
696 status, start, end);
697 }
698
699 @Override
700 public com.liferay.portal.kernel.search.Hits search(long groupId,
701 long userId, long creatorUserId, long startDate, long endDate,
702 int status, int start, int end)
703 throws com.liferay.portal.kernel.exception.PortalException,
704 com.liferay.portal.kernel.exception.SystemException {
705 return _mbThreadLocalService.search(groupId, userId, creatorUserId,
706 startDate, endDate, status, start, end);
707 }
708
709 @Override
710 public com.liferay.portlet.messageboards.model.MBThread splitThread(
711 long messageId, java.lang.String subject,
712 com.liferay.portal.service.ServiceContext serviceContext)
713 throws com.liferay.portal.kernel.exception.PortalException,
714 com.liferay.portal.kernel.exception.SystemException {
715 return _mbThreadLocalService.splitThread(messageId, subject,
716 serviceContext);
717 }
718
719 @Override
720 public void updateQuestion(long threadId, boolean question)
721 throws com.liferay.portal.kernel.exception.PortalException,
722 com.liferay.portal.kernel.exception.SystemException {
723 _mbThreadLocalService.updateQuestion(threadId, question);
724 }
725
726 @Override
727 public com.liferay.portlet.messageboards.model.MBThread updateStatus(
728 long userId, long threadId, int status)
729 throws com.liferay.portal.kernel.exception.PortalException,
730 com.liferay.portal.kernel.exception.SystemException {
731 return _mbThreadLocalService.updateStatus(userId, threadId, status);
732 }
733
734
738 @Override
739 public com.liferay.portlet.messageboards.model.MBThread updateThread(
740 long threadId, int viewCount)
741 throws com.liferay.portal.kernel.exception.PortalException,
742 com.liferay.portal.kernel.exception.SystemException {
743 return _mbThreadLocalService.updateThread(threadId, viewCount);
744 }
745
746
749 public MBThreadLocalService getWrappedMBThreadLocalService() {
750 return _mbThreadLocalService;
751 }
752
753
756 public void setWrappedMBThreadLocalService(
757 MBThreadLocalService mbThreadLocalService) {
758 _mbThreadLocalService = mbThreadLocalService;
759 }
760
761 @Override
762 public MBThreadLocalService getWrappedService() {
763 return _mbThreadLocalService;
764 }
765
766 @Override
767 public void setWrappedService(MBThreadLocalService mbThreadLocalService) {
768 _mbThreadLocalService = mbThreadLocalService;
769 }
770
771 private MBThreadLocalService _mbThreadLocalService;
772 }