001    /**
002     * Copyright (c) 2000-2011 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
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, java.lang.String format,
290                    java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs,
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, format,
297                            inputStreamOVPs, 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.lang.String format,
304                    java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs,
305                    boolean anonymous, double priority, boolean allowPingbacks,
306                    com.liferay.portal.service.ServiceContext serviceContext)
307                    throws com.liferay.portal.kernel.exception.PortalException,
308                            com.liferay.portal.kernel.exception.SystemException {
309                    return _mbMessageLocalService.addMessage(userId, userName, groupId,
310                            categoryId, subject, body, format, inputStreamOVPs, anonymous,
311                            priority, allowPingbacks, serviceContext);
312            }
313    
314            public void addMessageResources(long messageId,
315                    boolean addGroupPermissions, boolean addGuestPermissions)
316                    throws com.liferay.portal.kernel.exception.PortalException,
317                            com.liferay.portal.kernel.exception.SystemException {
318                    _mbMessageLocalService.addMessageResources(messageId,
319                            addGroupPermissions, addGuestPermissions);
320            }
321    
322            public void addMessageResources(long messageId,
323                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
324                    throws com.liferay.portal.kernel.exception.PortalException,
325                            com.liferay.portal.kernel.exception.SystemException {
326                    _mbMessageLocalService.addMessageResources(messageId, groupPermissions,
327                            guestPermissions);
328            }
329    
330            public void addMessageResources(
331                    com.liferay.portlet.messageboards.model.MBMessage message,
332                    boolean addGroupPermissions, boolean addGuestPermissions)
333                    throws com.liferay.portal.kernel.exception.PortalException,
334                            com.liferay.portal.kernel.exception.SystemException {
335                    _mbMessageLocalService.addMessageResources(message,
336                            addGroupPermissions, addGuestPermissions);
337            }
338    
339            public void addMessageResources(
340                    com.liferay.portlet.messageboards.model.MBMessage message,
341                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
342                    throws com.liferay.portal.kernel.exception.PortalException,
343                            com.liferay.portal.kernel.exception.SystemException {
344                    _mbMessageLocalService.addMessageResources(message, groupPermissions,
345                            guestPermissions);
346            }
347    
348            public void deleteDiscussionMessage(long messageId)
349                    throws com.liferay.portal.kernel.exception.PortalException,
350                            com.liferay.portal.kernel.exception.SystemException {
351                    _mbMessageLocalService.deleteDiscussionMessage(messageId);
352            }
353    
354            public void deleteDiscussionMessages(java.lang.String className,
355                    long classPK)
356                    throws com.liferay.portal.kernel.exception.PortalException,
357                            com.liferay.portal.kernel.exception.SystemException {
358                    _mbMessageLocalService.deleteDiscussionMessages(className, classPK);
359            }
360    
361            public void deleteMessage(long messageId)
362                    throws com.liferay.portal.kernel.exception.PortalException,
363                            com.liferay.portal.kernel.exception.SystemException {
364                    _mbMessageLocalService.deleteMessage(messageId);
365            }
366    
367            public void deleteMessage(
368                    com.liferay.portlet.messageboards.model.MBMessage message)
369                    throws com.liferay.portal.kernel.exception.PortalException,
370                            com.liferay.portal.kernel.exception.SystemException {
371                    _mbMessageLocalService.deleteMessage(message);
372            }
373    
374            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCategoryMessages(
375                    long groupId, long categoryId, int status, int start, int end)
376                    throws com.liferay.portal.kernel.exception.SystemException {
377                    return _mbMessageLocalService.getCategoryMessages(groupId, categoryId,
378                            status, start, end);
379            }
380    
381            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCategoryMessages(
382                    long groupId, long categoryId, int status, int start, int end,
383                    com.liferay.portal.kernel.util.OrderByComparator obc)
384                    throws com.liferay.portal.kernel.exception.SystemException {
385                    return _mbMessageLocalService.getCategoryMessages(groupId, categoryId,
386                            status, start, end, obc);
387            }
388    
389            public int getCategoryMessagesCount(long groupId, long categoryId,
390                    int status) throws com.liferay.portal.kernel.exception.SystemException {
391                    return _mbMessageLocalService.getCategoryMessagesCount(groupId,
392                            categoryId, status);
393            }
394    
395            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCompanyMessages(
396                    long companyId, int status, int start, int end)
397                    throws com.liferay.portal.kernel.exception.SystemException {
398                    return _mbMessageLocalService.getCompanyMessages(companyId, status,
399                            start, end);
400            }
401    
402            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCompanyMessages(
403                    long companyId, int status, int start, int end,
404                    com.liferay.portal.kernel.util.OrderByComparator obc)
405                    throws com.liferay.portal.kernel.exception.SystemException {
406                    return _mbMessageLocalService.getCompanyMessages(companyId, status,
407                            start, end, obc);
408            }
409    
410            public int getCompanyMessagesCount(long companyId, int status)
411                    throws com.liferay.portal.kernel.exception.SystemException {
412                    return _mbMessageLocalService.getCompanyMessagesCount(companyId, status);
413            }
414    
415            public com.liferay.portlet.messageboards.model.MBMessageDisplay getDiscussionMessageDisplay(
416                    long userId, long groupId, java.lang.String className, long classPK,
417                    int status)
418                    throws com.liferay.portal.kernel.exception.PortalException,
419                            com.liferay.portal.kernel.exception.SystemException {
420                    return _mbMessageLocalService.getDiscussionMessageDisplay(userId,
421                            groupId, className, classPK, status);
422            }
423    
424            public com.liferay.portlet.messageboards.model.MBMessageDisplay getDiscussionMessageDisplay(
425                    long userId, long groupId, java.lang.String className, long classPK,
426                    int status, java.lang.String threadView)
427                    throws com.liferay.portal.kernel.exception.PortalException,
428                            com.liferay.portal.kernel.exception.SystemException {
429                    return _mbMessageLocalService.getDiscussionMessageDisplay(userId,
430                            groupId, className, classPK, status, threadView);
431            }
432    
433            public int getDiscussionMessagesCount(long classNameId, long classPK,
434                    int status) throws com.liferay.portal.kernel.exception.SystemException {
435                    return _mbMessageLocalService.getDiscussionMessagesCount(classNameId,
436                            classPK, status);
437            }
438    
439            public int getDiscussionMessagesCount(java.lang.String className,
440                    long classPK, int status)
441                    throws com.liferay.portal.kernel.exception.SystemException {
442                    return _mbMessageLocalService.getDiscussionMessagesCount(className,
443                            classPK, status);
444            }
445    
446            public java.util.List<com.liferay.portlet.messageboards.model.MBDiscussion> getDiscussions(
447                    java.lang.String className)
448                    throws com.liferay.portal.kernel.exception.SystemException {
449                    return _mbMessageLocalService.getDiscussions(className);
450            }
451    
452            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
453                    long groupId, int status, int start, int end)
454                    throws com.liferay.portal.kernel.exception.SystemException {
455                    return _mbMessageLocalService.getGroupMessages(groupId, status, start,
456                            end);
457            }
458    
459            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
460                    long groupId, int status, int start, int end,
461                    com.liferay.portal.kernel.util.OrderByComparator obc)
462                    throws com.liferay.portal.kernel.exception.SystemException {
463                    return _mbMessageLocalService.getGroupMessages(groupId, status, start,
464                            end, obc);
465            }
466    
467            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
468                    long groupId, long userId, int status, int start, int end)
469                    throws com.liferay.portal.kernel.exception.SystemException {
470                    return _mbMessageLocalService.getGroupMessages(groupId, userId, status,
471                            start, end);
472            }
473    
474            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
475                    long groupId, long userId, int status, int start, int end,
476                    com.liferay.portal.kernel.util.OrderByComparator obc)
477                    throws com.liferay.portal.kernel.exception.SystemException {
478                    return _mbMessageLocalService.getGroupMessages(groupId, userId, status,
479                            start, end, obc);
480            }
481    
482            public int getGroupMessagesCount(long groupId, int status)
483                    throws com.liferay.portal.kernel.exception.SystemException {
484                    return _mbMessageLocalService.getGroupMessagesCount(groupId, status);
485            }
486    
487            public int getGroupMessagesCount(long groupId, long userId, int status)
488                    throws com.liferay.portal.kernel.exception.SystemException {
489                    return _mbMessageLocalService.getGroupMessagesCount(groupId, userId,
490                            status);
491            }
492    
493            public com.liferay.portlet.messageboards.model.MBMessage getMessage(
494                    long messageId)
495                    throws com.liferay.portal.kernel.exception.PortalException,
496                            com.liferay.portal.kernel.exception.SystemException {
497                    return _mbMessageLocalService.getMessage(messageId);
498            }
499    
500            public com.liferay.portlet.messageboards.model.MBMessageDisplay getMessageDisplay(
501                    long userId, long messageId, int status, java.lang.String threadView,
502                    boolean includePrevAndNext)
503                    throws com.liferay.portal.kernel.exception.PortalException,
504                            com.liferay.portal.kernel.exception.SystemException {
505                    return _mbMessageLocalService.getMessageDisplay(userId, messageId,
506                            status, threadView, includePrevAndNext);
507            }
508    
509            public com.liferay.portlet.messageboards.model.MBMessageDisplay getMessageDisplay(
510                    long userId, com.liferay.portlet.messageboards.model.MBMessage message,
511                    int status, java.lang.String threadView, boolean includePrevAndNext)
512                    throws com.liferay.portal.kernel.exception.PortalException,
513                            com.liferay.portal.kernel.exception.SystemException {
514                    return _mbMessageLocalService.getMessageDisplay(userId, message,
515                            status, threadView, includePrevAndNext);
516            }
517    
518            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getMessages(
519                    java.lang.String className, long classPK, int status)
520                    throws com.liferay.portal.kernel.exception.SystemException {
521                    return _mbMessageLocalService.getMessages(className, classPK, status);
522            }
523    
524            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getNoAssetMessages()
525                    throws com.liferay.portal.kernel.exception.SystemException {
526                    return _mbMessageLocalService.getNoAssetMessages();
527            }
528    
529            public int getPositionInThread(long messageId)
530                    throws com.liferay.portal.kernel.exception.PortalException,
531                            com.liferay.portal.kernel.exception.SystemException {
532                    return _mbMessageLocalService.getPositionInThread(messageId);
533            }
534    
535            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(
536                    long threadId, int status)
537                    throws com.liferay.portal.kernel.exception.SystemException {
538                    return _mbMessageLocalService.getThreadMessages(threadId, status);
539            }
540    
541            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(
542                    long threadId, int status,
543                    java.util.Comparator<com.liferay.portlet.messageboards.model.MBMessage> comparator)
544                    throws com.liferay.portal.kernel.exception.SystemException {
545                    return _mbMessageLocalService.getThreadMessages(threadId, status,
546                            comparator);
547            }
548    
549            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(
550                    long threadId, int status, int start, int end)
551                    throws com.liferay.portal.kernel.exception.SystemException {
552                    return _mbMessageLocalService.getThreadMessages(threadId, status,
553                            start, end);
554            }
555    
556            public int getThreadMessagesCount(long threadId, int status)
557                    throws com.liferay.portal.kernel.exception.SystemException {
558                    return _mbMessageLocalService.getThreadMessagesCount(threadId, status);
559            }
560    
561            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadRepliesMessages(
562                    long threadId, int status, int start, int end)
563                    throws com.liferay.portal.kernel.exception.SystemException {
564                    return _mbMessageLocalService.getThreadRepliesMessages(threadId,
565                            status, start, end);
566            }
567    
568            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getUserDiscussionMessages(
569                    long userId, long classNameId, long classPK, int status, int start,
570                    int end, com.liferay.portal.kernel.util.OrderByComparator obc)
571                    throws com.liferay.portal.kernel.exception.SystemException {
572                    return _mbMessageLocalService.getUserDiscussionMessages(userId,
573                            classNameId, classPK, status, start, end, obc);
574            }
575    
576            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getUserDiscussionMessages(
577                    long userId, long[] classNameIds, int status, int start, int end,
578                    com.liferay.portal.kernel.util.OrderByComparator obc)
579                    throws com.liferay.portal.kernel.exception.SystemException {
580                    return _mbMessageLocalService.getUserDiscussionMessages(userId,
581                            classNameIds, status, start, end, obc);
582            }
583    
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                    return _mbMessageLocalService.getUserDiscussionMessages(userId,
589                            className, classPK, status, start, end, obc);
590            }
591    
592            public int getUserDiscussionMessagesCount(long userId, long classNameId,
593                    long classPK, int status)
594                    throws com.liferay.portal.kernel.exception.SystemException {
595                    return _mbMessageLocalService.getUserDiscussionMessagesCount(userId,
596                            classNameId, classPK, status);
597            }
598    
599            public int getUserDiscussionMessagesCount(long userId, long[] classNameIds,
600                    int status) throws com.liferay.portal.kernel.exception.SystemException {
601                    return _mbMessageLocalService.getUserDiscussionMessagesCount(userId,
602                            classNameIds, status);
603            }
604    
605            public int getUserDiscussionMessagesCount(long userId,
606                    java.lang.String className, long classPK, int status)
607                    throws com.liferay.portal.kernel.exception.SystemException {
608                    return _mbMessageLocalService.getUserDiscussionMessagesCount(userId,
609                            className, classPK, status);
610            }
611    
612            public void subscribeMessage(long userId, long messageId)
613                    throws com.liferay.portal.kernel.exception.PortalException,
614                            com.liferay.portal.kernel.exception.SystemException {
615                    _mbMessageLocalService.subscribeMessage(userId, messageId);
616            }
617    
618            public void unsubscribeMessage(long userId, long messageId)
619                    throws com.liferay.portal.kernel.exception.PortalException,
620                            com.liferay.portal.kernel.exception.SystemException {
621                    _mbMessageLocalService.unsubscribeMessage(userId, messageId);
622            }
623    
624            public void updateAnswer(long messageId, boolean answer, boolean cascade)
625                    throws com.liferay.portal.kernel.exception.PortalException,
626                            com.liferay.portal.kernel.exception.SystemException {
627                    _mbMessageLocalService.updateAnswer(messageId, answer, cascade);
628            }
629    
630            public void updateAnswer(
631                    com.liferay.portlet.messageboards.model.MBMessage message,
632                    boolean answer, boolean cascade)
633                    throws com.liferay.portal.kernel.exception.PortalException,
634                            com.liferay.portal.kernel.exception.SystemException {
635                    _mbMessageLocalService.updateAnswer(message, answer, cascade);
636            }
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                    _mbMessageLocalService.updateAsset(userId, message, assetCategoryIds,
645                            assetTagNames, assetLinkEntryIds);
646            }
647    
648            public com.liferay.portlet.messageboards.model.MBMessage updateDiscussionMessage(
649                    long userId, long messageId, java.lang.String className, long classPK,
650                    java.lang.String subject, java.lang.String body,
651                    com.liferay.portal.service.ServiceContext serviceContext)
652                    throws com.liferay.portal.kernel.exception.PortalException,
653                            com.liferay.portal.kernel.exception.SystemException {
654                    return _mbMessageLocalService.updateDiscussionMessage(userId,
655                            messageId, className, classPK, subject, body, serviceContext);
656            }
657    
658            public com.liferay.portlet.messageboards.model.MBMessage updateMessage(
659                    long userId, long messageId, java.lang.String subject,
660                    java.lang.String body,
661                    java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs,
662                    java.util.List<java.lang.String> existingFiles, double priority,
663                    boolean allowPingbacks,
664                    com.liferay.portal.service.ServiceContext serviceContext)
665                    throws com.liferay.portal.kernel.exception.PortalException,
666                            com.liferay.portal.kernel.exception.SystemException {
667                    return _mbMessageLocalService.updateMessage(userId, messageId, subject,
668                            body, inputStreamOVPs, existingFiles, priority, allowPingbacks,
669                            serviceContext);
670            }
671    
672            public com.liferay.portlet.messageboards.model.MBMessage updateMessage(
673                    long messageId, java.lang.String body)
674                    throws com.liferay.portal.kernel.exception.PortalException,
675                            com.liferay.portal.kernel.exception.SystemException {
676                    return _mbMessageLocalService.updateMessage(messageId, body);
677            }
678    
679            public com.liferay.portlet.messageboards.model.MBMessage updateStatus(
680                    long userId, long messageId, int status,
681                    com.liferay.portal.service.ServiceContext serviceContext)
682                    throws com.liferay.portal.kernel.exception.PortalException,
683                            com.liferay.portal.kernel.exception.SystemException {
684                    return _mbMessageLocalService.updateStatus(userId, messageId, status,
685                            serviceContext);
686            }
687    
688            public void updateUserName(long userId, java.lang.String userName)
689                    throws com.liferay.portal.kernel.exception.SystemException {
690                    _mbMessageLocalService.updateUserName(userId, userName);
691            }
692    
693            public MBMessageLocalService getWrappedMBMessageLocalService() {
694                    return _mbMessageLocalService;
695            }
696    
697            public void setWrappedMBMessageLocalService(
698                    MBMessageLocalService mbMessageLocalService) {
699                    _mbMessageLocalService = mbMessageLocalService;
700            }
701    
702            private MBMessageLocalService _mbMessageLocalService;
703    }