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
169 public static com.liferay.portlet.messageboards.model.MBMessage getMBMessage(
170 long messageId)
171 throws com.liferay.portal.kernel.exception.PortalException,
172 com.liferay.portal.kernel.exception.SystemException {
173 return getService().getMBMessage(messageId);
174 }
175
176 public static com.liferay.portal.model.PersistedModel getPersistedModel(
177 java.io.Serializable primaryKeyObj)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return getService().getPersistedModel(primaryKeyObj);
181 }
182
183
192 public static com.liferay.portlet.messageboards.model.MBMessage getMBMessageByUuidAndGroupId(
193 java.lang.String uuid, long groupId)
194 throws com.liferay.portal.kernel.exception.PortalException,
195 com.liferay.portal.kernel.exception.SystemException {
196 return getService().getMBMessageByUuidAndGroupId(uuid, groupId);
197 }
198
199
211 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getMBMessages(
212 int start, int end)
213 throws com.liferay.portal.kernel.exception.SystemException {
214 return getService().getMBMessages(start, end);
215 }
216
217
223 public static int getMBMessagesCount()
224 throws com.liferay.portal.kernel.exception.SystemException {
225 return getService().getMBMessagesCount();
226 }
227
228
235 public static com.liferay.portlet.messageboards.model.MBMessage updateMBMessage(
236 com.liferay.portlet.messageboards.model.MBMessage mbMessage)
237 throws com.liferay.portal.kernel.exception.SystemException {
238 return getService().updateMBMessage(mbMessage);
239 }
240
241
249 public static com.liferay.portlet.messageboards.model.MBMessage updateMBMessage(
250 com.liferay.portlet.messageboards.model.MBMessage mbMessage,
251 boolean merge)
252 throws com.liferay.portal.kernel.exception.SystemException {
253 return getService().updateMBMessage(mbMessage, merge);
254 }
255
256
261 public static java.lang.String getBeanIdentifier() {
262 return getService().getBeanIdentifier();
263 }
264
265
270 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
271 getService().setBeanIdentifier(beanIdentifier);
272 }
273
274 public static com.liferay.portlet.messageboards.model.MBMessage addDiscussionMessage(
275 long userId, java.lang.String userName, long groupId,
276 java.lang.String className, long classPK, int workflowAction)
277 throws com.liferay.portal.kernel.exception.PortalException,
278 com.liferay.portal.kernel.exception.SystemException {
279 return getService()
280 .addDiscussionMessage(userId, userName, groupId, className,
281 classPK, workflowAction);
282 }
283
284 public static com.liferay.portlet.messageboards.model.MBMessage addDiscussionMessage(
285 long userId, java.lang.String userName, long groupId,
286 java.lang.String className, long classPK, long threadId,
287 long parentMessageId, java.lang.String subject, java.lang.String body,
288 com.liferay.portal.service.ServiceContext serviceContext)
289 throws com.liferay.portal.kernel.exception.PortalException,
290 com.liferay.portal.kernel.exception.SystemException {
291 return getService()
292 .addDiscussionMessage(userId, userName, groupId, className,
293 classPK, threadId, parentMessageId, subject, body, serviceContext);
294 }
295
296 public static com.liferay.portlet.messageboards.model.MBMessage addMessage(
297 long userId, java.lang.String userName, long groupId, long categoryId,
298 long threadId, long parentMessageId, java.lang.String subject,
299 java.lang.String body, java.lang.String format,
300 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs,
301 boolean anonymous, double priority, boolean allowPingbacks,
302 com.liferay.portal.service.ServiceContext serviceContext)
303 throws com.liferay.portal.kernel.exception.PortalException,
304 com.liferay.portal.kernel.exception.SystemException {
305 return getService()
306 .addMessage(userId, userName, groupId, categoryId, threadId,
307 parentMessageId, subject, body, format, inputStreamOVPs, anonymous,
308 priority, allowPingbacks, serviceContext);
309 }
310
311 public static com.liferay.portlet.messageboards.model.MBMessage addMessage(
312 long userId, java.lang.String userName, long groupId, long categoryId,
313 java.lang.String subject, java.lang.String body,
314 java.lang.String format,
315 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs,
316 boolean anonymous, double priority, boolean allowPingbacks,
317 com.liferay.portal.service.ServiceContext serviceContext)
318 throws com.liferay.portal.kernel.exception.PortalException,
319 com.liferay.portal.kernel.exception.SystemException {
320 return getService()
321 .addMessage(userId, userName, groupId, categoryId, subject,
322 body, format, inputStreamOVPs, anonymous, priority, allowPingbacks,
323 serviceContext);
324 }
325
326 public static void addMessageResources(long messageId,
327 boolean addGroupPermissions, boolean addGuestPermissions)
328 throws com.liferay.portal.kernel.exception.PortalException,
329 com.liferay.portal.kernel.exception.SystemException {
330 getService()
331 .addMessageResources(messageId, addGroupPermissions,
332 addGuestPermissions);
333 }
334
335 public static void addMessageResources(long messageId,
336 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
337 throws com.liferay.portal.kernel.exception.PortalException,
338 com.liferay.portal.kernel.exception.SystemException {
339 getService()
340 .addMessageResources(messageId, groupPermissions, guestPermissions);
341 }
342
343 public static void addMessageResources(
344 com.liferay.portlet.messageboards.model.MBMessage message,
345 boolean addGroupPermissions, boolean addGuestPermissions)
346 throws com.liferay.portal.kernel.exception.PortalException,
347 com.liferay.portal.kernel.exception.SystemException {
348 getService()
349 .addMessageResources(message, addGroupPermissions,
350 addGuestPermissions);
351 }
352
353 public static void addMessageResources(
354 com.liferay.portlet.messageboards.model.MBMessage message,
355 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
356 throws com.liferay.portal.kernel.exception.PortalException,
357 com.liferay.portal.kernel.exception.SystemException {
358 getService()
359 .addMessageResources(message, groupPermissions, guestPermissions);
360 }
361
362 public static void deleteDiscussionMessage(long messageId)
363 throws com.liferay.portal.kernel.exception.PortalException,
364 com.liferay.portal.kernel.exception.SystemException {
365 getService().deleteDiscussionMessage(messageId);
366 }
367
368 public static void deleteDiscussionMessages(java.lang.String className,
369 long classPK)
370 throws com.liferay.portal.kernel.exception.PortalException,
371 com.liferay.portal.kernel.exception.SystemException {
372 getService().deleteDiscussionMessages(className, classPK);
373 }
374
375 public static void deleteMessage(long messageId)
376 throws com.liferay.portal.kernel.exception.PortalException,
377 com.liferay.portal.kernel.exception.SystemException {
378 getService().deleteMessage(messageId);
379 }
380
381 public static void deleteMessage(
382 com.liferay.portlet.messageboards.model.MBMessage message)
383 throws com.liferay.portal.kernel.exception.PortalException,
384 com.liferay.portal.kernel.exception.SystemException {
385 getService().deleteMessage(message);
386 }
387
388 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCategoryMessages(
389 long groupId, long categoryId, int status, int start, int end)
390 throws com.liferay.portal.kernel.exception.SystemException {
391 return getService()
392 .getCategoryMessages(groupId, categoryId, status, start, end);
393 }
394
395 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCategoryMessages(
396 long groupId, long categoryId, int status, int start, int end,
397 com.liferay.portal.kernel.util.OrderByComparator obc)
398 throws com.liferay.portal.kernel.exception.SystemException {
399 return getService()
400 .getCategoryMessages(groupId, categoryId, status, start,
401 end, obc);
402 }
403
404 public static int getCategoryMessagesCount(long groupId, long categoryId,
405 int status) throws com.liferay.portal.kernel.exception.SystemException {
406 return getService().getCategoryMessagesCount(groupId, categoryId, status);
407 }
408
409 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCompanyMessages(
410 long companyId, int status, int start, int end)
411 throws com.liferay.portal.kernel.exception.SystemException {
412 return getService().getCompanyMessages(companyId, status, start, end);
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 com.liferay.portal.kernel.util.OrderByComparator obc)
418 throws com.liferay.portal.kernel.exception.SystemException {
419 return getService()
420 .getCompanyMessages(companyId, status, start, end, obc);
421 }
422
423 public static int getCompanyMessagesCount(long companyId, int status)
424 throws com.liferay.portal.kernel.exception.SystemException {
425 return getService().getCompanyMessagesCount(companyId, status);
426 }
427
428 public static com.liferay.portlet.messageboards.model.MBMessageDisplay getDiscussionMessageDisplay(
429 long userId, long groupId, java.lang.String className, long classPK,
430 int status)
431 throws com.liferay.portal.kernel.exception.PortalException,
432 com.liferay.portal.kernel.exception.SystemException {
433 return getService()
434 .getDiscussionMessageDisplay(userId, groupId, className,
435 classPK, status);
436 }
437
438 public static com.liferay.portlet.messageboards.model.MBMessageDisplay getDiscussionMessageDisplay(
439 long userId, long groupId, java.lang.String className, long classPK,
440 int status, java.lang.String threadView)
441 throws com.liferay.portal.kernel.exception.PortalException,
442 com.liferay.portal.kernel.exception.SystemException {
443 return getService()
444 .getDiscussionMessageDisplay(userId, groupId, className,
445 classPK, status, threadView);
446 }
447
448 public static int getDiscussionMessagesCount(long classNameId,
449 long classPK, int status)
450 throws com.liferay.portal.kernel.exception.SystemException {
451 return getService()
452 .getDiscussionMessagesCount(classNameId, classPK, status);
453 }
454
455 public static int getDiscussionMessagesCount(java.lang.String className,
456 long classPK, int status)
457 throws com.liferay.portal.kernel.exception.SystemException {
458 return getService()
459 .getDiscussionMessagesCount(className, classPK, status);
460 }
461
462 public static java.util.List<com.liferay.portlet.messageboards.model.MBDiscussion> getDiscussions(
463 java.lang.String className)
464 throws com.liferay.portal.kernel.exception.SystemException {
465 return getService().getDiscussions(className);
466 }
467
468 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
469 long groupId, int status, int start, int end)
470 throws com.liferay.portal.kernel.exception.SystemException {
471 return getService().getGroupMessages(groupId, status, start, end);
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 com.liferay.portal.kernel.util.OrderByComparator obc)
477 throws com.liferay.portal.kernel.exception.SystemException {
478 return getService().getGroupMessages(groupId, status, start, end, obc);
479 }
480
481 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
482 long groupId, long userId, int status, int start, int end)
483 throws com.liferay.portal.kernel.exception.SystemException {
484 return getService().getGroupMessages(groupId, userId, status, start, end);
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 com.liferay.portal.kernel.util.OrderByComparator obc)
490 throws com.liferay.portal.kernel.exception.SystemException {
491 return getService()
492 .getGroupMessages(groupId, userId, status, start, end, obc);
493 }
494
495 public static int getGroupMessagesCount(long groupId, int status)
496 throws com.liferay.portal.kernel.exception.SystemException {
497 return getService().getGroupMessagesCount(groupId, status);
498 }
499
500 public static int getGroupMessagesCount(long groupId, long userId,
501 int status) throws com.liferay.portal.kernel.exception.SystemException {
502 return getService().getGroupMessagesCount(groupId, userId, status);
503 }
504
505 public static com.liferay.portlet.messageboards.model.MBMessage getMessage(
506 long messageId)
507 throws com.liferay.portal.kernel.exception.PortalException,
508 com.liferay.portal.kernel.exception.SystemException {
509 return getService().getMessage(messageId);
510 }
511
512 public static com.liferay.portlet.messageboards.model.MBMessageDisplay getMessageDisplay(
513 long userId, long messageId, int status, java.lang.String threadView,
514 boolean includePrevAndNext)
515 throws com.liferay.portal.kernel.exception.PortalException,
516 com.liferay.portal.kernel.exception.SystemException {
517 return getService()
518 .getMessageDisplay(userId, messageId, status, threadView,
519 includePrevAndNext);
520 }
521
522 public static com.liferay.portlet.messageboards.model.MBMessageDisplay getMessageDisplay(
523 long userId, com.liferay.portlet.messageboards.model.MBMessage message,
524 int status, java.lang.String threadView, boolean includePrevAndNext)
525 throws com.liferay.portal.kernel.exception.PortalException,
526 com.liferay.portal.kernel.exception.SystemException {
527 return getService()
528 .getMessageDisplay(userId, message, status, threadView,
529 includePrevAndNext);
530 }
531
532 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getMessages(
533 java.lang.String className, long classPK, int status)
534 throws com.liferay.portal.kernel.exception.SystemException {
535 return getService().getMessages(className, classPK, status);
536 }
537
538 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getNoAssetMessages()
539 throws com.liferay.portal.kernel.exception.SystemException {
540 return getService().getNoAssetMessages();
541 }
542
543 public static int getPositionInThread(long messageId)
544 throws com.liferay.portal.kernel.exception.PortalException,
545 com.liferay.portal.kernel.exception.SystemException {
546 return getService().getPositionInThread(messageId);
547 }
548
549 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(
550 long threadId, int status)
551 throws com.liferay.portal.kernel.exception.SystemException {
552 return getService().getThreadMessages(threadId, status);
553 }
554
555 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(
556 long threadId, int status,
557 java.util.Comparator<com.liferay.portlet.messageboards.model.MBMessage> comparator)
558 throws com.liferay.portal.kernel.exception.SystemException {
559 return getService().getThreadMessages(threadId, status, comparator);
560 }
561
562 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(
563 long threadId, int status, int start, int end)
564 throws com.liferay.portal.kernel.exception.SystemException {
565 return getService().getThreadMessages(threadId, status, start, end);
566 }
567
568 public static int getThreadMessagesCount(long threadId, int status)
569 throws com.liferay.portal.kernel.exception.SystemException {
570 return getService().getThreadMessagesCount(threadId, status);
571 }
572
573 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadRepliesMessages(
574 long threadId, int status, int start, int end)
575 throws com.liferay.portal.kernel.exception.SystemException {
576 return getService()
577 .getThreadRepliesMessages(threadId, status, start, end);
578 }
579
580 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getUserDiscussionMessages(
581 long userId, long classNameId, long classPK, int status, int start,
582 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
583 throws com.liferay.portal.kernel.exception.SystemException {
584 return getService()
585 .getUserDiscussionMessages(userId, classNameId, classPK,
586 status, start, end, obc);
587 }
588
589 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getUserDiscussionMessages(
590 long userId, long[] classNameIds, int status, int start, int end,
591 com.liferay.portal.kernel.util.OrderByComparator obc)
592 throws com.liferay.portal.kernel.exception.SystemException {
593 return getService()
594 .getUserDiscussionMessages(userId, classNameIds, status,
595 start, end, obc);
596 }
597
598 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getUserDiscussionMessages(
599 long userId, java.lang.String className, long classPK, int status,
600 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
601 throws com.liferay.portal.kernel.exception.SystemException {
602 return getService()
603 .getUserDiscussionMessages(userId, className, classPK,
604 status, start, end, obc);
605 }
606
607 public static int getUserDiscussionMessagesCount(long userId,
608 long classNameId, long classPK, int status)
609 throws com.liferay.portal.kernel.exception.SystemException {
610 return getService()
611 .getUserDiscussionMessagesCount(userId, classNameId,
612 classPK, status);
613 }
614
615 public static int getUserDiscussionMessagesCount(long userId,
616 long[] classNameIds, int status)
617 throws com.liferay.portal.kernel.exception.SystemException {
618 return getService()
619 .getUserDiscussionMessagesCount(userId, classNameIds, status);
620 }
621
622 public static int getUserDiscussionMessagesCount(long userId,
623 java.lang.String className, long classPK, int status)
624 throws com.liferay.portal.kernel.exception.SystemException {
625 return getService()
626 .getUserDiscussionMessagesCount(userId, className, classPK,
627 status);
628 }
629
630 public static void subscribeMessage(long userId, long messageId)
631 throws com.liferay.portal.kernel.exception.PortalException,
632 com.liferay.portal.kernel.exception.SystemException {
633 getService().subscribeMessage(userId, messageId);
634 }
635
636 public static void unsubscribeMessage(long userId, long messageId)
637 throws com.liferay.portal.kernel.exception.PortalException,
638 com.liferay.portal.kernel.exception.SystemException {
639 getService().unsubscribeMessage(userId, messageId);
640 }
641
642 public static void updateAnswer(long messageId, boolean answer,
643 boolean cascade)
644 throws com.liferay.portal.kernel.exception.PortalException,
645 com.liferay.portal.kernel.exception.SystemException {
646 getService().updateAnswer(messageId, answer, cascade);
647 }
648
649 public static void updateAnswer(
650 com.liferay.portlet.messageboards.model.MBMessage message,
651 boolean answer, boolean cascade)
652 throws com.liferay.portal.kernel.exception.PortalException,
653 com.liferay.portal.kernel.exception.SystemException {
654 getService().updateAnswer(message, answer, cascade);
655 }
656
657 public static void updateAsset(long userId,
658 com.liferay.portlet.messageboards.model.MBMessage message,
659 long[] assetCategoryIds, java.lang.String[] assetTagNames,
660 long[] assetLinkEntryIds)
661 throws com.liferay.portal.kernel.exception.PortalException,
662 com.liferay.portal.kernel.exception.SystemException {
663 getService()
664 .updateAsset(userId, message, assetCategoryIds, assetTagNames,
665 assetLinkEntryIds);
666 }
667
668 public static com.liferay.portlet.messageboards.model.MBMessage updateDiscussionMessage(
669 long userId, long messageId, java.lang.String className, long classPK,
670 java.lang.String subject, java.lang.String body,
671 com.liferay.portal.service.ServiceContext serviceContext)
672 throws com.liferay.portal.kernel.exception.PortalException,
673 com.liferay.portal.kernel.exception.SystemException {
674 return getService()
675 .updateDiscussionMessage(userId, messageId, className,
676 classPK, subject, body, serviceContext);
677 }
678
679 public static com.liferay.portlet.messageboards.model.MBMessage updateMessage(
680 long userId, long messageId, java.lang.String subject,
681 java.lang.String body,
682 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs,
683 java.util.List<java.lang.String> existingFiles, double priority,
684 boolean allowPingbacks,
685 com.liferay.portal.service.ServiceContext serviceContext)
686 throws com.liferay.portal.kernel.exception.PortalException,
687 com.liferay.portal.kernel.exception.SystemException {
688 return getService()
689 .updateMessage(userId, messageId, subject, body,
690 inputStreamOVPs, existingFiles, priority, allowPingbacks,
691 serviceContext);
692 }
693
694 public static com.liferay.portlet.messageboards.model.MBMessage updateMessage(
695 long messageId, java.lang.String body)
696 throws com.liferay.portal.kernel.exception.PortalException,
697 com.liferay.portal.kernel.exception.SystemException {
698 return getService().updateMessage(messageId, body);
699 }
700
701 public static com.liferay.portlet.messageboards.model.MBMessage updateStatus(
702 long userId, long messageId, int status,
703 com.liferay.portal.service.ServiceContext serviceContext)
704 throws com.liferay.portal.kernel.exception.PortalException,
705 com.liferay.portal.kernel.exception.SystemException {
706 return getService()
707 .updateStatus(userId, messageId, status, serviceContext);
708 }
709
710 public static void updateUserName(long userId, java.lang.String userName)
711 throws com.liferay.portal.kernel.exception.SystemException {
712 getService().updateUserName(userId, userName);
713 }
714
715 public static MBMessageLocalService getService() {
716 if (_service == null) {
717 _service = (MBMessageLocalService)PortalBeanLocatorUtil.locate(MBMessageLocalService.class.getName());
718
719 ReferenceRegistry.registerReference(MBMessageLocalServiceUtil.class,
720 "_service");
721 MethodCache.remove(MBMessageLocalService.class);
722 }
723
724 return _service;
725 }
726
727 public void setService(MBMessageLocalService service) {
728 MethodCache.remove(MBMessageLocalService.class);
729
730 _service = service;
731
732 ReferenceRegistry.registerReference(MBMessageLocalServiceUtil.class,
733 "_service");
734 MethodCache.remove(MBMessageLocalService.class);
735 }
736
737 private static MBMessageLocalService _service;
738 }