001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.messageboards.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link MBMessageLocalService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       MBMessageLocalService
024     * @generated
025     */
026    public class MBMessageLocalServiceWrapper implements MBMessageLocalService {
027            public MBMessageLocalServiceWrapper(
028                    MBMessageLocalService mbMessageLocalService) {
029                    _mbMessageLocalService = mbMessageLocalService;
030            }
031    
032            /**
033            * Adds the message-boards message to the database. Also notifies the appropriate model listeners.
034            *
035            * @param mbMessage the message-boards message
036            * @return the message-boards message that was added
037            * @throws SystemException if a system exception occurred
038            */
039            public com.liferay.portlet.messageboards.model.MBMessage addMBMessage(
040                    com.liferay.portlet.messageboards.model.MBMessage mbMessage)
041                    throws com.liferay.portal.kernel.exception.SystemException {
042                    return _mbMessageLocalService.addMBMessage(mbMessage);
043            }
044    
045            /**
046            * Creates a new message-boards message with the primary key. Does not add the message-boards message to the database.
047            *
048            * @param messageId the primary key for the new message-boards message
049            * @return the new message-boards message
050            */
051            public com.liferay.portlet.messageboards.model.MBMessage createMBMessage(
052                    long messageId) {
053                    return _mbMessageLocalService.createMBMessage(messageId);
054            }
055    
056            /**
057            * Deletes the message-boards message with the primary key from the database. Also notifies the appropriate model listeners.
058            *
059            * @param messageId the primary key of the message-boards message
060            * @throws PortalException if a message-boards message with the primary key could not be found
061            * @throws SystemException if a system exception occurred
062            */
063            public void deleteMBMessage(long messageId)
064                    throws com.liferay.portal.kernel.exception.PortalException,
065                            com.liferay.portal.kernel.exception.SystemException {
066                    _mbMessageLocalService.deleteMBMessage(messageId);
067            }
068    
069            /**
070            * Deletes the message-boards message from the database. Also notifies the appropriate model listeners.
071            *
072            * @param mbMessage the message-boards message
073            * @throws SystemException if a system exception occurred
074            */
075            public void deleteMBMessage(
076                    com.liferay.portlet.messageboards.model.MBMessage mbMessage)
077                    throws com.liferay.portal.kernel.exception.SystemException {
078                    _mbMessageLocalService.deleteMBMessage(mbMessage);
079            }
080    
081            /**
082            * Performs a dynamic query on the database and returns the matching rows.
083            *
084            * @param dynamicQuery the dynamic query
085            * @return the matching rows
086            * @throws SystemException if a system exception occurred
087            */
088            @SuppressWarnings("rawtypes")
089            public java.util.List dynamicQuery(
090                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
091                    throws com.liferay.portal.kernel.exception.SystemException {
092                    return _mbMessageLocalService.dynamicQuery(dynamicQuery);
093            }
094    
095            /**
096            * Performs a dynamic query on the database and returns a range of the matching rows.
097            *
098            * <p>
099            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
100            * </p>
101            *
102            * @param dynamicQuery the dynamic query
103            * @param start the lower bound of the range of model instances
104            * @param end the upper bound of the range of model instances (not inclusive)
105            * @return the range of matching rows
106            * @throws SystemException if a system exception occurred
107            */
108            @SuppressWarnings("rawtypes")
109            public java.util.List dynamicQuery(
110                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
111                    int end) throws com.liferay.portal.kernel.exception.SystemException {
112                    return _mbMessageLocalService.dynamicQuery(dynamicQuery, start, end);
113            }
114    
115            /**
116            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
117            *
118            * <p>
119            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
120            * </p>
121            *
122            * @param dynamicQuery the dynamic query
123            * @param start the lower bound of the range of model instances
124            * @param end the upper bound of the range of model instances (not inclusive)
125            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
126            * @return the ordered range of matching rows
127            * @throws SystemException if a system exception occurred
128            */
129            @SuppressWarnings("rawtypes")
130            public java.util.List dynamicQuery(
131                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
132                    int end,
133                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
134                    throws com.liferay.portal.kernel.exception.SystemException {
135                    return _mbMessageLocalService.dynamicQuery(dynamicQuery, start, end,
136                            orderByComparator);
137            }
138    
139            /**
140            * Returns the number of rows that match the dynamic query.
141            *
142            * @param dynamicQuery the dynamic query
143            * @return the number of rows that match the dynamic query
144            * @throws SystemException if a system exception occurred
145            */
146            public long dynamicQueryCount(
147                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
148                    throws com.liferay.portal.kernel.exception.SystemException {
149                    return _mbMessageLocalService.dynamicQueryCount(dynamicQuery);
150            }
151    
152            /**
153            * Returns the message-boards message with the primary key.
154            *
155            * @param messageId the primary key of the message-boards message
156            * @return the message-boards message
157            * @throws PortalException if a message-boards message with the primary key could not be found
158            * @throws SystemException if a system exception occurred
159            */
160            public com.liferay.portlet.messageboards.model.MBMessage getMBMessage(
161                    long messageId)
162                    throws com.liferay.portal.kernel.exception.PortalException,
163                            com.liferay.portal.kernel.exception.SystemException {
164                    return _mbMessageLocalService.getMBMessage(messageId);
165            }
166    
167            public com.liferay.portal.model.PersistedModel getPersistedModel(
168                    java.io.Serializable primaryKeyObj)
169                    throws com.liferay.portal.kernel.exception.PortalException,
170                            com.liferay.portal.kernel.exception.SystemException {
171                    return _mbMessageLocalService.getPersistedModel(primaryKeyObj);
172            }
173    
174            /**
175            * Returns the message-boards message with the UUID in the group.
176            *
177            * @param uuid the UUID of message-boards message
178            * @param groupId the group id of the message-boards message
179            * @return the message-boards message
180            * @throws PortalException if a message-boards message with the UUID in the group could not be found
181            * @throws SystemException if a system exception occurred
182            */
183            public com.liferay.portlet.messageboards.model.MBMessage getMBMessageByUuidAndGroupId(
184                    java.lang.String uuid, long groupId)
185                    throws com.liferay.portal.kernel.exception.PortalException,
186                            com.liferay.portal.kernel.exception.SystemException {
187                    return _mbMessageLocalService.getMBMessageByUuidAndGroupId(uuid, groupId);
188            }
189    
190            /**
191            * Returns a range of all the message-boards messages.
192            *
193            * <p>
194            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
195            * </p>
196            *
197            * @param start the lower bound of the range of message-boards messages
198            * @param end the upper bound of the range of message-boards messages (not inclusive)
199            * @return the range of message-boards messages
200            * @throws SystemException if a system exception occurred
201            */
202            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getMBMessages(
203                    int start, int end)
204                    throws com.liferay.portal.kernel.exception.SystemException {
205                    return _mbMessageLocalService.getMBMessages(start, end);
206            }
207    
208            /**
209            * Returns the number of message-boards messages.
210            *
211            * @return the number of message-boards messages
212            * @throws SystemException if a system exception occurred
213            */
214            public int getMBMessagesCount()
215                    throws com.liferay.portal.kernel.exception.SystemException {
216                    return _mbMessageLocalService.getMBMessagesCount();
217            }
218    
219            /**
220            * Updates the message-boards message in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
221            *
222            * @param mbMessage the message-boards message
223            * @return the message-boards message that was updated
224            * @throws SystemException if a system exception occurred
225            */
226            public com.liferay.portlet.messageboards.model.MBMessage updateMBMessage(
227                    com.liferay.portlet.messageboards.model.MBMessage mbMessage)
228                    throws com.liferay.portal.kernel.exception.SystemException {
229                    return _mbMessageLocalService.updateMBMessage(mbMessage);
230            }
231    
232            /**
233            * Updates the message-boards message in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
234            *
235            * @param mbMessage the message-boards message
236            * @param merge whether to merge the message-boards message with the current session. See {@link com.liferay.portal.service.persistence.BatchSession#update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)} for an explanation.
237            * @return the message-boards message that was updated
238            * @throws SystemException if a system exception occurred
239            */
240            public com.liferay.portlet.messageboards.model.MBMessage updateMBMessage(
241                    com.liferay.portlet.messageboards.model.MBMessage mbMessage,
242                    boolean merge)
243                    throws com.liferay.portal.kernel.exception.SystemException {
244                    return _mbMessageLocalService.updateMBMessage(mbMessage, merge);
245            }
246    
247            /**
248            * Returns the Spring bean ID for this bean.
249            *
250            * @return the Spring bean ID for this bean
251            */
252            public java.lang.String getBeanIdentifier() {
253                    return _mbMessageLocalService.getBeanIdentifier();
254            }
255    
256            /**
257            * Sets the Spring bean ID for this bean.
258            *
259            * @param beanIdentifier the Spring bean ID for this bean
260            */
261            public void setBeanIdentifier(java.lang.String beanIdentifier) {
262                    _mbMessageLocalService.setBeanIdentifier(beanIdentifier);
263            }
264    
265            public com.liferay.portlet.messageboards.model.MBMessage addDiscussionMessage(
266                    long userId, java.lang.String userName, long groupId,
267                    java.lang.String className, long classPK, int workflowAction)
268                    throws com.liferay.portal.kernel.exception.PortalException,
269                            com.liferay.portal.kernel.exception.SystemException {
270                    return _mbMessageLocalService.addDiscussionMessage(userId, userName,
271                            groupId, className, classPK, workflowAction);
272            }
273    
274            public com.liferay.portlet.messageboards.model.MBMessage addDiscussionMessage(
275                    long userId, java.lang.String userName, long groupId,
276                    java.lang.String className, long classPK, long threadId,
277                    long parentMessageId, java.lang.String subject, java.lang.String body,
278                    com.liferay.portal.service.ServiceContext serviceContext)
279                    throws com.liferay.portal.kernel.exception.PortalException,
280                            com.liferay.portal.kernel.exception.SystemException {
281                    return _mbMessageLocalService.addDiscussionMessage(userId, userName,
282                            groupId, className, classPK, threadId, parentMessageId, subject,
283                            body, serviceContext);
284            }
285    
286            public com.liferay.portlet.messageboards.model.MBMessage addMessage(
287                    long userId, java.lang.String userName, long groupId, long categoryId,
288                    long threadId, long parentMessageId, java.lang.String subject,
289                    java.lang.String body,
290                    java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, byte[]>> files,
291                    boolean anonymous, double priority, boolean allowPingbacks,
292                    com.liferay.portal.service.ServiceContext serviceContext)
293                    throws com.liferay.portal.kernel.exception.PortalException,
294                            com.liferay.portal.kernel.exception.SystemException {
295                    return _mbMessageLocalService.addMessage(userId, userName, groupId,
296                            categoryId, threadId, parentMessageId, subject, body, files,
297                            anonymous, priority, allowPingbacks, serviceContext);
298            }
299    
300            public com.liferay.portlet.messageboards.model.MBMessage addMessage(
301                    long userId, java.lang.String userName, long groupId, long categoryId,
302                    java.lang.String subject, java.lang.String body,
303                    java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, byte[]>> files,
304                    boolean anonymous, double priority, boolean allowPingbacks,
305                    com.liferay.portal.service.ServiceContext serviceContext)
306                    throws com.liferay.portal.kernel.exception.PortalException,
307                            com.liferay.portal.kernel.exception.SystemException {
308                    return _mbMessageLocalService.addMessage(userId, userName, groupId,
309                            categoryId, subject, body, files, anonymous, priority,
310                            allowPingbacks, serviceContext);
311            }
312    
313            public void addMessageResources(long messageId,
314                    boolean addCommunityPermissions, boolean addGuestPermissions)
315                    throws com.liferay.portal.kernel.exception.PortalException,
316                            com.liferay.portal.kernel.exception.SystemException {
317                    _mbMessageLocalService.addMessageResources(messageId,
318                            addCommunityPermissions, addGuestPermissions);
319            }
320    
321            public void addMessageResources(long messageId,
322                    java.lang.String[] communityPermissions,
323                    java.lang.String[] guestPermissions)
324                    throws com.liferay.portal.kernel.exception.PortalException,
325                            com.liferay.portal.kernel.exception.SystemException {
326                    _mbMessageLocalService.addMessageResources(messageId,
327                            communityPermissions, guestPermissions);
328            }
329    
330            public void addMessageResources(
331                    com.liferay.portlet.messageboards.model.MBMessage message,
332                    boolean addCommunityPermissions, boolean addGuestPermissions)
333                    throws com.liferay.portal.kernel.exception.PortalException,
334                            com.liferay.portal.kernel.exception.SystemException {
335                    _mbMessageLocalService.addMessageResources(message,
336                            addCommunityPermissions, addGuestPermissions);
337            }
338    
339            public void addMessageResources(
340                    com.liferay.portlet.messageboards.model.MBMessage message,
341                    java.lang.String[] communityPermissions,
342                    java.lang.String[] guestPermissions)
343                    throws com.liferay.portal.kernel.exception.PortalException,
344                            com.liferay.portal.kernel.exception.SystemException {
345                    _mbMessageLocalService.addMessageResources(message,
346                            communityPermissions, guestPermissions);
347            }
348    
349            public void deleteDiscussionMessage(long messageId)
350                    throws com.liferay.portal.kernel.exception.PortalException,
351                            com.liferay.portal.kernel.exception.SystemException {
352                    _mbMessageLocalService.deleteDiscussionMessage(messageId);
353            }
354    
355            public void deleteDiscussionMessages(java.lang.String className,
356                    long classPK)
357                    throws com.liferay.portal.kernel.exception.PortalException,
358                            com.liferay.portal.kernel.exception.SystemException {
359                    _mbMessageLocalService.deleteDiscussionMessages(className, classPK);
360            }
361    
362            public void deleteMessage(long messageId)
363                    throws com.liferay.portal.kernel.exception.PortalException,
364                            com.liferay.portal.kernel.exception.SystemException {
365                    _mbMessageLocalService.deleteMessage(messageId);
366            }
367    
368            public void deleteMessage(
369                    com.liferay.portlet.messageboards.model.MBMessage message)
370                    throws com.liferay.portal.kernel.exception.PortalException,
371                            com.liferay.portal.kernel.exception.SystemException {
372                    _mbMessageLocalService.deleteMessage(message);
373            }
374    
375            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCategoryMessages(
376                    long groupId, long categoryId, int status, int start, int end)
377                    throws com.liferay.portal.kernel.exception.SystemException {
378                    return _mbMessageLocalService.getCategoryMessages(groupId, categoryId,
379                            status, start, end);
380            }
381    
382            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCategoryMessages(
383                    long groupId, long categoryId, int status, int start, int end,
384                    com.liferay.portal.kernel.util.OrderByComparator obc)
385                    throws com.liferay.portal.kernel.exception.SystemException {
386                    return _mbMessageLocalService.getCategoryMessages(groupId, categoryId,
387                            status, start, end, obc);
388            }
389    
390            public int getCategoryMessagesCount(long groupId, long categoryId,
391                    int status) throws com.liferay.portal.kernel.exception.SystemException {
392                    return _mbMessageLocalService.getCategoryMessagesCount(groupId,
393                            categoryId, status);
394            }
395    
396            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCompanyMessages(
397                    long companyId, int status, int start, int end)
398                    throws com.liferay.portal.kernel.exception.SystemException {
399                    return _mbMessageLocalService.getCompanyMessages(companyId, status,
400                            start, end);
401            }
402    
403            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCompanyMessages(
404                    long companyId, int status, int start, int end,
405                    com.liferay.portal.kernel.util.OrderByComparator obc)
406                    throws com.liferay.portal.kernel.exception.SystemException {
407                    return _mbMessageLocalService.getCompanyMessages(companyId, status,
408                            start, end, obc);
409            }
410    
411            public int getCompanyMessagesCount(long companyId, int status)
412                    throws com.liferay.portal.kernel.exception.SystemException {
413                    return _mbMessageLocalService.getCompanyMessagesCount(companyId, status);
414            }
415    
416            public com.liferay.portlet.messageboards.model.MBMessageDisplay getDiscussionMessageDisplay(
417                    long userId, long groupId, java.lang.String className, long classPK,
418                    int status)
419                    throws com.liferay.portal.kernel.exception.PortalException,
420                            com.liferay.portal.kernel.exception.SystemException {
421                    return _mbMessageLocalService.getDiscussionMessageDisplay(userId,
422                            groupId, className, classPK, status);
423            }
424    
425            public com.liferay.portlet.messageboards.model.MBMessageDisplay getDiscussionMessageDisplay(
426                    long userId, long groupId, java.lang.String className, long classPK,
427                    int status, java.lang.String threadView)
428                    throws com.liferay.portal.kernel.exception.PortalException,
429                            com.liferay.portal.kernel.exception.SystemException {
430                    return _mbMessageLocalService.getDiscussionMessageDisplay(userId,
431                            groupId, className, classPK, status, threadView);
432            }
433    
434            public int getDiscussionMessagesCount(long classNameId, long classPK,
435                    int status) throws com.liferay.portal.kernel.exception.SystemException {
436                    return _mbMessageLocalService.getDiscussionMessagesCount(classNameId,
437                            classPK, status);
438            }
439    
440            public int getDiscussionMessagesCount(java.lang.String className,
441                    long classPK, int status)
442                    throws com.liferay.portal.kernel.exception.SystemException {
443                    return _mbMessageLocalService.getDiscussionMessagesCount(className,
444                            classPK, status);
445            }
446    
447            public java.util.List<com.liferay.portlet.messageboards.model.MBDiscussion> getDiscussions(
448                    java.lang.String className)
449                    throws com.liferay.portal.kernel.exception.SystemException {
450                    return _mbMessageLocalService.getDiscussions(className);
451            }
452    
453            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
454                    long groupId, int status, int start, int end)
455                    throws com.liferay.portal.kernel.exception.SystemException {
456                    return _mbMessageLocalService.getGroupMessages(groupId, status, start,
457                            end);
458            }
459    
460            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
461                    long groupId, int status, int start, int end,
462                    com.liferay.portal.kernel.util.OrderByComparator obc)
463                    throws com.liferay.portal.kernel.exception.SystemException {
464                    return _mbMessageLocalService.getGroupMessages(groupId, status, start,
465                            end, obc);
466            }
467    
468            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
469                    long groupId, long userId, int status, int start, int end)
470                    throws com.liferay.portal.kernel.exception.SystemException {
471                    return _mbMessageLocalService.getGroupMessages(groupId, userId, status,
472                            start, end);
473            }
474    
475            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
476                    long groupId, long userId, int status, int start, int end,
477                    com.liferay.portal.kernel.util.OrderByComparator obc)
478                    throws com.liferay.portal.kernel.exception.SystemException {
479                    return _mbMessageLocalService.getGroupMessages(groupId, userId, status,
480                            start, end, obc);
481            }
482    
483            public int getGroupMessagesCount(long groupId, int status)
484                    throws com.liferay.portal.kernel.exception.SystemException {
485                    return _mbMessageLocalService.getGroupMessagesCount(groupId, status);
486            }
487    
488            public int getGroupMessagesCount(long groupId, long userId, int status)
489                    throws com.liferay.portal.kernel.exception.SystemException {
490                    return _mbMessageLocalService.getGroupMessagesCount(groupId, userId,
491                            status);
492            }
493    
494            public com.liferay.portlet.messageboards.model.MBMessage getMessage(
495                    long messageId)
496                    throws com.liferay.portal.kernel.exception.PortalException,
497                            com.liferay.portal.kernel.exception.SystemException {
498                    return _mbMessageLocalService.getMessage(messageId);
499            }
500    
501            public com.liferay.portlet.messageboards.model.MBMessageDisplay getMessageDisplay(
502                    long messageId, int status, java.lang.String threadView,
503                    boolean includePrevAndNext)
504                    throws com.liferay.portal.kernel.exception.PortalException,
505                            com.liferay.portal.kernel.exception.SystemException {
506                    return _mbMessageLocalService.getMessageDisplay(messageId, status,
507                            threadView, includePrevAndNext);
508            }
509    
510            public com.liferay.portlet.messageboards.model.MBMessageDisplay getMessageDisplay(
511                    com.liferay.portlet.messageboards.model.MBMessage message, int status,
512                    java.lang.String threadView, boolean includePrevAndNext)
513                    throws com.liferay.portal.kernel.exception.PortalException,
514                            com.liferay.portal.kernel.exception.SystemException {
515                    return _mbMessageLocalService.getMessageDisplay(message, status,
516                            threadView, includePrevAndNext);
517            }
518    
519            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getMessages(
520                    java.lang.String className, long classPK, int status)
521                    throws com.liferay.portal.kernel.exception.SystemException {
522                    return _mbMessageLocalService.getMessages(className, classPK, status);
523            }
524    
525            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getNoAssetMessages()
526                    throws com.liferay.portal.kernel.exception.SystemException {
527                    return _mbMessageLocalService.getNoAssetMessages();
528            }
529    
530            public int getPositionInThread(long messageId)
531                    throws com.liferay.portal.kernel.exception.PortalException,
532                            com.liferay.portal.kernel.exception.SystemException {
533                    return _mbMessageLocalService.getPositionInThread(messageId);
534            }
535    
536            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(
537                    long threadId, int status)
538                    throws com.liferay.portal.kernel.exception.SystemException {
539                    return _mbMessageLocalService.getThreadMessages(threadId, status);
540            }
541    
542            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(
543                    long threadId, int status,
544                    java.util.Comparator<com.liferay.portlet.messageboards.model.MBMessage> comparator)
545                    throws com.liferay.portal.kernel.exception.SystemException {
546                    return _mbMessageLocalService.getThreadMessages(threadId, status,
547                            comparator);
548            }
549    
550            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(
551                    long threadId, int status, int start, int end)
552                    throws com.liferay.portal.kernel.exception.SystemException {
553                    return _mbMessageLocalService.getThreadMessages(threadId, status,
554                            start, end);
555            }
556    
557            public int getThreadMessagesCount(long threadId, int status)
558                    throws com.liferay.portal.kernel.exception.SystemException {
559                    return _mbMessageLocalService.getThreadMessagesCount(threadId, status);
560            }
561    
562            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadRepliesMessages(
563                    long threadId, int status, int start, int end)
564                    throws com.liferay.portal.kernel.exception.SystemException {
565                    return _mbMessageLocalService.getThreadRepliesMessages(threadId,
566                            status, start, end);
567            }
568    
569            public void subscribeMessage(long userId, long messageId)
570                    throws com.liferay.portal.kernel.exception.PortalException,
571                            com.liferay.portal.kernel.exception.SystemException {
572                    _mbMessageLocalService.subscribeMessage(userId, messageId);
573            }
574    
575            public void unsubscribeMessage(long userId, long messageId)
576                    throws com.liferay.portal.kernel.exception.PortalException,
577                            com.liferay.portal.kernel.exception.SystemException {
578                    _mbMessageLocalService.unsubscribeMessage(userId, messageId);
579            }
580    
581            public void updateAsset(long userId,
582                    com.liferay.portlet.messageboards.model.MBMessage message,
583                    long[] assetCategoryIds, java.lang.String[] assetTagNames)
584                    throws com.liferay.portal.kernel.exception.PortalException,
585                            com.liferay.portal.kernel.exception.SystemException {
586                    _mbMessageLocalService.updateAsset(userId, message, assetCategoryIds,
587                            assetTagNames);
588            }
589    
590            /**
591            * @deprecated {@link #updateDiscussionMessage(long, long, String, long,
592            String, String, ServiceContext)}
593            */
594            public com.liferay.portlet.messageboards.model.MBMessage updateDiscussionMessage(
595                    long userId, long messageId, java.lang.String className, long classPK,
596                    java.lang.String subject, java.lang.String body, int workflowAction)
597                    throws com.liferay.portal.kernel.exception.PortalException,
598                            com.liferay.portal.kernel.exception.SystemException {
599                    return _mbMessageLocalService.updateDiscussionMessage(userId,
600                            messageId, className, classPK, subject, body, workflowAction);
601            }
602    
603            public com.liferay.portlet.messageboards.model.MBMessage updateDiscussionMessage(
604                    long userId, long messageId, java.lang.String className, long classPK,
605                    java.lang.String subject, java.lang.String body,
606                    com.liferay.portal.service.ServiceContext serviceContext)
607                    throws com.liferay.portal.kernel.exception.PortalException,
608                            com.liferay.portal.kernel.exception.SystemException {
609                    return _mbMessageLocalService.updateDiscussionMessage(userId,
610                            messageId, className, classPK, subject, body, serviceContext);
611            }
612    
613            public com.liferay.portlet.messageboards.model.MBMessage updateMessage(
614                    long userId, long messageId, java.lang.String subject,
615                    java.lang.String body,
616                    java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, byte[]>> files,
617                    java.util.List<java.lang.String> existingFiles, double priority,
618                    boolean allowPingbacks,
619                    com.liferay.portal.service.ServiceContext serviceContext)
620                    throws com.liferay.portal.kernel.exception.PortalException,
621                            com.liferay.portal.kernel.exception.SystemException {
622                    return _mbMessageLocalService.updateMessage(userId, messageId, subject,
623                            body, files, existingFiles, priority, allowPingbacks, serviceContext);
624            }
625    
626            public com.liferay.portlet.messageboards.model.MBMessage updateMessage(
627                    long messageId, java.lang.String body)
628                    throws com.liferay.portal.kernel.exception.PortalException,
629                            com.liferay.portal.kernel.exception.SystemException {
630                    return _mbMessageLocalService.updateMessage(messageId, body);
631            }
632    
633            public com.liferay.portlet.messageboards.model.MBMessage updateStatus(
634                    long userId, long messageId, int status,
635                    com.liferay.portal.service.ServiceContext serviceContext)
636                    throws com.liferay.portal.kernel.exception.PortalException,
637                            com.liferay.portal.kernel.exception.SystemException {
638                    return _mbMessageLocalService.updateStatus(userId, messageId, status,
639                            serviceContext);
640            }
641    
642            public void updateUserName(long userId, java.lang.String userName)
643                    throws com.liferay.portal.kernel.exception.SystemException {
644                    _mbMessageLocalService.updateUserName(userId, userName);
645            }
646    
647            public MBMessageLocalService getWrappedMBMessageLocalService() {
648                    return _mbMessageLocalService;
649            }
650    
651            public void setWrappedMBMessageLocalService(
652                    MBMessageLocalService mbMessageLocalService) {
653                    _mbMessageLocalService = mbMessageLocalService;
654            }
655    
656            private MBMessageLocalService _mbMessageLocalService;
657    }