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            * @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            * Returns the Spring bean ID for this bean.
250            *
251            * @return the Spring bean ID for this bean
252            */
253            public java.lang.String getBeanIdentifier() {
254                    return _mbMessageLocalService.getBeanIdentifier();
255            }
256    
257            /**
258            * Sets the Spring bean ID for this bean.
259            *
260            * @param beanIdentifier the Spring bean ID for this bean
261            */
262            public void setBeanIdentifier(java.lang.String beanIdentifier) {
263                    _mbMessageLocalService.setBeanIdentifier(beanIdentifier);
264            }
265    
266            public com.liferay.portlet.messageboards.model.MBMessage addDiscussionMessage(
267                    long userId, java.lang.String userName, long groupId,
268                    java.lang.String className, long classPK, int workflowAction)
269                    throws com.liferay.portal.kernel.exception.PortalException,
270                            com.liferay.portal.kernel.exception.SystemException {
271                    return _mbMessageLocalService.addDiscussionMessage(userId, userName,
272                            groupId, className, classPK, workflowAction);
273            }
274    
275            public com.liferay.portlet.messageboards.model.MBMessage addDiscussionMessage(
276                    long userId, java.lang.String userName, long groupId,
277                    java.lang.String className, long classPK, long threadId,
278                    long parentMessageId, java.lang.String subject, java.lang.String body,
279                    com.liferay.portal.service.ServiceContext serviceContext)
280                    throws com.liferay.portal.kernel.exception.PortalException,
281                            com.liferay.portal.kernel.exception.SystemException {
282                    return _mbMessageLocalService.addDiscussionMessage(userId, userName,
283                            groupId, className, classPK, threadId, parentMessageId, subject,
284                            body, serviceContext);
285            }
286    
287            public com.liferay.portlet.messageboards.model.MBMessage addMessage(
288                    long userId, java.lang.String userName, long groupId, long categoryId,
289                    long threadId, long parentMessageId, java.lang.String subject,
290                    java.lang.String body, java.lang.String format,
291                    java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs,
292                    boolean anonymous, double priority, boolean allowPingbacks,
293                    com.liferay.portal.service.ServiceContext serviceContext)
294                    throws com.liferay.portal.kernel.exception.PortalException,
295                            com.liferay.portal.kernel.exception.SystemException {
296                    return _mbMessageLocalService.addMessage(userId, userName, groupId,
297                            categoryId, threadId, parentMessageId, subject, body, format,
298                            inputStreamOVPs, anonymous, priority, allowPingbacks, serviceContext);
299            }
300    
301            public com.liferay.portlet.messageboards.model.MBMessage addMessage(
302                    long userId, java.lang.String userName, long groupId, long categoryId,
303                    java.lang.String subject, java.lang.String body,
304                    java.lang.String format,
305                    java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs,
306                    boolean anonymous, double priority, boolean allowPingbacks,
307                    com.liferay.portal.service.ServiceContext serviceContext)
308                    throws com.liferay.portal.kernel.exception.PortalException,
309                            com.liferay.portal.kernel.exception.SystemException {
310                    return _mbMessageLocalService.addMessage(userId, userName, groupId,
311                            categoryId, subject, body, format, inputStreamOVPs, anonymous,
312                            priority, allowPingbacks, serviceContext);
313            }
314    
315            public void addMessageResources(long messageId,
316                    boolean addGroupPermissions, boolean addGuestPermissions)
317                    throws com.liferay.portal.kernel.exception.PortalException,
318                            com.liferay.portal.kernel.exception.SystemException {
319                    _mbMessageLocalService.addMessageResources(messageId,
320                            addGroupPermissions, addGuestPermissions);
321            }
322    
323            public void addMessageResources(long messageId,
324                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
325                    throws com.liferay.portal.kernel.exception.PortalException,
326                            com.liferay.portal.kernel.exception.SystemException {
327                    _mbMessageLocalService.addMessageResources(messageId, groupPermissions,
328                            guestPermissions);
329            }
330    
331            public void addMessageResources(
332                    com.liferay.portlet.messageboards.model.MBMessage message,
333                    boolean addGroupPermissions, boolean addGuestPermissions)
334                    throws com.liferay.portal.kernel.exception.PortalException,
335                            com.liferay.portal.kernel.exception.SystemException {
336                    _mbMessageLocalService.addMessageResources(message,
337                            addGroupPermissions, addGuestPermissions);
338            }
339    
340            public void addMessageResources(
341                    com.liferay.portlet.messageboards.model.MBMessage message,
342                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
343                    throws com.liferay.portal.kernel.exception.PortalException,
344                            com.liferay.portal.kernel.exception.SystemException {
345                    _mbMessageLocalService.addMessageResources(message, groupPermissions,
346                            guestPermissions);
347            }
348    
349            public com.liferay.portlet.messageboards.model.MBMessage deleteDiscussionMessage(
350                    long messageId)
351                    throws com.liferay.portal.kernel.exception.PortalException,
352                            com.liferay.portal.kernel.exception.SystemException {
353                    return _mbMessageLocalService.deleteDiscussionMessage(messageId);
354            }
355    
356            public void deleteDiscussionMessages(java.lang.String className,
357                    long classPK)
358                    throws com.liferay.portal.kernel.exception.PortalException,
359                            com.liferay.portal.kernel.exception.SystemException {
360                    _mbMessageLocalService.deleteDiscussionMessages(className, classPK);
361            }
362    
363            public com.liferay.portlet.messageboards.model.MBMessage deleteMessage(
364                    long messageId)
365                    throws com.liferay.portal.kernel.exception.PortalException,
366                            com.liferay.portal.kernel.exception.SystemException {
367                    return _mbMessageLocalService.deleteMessage(messageId);
368            }
369    
370            public com.liferay.portlet.messageboards.model.MBMessage deleteMessage(
371                    com.liferay.portlet.messageboards.model.MBMessage message)
372                    throws com.liferay.portal.kernel.exception.PortalException,
373                            com.liferay.portal.kernel.exception.SystemException {
374                    return _mbMessageLocalService.deleteMessage(message);
375            }
376    
377            public void deleteMessageAttachment(long messageId,
378                    java.lang.String fileName)
379                    throws com.liferay.portal.kernel.exception.PortalException,
380                            com.liferay.portal.kernel.exception.SystemException {
381                    _mbMessageLocalService.deleteMessageAttachment(messageId, fileName);
382            }
383    
384            public void deleteMessageAttachments(long messageId)
385                    throws com.liferay.portal.kernel.exception.PortalException,
386                            com.liferay.portal.kernel.exception.SystemException {
387                    _mbMessageLocalService.deleteMessageAttachments(messageId);
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 moveMessageAttachmentFromTrash(long messageId,
629                    java.lang.String deletedFileName)
630                    throws com.liferay.portal.kernel.exception.PortalException,
631                            com.liferay.portal.kernel.exception.SystemException {
632                    _mbMessageLocalService.moveMessageAttachmentFromTrash(messageId,
633                            deletedFileName);
634            }
635    
636            public java.lang.String moveMessageAttachmentToTrash(long messageId,
637                    java.lang.String fileName)
638                    throws com.liferay.portal.kernel.exception.PortalException,
639                            com.liferay.portal.kernel.exception.SystemException {
640                    return _mbMessageLocalService.moveMessageAttachmentToTrash(messageId,
641                            fileName);
642            }
643    
644            public void subscribeMessage(long userId, long messageId)
645                    throws com.liferay.portal.kernel.exception.PortalException,
646                            com.liferay.portal.kernel.exception.SystemException {
647                    _mbMessageLocalService.subscribeMessage(userId, messageId);
648            }
649    
650            public void unsubscribeMessage(long userId, long messageId)
651                    throws com.liferay.portal.kernel.exception.PortalException,
652                            com.liferay.portal.kernel.exception.SystemException {
653                    _mbMessageLocalService.unsubscribeMessage(userId, messageId);
654            }
655    
656            public void updateAnswer(long messageId, boolean answer, boolean cascade)
657                    throws com.liferay.portal.kernel.exception.PortalException,
658                            com.liferay.portal.kernel.exception.SystemException {
659                    _mbMessageLocalService.updateAnswer(messageId, answer, cascade);
660            }
661    
662            public void updateAnswer(
663                    com.liferay.portlet.messageboards.model.MBMessage message,
664                    boolean answer, boolean cascade)
665                    throws com.liferay.portal.kernel.exception.PortalException,
666                            com.liferay.portal.kernel.exception.SystemException {
667                    _mbMessageLocalService.updateAnswer(message, answer, cascade);
668            }
669    
670            public void updateAsset(long userId,
671                    com.liferay.portlet.messageboards.model.MBMessage message,
672                    long[] assetCategoryIds, java.lang.String[] assetTagNames,
673                    long[] assetLinkEntryIds)
674                    throws com.liferay.portal.kernel.exception.PortalException,
675                            com.liferay.portal.kernel.exception.SystemException {
676                    _mbMessageLocalService.updateAsset(userId, message, assetCategoryIds,
677                            assetTagNames, assetLinkEntryIds);
678            }
679    
680            public com.liferay.portlet.messageboards.model.MBMessage updateDiscussionMessage(
681                    long userId, long messageId, java.lang.String className, long classPK,
682                    java.lang.String subject, java.lang.String body,
683                    com.liferay.portal.service.ServiceContext serviceContext)
684                    throws com.liferay.portal.kernel.exception.PortalException,
685                            com.liferay.portal.kernel.exception.SystemException {
686                    return _mbMessageLocalService.updateDiscussionMessage(userId,
687                            messageId, className, classPK, subject, body, serviceContext);
688            }
689    
690            public com.liferay.portlet.messageboards.model.MBMessage updateMessage(
691                    long userId, long messageId, java.lang.String subject,
692                    java.lang.String body,
693                    java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs,
694                    java.util.List<java.lang.String> existingFiles, double priority,
695                    boolean allowPingbacks,
696                    com.liferay.portal.service.ServiceContext serviceContext)
697                    throws com.liferay.portal.kernel.exception.PortalException,
698                            com.liferay.portal.kernel.exception.SystemException {
699                    return _mbMessageLocalService.updateMessage(userId, messageId, subject,
700                            body, inputStreamOVPs, existingFiles, priority, allowPingbacks,
701                            serviceContext);
702            }
703    
704            public com.liferay.portlet.messageboards.model.MBMessage updateMessage(
705                    long messageId, java.lang.String body)
706                    throws com.liferay.portal.kernel.exception.PortalException,
707                            com.liferay.portal.kernel.exception.SystemException {
708                    return _mbMessageLocalService.updateMessage(messageId, body);
709            }
710    
711            public com.liferay.portlet.messageboards.model.MBMessage updateStatus(
712                    long userId, long messageId, int status,
713                    com.liferay.portal.service.ServiceContext serviceContext)
714                    throws com.liferay.portal.kernel.exception.PortalException,
715                            com.liferay.portal.kernel.exception.SystemException {
716                    return _mbMessageLocalService.updateStatus(userId, messageId, status,
717                            serviceContext);
718            }
719    
720            public void updateUserName(long userId, java.lang.String userName)
721                    throws com.liferay.portal.kernel.exception.SystemException {
722                    _mbMessageLocalService.updateUserName(userId, userName);
723            }
724    
725            /**
726             * @deprecated Renamed to {@link #getWrappedService}
727             */
728            public MBMessageLocalService getWrappedMBMessageLocalService() {
729                    return _mbMessageLocalService;
730            }
731    
732            /**
733             * @deprecated Renamed to {@link #setWrappedService}
734             */
735            public void setWrappedMBMessageLocalService(
736                    MBMessageLocalService mbMessageLocalService) {
737                    _mbMessageLocalService = mbMessageLocalService;
738            }
739    
740            public MBMessageLocalService getWrappedService() {
741                    return _mbMessageLocalService;
742            }
743    
744            public void setWrappedService(MBMessageLocalService mbMessageLocalService) {
745                    _mbMessageLocalService = mbMessageLocalService;
746            }
747    
748            private MBMessageLocalService _mbMessageLocalService;
749    }