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 MBMessageLocalServiceWrapper implements MBMessageLocalService,
030 ServiceWrapper<MBMessageLocalService> {
031 public MBMessageLocalServiceWrapper(
032 MBMessageLocalService mbMessageLocalService) {
033 _mbMessageLocalService = mbMessageLocalService;
034 }
035
036
043 @Override
044 public com.liferay.portlet.messageboards.model.MBMessage addMBMessage(
045 com.liferay.portlet.messageboards.model.MBMessage mbMessage)
046 throws com.liferay.portal.kernel.exception.SystemException {
047 return _mbMessageLocalService.addMBMessage(mbMessage);
048 }
049
050
056 @Override
057 public com.liferay.portlet.messageboards.model.MBMessage createMBMessage(
058 long messageId) {
059 return _mbMessageLocalService.createMBMessage(messageId);
060 }
061
062
070 @Override
071 public com.liferay.portlet.messageboards.model.MBMessage deleteMBMessage(
072 long messageId)
073 throws com.liferay.portal.kernel.exception.PortalException,
074 com.liferay.portal.kernel.exception.SystemException {
075 return _mbMessageLocalService.deleteMBMessage(messageId);
076 }
077
078
085 @Override
086 public com.liferay.portlet.messageboards.model.MBMessage deleteMBMessage(
087 com.liferay.portlet.messageboards.model.MBMessage mbMessage)
088 throws com.liferay.portal.kernel.exception.SystemException {
089 return _mbMessageLocalService.deleteMBMessage(mbMessage);
090 }
091
092 @Override
093 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
094 return _mbMessageLocalService.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 _mbMessageLocalService.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 _mbMessageLocalService.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 _mbMessageLocalService.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 _mbMessageLocalService.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 _mbMessageLocalService.dynamicQueryCount(dynamicQuery, projection);
186 }
187
188 @Override
189 public com.liferay.portlet.messageboards.model.MBMessage fetchMBMessage(
190 long messageId)
191 throws com.liferay.portal.kernel.exception.SystemException {
192 return _mbMessageLocalService.fetchMBMessage(messageId);
193 }
194
195
203 @Override
204 public com.liferay.portlet.messageboards.model.MBMessage fetchMBMessageByUuidAndCompanyId(
205 java.lang.String uuid, long companyId)
206 throws com.liferay.portal.kernel.exception.SystemException {
207 return _mbMessageLocalService.fetchMBMessageByUuidAndCompanyId(uuid,
208 companyId);
209 }
210
211
219 @Override
220 public com.liferay.portlet.messageboards.model.MBMessage fetchMBMessageByUuidAndGroupId(
221 java.lang.String uuid, long groupId)
222 throws com.liferay.portal.kernel.exception.SystemException {
223 return _mbMessageLocalService.fetchMBMessageByUuidAndGroupId(uuid,
224 groupId);
225 }
226
227
235 @Override
236 public com.liferay.portlet.messageboards.model.MBMessage getMBMessage(
237 long messageId)
238 throws com.liferay.portal.kernel.exception.PortalException,
239 com.liferay.portal.kernel.exception.SystemException {
240 return _mbMessageLocalService.getMBMessage(messageId);
241 }
242
243 @Override
244 public com.liferay.portal.model.PersistedModel getPersistedModel(
245 java.io.Serializable primaryKeyObj)
246 throws com.liferay.portal.kernel.exception.PortalException,
247 com.liferay.portal.kernel.exception.SystemException {
248 return _mbMessageLocalService.getPersistedModel(primaryKeyObj);
249 }
250
251
260 @Override
261 public com.liferay.portlet.messageboards.model.MBMessage getMBMessageByUuidAndCompanyId(
262 java.lang.String uuid, long companyId)
263 throws com.liferay.portal.kernel.exception.PortalException,
264 com.liferay.portal.kernel.exception.SystemException {
265 return _mbMessageLocalService.getMBMessageByUuidAndCompanyId(uuid,
266 companyId);
267 }
268
269
278 @Override
279 public com.liferay.portlet.messageboards.model.MBMessage getMBMessageByUuidAndGroupId(
280 java.lang.String uuid, long groupId)
281 throws com.liferay.portal.kernel.exception.PortalException,
282 com.liferay.portal.kernel.exception.SystemException {
283 return _mbMessageLocalService.getMBMessageByUuidAndGroupId(uuid, groupId);
284 }
285
286
298 @Override
299 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getMBMessages(
300 int start, int end)
301 throws com.liferay.portal.kernel.exception.SystemException {
302 return _mbMessageLocalService.getMBMessages(start, end);
303 }
304
305
311 @Override
312 public int getMBMessagesCount()
313 throws com.liferay.portal.kernel.exception.SystemException {
314 return _mbMessageLocalService.getMBMessagesCount();
315 }
316
317
324 @Override
325 public com.liferay.portlet.messageboards.model.MBMessage updateMBMessage(
326 com.liferay.portlet.messageboards.model.MBMessage mbMessage)
327 throws com.liferay.portal.kernel.exception.SystemException {
328 return _mbMessageLocalService.updateMBMessage(mbMessage);
329 }
330
331
336 @Override
337 public java.lang.String getBeanIdentifier() {
338 return _mbMessageLocalService.getBeanIdentifier();
339 }
340
341
346 @Override
347 public void setBeanIdentifier(java.lang.String beanIdentifier) {
348 _mbMessageLocalService.setBeanIdentifier(beanIdentifier);
349 }
350
351 @Override
352 public com.liferay.portlet.messageboards.model.MBMessage addDiscussionMessage(
353 long userId, java.lang.String userName, long groupId,
354 java.lang.String className, long classPK, int workflowAction)
355 throws com.liferay.portal.kernel.exception.PortalException,
356 com.liferay.portal.kernel.exception.SystemException {
357 return _mbMessageLocalService.addDiscussionMessage(userId, userName,
358 groupId, className, classPK, workflowAction);
359 }
360
361 @Override
362 public com.liferay.portlet.messageboards.model.MBMessage addDiscussionMessage(
363 long userId, java.lang.String userName, long groupId,
364 java.lang.String className, long classPK, long threadId,
365 long parentMessageId, java.lang.String subject, java.lang.String body,
366 com.liferay.portal.service.ServiceContext serviceContext)
367 throws com.liferay.portal.kernel.exception.PortalException,
368 com.liferay.portal.kernel.exception.SystemException {
369 return _mbMessageLocalService.addDiscussionMessage(userId, userName,
370 groupId, className, classPK, threadId, parentMessageId, subject,
371 body, serviceContext);
372 }
373
374 @Override
375 public com.liferay.portlet.messageboards.model.MBMessage addMessage(
376 long userId, java.lang.String userName, long groupId, long categoryId,
377 long threadId, long parentMessageId, java.lang.String subject,
378 java.lang.String body, java.lang.String format,
379 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs,
380 boolean anonymous, double priority, boolean allowPingbacks,
381 com.liferay.portal.service.ServiceContext serviceContext)
382 throws com.liferay.portal.kernel.exception.PortalException,
383 com.liferay.portal.kernel.exception.SystemException {
384 return _mbMessageLocalService.addMessage(userId, userName, groupId,
385 categoryId, threadId, parentMessageId, subject, body, format,
386 inputStreamOVPs, anonymous, priority, allowPingbacks, serviceContext);
387 }
388
389 @Override
390 public com.liferay.portlet.messageboards.model.MBMessage addMessage(
391 long userId, java.lang.String userName, long groupId, long categoryId,
392 java.lang.String subject, java.lang.String body,
393 java.lang.String format,
394 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs,
395 boolean anonymous, double priority, boolean allowPingbacks,
396 com.liferay.portal.service.ServiceContext serviceContext)
397 throws com.liferay.portal.kernel.exception.PortalException,
398 com.liferay.portal.kernel.exception.SystemException {
399 return _mbMessageLocalService.addMessage(userId, userName, groupId,
400 categoryId, subject, body, format, inputStreamOVPs, anonymous,
401 priority, allowPingbacks, serviceContext);
402 }
403
404 @Override
405 public com.liferay.portlet.messageboards.model.MBMessage addMessage(
406 long userId, java.lang.String userName, long categoryId,
407 java.lang.String subject, java.lang.String body,
408 com.liferay.portal.service.ServiceContext serviceContext)
409 throws com.liferay.portal.kernel.exception.PortalException,
410 com.liferay.portal.kernel.exception.SystemException {
411 return _mbMessageLocalService.addMessage(userId, userName, categoryId,
412 subject, body, serviceContext);
413 }
414
415 @Override
416 public void addMessageResources(long messageId,
417 boolean addGroupPermissions, boolean addGuestPermissions)
418 throws com.liferay.portal.kernel.exception.PortalException,
419 com.liferay.portal.kernel.exception.SystemException {
420 _mbMessageLocalService.addMessageResources(messageId,
421 addGroupPermissions, addGuestPermissions);
422 }
423
424 @Override
425 public void addMessageResources(long messageId,
426 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
427 throws com.liferay.portal.kernel.exception.PortalException,
428 com.liferay.portal.kernel.exception.SystemException {
429 _mbMessageLocalService.addMessageResources(messageId, groupPermissions,
430 guestPermissions);
431 }
432
433 @Override
434 public void addMessageResources(
435 com.liferay.portlet.messageboards.model.MBMessage message,
436 boolean addGroupPermissions, boolean addGuestPermissions)
437 throws com.liferay.portal.kernel.exception.PortalException,
438 com.liferay.portal.kernel.exception.SystemException {
439 _mbMessageLocalService.addMessageResources(message,
440 addGroupPermissions, addGuestPermissions);
441 }
442
443 @Override
444 public void addMessageResources(
445 com.liferay.portlet.messageboards.model.MBMessage message,
446 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
447 throws com.liferay.portal.kernel.exception.PortalException,
448 com.liferay.portal.kernel.exception.SystemException {
449 _mbMessageLocalService.addMessageResources(message, groupPermissions,
450 guestPermissions);
451 }
452
453 @Override
454 public com.liferay.portlet.messageboards.model.MBMessage deleteDiscussionMessage(
455 long messageId)
456 throws com.liferay.portal.kernel.exception.PortalException,
457 com.liferay.portal.kernel.exception.SystemException {
458 return _mbMessageLocalService.deleteDiscussionMessage(messageId);
459 }
460
461 @Override
462 public void deleteDiscussionMessages(java.lang.String className,
463 long classPK)
464 throws com.liferay.portal.kernel.exception.PortalException,
465 com.liferay.portal.kernel.exception.SystemException {
466 _mbMessageLocalService.deleteDiscussionMessages(className, classPK);
467 }
468
469 @Override
470 public com.liferay.portlet.messageboards.model.MBMessage deleteMessage(
471 long messageId)
472 throws com.liferay.portal.kernel.exception.PortalException,
473 com.liferay.portal.kernel.exception.SystemException {
474 return _mbMessageLocalService.deleteMessage(messageId);
475 }
476
477 @Override
478 public com.liferay.portlet.messageboards.model.MBMessage deleteMessage(
479 com.liferay.portlet.messageboards.model.MBMessage message)
480 throws com.liferay.portal.kernel.exception.PortalException,
481 com.liferay.portal.kernel.exception.SystemException {
482 return _mbMessageLocalService.deleteMessage(message);
483 }
484
485 @Override
486 public void deleteMessageAttachment(long messageId,
487 java.lang.String fileName)
488 throws com.liferay.portal.kernel.exception.PortalException,
489 com.liferay.portal.kernel.exception.SystemException {
490 _mbMessageLocalService.deleteMessageAttachment(messageId, fileName);
491 }
492
493 @Override
494 public void deleteMessageAttachments(long messageId)
495 throws com.liferay.portal.kernel.exception.PortalException,
496 com.liferay.portal.kernel.exception.SystemException {
497 _mbMessageLocalService.deleteMessageAttachments(messageId);
498 }
499
500 @Override
501 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCategoryMessages(
502 long groupId, long categoryId, int status, int start, int end)
503 throws com.liferay.portal.kernel.exception.SystemException {
504 return _mbMessageLocalService.getCategoryMessages(groupId, categoryId,
505 status, start, end);
506 }
507
508 @Override
509 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCategoryMessages(
510 long groupId, long categoryId, int status, int start, int end,
511 com.liferay.portal.kernel.util.OrderByComparator obc)
512 throws com.liferay.portal.kernel.exception.SystemException {
513 return _mbMessageLocalService.getCategoryMessages(groupId, categoryId,
514 status, start, end, obc);
515 }
516
517 @Override
518 public int getCategoryMessagesCount(long groupId, long categoryId,
519 int status) throws com.liferay.portal.kernel.exception.SystemException {
520 return _mbMessageLocalService.getCategoryMessagesCount(groupId,
521 categoryId, status);
522 }
523
524 @Override
525 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCompanyMessages(
526 long companyId, int status, int start, int end)
527 throws com.liferay.portal.kernel.exception.SystemException {
528 return _mbMessageLocalService.getCompanyMessages(companyId, status,
529 start, end);
530 }
531
532 @Override
533 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCompanyMessages(
534 long companyId, int status, int start, int end,
535 com.liferay.portal.kernel.util.OrderByComparator obc)
536 throws com.liferay.portal.kernel.exception.SystemException {
537 return _mbMessageLocalService.getCompanyMessages(companyId, status,
538 start, end, obc);
539 }
540
541 @Override
542 public int getCompanyMessagesCount(long companyId, int status)
543 throws com.liferay.portal.kernel.exception.SystemException {
544 return _mbMessageLocalService.getCompanyMessagesCount(companyId, status);
545 }
546
547 @Override
548 public com.liferay.portlet.messageboards.model.MBMessageDisplay getDiscussionMessageDisplay(
549 long userId, long groupId, java.lang.String className, long classPK,
550 int status)
551 throws com.liferay.portal.kernel.exception.PortalException,
552 com.liferay.portal.kernel.exception.SystemException {
553 return _mbMessageLocalService.getDiscussionMessageDisplay(userId,
554 groupId, className, classPK, status);
555 }
556
557 @Override
558 public com.liferay.portlet.messageboards.model.MBMessageDisplay getDiscussionMessageDisplay(
559 long userId, long groupId, java.lang.String className, long classPK,
560 int status, java.lang.String threadView)
561 throws com.liferay.portal.kernel.exception.PortalException,
562 com.liferay.portal.kernel.exception.SystemException {
563 return _mbMessageLocalService.getDiscussionMessageDisplay(userId,
564 groupId, className, classPK, status, threadView);
565 }
566
567 @Override
568 public int getDiscussionMessagesCount(long classNameId, long classPK,
569 int status) throws com.liferay.portal.kernel.exception.SystemException {
570 return _mbMessageLocalService.getDiscussionMessagesCount(classNameId,
571 classPK, status);
572 }
573
574 @Override
575 public int getDiscussionMessagesCount(java.lang.String className,
576 long classPK, int status)
577 throws com.liferay.portal.kernel.exception.SystemException {
578 return _mbMessageLocalService.getDiscussionMessagesCount(className,
579 classPK, status);
580 }
581
582 @Override
583 public java.util.List<com.liferay.portlet.messageboards.model.MBDiscussion> getDiscussions(
584 java.lang.String className)
585 throws com.liferay.portal.kernel.exception.SystemException {
586 return _mbMessageLocalService.getDiscussions(className);
587 }
588
589 @Override
590 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
591 long groupId, int status, int start, int end)
592 throws com.liferay.portal.kernel.exception.SystemException {
593 return _mbMessageLocalService.getGroupMessages(groupId, status, start,
594 end);
595 }
596
597 @Override
598 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
599 long groupId, int status, int start, int end,
600 com.liferay.portal.kernel.util.OrderByComparator obc)
601 throws com.liferay.portal.kernel.exception.SystemException {
602 return _mbMessageLocalService.getGroupMessages(groupId, status, start,
603 end, obc);
604 }
605
606 @Override
607 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
608 long groupId, long userId, int status, int start, int end)
609 throws com.liferay.portal.kernel.exception.SystemException {
610 return _mbMessageLocalService.getGroupMessages(groupId, userId, status,
611 start, end);
612 }
613
614 @Override
615 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
616 long groupId, long userId, int status, int start, int end,
617 com.liferay.portal.kernel.util.OrderByComparator obc)
618 throws com.liferay.portal.kernel.exception.SystemException {
619 return _mbMessageLocalService.getGroupMessages(groupId, userId, status,
620 start, end, obc);
621 }
622
623 @Override
624 public int getGroupMessagesCount(long groupId, int status)
625 throws com.liferay.portal.kernel.exception.SystemException {
626 return _mbMessageLocalService.getGroupMessagesCount(groupId, status);
627 }
628
629 @Override
630 public int getGroupMessagesCount(long groupId, long userId, int status)
631 throws com.liferay.portal.kernel.exception.SystemException {
632 return _mbMessageLocalService.getGroupMessagesCount(groupId, userId,
633 status);
634 }
635
636 @Override
637 public com.liferay.portlet.messageboards.model.MBMessage getMessage(
638 long messageId)
639 throws com.liferay.portal.kernel.exception.PortalException,
640 com.liferay.portal.kernel.exception.SystemException {
641 return _mbMessageLocalService.getMessage(messageId);
642 }
643
644 @Override
645 public com.liferay.portlet.messageboards.model.MBMessageDisplay getMessageDisplay(
646 long userId, long messageId, int status, java.lang.String threadView,
647 boolean includePrevAndNext)
648 throws com.liferay.portal.kernel.exception.PortalException,
649 com.liferay.portal.kernel.exception.SystemException {
650 return _mbMessageLocalService.getMessageDisplay(userId, messageId,
651 status, threadView, includePrevAndNext);
652 }
653
654 @Override
655 public com.liferay.portlet.messageboards.model.MBMessageDisplay getMessageDisplay(
656 long userId, com.liferay.portlet.messageboards.model.MBMessage message,
657 int status, java.lang.String threadView, boolean includePrevAndNext)
658 throws com.liferay.portal.kernel.exception.PortalException,
659 com.liferay.portal.kernel.exception.SystemException {
660 return _mbMessageLocalService.getMessageDisplay(userId, message,
661 status, threadView, includePrevAndNext);
662 }
663
664 @Override
665 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getMessages(
666 java.lang.String className, long classPK, int status)
667 throws com.liferay.portal.kernel.exception.SystemException {
668 return _mbMessageLocalService.getMessages(className, classPK, status);
669 }
670
671 @Override
672 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getNoAssetMessages()
673 throws com.liferay.portal.kernel.exception.SystemException {
674 return _mbMessageLocalService.getNoAssetMessages();
675 }
676
677 @Override
678 public int getPositionInThread(long messageId)
679 throws com.liferay.portal.kernel.exception.PortalException,
680 com.liferay.portal.kernel.exception.SystemException {
681 return _mbMessageLocalService.getPositionInThread(messageId);
682 }
683
684 @Override
685 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(
686 long threadId, int status)
687 throws com.liferay.portal.kernel.exception.SystemException {
688 return _mbMessageLocalService.getThreadMessages(threadId, status);
689 }
690
691 @Override
692 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(
693 long threadId, int status,
694 java.util.Comparator<com.liferay.portlet.messageboards.model.MBMessage> comparator)
695 throws com.liferay.portal.kernel.exception.SystemException {
696 return _mbMessageLocalService.getThreadMessages(threadId, status,
697 comparator);
698 }
699
700 @Override
701 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(
702 long threadId, int status, int start, int end)
703 throws com.liferay.portal.kernel.exception.SystemException {
704 return _mbMessageLocalService.getThreadMessages(threadId, status,
705 start, end);
706 }
707
708 @Override
709 public int getThreadMessagesCount(long threadId, int status)
710 throws com.liferay.portal.kernel.exception.SystemException {
711 return _mbMessageLocalService.getThreadMessagesCount(threadId, status);
712 }
713
714 @Override
715 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadRepliesMessages(
716 long threadId, int status, int start, int end)
717 throws com.liferay.portal.kernel.exception.SystemException {
718 return _mbMessageLocalService.getThreadRepliesMessages(threadId,
719 status, start, end);
720 }
721
722 @Override
723 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getUserDiscussionMessages(
724 long userId, long classNameId, long classPK, int status, int start,
725 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
726 throws com.liferay.portal.kernel.exception.SystemException {
727 return _mbMessageLocalService.getUserDiscussionMessages(userId,
728 classNameId, classPK, status, start, end, obc);
729 }
730
731 @Override
732 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getUserDiscussionMessages(
733 long userId, long[] classNameIds, int status, int start, int end,
734 com.liferay.portal.kernel.util.OrderByComparator obc)
735 throws com.liferay.portal.kernel.exception.SystemException {
736 return _mbMessageLocalService.getUserDiscussionMessages(userId,
737 classNameIds, status, start, end, obc);
738 }
739
740 @Override
741 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getUserDiscussionMessages(
742 long userId, java.lang.String className, long classPK, int status,
743 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
744 throws com.liferay.portal.kernel.exception.SystemException {
745 return _mbMessageLocalService.getUserDiscussionMessages(userId,
746 className, classPK, status, start, end, obc);
747 }
748
749 @Override
750 public int getUserDiscussionMessagesCount(long userId, long classNameId,
751 long classPK, int status)
752 throws com.liferay.portal.kernel.exception.SystemException {
753 return _mbMessageLocalService.getUserDiscussionMessagesCount(userId,
754 classNameId, classPK, status);
755 }
756
757 @Override
758 public int getUserDiscussionMessagesCount(long userId, long[] classNameIds,
759 int status) throws com.liferay.portal.kernel.exception.SystemException {
760 return _mbMessageLocalService.getUserDiscussionMessagesCount(userId,
761 classNameIds, status);
762 }
763
764 @Override
765 public int getUserDiscussionMessagesCount(long userId,
766 java.lang.String className, long classPK, int status)
767 throws com.liferay.portal.kernel.exception.SystemException {
768 return _mbMessageLocalService.getUserDiscussionMessagesCount(userId,
769 className, classPK, status);
770 }
771
772 @Override
773 public void moveDiscussionToTrash(java.lang.String className, long classPK)
774 throws com.liferay.portal.kernel.exception.SystemException {
775 _mbMessageLocalService.moveDiscussionToTrash(className, classPK);
776 }
777
778 @Override
779 public long moveMessageAttachmentToTrash(long userId, long messageId,
780 java.lang.String fileName)
781 throws com.liferay.portal.kernel.exception.PortalException,
782 com.liferay.portal.kernel.exception.SystemException {
783 return _mbMessageLocalService.moveMessageAttachmentToTrash(userId,
784 messageId, fileName);
785 }
786
787 @Override
788 public void restoreDiscussionFromTrash(java.lang.String className,
789 long classPK)
790 throws com.liferay.portal.kernel.exception.SystemException {
791 _mbMessageLocalService.restoreDiscussionFromTrash(className, classPK);
792 }
793
794 @Override
795 public void restoreMessageAttachmentFromTrash(long userId, long messageId,
796 java.lang.String deletedFileName)
797 throws com.liferay.portal.kernel.exception.PortalException,
798 com.liferay.portal.kernel.exception.SystemException {
799 _mbMessageLocalService.restoreMessageAttachmentFromTrash(userId,
800 messageId, deletedFileName);
801 }
802
803 @Override
804 public void subscribeMessage(long userId, long messageId)
805 throws com.liferay.portal.kernel.exception.PortalException,
806 com.liferay.portal.kernel.exception.SystemException {
807 _mbMessageLocalService.subscribeMessage(userId, messageId);
808 }
809
810 @Override
811 public void unsubscribeMessage(long userId, long messageId)
812 throws com.liferay.portal.kernel.exception.PortalException,
813 com.liferay.portal.kernel.exception.SystemException {
814 _mbMessageLocalService.unsubscribeMessage(userId, messageId);
815 }
816
817 @Override
818 public void updateAnswer(long messageId, boolean answer, boolean cascade)
819 throws com.liferay.portal.kernel.exception.PortalException,
820 com.liferay.portal.kernel.exception.SystemException {
821 _mbMessageLocalService.updateAnswer(messageId, answer, cascade);
822 }
823
824 @Override
825 public void updateAnswer(
826 com.liferay.portlet.messageboards.model.MBMessage message,
827 boolean answer, boolean cascade)
828 throws com.liferay.portal.kernel.exception.PortalException,
829 com.liferay.portal.kernel.exception.SystemException {
830 _mbMessageLocalService.updateAnswer(message, answer, cascade);
831 }
832
833 @Override
834 public void updateAsset(long userId,
835 com.liferay.portlet.messageboards.model.MBMessage message,
836 long[] assetCategoryIds, java.lang.String[] assetTagNames,
837 long[] assetLinkEntryIds)
838 throws com.liferay.portal.kernel.exception.PortalException,
839 com.liferay.portal.kernel.exception.SystemException {
840 _mbMessageLocalService.updateAsset(userId, message, assetCategoryIds,
841 assetTagNames, assetLinkEntryIds);
842 }
843
844 @Override
845 public com.liferay.portlet.messageboards.model.MBMessage updateDiscussionMessage(
846 long userId, long messageId, java.lang.String className, long classPK,
847 java.lang.String subject, java.lang.String body,
848 com.liferay.portal.service.ServiceContext serviceContext)
849 throws com.liferay.portal.kernel.exception.PortalException,
850 com.liferay.portal.kernel.exception.SystemException {
851 return _mbMessageLocalService.updateDiscussionMessage(userId,
852 messageId, className, classPK, subject, body, serviceContext);
853 }
854
855 @Override
856 public com.liferay.portlet.messageboards.model.MBMessage updateMessage(
857 long userId, long messageId, java.lang.String subject,
858 java.lang.String body,
859 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs,
860 java.util.List<java.lang.String> existingFiles, double priority,
861 boolean allowPingbacks,
862 com.liferay.portal.service.ServiceContext serviceContext)
863 throws com.liferay.portal.kernel.exception.PortalException,
864 com.liferay.portal.kernel.exception.SystemException {
865 return _mbMessageLocalService.updateMessage(userId, messageId, subject,
866 body, inputStreamOVPs, existingFiles, priority, allowPingbacks,
867 serviceContext);
868 }
869
870 @Override
871 public com.liferay.portlet.messageboards.model.MBMessage updateMessage(
872 long messageId, java.lang.String body)
873 throws com.liferay.portal.kernel.exception.PortalException,
874 com.liferay.portal.kernel.exception.SystemException {
875 return _mbMessageLocalService.updateMessage(messageId, body);
876 }
877
878 @Override
879 public com.liferay.portlet.messageboards.model.MBMessage updateStatus(
880 long userId, long messageId, int status,
881 com.liferay.portal.service.ServiceContext serviceContext)
882 throws com.liferay.portal.kernel.exception.PortalException,
883 com.liferay.portal.kernel.exception.SystemException {
884 return _mbMessageLocalService.updateStatus(userId, messageId, status,
885 serviceContext);
886 }
887
888 @Override
889 public void updateUserName(long userId, java.lang.String userName)
890 throws com.liferay.portal.kernel.exception.SystemException {
891 _mbMessageLocalService.updateUserName(userId, userName);
892 }
893
894
897 public MBMessageLocalService getWrappedMBMessageLocalService() {
898 return _mbMessageLocalService;
899 }
900
901
904 public void setWrappedMBMessageLocalService(
905 MBMessageLocalService mbMessageLocalService) {
906 _mbMessageLocalService = mbMessageLocalService;
907 }
908
909 @Override
910 public MBMessageLocalService getWrappedService() {
911 return _mbMessageLocalService;
912 }
913
914 @Override
915 public void setWrappedService(MBMessageLocalService mbMessageLocalService) {
916 _mbMessageLocalService = mbMessageLocalService;
917 }
918
919 private MBMessageLocalService _mbMessageLocalService;
920 }