001
014
015 package com.liferay.portlet.messageboards.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.service.ServiceWrapper;
020
021
028 @ProviderType
029 public class MBThreadLocalServiceWrapper implements MBThreadLocalService,
030 ServiceWrapper<MBThreadLocalService> {
031 public MBThreadLocalServiceWrapper(
032 MBThreadLocalService mbThreadLocalService) {
033 _mbThreadLocalService = mbThreadLocalService;
034 }
035
036
043 @Override
044 public com.liferay.portlet.messageboards.model.MBThread addMBThread(
045 com.liferay.portlet.messageboards.model.MBThread mbThread)
046 throws com.liferay.portal.kernel.exception.SystemException {
047 return _mbThreadLocalService.addMBThread(mbThread);
048 }
049
050
056 @Override
057 public com.liferay.portlet.messageboards.model.MBThread createMBThread(
058 long threadId) {
059 return _mbThreadLocalService.createMBThread(threadId);
060 }
061
062
070 @Override
071 public com.liferay.portlet.messageboards.model.MBThread deleteMBThread(
072 long threadId)
073 throws com.liferay.portal.kernel.exception.PortalException,
074 com.liferay.portal.kernel.exception.SystemException {
075 return _mbThreadLocalService.deleteMBThread(threadId);
076 }
077
078
085 @Override
086 public com.liferay.portlet.messageboards.model.MBThread deleteMBThread(
087 com.liferay.portlet.messageboards.model.MBThread mbThread)
088 throws com.liferay.portal.kernel.exception.SystemException {
089 return _mbThreadLocalService.deleteMBThread(mbThread);
090 }
091
092 @Override
093 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
094 return _mbThreadLocalService.dynamicQuery();
095 }
096
097
104 @Override
105 @SuppressWarnings("rawtypes")
106 public java.util.List dynamicQuery(
107 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
108 throws com.liferay.portal.kernel.exception.SystemException {
109 return _mbThreadLocalService.dynamicQuery(dynamicQuery);
110 }
111
112
125 @Override
126 @SuppressWarnings("rawtypes")
127 public java.util.List dynamicQuery(
128 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
129 int end) throws com.liferay.portal.kernel.exception.SystemException {
130 return _mbThreadLocalService.dynamicQuery(dynamicQuery, start, end);
131 }
132
133
147 @Override
148 @SuppressWarnings("rawtypes")
149 public java.util.List dynamicQuery(
150 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
151 int end,
152 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
153 throws com.liferay.portal.kernel.exception.SystemException {
154 return _mbThreadLocalService.dynamicQuery(dynamicQuery, start, end,
155 orderByComparator);
156 }
157
158
165 @Override
166 public long dynamicQueryCount(
167 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
168 throws com.liferay.portal.kernel.exception.SystemException {
169 return _mbThreadLocalService.dynamicQueryCount(dynamicQuery);
170 }
171
172
180 @Override
181 public long dynamicQueryCount(
182 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
183 com.liferay.portal.kernel.dao.orm.Projection projection)
184 throws com.liferay.portal.kernel.exception.SystemException {
185 return _mbThreadLocalService.dynamicQueryCount(dynamicQuery, projection);
186 }
187
188 @Override
189 public com.liferay.portlet.messageboards.model.MBThread fetchMBThread(
190 long threadId)
191 throws com.liferay.portal.kernel.exception.SystemException {
192 return _mbThreadLocalService.fetchMBThread(threadId);
193 }
194
195
203 @Override
204 public com.liferay.portlet.messageboards.model.MBThread fetchMBThreadByUuidAndCompanyId(
205 java.lang.String uuid, long companyId)
206 throws com.liferay.portal.kernel.exception.SystemException {
207 return _mbThreadLocalService.fetchMBThreadByUuidAndCompanyId(uuid,
208 companyId);
209 }
210
211
219 @Override
220 public com.liferay.portlet.messageboards.model.MBThread fetchMBThreadByUuidAndGroupId(
221 java.lang.String uuid, long groupId)
222 throws com.liferay.portal.kernel.exception.SystemException {
223 return _mbThreadLocalService.fetchMBThreadByUuidAndGroupId(uuid, groupId);
224 }
225
226
234 @Override
235 public com.liferay.portlet.messageboards.model.MBThread getMBThread(
236 long threadId)
237 throws com.liferay.portal.kernel.exception.PortalException,
238 com.liferay.portal.kernel.exception.SystemException {
239 return _mbThreadLocalService.getMBThread(threadId);
240 }
241
242 @Override
243 public com.liferay.portal.model.PersistedModel getPersistedModel(
244 java.io.Serializable primaryKeyObj)
245 throws com.liferay.portal.kernel.exception.PortalException,
246 com.liferay.portal.kernel.exception.SystemException {
247 return _mbThreadLocalService.getPersistedModel(primaryKeyObj);
248 }
249
250
259 @Override
260 public com.liferay.portlet.messageboards.model.MBThread getMBThreadByUuidAndCompanyId(
261 java.lang.String uuid, long companyId)
262 throws com.liferay.portal.kernel.exception.PortalException,
263 com.liferay.portal.kernel.exception.SystemException {
264 return _mbThreadLocalService.getMBThreadByUuidAndCompanyId(uuid,
265 companyId);
266 }
267
268
277 @Override
278 public com.liferay.portlet.messageboards.model.MBThread getMBThreadByUuidAndGroupId(
279 java.lang.String uuid, long groupId)
280 throws com.liferay.portal.kernel.exception.PortalException,
281 com.liferay.portal.kernel.exception.SystemException {
282 return _mbThreadLocalService.getMBThreadByUuidAndGroupId(uuid, groupId);
283 }
284
285
297 @Override
298 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getMBThreads(
299 int start, int end)
300 throws com.liferay.portal.kernel.exception.SystemException {
301 return _mbThreadLocalService.getMBThreads(start, end);
302 }
303
304
310 @Override
311 public int getMBThreadsCount()
312 throws com.liferay.portal.kernel.exception.SystemException {
313 return _mbThreadLocalService.getMBThreadsCount();
314 }
315
316
323 @Override
324 public com.liferay.portlet.messageboards.model.MBThread updateMBThread(
325 com.liferay.portlet.messageboards.model.MBThread mbThread)
326 throws com.liferay.portal.kernel.exception.SystemException {
327 return _mbThreadLocalService.updateMBThread(mbThread);
328 }
329
330
335 @Override
336 public java.lang.String getBeanIdentifier() {
337 return _mbThreadLocalService.getBeanIdentifier();
338 }
339
340
345 @Override
346 public void setBeanIdentifier(java.lang.String beanIdentifier) {
347 _mbThreadLocalService.setBeanIdentifier(beanIdentifier);
348 }
349
350 @Override
351 public com.liferay.portlet.messageboards.model.MBThread addThread(
352 long categoryId,
353 com.liferay.portlet.messageboards.model.MBMessage message,
354 com.liferay.portal.service.ServiceContext serviceContext)
355 throws com.liferay.portal.kernel.exception.PortalException,
356 com.liferay.portal.kernel.exception.SystemException {
357 return _mbThreadLocalService.addThread(categoryId, message,
358 serviceContext);
359 }
360
361 @Override
362 public void deleteThread(long threadId)
363 throws com.liferay.portal.kernel.exception.PortalException,
364 com.liferay.portal.kernel.exception.SystemException {
365 _mbThreadLocalService.deleteThread(threadId);
366 }
367
368 @Override
369 public void deleteThread(
370 com.liferay.portlet.messageboards.model.MBThread thread)
371 throws com.liferay.portal.kernel.exception.PortalException,
372 com.liferay.portal.kernel.exception.SystemException {
373 _mbThreadLocalService.deleteThread(thread);
374 }
375
376 @Override
377 public void deleteThreads(long groupId, long categoryId)
378 throws com.liferay.portal.kernel.exception.PortalException,
379 com.liferay.portal.kernel.exception.SystemException {
380 _mbThreadLocalService.deleteThreads(groupId, categoryId);
381 }
382
383 @Override
384 public void deleteThreads(long groupId, long categoryId,
385 boolean includeTrashedEntries)
386 throws com.liferay.portal.kernel.exception.PortalException,
387 com.liferay.portal.kernel.exception.SystemException {
388 _mbThreadLocalService.deleteThreads(groupId, categoryId,
389 includeTrashedEntries);
390 }
391
392 @Override
393 public com.liferay.portlet.messageboards.model.MBThread fetchThread(
394 long threadId)
395 throws com.liferay.portal.kernel.exception.SystemException {
396 return _mbThreadLocalService.fetchThread(threadId);
397 }
398
399 @Override
400 public int getCategoryThreadsCount(long groupId, long categoryId, int status)
401 throws com.liferay.portal.kernel.exception.SystemException {
402 return _mbThreadLocalService.getCategoryThreadsCount(groupId,
403 categoryId, status);
404 }
405
406
410 @Override
411 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
412 long groupId, int status, int start, int end)
413 throws com.liferay.portal.kernel.exception.SystemException {
414 return _mbThreadLocalService.getGroupThreads(groupId, status, start, end);
415 }
416
417 @Override
418 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
419 long groupId, long userId, boolean subscribed,
420 boolean includeAnonymous,
421 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
422 throws com.liferay.portal.kernel.exception.SystemException {
423 return _mbThreadLocalService.getGroupThreads(groupId, userId,
424 subscribed, includeAnonymous, queryDefinition);
425 }
426
427 @Override
428 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
429 long groupId, long userId, boolean subscribed,
430 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
431 throws com.liferay.portal.kernel.exception.SystemException {
432 return _mbThreadLocalService.getGroupThreads(groupId, userId,
433 subscribed, queryDefinition);
434 }
435
436
440 @Override
441 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
442 long groupId, long userId, int status, boolean subscribed,
443 boolean includeAnonymous, int start, int end)
444 throws com.liferay.portal.kernel.exception.SystemException {
445 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
446 subscribed, includeAnonymous, start, end);
447 }
448
449
453 @Override
454 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
455 long groupId, long userId, int status, boolean subscribed, int start,
456 int end) throws com.liferay.portal.kernel.exception.SystemException {
457 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
458 subscribed, start, end);
459 }
460
461
465 @Override
466 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
467 long groupId, long userId, int status, int start, int end)
468 throws com.liferay.portal.kernel.exception.SystemException {
469 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
470 start, end);
471 }
472
473 @Override
474 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
475 long groupId, long userId,
476 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
477 throws com.liferay.portal.kernel.exception.SystemException {
478 return _mbThreadLocalService.getGroupThreads(groupId, userId,
479 queryDefinition);
480 }
481
482 @Override
483 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
484 long groupId,
485 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
486 throws com.liferay.portal.kernel.exception.SystemException {
487 return _mbThreadLocalService.getGroupThreads(groupId, queryDefinition);
488 }
489
490
494 @Override
495 public int getGroupThreadsCount(long groupId, int status)
496 throws com.liferay.portal.kernel.exception.SystemException {
497 return _mbThreadLocalService.getGroupThreadsCount(groupId, status);
498 }
499
500 @Override
501 public int getGroupThreadsCount(long groupId, long userId,
502 boolean subscribed, boolean includeAnonymous,
503 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
504 throws com.liferay.portal.kernel.exception.SystemException {
505 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
506 subscribed, includeAnonymous, queryDefinition);
507 }
508
509 @Override
510 public int getGroupThreadsCount(long groupId, long userId,
511 boolean subscribed,
512 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
513 throws com.liferay.portal.kernel.exception.SystemException {
514 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
515 subscribed, queryDefinition);
516 }
517
518
522 @Override
523 public int getGroupThreadsCount(long groupId, long userId, int status)
524 throws com.liferay.portal.kernel.exception.SystemException {
525 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
526 status);
527 }
528
529
533 @Override
534 public int getGroupThreadsCount(long groupId, long userId, int status,
535 boolean subscribed)
536 throws com.liferay.portal.kernel.exception.SystemException {
537 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
538 status, subscribed);
539 }
540
541
545 @Override
546 public int getGroupThreadsCount(long groupId, long userId, int status,
547 boolean subscribed, boolean includeAnonymous)
548 throws com.liferay.portal.kernel.exception.SystemException {
549 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
550 status, subscribed, includeAnonymous);
551 }
552
553 @Override
554 public int getGroupThreadsCount(long groupId, long userId,
555 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
556 throws com.liferay.portal.kernel.exception.SystemException {
557 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
558 queryDefinition);
559 }
560
561 @Override
562 public int getGroupThreadsCount(long groupId,
563 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
564 throws com.liferay.portal.kernel.exception.SystemException {
565 return _mbThreadLocalService.getGroupThreadsCount(groupId,
566 queryDefinition);
567 }
568
569 @Override
570 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getNoAssetThreads()
571 throws com.liferay.portal.kernel.exception.SystemException {
572 return _mbThreadLocalService.getNoAssetThreads();
573 }
574
575 @Override
576 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
577 long categoryId, double priority)
578 throws com.liferay.portal.kernel.exception.PortalException,
579 com.liferay.portal.kernel.exception.SystemException {
580 return _mbThreadLocalService.getPriorityThreads(categoryId, priority);
581 }
582
583 @Override
584 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
585 long categoryId, double priority, boolean inherit)
586 throws com.liferay.portal.kernel.exception.PortalException,
587 com.liferay.portal.kernel.exception.SystemException {
588 return _mbThreadLocalService.getPriorityThreads(categoryId, priority,
589 inherit);
590 }
591
592 @Override
593 public com.liferay.portlet.messageboards.model.MBThread getThread(
594 long threadId)
595 throws com.liferay.portal.kernel.exception.PortalException,
596 com.liferay.portal.kernel.exception.SystemException {
597 return _mbThreadLocalService.getThread(threadId);
598 }
599
600 @Override
601 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getThreads(
602 long groupId, long categoryId, int status, int start, int end)
603 throws com.liferay.portal.kernel.exception.SystemException {
604 return _mbThreadLocalService.getThreads(groupId, categoryId, status,
605 start, end);
606 }
607
608 @Override
609 public int getThreadsCount(long groupId, long categoryId, int status)
610 throws com.liferay.portal.kernel.exception.SystemException {
611 return _mbThreadLocalService.getThreadsCount(groupId, categoryId, status);
612 }
613
614 @Override
615 public boolean hasAnswerMessage(long threadId)
616 throws com.liferay.portal.kernel.exception.SystemException {
617 return _mbThreadLocalService.hasAnswerMessage(threadId);
618 }
619
620 @Override
621 public com.liferay.portlet.messageboards.model.MBThread incrementViewCounter(
622 long threadId, int increment)
623 throws com.liferay.portal.kernel.exception.PortalException,
624 com.liferay.portal.kernel.exception.SystemException {
625 return _mbThreadLocalService.incrementViewCounter(threadId, increment);
626 }
627
628 @Override
629 public void moveDependentsToTrash(long groupId, long threadId,
630 long trashEntryId)
631 throws com.liferay.portal.kernel.exception.PortalException,
632 com.liferay.portal.kernel.exception.SystemException {
633 _mbThreadLocalService.moveDependentsToTrash(groupId, threadId,
634 trashEntryId);
635 }
636
637 @Override
638 public com.liferay.portlet.messageboards.model.MBThread moveThread(
639 long groupId, long categoryId, long threadId)
640 throws com.liferay.portal.kernel.exception.PortalException,
641 com.liferay.portal.kernel.exception.SystemException {
642 return _mbThreadLocalService.moveThread(groupId, categoryId, threadId);
643 }
644
645 @Override
646 public com.liferay.portlet.messageboards.model.MBThread moveThreadFromTrash(
647 long userId, long categoryId, long threadId)
648 throws com.liferay.portal.kernel.exception.PortalException,
649 com.liferay.portal.kernel.exception.SystemException {
650 return _mbThreadLocalService.moveThreadFromTrash(userId, categoryId,
651 threadId);
652 }
653
654 @Override
655 public void moveThreadsToTrash(long groupId, long userId)
656 throws com.liferay.portal.kernel.exception.PortalException,
657 com.liferay.portal.kernel.exception.SystemException {
658 _mbThreadLocalService.moveThreadsToTrash(groupId, userId);
659 }
660
661 @Override
662 public com.liferay.portlet.messageboards.model.MBThread moveThreadToTrash(
663 long userId, long threadId)
664 throws com.liferay.portal.kernel.exception.PortalException,
665 com.liferay.portal.kernel.exception.SystemException {
666 return _mbThreadLocalService.moveThreadToTrash(userId, threadId);
667 }
668
669 @Override
670 public com.liferay.portlet.messageboards.model.MBThread moveThreadToTrash(
671 long userId, com.liferay.portlet.messageboards.model.MBThread thread)
672 throws com.liferay.portal.kernel.exception.PortalException,
673 com.liferay.portal.kernel.exception.SystemException {
674 return _mbThreadLocalService.moveThreadToTrash(userId, thread);
675 }
676
677 @Override
678 public void restoreDependentsFromTrash(long groupId, long threadId,
679 long trashEntryId)
680 throws com.liferay.portal.kernel.exception.PortalException,
681 com.liferay.portal.kernel.exception.SystemException {
682 _mbThreadLocalService.restoreDependentsFromTrash(groupId, threadId,
683 trashEntryId);
684 }
685
686 @Override
687 public void restoreThreadFromTrash(long userId, long threadId)
688 throws com.liferay.portal.kernel.exception.PortalException,
689 com.liferay.portal.kernel.exception.SystemException {
690 _mbThreadLocalService.restoreThreadFromTrash(userId, threadId);
691 }
692
693 @Override
694 public com.liferay.portal.kernel.search.Hits search(long groupId,
695 long userId, long creatorUserId, int status, int start, int end)
696 throws com.liferay.portal.kernel.exception.PortalException,
697 com.liferay.portal.kernel.exception.SystemException {
698 return _mbThreadLocalService.search(groupId, userId, creatorUserId,
699 status, start, end);
700 }
701
702 @Override
703 public com.liferay.portal.kernel.search.Hits search(long groupId,
704 long userId, long creatorUserId, long startDate, long endDate,
705 int status, int start, int end)
706 throws com.liferay.portal.kernel.exception.PortalException,
707 com.liferay.portal.kernel.exception.SystemException {
708 return _mbThreadLocalService.search(groupId, userId, creatorUserId,
709 startDate, endDate, status, start, end);
710 }
711
712 @Override
713 public com.liferay.portlet.messageboards.model.MBThread splitThread(
714 long messageId, java.lang.String subject,
715 com.liferay.portal.service.ServiceContext serviceContext)
716 throws com.liferay.portal.kernel.exception.PortalException,
717 com.liferay.portal.kernel.exception.SystemException {
718 return _mbThreadLocalService.splitThread(messageId, subject,
719 serviceContext);
720 }
721
722 @Override
723 public void updateQuestion(long threadId, boolean question)
724 throws com.liferay.portal.kernel.exception.PortalException,
725 com.liferay.portal.kernel.exception.SystemException {
726 _mbThreadLocalService.updateQuestion(threadId, question);
727 }
728
729 @Override
730 public com.liferay.portlet.messageboards.model.MBThread updateStatus(
731 long userId, long threadId, int status)
732 throws com.liferay.portal.kernel.exception.PortalException,
733 com.liferay.portal.kernel.exception.SystemException {
734 return _mbThreadLocalService.updateStatus(userId, threadId, status);
735 }
736
737
741 @Override
742 public com.liferay.portlet.messageboards.model.MBThread updateThread(
743 long threadId, int viewCount)
744 throws com.liferay.portal.kernel.exception.PortalException,
745 com.liferay.portal.kernel.exception.SystemException {
746 return _mbThreadLocalService.updateThread(threadId, viewCount);
747 }
748
749
752 public MBThreadLocalService getWrappedMBThreadLocalService() {
753 return _mbThreadLocalService;
754 }
755
756
759 public void setWrappedMBThreadLocalService(
760 MBThreadLocalService mbThreadLocalService) {
761 _mbThreadLocalService = mbThreadLocalService;
762 }
763
764 @Override
765 public MBThreadLocalService getWrappedService() {
766 return _mbThreadLocalService;
767 }
768
769 @Override
770 public void setWrappedService(MBThreadLocalService mbThreadLocalService) {
771 _mbThreadLocalService = mbThreadLocalService;
772 }
773
774 private MBThreadLocalService _mbThreadLocalService;
775 }