001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
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 to add
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 to delete
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 to delete
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 to search with
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 to search with
103            * @param start the lower bound of the range of model instances to return
104            * @param end the upper bound of the range of model instances to return (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 to search with
123            * @param start the lower bound of the range of model instances to return
124            * @param end the upper bound of the range of model instances to return (not inclusive)
125            * @param orderByComparator the comparator to order the results by
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            * Counts the number of rows that match the dynamic query.
141            *
142            * @param dynamicQuery the dynamic query to search with
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            * Gets the message-boards message with the primary key.
154            *
155            * @param messageId the primary key of the message-boards message to get
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            /**
168            * Gets the message-boards message with the UUID and group id.
169            *
170            * @param uuid the UUID of message-boards message to get
171            * @param groupId the group id of the message-boards message to get
172            * @return the message-boards message
173            * @throws PortalException if a message-boards message with the UUID and group id could not be found
174            * @throws SystemException if a system exception occurred
175            */
176            public com.liferay.portlet.messageboards.model.MBMessage getMBMessageByUuidAndGroupId(
177                    java.lang.String uuid, long groupId)
178                    throws com.liferay.portal.kernel.exception.PortalException,
179                            com.liferay.portal.kernel.exception.SystemException {
180                    return _mbMessageLocalService.getMBMessageByUuidAndGroupId(uuid, groupId);
181            }
182    
183            /**
184            * Gets a range of all the message-boards messages.
185            *
186            * <p>
187            * 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.
188            * </p>
189            *
190            * @param start the lower bound of the range of message-boards messages to return
191            * @param end the upper bound of the range of message-boards messages to return (not inclusive)
192            * @return the range of message-boards messages
193            * @throws SystemException if a system exception occurred
194            */
195            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getMBMessages(
196                    int start, int end)
197                    throws com.liferay.portal.kernel.exception.SystemException {
198                    return _mbMessageLocalService.getMBMessages(start, end);
199            }
200    
201            /**
202            * Gets the number of message-boards messages.
203            *
204            * @return the number of message-boards messages
205            * @throws SystemException if a system exception occurred
206            */
207            public int getMBMessagesCount()
208                    throws com.liferay.portal.kernel.exception.SystemException {
209                    return _mbMessageLocalService.getMBMessagesCount();
210            }
211    
212            /**
213            * Updates the message-boards message in the database. Also notifies the appropriate model listeners.
214            *
215            * @param mbMessage the message-boards message to update
216            * @return the message-boards message that was updated
217            * @throws SystemException if a system exception occurred
218            */
219            public com.liferay.portlet.messageboards.model.MBMessage updateMBMessage(
220                    com.liferay.portlet.messageboards.model.MBMessage mbMessage)
221                    throws com.liferay.portal.kernel.exception.SystemException {
222                    return _mbMessageLocalService.updateMBMessage(mbMessage);
223            }
224    
225            /**
226            * Updates the message-boards message in the database. Also notifies the appropriate model listeners.
227            *
228            * @param mbMessage the message-boards message to update
229            * @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.
230            * @return the message-boards message that was updated
231            * @throws SystemException if a system exception occurred
232            */
233            public com.liferay.portlet.messageboards.model.MBMessage updateMBMessage(
234                    com.liferay.portlet.messageboards.model.MBMessage mbMessage,
235                    boolean merge)
236                    throws com.liferay.portal.kernel.exception.SystemException {
237                    return _mbMessageLocalService.updateMBMessage(mbMessage, merge);
238            }
239    
240            public com.liferay.portlet.messageboards.model.MBMessage addDiscussionMessage(
241                    long userId, java.lang.String userName, long groupId,
242                    java.lang.String className, long classPK, int workflowAction)
243                    throws com.liferay.portal.kernel.exception.PortalException,
244                            com.liferay.portal.kernel.exception.SystemException {
245                    return _mbMessageLocalService.addDiscussionMessage(userId, userName,
246                            groupId, className, classPK, workflowAction);
247            }
248    
249            public com.liferay.portlet.messageboards.model.MBMessage addDiscussionMessage(
250                    long userId, java.lang.String userName, long groupId,
251                    java.lang.String className, long classPK, long threadId,
252                    long parentMessageId, java.lang.String subject, java.lang.String body,
253                    com.liferay.portal.service.ServiceContext serviceContext)
254                    throws com.liferay.portal.kernel.exception.PortalException,
255                            com.liferay.portal.kernel.exception.SystemException {
256                    return _mbMessageLocalService.addDiscussionMessage(userId, userName,
257                            groupId, className, classPK, threadId, parentMessageId, subject,
258                            body, serviceContext);
259            }
260    
261            public com.liferay.portlet.messageboards.model.MBMessage addMessage(
262                    long userId, java.lang.String userName, long groupId, long categoryId,
263                    long threadId, long parentMessageId, java.lang.String subject,
264                    java.lang.String body,
265                    java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, byte[]>> files,
266                    boolean anonymous, double priority, boolean allowPingbacks,
267                    com.liferay.portal.service.ServiceContext serviceContext)
268                    throws com.liferay.portal.kernel.exception.PortalException,
269                            com.liferay.portal.kernel.exception.SystemException {
270                    return _mbMessageLocalService.addMessage(userId, userName, groupId,
271                            categoryId, threadId, parentMessageId, subject, body, files,
272                            anonymous, priority, allowPingbacks, serviceContext);
273            }
274    
275            public com.liferay.portlet.messageboards.model.MBMessage addMessage(
276                    long userId, java.lang.String userName, long groupId, long categoryId,
277                    java.lang.String subject, java.lang.String body,
278                    java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, byte[]>> files,
279                    boolean anonymous, double priority, boolean allowPingbacks,
280                    com.liferay.portal.service.ServiceContext serviceContext)
281                    throws com.liferay.portal.kernel.exception.PortalException,
282                            com.liferay.portal.kernel.exception.SystemException {
283                    return _mbMessageLocalService.addMessage(userId, userName, groupId,
284                            categoryId, subject, body, files, anonymous, priority,
285                            allowPingbacks, serviceContext);
286            }
287    
288            public void addMessageResources(long messageId,
289                    boolean addCommunityPermissions, boolean addGuestPermissions)
290                    throws com.liferay.portal.kernel.exception.PortalException,
291                            com.liferay.portal.kernel.exception.SystemException {
292                    _mbMessageLocalService.addMessageResources(messageId,
293                            addCommunityPermissions, addGuestPermissions);
294            }
295    
296            public void addMessageResources(long messageId,
297                    java.lang.String[] communityPermissions,
298                    java.lang.String[] guestPermissions)
299                    throws com.liferay.portal.kernel.exception.PortalException,
300                            com.liferay.portal.kernel.exception.SystemException {
301                    _mbMessageLocalService.addMessageResources(messageId,
302                            communityPermissions, guestPermissions);
303            }
304    
305            public void addMessageResources(
306                    com.liferay.portlet.messageboards.model.MBMessage message,
307                    boolean addCommunityPermissions, boolean addGuestPermissions)
308                    throws com.liferay.portal.kernel.exception.PortalException,
309                            com.liferay.portal.kernel.exception.SystemException {
310                    _mbMessageLocalService.addMessageResources(message,
311                            addCommunityPermissions, addGuestPermissions);
312            }
313    
314            public void addMessageResources(
315                    com.liferay.portlet.messageboards.model.MBMessage message,
316                    java.lang.String[] communityPermissions,
317                    java.lang.String[] guestPermissions)
318                    throws com.liferay.portal.kernel.exception.PortalException,
319                            com.liferay.portal.kernel.exception.SystemException {
320                    _mbMessageLocalService.addMessageResources(message,
321                            communityPermissions, guestPermissions);
322            }
323    
324            public void deleteDiscussionMessage(long messageId)
325                    throws com.liferay.portal.kernel.exception.PortalException,
326                            com.liferay.portal.kernel.exception.SystemException {
327                    _mbMessageLocalService.deleteDiscussionMessage(messageId);
328            }
329    
330            public void deleteDiscussionMessages(java.lang.String className,
331                    long classPK)
332                    throws com.liferay.portal.kernel.exception.PortalException,
333                            com.liferay.portal.kernel.exception.SystemException {
334                    _mbMessageLocalService.deleteDiscussionMessages(className, classPK);
335            }
336    
337            public void deleteMessage(long messageId)
338                    throws com.liferay.portal.kernel.exception.PortalException,
339                            com.liferay.portal.kernel.exception.SystemException {
340                    _mbMessageLocalService.deleteMessage(messageId);
341            }
342    
343            public void deleteMessage(
344                    com.liferay.portlet.messageboards.model.MBMessage message)
345                    throws com.liferay.portal.kernel.exception.PortalException,
346                            com.liferay.portal.kernel.exception.SystemException {
347                    _mbMessageLocalService.deleteMessage(message);
348            }
349    
350            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCategoryMessages(
351                    long groupId, long categoryId, int status, int start, int end)
352                    throws com.liferay.portal.kernel.exception.SystemException {
353                    return _mbMessageLocalService.getCategoryMessages(groupId, categoryId,
354                            status, start, end);
355            }
356    
357            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCategoryMessages(
358                    long groupId, long categoryId, int status, int start, int end,
359                    com.liferay.portal.kernel.util.OrderByComparator obc)
360                    throws com.liferay.portal.kernel.exception.SystemException {
361                    return _mbMessageLocalService.getCategoryMessages(groupId, categoryId,
362                            status, start, end, obc);
363            }
364    
365            public int getCategoryMessagesCount(long groupId, long categoryId,
366                    int status) throws com.liferay.portal.kernel.exception.SystemException {
367                    return _mbMessageLocalService.getCategoryMessagesCount(groupId,
368                            categoryId, status);
369            }
370    
371            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCompanyMessages(
372                    long companyId, int status, int start, int end)
373                    throws com.liferay.portal.kernel.exception.SystemException {
374                    return _mbMessageLocalService.getCompanyMessages(companyId, status,
375                            start, end);
376            }
377    
378            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCompanyMessages(
379                    long companyId, int status, int start, int end,
380                    com.liferay.portal.kernel.util.OrderByComparator obc)
381                    throws com.liferay.portal.kernel.exception.SystemException {
382                    return _mbMessageLocalService.getCompanyMessages(companyId, status,
383                            start, end, obc);
384            }
385    
386            public int getCompanyMessagesCount(long companyId, int status)
387                    throws com.liferay.portal.kernel.exception.SystemException {
388                    return _mbMessageLocalService.getCompanyMessagesCount(companyId, status);
389            }
390    
391            public com.liferay.portlet.messageboards.model.MBMessageDisplay getDiscussionMessageDisplay(
392                    long userId, long groupId, java.lang.String className, long classPK,
393                    int status)
394                    throws com.liferay.portal.kernel.exception.PortalException,
395                            com.liferay.portal.kernel.exception.SystemException {
396                    return _mbMessageLocalService.getDiscussionMessageDisplay(userId,
397                            groupId, className, classPK, status);
398            }
399    
400            public com.liferay.portlet.messageboards.model.MBMessageDisplay getDiscussionMessageDisplay(
401                    long userId, long groupId, java.lang.String className, long classPK,
402                    int status, java.lang.String threadView)
403                    throws com.liferay.portal.kernel.exception.PortalException,
404                            com.liferay.portal.kernel.exception.SystemException {
405                    return _mbMessageLocalService.getDiscussionMessageDisplay(userId,
406                            groupId, className, classPK, status, threadView);
407            }
408    
409            public int getDiscussionMessagesCount(long classNameId, long classPK,
410                    int status) throws com.liferay.portal.kernel.exception.SystemException {
411                    return _mbMessageLocalService.getDiscussionMessagesCount(classNameId,
412                            classPK, status);
413            }
414    
415            public int getDiscussionMessagesCount(java.lang.String className,
416                    long classPK, int status)
417                    throws com.liferay.portal.kernel.exception.SystemException {
418                    return _mbMessageLocalService.getDiscussionMessagesCount(className,
419                            classPK, status);
420            }
421    
422            public java.util.List<com.liferay.portlet.messageboards.model.MBDiscussion> getDiscussions(
423                    java.lang.String className)
424                    throws com.liferay.portal.kernel.exception.SystemException {
425                    return _mbMessageLocalService.getDiscussions(className);
426            }
427    
428            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
429                    long groupId, int status, int start, int end)
430                    throws com.liferay.portal.kernel.exception.SystemException {
431                    return _mbMessageLocalService.getGroupMessages(groupId, status, start,
432                            end);
433            }
434    
435            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
436                    long groupId, int status, int start, int end,
437                    com.liferay.portal.kernel.util.OrderByComparator obc)
438                    throws com.liferay.portal.kernel.exception.SystemException {
439                    return _mbMessageLocalService.getGroupMessages(groupId, status, start,
440                            end, obc);
441            }
442    
443            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
444                    long groupId, long userId, int status, int start, int end)
445                    throws com.liferay.portal.kernel.exception.SystemException {
446                    return _mbMessageLocalService.getGroupMessages(groupId, userId, status,
447                            start, end);
448            }
449    
450            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
451                    long groupId, long userId, int status, int start, int end,
452                    com.liferay.portal.kernel.util.OrderByComparator obc)
453                    throws com.liferay.portal.kernel.exception.SystemException {
454                    return _mbMessageLocalService.getGroupMessages(groupId, userId, status,
455                            start, end, obc);
456            }
457    
458            public int getGroupMessagesCount(long groupId, int status)
459                    throws com.liferay.portal.kernel.exception.SystemException {
460                    return _mbMessageLocalService.getGroupMessagesCount(groupId, status);
461            }
462    
463            public int getGroupMessagesCount(long groupId, long userId, int status)
464                    throws com.liferay.portal.kernel.exception.SystemException {
465                    return _mbMessageLocalService.getGroupMessagesCount(groupId, userId,
466                            status);
467            }
468    
469            public com.liferay.portlet.messageboards.model.MBMessage getMessage(
470                    long messageId)
471                    throws com.liferay.portal.kernel.exception.PortalException,
472                            com.liferay.portal.kernel.exception.SystemException {
473                    return _mbMessageLocalService.getMessage(messageId);
474            }
475    
476            public com.liferay.portlet.messageboards.model.MBMessageDisplay getMessageDisplay(
477                    long messageId, int status, java.lang.String threadView,
478                    boolean includePrevAndNext)
479                    throws com.liferay.portal.kernel.exception.PortalException,
480                            com.liferay.portal.kernel.exception.SystemException {
481                    return _mbMessageLocalService.getMessageDisplay(messageId, status,
482                            threadView, includePrevAndNext);
483            }
484    
485            public com.liferay.portlet.messageboards.model.MBMessageDisplay getMessageDisplay(
486                    com.liferay.portlet.messageboards.model.MBMessage message, int status,
487                    java.lang.String threadView, boolean includePrevAndNext)
488                    throws com.liferay.portal.kernel.exception.PortalException,
489                            com.liferay.portal.kernel.exception.SystemException {
490                    return _mbMessageLocalService.getMessageDisplay(message, status,
491                            threadView, includePrevAndNext);
492            }
493    
494            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getMessages(
495                    java.lang.String className, long classPK, int status)
496                    throws com.liferay.portal.kernel.exception.SystemException {
497                    return _mbMessageLocalService.getMessages(className, classPK, status);
498            }
499    
500            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getNoAssetMessages()
501                    throws com.liferay.portal.kernel.exception.SystemException {
502                    return _mbMessageLocalService.getNoAssetMessages();
503            }
504    
505            public int getPositionInThread(long messageId)
506                    throws com.liferay.portal.kernel.exception.PortalException,
507                            com.liferay.portal.kernel.exception.SystemException {
508                    return _mbMessageLocalService.getPositionInThread(messageId);
509            }
510    
511            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(
512                    long threadId, int status)
513                    throws com.liferay.portal.kernel.exception.SystemException {
514                    return _mbMessageLocalService.getThreadMessages(threadId, status);
515            }
516    
517            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(
518                    long threadId, int status,
519                    java.util.Comparator<com.liferay.portlet.messageboards.model.MBMessage> comparator)
520                    throws com.liferay.portal.kernel.exception.SystemException {
521                    return _mbMessageLocalService.getThreadMessages(threadId, status,
522                            comparator);
523            }
524    
525            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(
526                    long threadId, int status, int start, int end)
527                    throws com.liferay.portal.kernel.exception.SystemException {
528                    return _mbMessageLocalService.getThreadMessages(threadId, status,
529                            start, end);
530            }
531    
532            public int getThreadMessagesCount(long threadId, int status)
533                    throws com.liferay.portal.kernel.exception.SystemException {
534                    return _mbMessageLocalService.getThreadMessagesCount(threadId, status);
535            }
536    
537            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadRepliesMessages(
538                    long threadId, int status, int start, int end)
539                    throws com.liferay.portal.kernel.exception.SystemException {
540                    return _mbMessageLocalService.getThreadRepliesMessages(threadId,
541                            status, start, end);
542            }
543    
544            public void subscribeMessage(long userId, long messageId)
545                    throws com.liferay.portal.kernel.exception.PortalException,
546                            com.liferay.portal.kernel.exception.SystemException {
547                    _mbMessageLocalService.subscribeMessage(userId, messageId);
548            }
549    
550            public void unsubscribeMessage(long userId, long messageId)
551                    throws com.liferay.portal.kernel.exception.PortalException,
552                            com.liferay.portal.kernel.exception.SystemException {
553                    _mbMessageLocalService.unsubscribeMessage(userId, messageId);
554            }
555    
556            public void updateAsset(long userId,
557                    com.liferay.portlet.messageboards.model.MBMessage message,
558                    long[] assetCategoryIds, java.lang.String[] assetTagNames)
559                    throws com.liferay.portal.kernel.exception.PortalException,
560                            com.liferay.portal.kernel.exception.SystemException {
561                    _mbMessageLocalService.updateAsset(userId, message, assetCategoryIds,
562                            assetTagNames);
563            }
564    
565            public com.liferay.portlet.messageboards.model.MBMessage updateDiscussionMessage(
566                    long userId, long messageId, java.lang.String subject,
567                    java.lang.String body, int workflowAction)
568                    throws com.liferay.portal.kernel.exception.PortalException,
569                            com.liferay.portal.kernel.exception.SystemException {
570                    return _mbMessageLocalService.updateDiscussionMessage(userId,
571                            messageId, subject, body, workflowAction);
572            }
573    
574            public com.liferay.portlet.messageboards.model.MBMessage updateMessage(
575                    long userId, long messageId, java.lang.String subject,
576                    java.lang.String body,
577                    java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, byte[]>> files,
578                    java.util.List<java.lang.String> existingFiles, double priority,
579                    boolean allowPingbacks,
580                    com.liferay.portal.service.ServiceContext serviceContext)
581                    throws com.liferay.portal.kernel.exception.PortalException,
582                            com.liferay.portal.kernel.exception.SystemException {
583                    return _mbMessageLocalService.updateMessage(userId, messageId, subject,
584                            body, files, existingFiles, priority, allowPingbacks, serviceContext);
585            }
586    
587            public com.liferay.portlet.messageboards.model.MBMessage updateMessage(
588                    long messageId, java.lang.String body)
589                    throws com.liferay.portal.kernel.exception.PortalException,
590                            com.liferay.portal.kernel.exception.SystemException {
591                    return _mbMessageLocalService.updateMessage(messageId, body);
592            }
593    
594            public com.liferay.portlet.messageboards.model.MBMessage updateStatus(
595                    long userId, long messageId, int status,
596                    com.liferay.portal.service.ServiceContext serviceContext)
597                    throws com.liferay.portal.kernel.exception.PortalException,
598                            com.liferay.portal.kernel.exception.SystemException {
599                    return _mbMessageLocalService.updateStatus(userId, messageId, status,
600                            serviceContext);
601            }
602    
603            public void updateUserName(long userId, java.lang.String userName)
604                    throws com.liferay.portal.kernel.exception.SystemException {
605                    _mbMessageLocalService.updateUserName(userId, userName);
606            }
607    
608            public MBMessageLocalService getWrappedMBMessageLocalService() {
609                    return _mbMessageLocalService;
610            }
611    
612            private MBMessageLocalService _mbMessageLocalService;
613    }