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