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