001
014
015 package com.liferay.portlet.messageboards.service;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018 import com.liferay.portal.kernel.util.MethodCache;
019 import com.liferay.portal.kernel.util.ReferenceRegistry;
020
021
034 public class MBMessageLocalServiceUtil {
035
040
041
048 public static com.liferay.portlet.messageboards.model.MBMessage addMBMessage(
049 com.liferay.portlet.messageboards.model.MBMessage mbMessage)
050 throws com.liferay.portal.kernel.exception.SystemException {
051 return getService().addMBMessage(mbMessage);
052 }
053
054
060 public static com.liferay.portlet.messageboards.model.MBMessage createMBMessage(
061 long messageId) {
062 return getService().createMBMessage(messageId);
063 }
064
065
072 public static void deleteMBMessage(long messageId)
073 throws com.liferay.portal.kernel.exception.PortalException,
074 com.liferay.portal.kernel.exception.SystemException {
075 getService().deleteMBMessage(messageId);
076 }
077
078
084 public static void deleteMBMessage(
085 com.liferay.portlet.messageboards.model.MBMessage mbMessage)
086 throws com.liferay.portal.kernel.exception.SystemException {
087 getService().deleteMBMessage(mbMessage);
088 }
089
090
097 @SuppressWarnings("rawtypes")
098 public static java.util.List dynamicQuery(
099 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
100 throws com.liferay.portal.kernel.exception.SystemException {
101 return getService().dynamicQuery(dynamicQuery);
102 }
103
104
117 @SuppressWarnings("rawtypes")
118 public static java.util.List dynamicQuery(
119 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
120 int end) throws com.liferay.portal.kernel.exception.SystemException {
121 return getService().dynamicQuery(dynamicQuery, start, end);
122 }
123
124
138 @SuppressWarnings("rawtypes")
139 public static java.util.List dynamicQuery(
140 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
141 int end,
142 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
143 throws com.liferay.portal.kernel.exception.SystemException {
144 return getService()
145 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
146 }
147
148
155 public static long dynamicQueryCount(
156 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
157 throws com.liferay.portal.kernel.exception.SystemException {
158 return getService().dynamicQueryCount(dynamicQuery);
159 }
160
161 public static com.liferay.portlet.messageboards.model.MBMessage fetchMBMessage(
162 long messageId)
163 throws com.liferay.portal.kernel.exception.SystemException {
164 return getService().fetchMBMessage(messageId);
165 }
166
167
175 public static com.liferay.portlet.messageboards.model.MBMessage getMBMessage(
176 long messageId)
177 throws com.liferay.portal.kernel.exception.PortalException,
178 com.liferay.portal.kernel.exception.SystemException {
179 return getService().getMBMessage(messageId);
180 }
181
182 public static com.liferay.portal.model.PersistedModel getPersistedModel(
183 java.io.Serializable primaryKeyObj)
184 throws com.liferay.portal.kernel.exception.PortalException,
185 com.liferay.portal.kernel.exception.SystemException {
186 return getService().getPersistedModel(primaryKeyObj);
187 }
188
189
198 public static com.liferay.portlet.messageboards.model.MBMessage getMBMessageByUuidAndGroupId(
199 java.lang.String uuid, long groupId)
200 throws com.liferay.portal.kernel.exception.PortalException,
201 com.liferay.portal.kernel.exception.SystemException {
202 return getService().getMBMessageByUuidAndGroupId(uuid, groupId);
203 }
204
205
217 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getMBMessages(
218 int start, int end)
219 throws com.liferay.portal.kernel.exception.SystemException {
220 return getService().getMBMessages(start, end);
221 }
222
223
229 public static int getMBMessagesCount()
230 throws com.liferay.portal.kernel.exception.SystemException {
231 return getService().getMBMessagesCount();
232 }
233
234
241 public static com.liferay.portlet.messageboards.model.MBMessage updateMBMessage(
242 com.liferay.portlet.messageboards.model.MBMessage mbMessage)
243 throws com.liferay.portal.kernel.exception.SystemException {
244 return getService().updateMBMessage(mbMessage);
245 }
246
247
255 public static com.liferay.portlet.messageboards.model.MBMessage updateMBMessage(
256 com.liferay.portlet.messageboards.model.MBMessage mbMessage,
257 boolean merge)
258 throws com.liferay.portal.kernel.exception.SystemException {
259 return getService().updateMBMessage(mbMessage, merge);
260 }
261
262
267 public static java.lang.String getBeanIdentifier() {
268 return getService().getBeanIdentifier();
269 }
270
271
276 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
277 getService().setBeanIdentifier(beanIdentifier);
278 }
279
280 public static com.liferay.portlet.messageboards.model.MBMessage addDiscussionMessage(
281 long userId, java.lang.String userName, long groupId,
282 java.lang.String className, long classPK, int workflowAction)
283 throws com.liferay.portal.kernel.exception.PortalException,
284 com.liferay.portal.kernel.exception.SystemException {
285 return getService()
286 .addDiscussionMessage(userId, userName, groupId, className,
287 classPK, workflowAction);
288 }
289
290 public static com.liferay.portlet.messageboards.model.MBMessage addDiscussionMessage(
291 long userId, java.lang.String userName, long groupId,
292 java.lang.String className, long classPK, long threadId,
293 long parentMessageId, java.lang.String subject, java.lang.String body,
294 com.liferay.portal.service.ServiceContext serviceContext)
295 throws com.liferay.portal.kernel.exception.PortalException,
296 com.liferay.portal.kernel.exception.SystemException {
297 return getService()
298 .addDiscussionMessage(userId, userName, groupId, className,
299 classPK, threadId, parentMessageId, subject, body, serviceContext);
300 }
301
302 public static com.liferay.portlet.messageboards.model.MBMessage addMessage(
303 long userId, java.lang.String userName, long groupId, long categoryId,
304 long threadId, long parentMessageId, java.lang.String subject,
305 java.lang.String body, java.lang.String format,
306 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs,
307 boolean anonymous, double priority, boolean allowPingbacks,
308 com.liferay.portal.service.ServiceContext serviceContext)
309 throws com.liferay.portal.kernel.exception.PortalException,
310 com.liferay.portal.kernel.exception.SystemException {
311 return getService()
312 .addMessage(userId, userName, groupId, categoryId, threadId,
313 parentMessageId, subject, body, format, inputStreamOVPs, anonymous,
314 priority, allowPingbacks, serviceContext);
315 }
316
317 public static com.liferay.portlet.messageboards.model.MBMessage addMessage(
318 long userId, java.lang.String userName, long groupId, long categoryId,
319 java.lang.String subject, java.lang.String body,
320 java.lang.String format,
321 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs,
322 boolean anonymous, double priority, boolean allowPingbacks,
323 com.liferay.portal.service.ServiceContext serviceContext)
324 throws com.liferay.portal.kernel.exception.PortalException,
325 com.liferay.portal.kernel.exception.SystemException {
326 return getService()
327 .addMessage(userId, userName, groupId, categoryId, subject,
328 body, format, inputStreamOVPs, anonymous, priority, allowPingbacks,
329 serviceContext);
330 }
331
332 public static void addMessageResources(long messageId,
333 boolean addGroupPermissions, boolean addGuestPermissions)
334 throws com.liferay.portal.kernel.exception.PortalException,
335 com.liferay.portal.kernel.exception.SystemException {
336 getService()
337 .addMessageResources(messageId, addGroupPermissions,
338 addGuestPermissions);
339 }
340
341 public static void addMessageResources(long messageId,
342 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
343 throws com.liferay.portal.kernel.exception.PortalException,
344 com.liferay.portal.kernel.exception.SystemException {
345 getService()
346 .addMessageResources(messageId, groupPermissions, guestPermissions);
347 }
348
349 public static void addMessageResources(
350 com.liferay.portlet.messageboards.model.MBMessage message,
351 boolean addGroupPermissions, boolean addGuestPermissions)
352 throws com.liferay.portal.kernel.exception.PortalException,
353 com.liferay.portal.kernel.exception.SystemException {
354 getService()
355 .addMessageResources(message, addGroupPermissions,
356 addGuestPermissions);
357 }
358
359 public static void addMessageResources(
360 com.liferay.portlet.messageboards.model.MBMessage message,
361 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
362 throws com.liferay.portal.kernel.exception.PortalException,
363 com.liferay.portal.kernel.exception.SystemException {
364 getService()
365 .addMessageResources(message, groupPermissions, guestPermissions);
366 }
367
368 public static void deleteDiscussionMessage(long messageId)
369 throws com.liferay.portal.kernel.exception.PortalException,
370 com.liferay.portal.kernel.exception.SystemException {
371 getService().deleteDiscussionMessage(messageId);
372 }
373
374 public static void deleteDiscussionMessages(java.lang.String className,
375 long classPK)
376 throws com.liferay.portal.kernel.exception.PortalException,
377 com.liferay.portal.kernel.exception.SystemException {
378 getService().deleteDiscussionMessages(className, classPK);
379 }
380
381 public static void deleteMessage(long messageId)
382 throws com.liferay.portal.kernel.exception.PortalException,
383 com.liferay.portal.kernel.exception.SystemException {
384 getService().deleteMessage(messageId);
385 }
386
387 public static void deleteMessage(
388 com.liferay.portlet.messageboards.model.MBMessage message)
389 throws com.liferay.portal.kernel.exception.PortalException,
390 com.liferay.portal.kernel.exception.SystemException {
391 getService().deleteMessage(message);
392 }
393
394 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCategoryMessages(
395 long groupId, long categoryId, int status, int start, int end)
396 throws com.liferay.portal.kernel.exception.SystemException {
397 return getService()
398 .getCategoryMessages(groupId, categoryId, status, start, end);
399 }
400
401 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCategoryMessages(
402 long groupId, long categoryId, int status, int start, int end,
403 com.liferay.portal.kernel.util.OrderByComparator obc)
404 throws com.liferay.portal.kernel.exception.SystemException {
405 return getService()
406 .getCategoryMessages(groupId, categoryId, status, start,
407 end, obc);
408 }
409
410 public static int getCategoryMessagesCount(long groupId, long categoryId,
411 int status) throws com.liferay.portal.kernel.exception.SystemException {
412 return getService().getCategoryMessagesCount(groupId, categoryId, status);
413 }
414
415 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCompanyMessages(
416 long companyId, int status, int start, int end)
417 throws com.liferay.portal.kernel.exception.SystemException {
418 return getService().getCompanyMessages(companyId, status, start, end);
419 }
420
421 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCompanyMessages(
422 long companyId, int status, int start, int end,
423 com.liferay.portal.kernel.util.OrderByComparator obc)
424 throws com.liferay.portal.kernel.exception.SystemException {
425 return getService()
426 .getCompanyMessages(companyId, status, start, end, obc);
427 }
428
429 public static int getCompanyMessagesCount(long companyId, int status)
430 throws com.liferay.portal.kernel.exception.SystemException {
431 return getService().getCompanyMessagesCount(companyId, status);
432 }
433
434 public static com.liferay.portlet.messageboards.model.MBMessageDisplay getDiscussionMessageDisplay(
435 long userId, long groupId, java.lang.String className, long classPK,
436 int status)
437 throws com.liferay.portal.kernel.exception.PortalException,
438 com.liferay.portal.kernel.exception.SystemException {
439 return getService()
440 .getDiscussionMessageDisplay(userId, groupId, className,
441 classPK, status);
442 }
443
444 public static com.liferay.portlet.messageboards.model.MBMessageDisplay getDiscussionMessageDisplay(
445 long userId, long groupId, java.lang.String className, long classPK,
446 int status, java.lang.String threadView)
447 throws com.liferay.portal.kernel.exception.PortalException,
448 com.liferay.portal.kernel.exception.SystemException {
449 return getService()
450 .getDiscussionMessageDisplay(userId, groupId, className,
451 classPK, status, threadView);
452 }
453
454 public static int getDiscussionMessagesCount(long classNameId,
455 long classPK, int status)
456 throws com.liferay.portal.kernel.exception.SystemException {
457 return getService()
458 .getDiscussionMessagesCount(classNameId, classPK, status);
459 }
460
461 public static int getDiscussionMessagesCount(java.lang.String className,
462 long classPK, int status)
463 throws com.liferay.portal.kernel.exception.SystemException {
464 return getService()
465 .getDiscussionMessagesCount(className, classPK, status);
466 }
467
468 public static java.util.List<com.liferay.portlet.messageboards.model.MBDiscussion> getDiscussions(
469 java.lang.String className)
470 throws com.liferay.portal.kernel.exception.SystemException {
471 return getService().getDiscussions(className);
472 }
473
474 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
475 long groupId, int status, int start, int end)
476 throws com.liferay.portal.kernel.exception.SystemException {
477 return getService().getGroupMessages(groupId, status, start, end);
478 }
479
480 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
481 long groupId, int status, int start, int end,
482 com.liferay.portal.kernel.util.OrderByComparator obc)
483 throws com.liferay.portal.kernel.exception.SystemException {
484 return getService().getGroupMessages(groupId, status, start, end, obc);
485 }
486
487 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
488 long groupId, long userId, int status, int start, int end)
489 throws com.liferay.portal.kernel.exception.SystemException {
490 return getService().getGroupMessages(groupId, userId, status, start, end);
491 }
492
493 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
494 long groupId, long userId, int status, int start, int end,
495 com.liferay.portal.kernel.util.OrderByComparator obc)
496 throws com.liferay.portal.kernel.exception.SystemException {
497 return getService()
498 .getGroupMessages(groupId, userId, status, start, end, obc);
499 }
500
501 public static int getGroupMessagesCount(long groupId, int status)
502 throws com.liferay.portal.kernel.exception.SystemException {
503 return getService().getGroupMessagesCount(groupId, status);
504 }
505
506 public static int getGroupMessagesCount(long groupId, long userId,
507 int status) throws com.liferay.portal.kernel.exception.SystemException {
508 return getService().getGroupMessagesCount(groupId, userId, status);
509 }
510
511 public static com.liferay.portlet.messageboards.model.MBMessage getMessage(
512 long messageId)
513 throws com.liferay.portal.kernel.exception.PortalException,
514 com.liferay.portal.kernel.exception.SystemException {
515 return getService().getMessage(messageId);
516 }
517
518 public static com.liferay.portlet.messageboards.model.MBMessageDisplay getMessageDisplay(
519 long userId, long messageId, int status, java.lang.String threadView,
520 boolean includePrevAndNext)
521 throws com.liferay.portal.kernel.exception.PortalException,
522 com.liferay.portal.kernel.exception.SystemException {
523 return getService()
524 .getMessageDisplay(userId, messageId, status, threadView,
525 includePrevAndNext);
526 }
527
528 public static com.liferay.portlet.messageboards.model.MBMessageDisplay getMessageDisplay(
529 long userId, com.liferay.portlet.messageboards.model.MBMessage message,
530 int status, java.lang.String threadView, boolean includePrevAndNext)
531 throws com.liferay.portal.kernel.exception.PortalException,
532 com.liferay.portal.kernel.exception.SystemException {
533 return getService()
534 .getMessageDisplay(userId, message, status, threadView,
535 includePrevAndNext);
536 }
537
538 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getMessages(
539 java.lang.String className, long classPK, int status)
540 throws com.liferay.portal.kernel.exception.SystemException {
541 return getService().getMessages(className, classPK, status);
542 }
543
544 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getNoAssetMessages()
545 throws com.liferay.portal.kernel.exception.SystemException {
546 return getService().getNoAssetMessages();
547 }
548
549 public static int getPositionInThread(long messageId)
550 throws com.liferay.portal.kernel.exception.PortalException,
551 com.liferay.portal.kernel.exception.SystemException {
552 return getService().getPositionInThread(messageId);
553 }
554
555 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(
556 long threadId, int status)
557 throws com.liferay.portal.kernel.exception.SystemException {
558 return getService().getThreadMessages(threadId, status);
559 }
560
561 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(
562 long threadId, int status,
563 java.util.Comparator<com.liferay.portlet.messageboards.model.MBMessage> comparator)
564 throws com.liferay.portal.kernel.exception.SystemException {
565 return getService().getThreadMessages(threadId, status, comparator);
566 }
567
568 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(
569 long threadId, int status, int start, int end)
570 throws com.liferay.portal.kernel.exception.SystemException {
571 return getService().getThreadMessages(threadId, status, start, end);
572 }
573
574 public static int getThreadMessagesCount(long threadId, int status)
575 throws com.liferay.portal.kernel.exception.SystemException {
576 return getService().getThreadMessagesCount(threadId, status);
577 }
578
579 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadRepliesMessages(
580 long threadId, int status, int start, int end)
581 throws com.liferay.portal.kernel.exception.SystemException {
582 return getService()
583 .getThreadRepliesMessages(threadId, status, start, end);
584 }
585
586 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getUserDiscussionMessages(
587 long userId, long classNameId, long classPK, int status, int start,
588 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
589 throws com.liferay.portal.kernel.exception.SystemException {
590 return getService()
591 .getUserDiscussionMessages(userId, classNameId, classPK,
592 status, start, end, obc);
593 }
594
595 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getUserDiscussionMessages(
596 long userId, long[] classNameIds, int status, int start, int end,
597 com.liferay.portal.kernel.util.OrderByComparator obc)
598 throws com.liferay.portal.kernel.exception.SystemException {
599 return getService()
600 .getUserDiscussionMessages(userId, classNameIds, status,
601 start, end, obc);
602 }
603
604 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getUserDiscussionMessages(
605 long userId, java.lang.String className, long classPK, int status,
606 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
607 throws com.liferay.portal.kernel.exception.SystemException {
608 return getService()
609 .getUserDiscussionMessages(userId, className, classPK,
610 status, start, end, obc);
611 }
612
613 public static int getUserDiscussionMessagesCount(long userId,
614 long classNameId, long classPK, int status)
615 throws com.liferay.portal.kernel.exception.SystemException {
616 return getService()
617 .getUserDiscussionMessagesCount(userId, classNameId,
618 classPK, status);
619 }
620
621 public static int getUserDiscussionMessagesCount(long userId,
622 long[] classNameIds, int status)
623 throws com.liferay.portal.kernel.exception.SystemException {
624 return getService()
625 .getUserDiscussionMessagesCount(userId, classNameIds, status);
626 }
627
628 public static int getUserDiscussionMessagesCount(long userId,
629 java.lang.String className, long classPK, int status)
630 throws com.liferay.portal.kernel.exception.SystemException {
631 return getService()
632 .getUserDiscussionMessagesCount(userId, className, classPK,
633 status);
634 }
635
636 public static void subscribeMessage(long userId, long messageId)
637 throws com.liferay.portal.kernel.exception.PortalException,
638 com.liferay.portal.kernel.exception.SystemException {
639 getService().subscribeMessage(userId, messageId);
640 }
641
642 public static void unsubscribeMessage(long userId, long messageId)
643 throws com.liferay.portal.kernel.exception.PortalException,
644 com.liferay.portal.kernel.exception.SystemException {
645 getService().unsubscribeMessage(userId, messageId);
646 }
647
648 public static void updateAnswer(long messageId, boolean answer,
649 boolean cascade)
650 throws com.liferay.portal.kernel.exception.PortalException,
651 com.liferay.portal.kernel.exception.SystemException {
652 getService().updateAnswer(messageId, answer, cascade);
653 }
654
655 public static void updateAnswer(
656 com.liferay.portlet.messageboards.model.MBMessage message,
657 boolean answer, boolean cascade)
658 throws com.liferay.portal.kernel.exception.PortalException,
659 com.liferay.portal.kernel.exception.SystemException {
660 getService().updateAnswer(message, answer, cascade);
661 }
662
663 public static void updateAsset(long userId,
664 com.liferay.portlet.messageboards.model.MBMessage message,
665 long[] assetCategoryIds, java.lang.String[] assetTagNames,
666 long[] assetLinkEntryIds)
667 throws com.liferay.portal.kernel.exception.PortalException,
668 com.liferay.portal.kernel.exception.SystemException {
669 getService()
670 .updateAsset(userId, message, assetCategoryIds, assetTagNames,
671 assetLinkEntryIds);
672 }
673
674 public static com.liferay.portlet.messageboards.model.MBMessage updateDiscussionMessage(
675 long userId, long messageId, java.lang.String className, long classPK,
676 java.lang.String subject, java.lang.String body,
677 com.liferay.portal.service.ServiceContext serviceContext)
678 throws com.liferay.portal.kernel.exception.PortalException,
679 com.liferay.portal.kernel.exception.SystemException {
680 return getService()
681 .updateDiscussionMessage(userId, messageId, className,
682 classPK, subject, body, serviceContext);
683 }
684
685 public static com.liferay.portlet.messageboards.model.MBMessage updateMessage(
686 long userId, long messageId, java.lang.String subject,
687 java.lang.String body,
688 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs,
689 java.util.List<java.lang.String> existingFiles, double priority,
690 boolean allowPingbacks,
691 com.liferay.portal.service.ServiceContext serviceContext)
692 throws com.liferay.portal.kernel.exception.PortalException,
693 com.liferay.portal.kernel.exception.SystemException {
694 return getService()
695 .updateMessage(userId, messageId, subject, body,
696 inputStreamOVPs, existingFiles, priority, allowPingbacks,
697 serviceContext);
698 }
699
700 public static com.liferay.portlet.messageboards.model.MBMessage updateMessage(
701 long messageId, java.lang.String body)
702 throws com.liferay.portal.kernel.exception.PortalException,
703 com.liferay.portal.kernel.exception.SystemException {
704 return getService().updateMessage(messageId, body);
705 }
706
707 public static com.liferay.portlet.messageboards.model.MBMessage updateStatus(
708 long userId, long messageId, int status,
709 com.liferay.portal.service.ServiceContext serviceContext)
710 throws com.liferay.portal.kernel.exception.PortalException,
711 com.liferay.portal.kernel.exception.SystemException {
712 return getService()
713 .updateStatus(userId, messageId, status, serviceContext);
714 }
715
716 public static void updateUserName(long userId, java.lang.String userName)
717 throws com.liferay.portal.kernel.exception.SystemException {
718 getService().updateUserName(userId, userName);
719 }
720
721 public static MBMessageLocalService getService() {
722 if (_service == null) {
723 _service = (MBMessageLocalService)PortalBeanLocatorUtil.locate(MBMessageLocalService.class.getName());
724
725 ReferenceRegistry.registerReference(MBMessageLocalServiceUtil.class,
726 "_service");
727 MethodCache.remove(MBMessageLocalService.class);
728 }
729
730 return _service;
731 }
732
733 public void setService(MBMessageLocalService service) {
734 MethodCache.remove(MBMessageLocalService.class);
735
736 _service = service;
737
738 ReferenceRegistry.registerReference(MBMessageLocalServiceUtil.class,
739 "_service");
740 MethodCache.remove(MBMessageLocalService.class);
741 }
742
743 private static MBMessageLocalService _service;
744 }