001
014
015 package com.liferay.portlet.messageboards.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.exception.PortalException;
020 import com.liferay.portal.kernel.exception.SystemException;
021 import com.liferay.portal.kernel.search.IndexableType;
022 import com.liferay.portal.kernel.transaction.Isolation;
023 import com.liferay.portal.kernel.transaction.Propagation;
024 import com.liferay.portal.kernel.transaction.Transactional;
025 import com.liferay.portal.service.BaseLocalService;
026 import com.liferay.portal.service.PersistedModelLocalService;
027
028
040 @ProviderType
041 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
042 PortalException.class, SystemException.class})
043 public interface MBMessageLocalService extends BaseLocalService,
044 PersistedModelLocalService {
045
050
051
058 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
059 public com.liferay.portlet.messageboards.model.MBMessage addMBMessage(
060 com.liferay.portlet.messageboards.model.MBMessage mbMessage)
061 throws com.liferay.portal.kernel.exception.SystemException;
062
063
069 public com.liferay.portlet.messageboards.model.MBMessage createMBMessage(
070 long messageId);
071
072
080 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
081 public com.liferay.portlet.messageboards.model.MBMessage deleteMBMessage(
082 long messageId)
083 throws com.liferay.portal.kernel.exception.PortalException,
084 com.liferay.portal.kernel.exception.SystemException;
085
086
093 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
094 public com.liferay.portlet.messageboards.model.MBMessage deleteMBMessage(
095 com.liferay.portlet.messageboards.model.MBMessage mbMessage)
096 throws com.liferay.portal.kernel.exception.SystemException;
097
098 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
099
100
107 @SuppressWarnings("rawtypes")
108 public java.util.List dynamicQuery(
109 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
110 throws com.liferay.portal.kernel.exception.SystemException;
111
112
125 @SuppressWarnings("rawtypes")
126 public java.util.List dynamicQuery(
127 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
128 int end) throws com.liferay.portal.kernel.exception.SystemException;
129
130
144 @SuppressWarnings("rawtypes")
145 public java.util.List dynamicQuery(
146 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
147 int end,
148 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
149 throws com.liferay.portal.kernel.exception.SystemException;
150
151
158 public long dynamicQueryCount(
159 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
160 throws com.liferay.portal.kernel.exception.SystemException;
161
162
170 public long dynamicQueryCount(
171 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
172 com.liferay.portal.kernel.dao.orm.Projection projection)
173 throws com.liferay.portal.kernel.exception.SystemException;
174
175 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
176 public com.liferay.portlet.messageboards.model.MBMessage fetchMBMessage(
177 long messageId)
178 throws com.liferay.portal.kernel.exception.SystemException;
179
180
188 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
189 public com.liferay.portlet.messageboards.model.MBMessage fetchMBMessageByUuidAndCompanyId(
190 java.lang.String uuid, long companyId)
191 throws com.liferay.portal.kernel.exception.SystemException;
192
193
201 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
202 public com.liferay.portlet.messageboards.model.MBMessage fetchMBMessageByUuidAndGroupId(
203 java.lang.String uuid, long groupId)
204 throws com.liferay.portal.kernel.exception.SystemException;
205
206
214 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
215 public com.liferay.portlet.messageboards.model.MBMessage getMBMessage(
216 long messageId)
217 throws com.liferay.portal.kernel.exception.PortalException,
218 com.liferay.portal.kernel.exception.SystemException;
219
220 @Override
221 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
222 public com.liferay.portal.model.PersistedModel getPersistedModel(
223 java.io.Serializable primaryKeyObj)
224 throws com.liferay.portal.kernel.exception.PortalException,
225 com.liferay.portal.kernel.exception.SystemException;
226
227
236 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
237 public com.liferay.portlet.messageboards.model.MBMessage getMBMessageByUuidAndCompanyId(
238 java.lang.String uuid, long companyId)
239 throws com.liferay.portal.kernel.exception.PortalException,
240 com.liferay.portal.kernel.exception.SystemException;
241
242
251 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
252 public com.liferay.portlet.messageboards.model.MBMessage getMBMessageByUuidAndGroupId(
253 java.lang.String uuid, long groupId)
254 throws com.liferay.portal.kernel.exception.PortalException,
255 com.liferay.portal.kernel.exception.SystemException;
256
257
269 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
270 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getMBMessages(
271 int start, int end)
272 throws com.liferay.portal.kernel.exception.SystemException;
273
274
280 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
281 public int getMBMessagesCount()
282 throws com.liferay.portal.kernel.exception.SystemException;
283
284
291 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
292 public com.liferay.portlet.messageboards.model.MBMessage updateMBMessage(
293 com.liferay.portlet.messageboards.model.MBMessage mbMessage)
294 throws com.liferay.portal.kernel.exception.SystemException;
295
296
301 public java.lang.String getBeanIdentifier();
302
303
308 public void setBeanIdentifier(java.lang.String beanIdentifier);
309
310 public com.liferay.portlet.messageboards.model.MBMessage addDiscussionMessage(
311 long userId, java.lang.String userName, long groupId,
312 java.lang.String className, long classPK, int workflowAction)
313 throws com.liferay.portal.kernel.exception.PortalException,
314 com.liferay.portal.kernel.exception.SystemException;
315
316 public com.liferay.portlet.messageboards.model.MBMessage addDiscussionMessage(
317 long userId, java.lang.String userName, long groupId,
318 java.lang.String className, long classPK, long threadId,
319 long parentMessageId, java.lang.String subject, java.lang.String body,
320 com.liferay.portal.service.ServiceContext serviceContext)
321 throws com.liferay.portal.kernel.exception.PortalException,
322 com.liferay.portal.kernel.exception.SystemException;
323
324 public com.liferay.portlet.messageboards.model.MBMessage addMessage(
325 long userId, java.lang.String userName, long groupId, long categoryId,
326 long threadId, long parentMessageId, java.lang.String subject,
327 java.lang.String body, java.lang.String format,
328 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs,
329 boolean anonymous, double priority, boolean allowPingbacks,
330 com.liferay.portal.service.ServiceContext serviceContext)
331 throws com.liferay.portal.kernel.exception.PortalException,
332 com.liferay.portal.kernel.exception.SystemException;
333
334 public com.liferay.portlet.messageboards.model.MBMessage addMessage(
335 long userId, java.lang.String userName, long groupId, long categoryId,
336 java.lang.String subject, java.lang.String body,
337 java.lang.String fileName, java.io.File file,
338 com.liferay.portal.service.ServiceContext serviceContext)
339 throws com.liferay.portal.kernel.exception.PortalException,
340 com.liferay.portal.kernel.exception.SystemException,
341 java.io.FileNotFoundException;
342
343 public com.liferay.portlet.messageboards.model.MBMessage addMessage(
344 long userId, java.lang.String userName, long groupId, long categoryId,
345 java.lang.String subject, java.lang.String body,
346 java.lang.String format,
347 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs,
348 boolean anonymous, double priority, boolean allowPingbacks,
349 com.liferay.portal.service.ServiceContext serviceContext)
350 throws com.liferay.portal.kernel.exception.PortalException,
351 com.liferay.portal.kernel.exception.SystemException;
352
353 public com.liferay.portlet.messageboards.model.MBMessage addMessage(
354 long userId, java.lang.String userName, long groupId, long categoryId,
355 java.lang.String subject, java.lang.String body,
356 java.lang.String format, java.lang.String fileName, java.io.File file,
357 boolean anonymous, double priority, boolean allowPingbacks,
358 com.liferay.portal.service.ServiceContext serviceContext)
359 throws com.liferay.portal.kernel.exception.PortalException,
360 com.liferay.portal.kernel.exception.SystemException,
361 java.io.FileNotFoundException;
362
363 public com.liferay.portlet.messageboards.model.MBMessage addMessage(
364 long userId, java.lang.String userName, long categoryId,
365 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
370 public void addMessageResources(long messageId,
371 boolean addGroupPermissions, boolean addGuestPermissions)
372 throws com.liferay.portal.kernel.exception.PortalException,
373 com.liferay.portal.kernel.exception.SystemException;
374
375 public void addMessageResources(long messageId,
376 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
377 throws com.liferay.portal.kernel.exception.PortalException,
378 com.liferay.portal.kernel.exception.SystemException;
379
380 public void addMessageResources(
381 com.liferay.portlet.messageboards.model.MBMessage message,
382 boolean addGroupPermissions, boolean addGuestPermissions)
383 throws com.liferay.portal.kernel.exception.PortalException,
384 com.liferay.portal.kernel.exception.SystemException;
385
386 public void addMessageResources(
387 com.liferay.portlet.messageboards.model.MBMessage message,
388 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
389 throws com.liferay.portal.kernel.exception.PortalException,
390 com.liferay.portal.kernel.exception.SystemException;
391
392 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
393 public com.liferay.portlet.messageboards.model.MBMessage deleteDiscussionMessage(
394 long messageId)
395 throws com.liferay.portal.kernel.exception.PortalException,
396 com.liferay.portal.kernel.exception.SystemException;
397
398 public void deleteDiscussionMessages(java.lang.String className,
399 long classPK)
400 throws com.liferay.portal.kernel.exception.PortalException,
401 com.liferay.portal.kernel.exception.SystemException;
402
403 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
404 public com.liferay.portlet.messageboards.model.MBMessage deleteMessage(
405 long messageId)
406 throws com.liferay.portal.kernel.exception.PortalException,
407 com.liferay.portal.kernel.exception.SystemException;
408
409 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
410 public com.liferay.portlet.messageboards.model.MBMessage deleteMessage(
411 com.liferay.portlet.messageboards.model.MBMessage message)
412 throws com.liferay.portal.kernel.exception.PortalException,
413 com.liferay.portal.kernel.exception.SystemException;
414
415 public void deleteMessageAttachment(long messageId,
416 java.lang.String fileName)
417 throws com.liferay.portal.kernel.exception.PortalException,
418 com.liferay.portal.kernel.exception.SystemException;
419
420 public void deleteMessageAttachments(long messageId)
421 throws com.liferay.portal.kernel.exception.PortalException,
422 com.liferay.portal.kernel.exception.SystemException;
423
424 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
425 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCategoryMessages(
426 long groupId, long categoryId, int status, int start, int end)
427 throws com.liferay.portal.kernel.exception.SystemException;
428
429 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
430 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCategoryMessages(
431 long groupId, long categoryId, int status, int start, int end,
432 com.liferay.portal.kernel.util.OrderByComparator obc)
433 throws com.liferay.portal.kernel.exception.SystemException;
434
435 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
436 public int getCategoryMessagesCount(long groupId, long categoryId,
437 int status) throws com.liferay.portal.kernel.exception.SystemException;
438
439 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
440 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCompanyMessages(
441 long companyId, int status, int start, int end)
442 throws com.liferay.portal.kernel.exception.SystemException;
443
444 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
445 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCompanyMessages(
446 long companyId, int status, int start, int end,
447 com.liferay.portal.kernel.util.OrderByComparator obc)
448 throws com.liferay.portal.kernel.exception.SystemException;
449
450 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
451 public int getCompanyMessagesCount(long companyId, int status)
452 throws com.liferay.portal.kernel.exception.SystemException;
453
454 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
455 public com.liferay.portlet.messageboards.model.MBMessageDisplay getDiscussionMessageDisplay(
456 long userId, long groupId, java.lang.String className, long classPK,
457 int status)
458 throws com.liferay.portal.kernel.exception.PortalException,
459 com.liferay.portal.kernel.exception.SystemException;
460
461 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
462 public com.liferay.portlet.messageboards.model.MBMessageDisplay getDiscussionMessageDisplay(
463 long userId, long groupId, java.lang.String className, long classPK,
464 int status, java.lang.String threadView)
465 throws com.liferay.portal.kernel.exception.PortalException,
466 com.liferay.portal.kernel.exception.SystemException;
467
468 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
469 public int getDiscussionMessagesCount(long classNameId, long classPK,
470 int status) throws com.liferay.portal.kernel.exception.SystemException;
471
472 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
473 public int getDiscussionMessagesCount(java.lang.String className,
474 long classPK, int status)
475 throws com.liferay.portal.kernel.exception.SystemException;
476
477 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
478 public java.util.List<com.liferay.portlet.messageboards.model.MBDiscussion> getDiscussions(
479 java.lang.String className)
480 throws com.liferay.portal.kernel.exception.SystemException;
481
482 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
483 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
484 long groupId, int status, int start, int end)
485 throws com.liferay.portal.kernel.exception.SystemException;
486
487 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
488 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
489 long groupId, int status, int start, int end,
490 com.liferay.portal.kernel.util.OrderByComparator obc)
491 throws com.liferay.portal.kernel.exception.SystemException;
492
493 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
494 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
495 long groupId, long userId, int status, int start, int end)
496 throws com.liferay.portal.kernel.exception.SystemException;
497
498 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
499 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
500 long groupId, long userId, int status, int start, int end,
501 com.liferay.portal.kernel.util.OrderByComparator obc)
502 throws com.liferay.portal.kernel.exception.SystemException;
503
504 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
505 public int getGroupMessagesCount(long groupId, int status)
506 throws com.liferay.portal.kernel.exception.SystemException;
507
508 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
509 public int getGroupMessagesCount(long groupId, long userId, int status)
510 throws com.liferay.portal.kernel.exception.SystemException;
511
512 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
513 public com.liferay.portlet.messageboards.model.MBMessage getMessage(
514 long messageId)
515 throws com.liferay.portal.kernel.exception.PortalException,
516 com.liferay.portal.kernel.exception.SystemException;
517
518 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
519 public com.liferay.portlet.messageboards.model.MBMessageDisplay getMessageDisplay(
520 long userId, long messageId, int status, java.lang.String threadView,
521 boolean includePrevAndNext)
522 throws com.liferay.portal.kernel.exception.PortalException,
523 com.liferay.portal.kernel.exception.SystemException;
524
525 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
526 public com.liferay.portlet.messageboards.model.MBMessageDisplay getMessageDisplay(
527 long userId, com.liferay.portlet.messageboards.model.MBMessage message,
528 int status, java.lang.String threadView, boolean includePrevAndNext)
529 throws com.liferay.portal.kernel.exception.PortalException,
530 com.liferay.portal.kernel.exception.SystemException;
531
532 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
533 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getMessages(
534 java.lang.String className, long classPK, int status)
535 throws com.liferay.portal.kernel.exception.SystemException;
536
537 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
538 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getNoAssetMessages()
539 throws com.liferay.portal.kernel.exception.SystemException;
540
541 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
542 public int getPositionInThread(long messageId)
543 throws com.liferay.portal.kernel.exception.PortalException,
544 com.liferay.portal.kernel.exception.SystemException;
545
546 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
547 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(
548 long threadId, int status)
549 throws com.liferay.portal.kernel.exception.SystemException;
550
551 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
552 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(
553 long threadId, int status,
554 java.util.Comparator<com.liferay.portlet.messageboards.model.MBMessage> comparator)
555 throws com.liferay.portal.kernel.exception.SystemException;
556
557 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
558 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(
559 long threadId, int status, int start, int end)
560 throws com.liferay.portal.kernel.exception.SystemException;
561
562 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
563 public int getThreadMessagesCount(long threadId, int status)
564 throws com.liferay.portal.kernel.exception.SystemException;
565
566 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
567 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadRepliesMessages(
568 long threadId, int status, int start, int end)
569 throws com.liferay.portal.kernel.exception.SystemException;
570
571 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
572 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getUserDiscussionMessages(
573 long userId, long classNameId, long classPK, int status, int start,
574 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
575 throws com.liferay.portal.kernel.exception.SystemException;
576
577 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
578 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getUserDiscussionMessages(
579 long userId, long[] classNameIds, int status, int start, int end,
580 com.liferay.portal.kernel.util.OrderByComparator obc)
581 throws com.liferay.portal.kernel.exception.SystemException;
582
583 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
584 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getUserDiscussionMessages(
585 long userId, java.lang.String className, long classPK, int status,
586 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
587 throws com.liferay.portal.kernel.exception.SystemException;
588
589 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
590 public int getUserDiscussionMessagesCount(long userId, long classNameId,
591 long classPK, int status)
592 throws com.liferay.portal.kernel.exception.SystemException;
593
594 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
595 public int getUserDiscussionMessagesCount(long userId, long[] classNameIds,
596 int status) throws com.liferay.portal.kernel.exception.SystemException;
597
598 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
599 public int getUserDiscussionMessagesCount(long userId,
600 java.lang.String className, long classPK, int status)
601 throws com.liferay.portal.kernel.exception.SystemException;
602
603 public void moveDiscussionToTrash(java.lang.String className, long classPK)
604 throws com.liferay.portal.kernel.exception.SystemException;
605
606 public long moveMessageAttachmentToTrash(long userId, long messageId,
607 java.lang.String fileName)
608 throws com.liferay.portal.kernel.exception.PortalException,
609 com.liferay.portal.kernel.exception.SystemException;
610
611 public void restoreDiscussionFromTrash(java.lang.String className,
612 long classPK)
613 throws com.liferay.portal.kernel.exception.SystemException;
614
615 public void restoreMessageAttachmentFromTrash(long userId, long messageId,
616 java.lang.String deletedFileName)
617 throws com.liferay.portal.kernel.exception.PortalException,
618 com.liferay.portal.kernel.exception.SystemException;
619
620 public void subscribeMessage(long userId, long messageId)
621 throws com.liferay.portal.kernel.exception.PortalException,
622 com.liferay.portal.kernel.exception.SystemException;
623
624 public void unsubscribeMessage(long userId, long messageId)
625 throws com.liferay.portal.kernel.exception.PortalException,
626 com.liferay.portal.kernel.exception.SystemException;
627
628 public void updateAnswer(long messageId, boolean answer, boolean cascade)
629 throws com.liferay.portal.kernel.exception.PortalException,
630 com.liferay.portal.kernel.exception.SystemException;
631
632 public void updateAnswer(
633 com.liferay.portlet.messageboards.model.MBMessage message,
634 boolean answer, boolean cascade)
635 throws com.liferay.portal.kernel.exception.PortalException,
636 com.liferay.portal.kernel.exception.SystemException;
637
638 public void updateAsset(long userId,
639 com.liferay.portlet.messageboards.model.MBMessage message,
640 long[] assetCategoryIds, java.lang.String[] assetTagNames,
641 long[] assetLinkEntryIds)
642 throws com.liferay.portal.kernel.exception.PortalException,
643 com.liferay.portal.kernel.exception.SystemException;
644
645 public com.liferay.portlet.messageboards.model.MBMessage updateDiscussionMessage(
646 long userId, long messageId, java.lang.String className, long classPK,
647 java.lang.String subject, java.lang.String body,
648 com.liferay.portal.service.ServiceContext serviceContext)
649 throws com.liferay.portal.kernel.exception.PortalException,
650 com.liferay.portal.kernel.exception.SystemException;
651
652 public com.liferay.portlet.messageboards.model.MBMessage updateMessage(
653 long userId, long messageId, java.lang.String subject,
654 java.lang.String body,
655 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs,
656 java.util.List<java.lang.String> existingFiles, double priority,
657 boolean allowPingbacks,
658 com.liferay.portal.service.ServiceContext serviceContext)
659 throws com.liferay.portal.kernel.exception.PortalException,
660 com.liferay.portal.kernel.exception.SystemException;
661
662 public com.liferay.portlet.messageboards.model.MBMessage updateMessage(
663 long messageId, java.lang.String body)
664 throws com.liferay.portal.kernel.exception.PortalException,
665 com.liferay.portal.kernel.exception.SystemException;
666
667 public com.liferay.portlet.messageboards.model.MBMessage updateStatus(
668 long userId, long messageId, int status,
669 com.liferay.portal.service.ServiceContext serviceContext)
670 throws com.liferay.portal.kernel.exception.PortalException,
671 com.liferay.portal.kernel.exception.SystemException;
672
673 public void updateUserName(long userId, java.lang.String userName)
674 throws com.liferay.portal.kernel.exception.SystemException;
675 }