001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.messageboards.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link MBMessageLocalService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see MBMessageLocalService
026     * @generated
027     */
028    @ProviderType
029    public class MBMessageLocalServiceWrapper implements MBMessageLocalService,
030            ServiceWrapper<MBMessageLocalService> {
031            public MBMessageLocalServiceWrapper(
032                    MBMessageLocalService mbMessageLocalService) {
033                    _mbMessageLocalService = mbMessageLocalService;
034            }
035    
036            /**
037            * Adds the message-boards message to the database. Also notifies the appropriate model listeners.
038            *
039            * @param mbMessage the message-boards message
040            * @return the message-boards message that was added
041            * @throws SystemException if a system exception occurred
042            */
043            @Override
044            public com.liferay.portlet.messageboards.model.MBMessage addMBMessage(
045                    com.liferay.portlet.messageboards.model.MBMessage mbMessage)
046                    throws com.liferay.portal.kernel.exception.SystemException {
047                    return _mbMessageLocalService.addMBMessage(mbMessage);
048            }
049    
050            /**
051            * Creates a new message-boards message with the primary key. Does not add the message-boards message to the database.
052            *
053            * @param messageId the primary key for the new message-boards message
054            * @return the new message-boards message
055            */
056            @Override
057            public com.liferay.portlet.messageboards.model.MBMessage createMBMessage(
058                    long messageId) {
059                    return _mbMessageLocalService.createMBMessage(messageId);
060            }
061    
062            /**
063            * Deletes the message-boards message with the primary key from the database. Also notifies the appropriate model listeners.
064            *
065            * @param messageId the primary key of the message-boards message
066            * @return the message-boards message that was removed
067            * @throws PortalException if a message-boards message with the primary key could not be found
068            * @throws SystemException if a system exception occurred
069            */
070            @Override
071            public com.liferay.portlet.messageboards.model.MBMessage deleteMBMessage(
072                    long messageId)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException {
075                    return _mbMessageLocalService.deleteMBMessage(messageId);
076            }
077    
078            /**
079            * Deletes the message-boards message from the database. Also notifies the appropriate model listeners.
080            *
081            * @param mbMessage the message-boards message
082            * @return the message-boards message that was removed
083            * @throws SystemException if a system exception occurred
084            */
085            @Override
086            public com.liferay.portlet.messageboards.model.MBMessage deleteMBMessage(
087                    com.liferay.portlet.messageboards.model.MBMessage mbMessage)
088                    throws com.liferay.portal.kernel.exception.SystemException {
089                    return _mbMessageLocalService.deleteMBMessage(mbMessage);
090            }
091    
092            @Override
093            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
094                    return _mbMessageLocalService.dynamicQuery();
095            }
096    
097            /**
098            * Performs a dynamic query on the database and returns the matching rows.
099            *
100            * @param dynamicQuery the dynamic query
101            * @return the matching rows
102            * @throws SystemException if a system exception occurred
103            */
104            @Override
105            @SuppressWarnings("rawtypes")
106            public java.util.List dynamicQuery(
107                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
108                    throws com.liferay.portal.kernel.exception.SystemException {
109                    return _mbMessageLocalService.dynamicQuery(dynamicQuery);
110            }
111    
112            /**
113            * Performs a dynamic query on the database and returns a range of the matching rows.
114            *
115            * <p>
116            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.messageboards.model.impl.MBMessageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
117            * </p>
118            *
119            * @param dynamicQuery the dynamic query
120            * @param start the lower bound of the range of model instances
121            * @param end the upper bound of the range of model instances (not inclusive)
122            * @return the range of matching rows
123            * @throws SystemException if a system exception occurred
124            */
125            @Override
126            @SuppressWarnings("rawtypes")
127            public java.util.List dynamicQuery(
128                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
129                    int end) throws com.liferay.portal.kernel.exception.SystemException {
130                    return _mbMessageLocalService.dynamicQuery(dynamicQuery, start, end);
131            }
132    
133            /**
134            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
135            *
136            * <p>
137            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.messageboards.model.impl.MBMessageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
138            * </p>
139            *
140            * @param dynamicQuery the dynamic query
141            * @param start the lower bound of the range of model instances
142            * @param end the upper bound of the range of model instances (not inclusive)
143            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
144            * @return the ordered range of matching rows
145            * @throws SystemException if a system exception occurred
146            */
147            @Override
148            @SuppressWarnings("rawtypes")
149            public java.util.List dynamicQuery(
150                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
151                    int end,
152                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
153                    throws com.liferay.portal.kernel.exception.SystemException {
154                    return _mbMessageLocalService.dynamicQuery(dynamicQuery, start, end,
155                            orderByComparator);
156            }
157    
158            /**
159            * Returns the number of rows that match the dynamic query.
160            *
161            * @param dynamicQuery the dynamic query
162            * @return the number of rows that match the dynamic query
163            * @throws SystemException if a system exception occurred
164            */
165            @Override
166            public long dynamicQueryCount(
167                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
168                    throws com.liferay.portal.kernel.exception.SystemException {
169                    return _mbMessageLocalService.dynamicQueryCount(dynamicQuery);
170            }
171    
172            /**
173            * Returns the number of rows that match the dynamic query.
174            *
175            * @param dynamicQuery the dynamic query
176            * @param projection the projection to apply to the query
177            * @return the number of rows that match the dynamic query
178            * @throws SystemException if a system exception occurred
179            */
180            @Override
181            public long dynamicQueryCount(
182                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
183                    com.liferay.portal.kernel.dao.orm.Projection projection)
184                    throws com.liferay.portal.kernel.exception.SystemException {
185                    return _mbMessageLocalService.dynamicQueryCount(dynamicQuery, projection);
186            }
187    
188            @Override
189            public com.liferay.portlet.messageboards.model.MBMessage fetchMBMessage(
190                    long messageId)
191                    throws com.liferay.portal.kernel.exception.SystemException {
192                    return _mbMessageLocalService.fetchMBMessage(messageId);
193            }
194    
195            /**
196            * Returns the message-boards message with the matching UUID and company.
197            *
198            * @param uuid the message-boards message's UUID
199            * @param companyId the primary key of the company
200            * @return the matching message-boards message, or <code>null</code> if a matching message-boards message could not be found
201            * @throws SystemException if a system exception occurred
202            */
203            @Override
204            public com.liferay.portlet.messageboards.model.MBMessage fetchMBMessageByUuidAndCompanyId(
205                    java.lang.String uuid, long companyId)
206                    throws com.liferay.portal.kernel.exception.SystemException {
207                    return _mbMessageLocalService.fetchMBMessageByUuidAndCompanyId(uuid,
208                            companyId);
209            }
210    
211            /**
212            * Returns the message-boards message matching the UUID and group.
213            *
214            * @param uuid the message-boards message's UUID
215            * @param groupId the primary key of the group
216            * @return the matching message-boards message, or <code>null</code> if a matching message-boards message could not be found
217            * @throws SystemException if a system exception occurred
218            */
219            @Override
220            public com.liferay.portlet.messageboards.model.MBMessage fetchMBMessageByUuidAndGroupId(
221                    java.lang.String uuid, long groupId)
222                    throws com.liferay.portal.kernel.exception.SystemException {
223                    return _mbMessageLocalService.fetchMBMessageByUuidAndGroupId(uuid,
224                            groupId);
225            }
226    
227            /**
228            * Returns the message-boards message with the primary key.
229            *
230            * @param messageId the primary key of the message-boards message
231            * @return the message-boards message
232            * @throws PortalException if a message-boards message with the primary key could not be found
233            * @throws SystemException if a system exception occurred
234            */
235            @Override
236            public com.liferay.portlet.messageboards.model.MBMessage getMBMessage(
237                    long messageId)
238                    throws com.liferay.portal.kernel.exception.PortalException,
239                            com.liferay.portal.kernel.exception.SystemException {
240                    return _mbMessageLocalService.getMBMessage(messageId);
241            }
242    
243            @Override
244            public com.liferay.portal.model.PersistedModel getPersistedModel(
245                    java.io.Serializable primaryKeyObj)
246                    throws com.liferay.portal.kernel.exception.PortalException,
247                            com.liferay.portal.kernel.exception.SystemException {
248                    return _mbMessageLocalService.getPersistedModel(primaryKeyObj);
249            }
250    
251            /**
252            * Returns the message-boards message with the matching UUID and company.
253            *
254            * @param uuid the message-boards message's UUID
255            * @param companyId the primary key of the company
256            * @return the matching message-boards message
257            * @throws PortalException if a matching message-boards message could not be found
258            * @throws SystemException if a system exception occurred
259            */
260            @Override
261            public com.liferay.portlet.messageboards.model.MBMessage getMBMessageByUuidAndCompanyId(
262                    java.lang.String uuid, long companyId)
263                    throws com.liferay.portal.kernel.exception.PortalException,
264                            com.liferay.portal.kernel.exception.SystemException {
265                    return _mbMessageLocalService.getMBMessageByUuidAndCompanyId(uuid,
266                            companyId);
267            }
268    
269            /**
270            * Returns the message-boards message matching the UUID and group.
271            *
272            * @param uuid the message-boards message's UUID
273            * @param groupId the primary key of the group
274            * @return the matching message-boards message
275            * @throws PortalException if a matching message-boards message could not be found
276            * @throws SystemException if a system exception occurred
277            */
278            @Override
279            public com.liferay.portlet.messageboards.model.MBMessage getMBMessageByUuidAndGroupId(
280                    java.lang.String uuid, long groupId)
281                    throws com.liferay.portal.kernel.exception.PortalException,
282                            com.liferay.portal.kernel.exception.SystemException {
283                    return _mbMessageLocalService.getMBMessageByUuidAndGroupId(uuid, groupId);
284            }
285    
286            /**
287            * Returns a range of all the message-boards messages.
288            *
289            * <p>
290            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.messageboards.model.impl.MBMessageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
291            * </p>
292            *
293            * @param start the lower bound of the range of message-boards messages
294            * @param end the upper bound of the range of message-boards messages (not inclusive)
295            * @return the range of message-boards messages
296            * @throws SystemException if a system exception occurred
297            */
298            @Override
299            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getMBMessages(
300                    int start, int end)
301                    throws com.liferay.portal.kernel.exception.SystemException {
302                    return _mbMessageLocalService.getMBMessages(start, end);
303            }
304    
305            /**
306            * Returns the number of message-boards messages.
307            *
308            * @return the number of message-boards messages
309            * @throws SystemException if a system exception occurred
310            */
311            @Override
312            public int getMBMessagesCount()
313                    throws com.liferay.portal.kernel.exception.SystemException {
314                    return _mbMessageLocalService.getMBMessagesCount();
315            }
316    
317            /**
318            * Updates the message-boards message in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
319            *
320            * @param mbMessage the message-boards message
321            * @return the message-boards message that was updated
322            * @throws SystemException if a system exception occurred
323            */
324            @Override
325            public com.liferay.portlet.messageboards.model.MBMessage updateMBMessage(
326                    com.liferay.portlet.messageboards.model.MBMessage mbMessage)
327                    throws com.liferay.portal.kernel.exception.SystemException {
328                    return _mbMessageLocalService.updateMBMessage(mbMessage);
329            }
330    
331            /**
332            * Returns the Spring bean ID for this bean.
333            *
334            * @return the Spring bean ID for this bean
335            */
336            @Override
337            public java.lang.String getBeanIdentifier() {
338                    return _mbMessageLocalService.getBeanIdentifier();
339            }
340    
341            /**
342            * Sets the Spring bean ID for this bean.
343            *
344            * @param beanIdentifier the Spring bean ID for this bean
345            */
346            @Override
347            public void setBeanIdentifier(java.lang.String beanIdentifier) {
348                    _mbMessageLocalService.setBeanIdentifier(beanIdentifier);
349            }
350    
351            @Override
352            public com.liferay.portlet.messageboards.model.MBMessage addDiscussionMessage(
353                    long userId, java.lang.String userName, long groupId,
354                    java.lang.String className, long classPK, int workflowAction)
355                    throws com.liferay.portal.kernel.exception.PortalException,
356                            com.liferay.portal.kernel.exception.SystemException {
357                    return _mbMessageLocalService.addDiscussionMessage(userId, userName,
358                            groupId, className, classPK, workflowAction);
359            }
360    
361            @Override
362            public com.liferay.portlet.messageboards.model.MBMessage addDiscussionMessage(
363                    long userId, java.lang.String userName, long groupId,
364                    java.lang.String className, long classPK, long threadId,
365                    long parentMessageId, java.lang.String subject, java.lang.String body,
366                    com.liferay.portal.service.ServiceContext serviceContext)
367                    throws com.liferay.portal.kernel.exception.PortalException,
368                            com.liferay.portal.kernel.exception.SystemException {
369                    return _mbMessageLocalService.addDiscussionMessage(userId, userName,
370                            groupId, className, classPK, threadId, parentMessageId, subject,
371                            body, serviceContext);
372            }
373    
374            @Override
375            public com.liferay.portlet.messageboards.model.MBMessage addMessage(
376                    long userId, java.lang.String userName, long groupId, long categoryId,
377                    long threadId, long parentMessageId, java.lang.String subject,
378                    java.lang.String body, java.lang.String format,
379                    java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs,
380                    boolean anonymous, double priority, boolean allowPingbacks,
381                    com.liferay.portal.service.ServiceContext serviceContext)
382                    throws com.liferay.portal.kernel.exception.PortalException,
383                            com.liferay.portal.kernel.exception.SystemException {
384                    return _mbMessageLocalService.addMessage(userId, userName, groupId,
385                            categoryId, threadId, parentMessageId, subject, body, format,
386                            inputStreamOVPs, anonymous, priority, allowPingbacks, serviceContext);
387            }
388    
389            @Override
390            public com.liferay.portlet.messageboards.model.MBMessage addMessage(
391                    long userId, java.lang.String userName, long groupId, long categoryId,
392                    java.lang.String subject, java.lang.String body,
393                    java.lang.String fileName, java.io.File file,
394                    com.liferay.portal.service.ServiceContext serviceContext)
395                    throws com.liferay.portal.kernel.exception.PortalException,
396                            com.liferay.portal.kernel.exception.SystemException,
397                            java.io.FileNotFoundException {
398                    return _mbMessageLocalService.addMessage(userId, userName, groupId,
399                            categoryId, subject, body, fileName, file, serviceContext);
400            }
401    
402            @Override
403            public com.liferay.portlet.messageboards.model.MBMessage addMessage(
404                    long userId, java.lang.String userName, long groupId, long categoryId,
405                    java.lang.String subject, java.lang.String body,
406                    java.lang.String format,
407                    java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs,
408                    boolean anonymous, double priority, boolean allowPingbacks,
409                    com.liferay.portal.service.ServiceContext serviceContext)
410                    throws com.liferay.portal.kernel.exception.PortalException,
411                            com.liferay.portal.kernel.exception.SystemException {
412                    return _mbMessageLocalService.addMessage(userId, userName, groupId,
413                            categoryId, subject, body, format, inputStreamOVPs, anonymous,
414                            priority, allowPingbacks, serviceContext);
415            }
416    
417            @Override
418            public com.liferay.portlet.messageboards.model.MBMessage addMessage(
419                    long userId, java.lang.String userName, long groupId, long categoryId,
420                    java.lang.String subject, java.lang.String body,
421                    java.lang.String format, java.lang.String fileName, java.io.File file,
422                    boolean anonymous, double priority, boolean allowPingbacks,
423                    com.liferay.portal.service.ServiceContext serviceContext)
424                    throws com.liferay.portal.kernel.exception.PortalException,
425                            com.liferay.portal.kernel.exception.SystemException,
426                            java.io.FileNotFoundException {
427                    return _mbMessageLocalService.addMessage(userId, userName, groupId,
428                            categoryId, subject, body, format, fileName, file, anonymous,
429                            priority, allowPingbacks, serviceContext);
430            }
431    
432            @Override
433            public com.liferay.portlet.messageboards.model.MBMessage addMessage(
434                    long userId, java.lang.String userName, long categoryId,
435                    java.lang.String subject, java.lang.String body,
436                    com.liferay.portal.service.ServiceContext serviceContext)
437                    throws com.liferay.portal.kernel.exception.PortalException,
438                            com.liferay.portal.kernel.exception.SystemException {
439                    return _mbMessageLocalService.addMessage(userId, userName, categoryId,
440                            subject, body, serviceContext);
441            }
442    
443            @Override
444            public void addMessageResources(long messageId,
445                    boolean addGroupPermissions, boolean addGuestPermissions)
446                    throws com.liferay.portal.kernel.exception.PortalException,
447                            com.liferay.portal.kernel.exception.SystemException {
448                    _mbMessageLocalService.addMessageResources(messageId,
449                            addGroupPermissions, addGuestPermissions);
450            }
451    
452            @Override
453            public void addMessageResources(long messageId,
454                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
455                    throws com.liferay.portal.kernel.exception.PortalException,
456                            com.liferay.portal.kernel.exception.SystemException {
457                    _mbMessageLocalService.addMessageResources(messageId, groupPermissions,
458                            guestPermissions);
459            }
460    
461            @Override
462            public void addMessageResources(
463                    com.liferay.portlet.messageboards.model.MBMessage message,
464                    boolean addGroupPermissions, boolean addGuestPermissions)
465                    throws com.liferay.portal.kernel.exception.PortalException,
466                            com.liferay.portal.kernel.exception.SystemException {
467                    _mbMessageLocalService.addMessageResources(message,
468                            addGroupPermissions, addGuestPermissions);
469            }
470    
471            @Override
472            public void addMessageResources(
473                    com.liferay.portlet.messageboards.model.MBMessage message,
474                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
475                    throws com.liferay.portal.kernel.exception.PortalException,
476                            com.liferay.portal.kernel.exception.SystemException {
477                    _mbMessageLocalService.addMessageResources(message, groupPermissions,
478                            guestPermissions);
479            }
480    
481            @Override
482            public com.liferay.portlet.messageboards.model.MBMessage deleteDiscussionMessage(
483                    long messageId)
484                    throws com.liferay.portal.kernel.exception.PortalException,
485                            com.liferay.portal.kernel.exception.SystemException {
486                    return _mbMessageLocalService.deleteDiscussionMessage(messageId);
487            }
488    
489            @Override
490            public void deleteDiscussionMessages(java.lang.String className,
491                    long classPK)
492                    throws com.liferay.portal.kernel.exception.PortalException,
493                            com.liferay.portal.kernel.exception.SystemException {
494                    _mbMessageLocalService.deleteDiscussionMessages(className, classPK);
495            }
496    
497            @Override
498            public com.liferay.portlet.messageboards.model.MBMessage deleteMessage(
499                    long messageId)
500                    throws com.liferay.portal.kernel.exception.PortalException,
501                            com.liferay.portal.kernel.exception.SystemException {
502                    return _mbMessageLocalService.deleteMessage(messageId);
503            }
504    
505            @Override
506            public com.liferay.portlet.messageboards.model.MBMessage deleteMessage(
507                    com.liferay.portlet.messageboards.model.MBMessage message)
508                    throws com.liferay.portal.kernel.exception.PortalException,
509                            com.liferay.portal.kernel.exception.SystemException {
510                    return _mbMessageLocalService.deleteMessage(message);
511            }
512    
513            @Override
514            public void deleteMessageAttachment(long messageId,
515                    java.lang.String fileName)
516                    throws com.liferay.portal.kernel.exception.PortalException,
517                            com.liferay.portal.kernel.exception.SystemException {
518                    _mbMessageLocalService.deleteMessageAttachment(messageId, fileName);
519            }
520    
521            @Override
522            public void deleteMessageAttachments(long messageId)
523                    throws com.liferay.portal.kernel.exception.PortalException,
524                            com.liferay.portal.kernel.exception.SystemException {
525                    _mbMessageLocalService.deleteMessageAttachments(messageId);
526            }
527    
528            @Override
529            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCategoryMessages(
530                    long groupId, long categoryId, int status, int start, int end)
531                    throws com.liferay.portal.kernel.exception.SystemException {
532                    return _mbMessageLocalService.getCategoryMessages(groupId, categoryId,
533                            status, start, end);
534            }
535    
536            @Override
537            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCategoryMessages(
538                    long groupId, long categoryId, int status, int start, int end,
539                    com.liferay.portal.kernel.util.OrderByComparator obc)
540                    throws com.liferay.portal.kernel.exception.SystemException {
541                    return _mbMessageLocalService.getCategoryMessages(groupId, categoryId,
542                            status, start, end, obc);
543            }
544    
545            @Override
546            public int getCategoryMessagesCount(long groupId, long categoryId,
547                    int status) throws com.liferay.portal.kernel.exception.SystemException {
548                    return _mbMessageLocalService.getCategoryMessagesCount(groupId,
549                            categoryId, status);
550            }
551    
552            @Override
553            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCompanyMessages(
554                    long companyId, int status, int start, int end)
555                    throws com.liferay.portal.kernel.exception.SystemException {
556                    return _mbMessageLocalService.getCompanyMessages(companyId, status,
557                            start, end);
558            }
559    
560            @Override
561            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCompanyMessages(
562                    long companyId, int status, int start, int end,
563                    com.liferay.portal.kernel.util.OrderByComparator obc)
564                    throws com.liferay.portal.kernel.exception.SystemException {
565                    return _mbMessageLocalService.getCompanyMessages(companyId, status,
566                            start, end, obc);
567            }
568    
569            @Override
570            public int getCompanyMessagesCount(long companyId, int status)
571                    throws com.liferay.portal.kernel.exception.SystemException {
572                    return _mbMessageLocalService.getCompanyMessagesCount(companyId, status);
573            }
574    
575            @Override
576            public com.liferay.portlet.messageboards.model.MBMessageDisplay getDiscussionMessageDisplay(
577                    long userId, long groupId, java.lang.String className, long classPK,
578                    int status)
579                    throws com.liferay.portal.kernel.exception.PortalException,
580                            com.liferay.portal.kernel.exception.SystemException {
581                    return _mbMessageLocalService.getDiscussionMessageDisplay(userId,
582                            groupId, className, classPK, status);
583            }
584    
585            @Override
586            public com.liferay.portlet.messageboards.model.MBMessageDisplay getDiscussionMessageDisplay(
587                    long userId, long groupId, java.lang.String className, long classPK,
588                    int status, java.lang.String threadView)
589                    throws com.liferay.portal.kernel.exception.PortalException,
590                            com.liferay.portal.kernel.exception.SystemException {
591                    return _mbMessageLocalService.getDiscussionMessageDisplay(userId,
592                            groupId, className, classPK, status, threadView);
593            }
594    
595            @Override
596            public int getDiscussionMessagesCount(long classNameId, long classPK,
597                    int status) throws com.liferay.portal.kernel.exception.SystemException {
598                    return _mbMessageLocalService.getDiscussionMessagesCount(classNameId,
599                            classPK, status);
600            }
601    
602            @Override
603            public int getDiscussionMessagesCount(java.lang.String className,
604                    long classPK, int status)
605                    throws com.liferay.portal.kernel.exception.SystemException {
606                    return _mbMessageLocalService.getDiscussionMessagesCount(className,
607                            classPK, status);
608            }
609    
610            @Override
611            public java.util.List<com.liferay.portlet.messageboards.model.MBDiscussion> getDiscussions(
612                    java.lang.String className)
613                    throws com.liferay.portal.kernel.exception.SystemException {
614                    return _mbMessageLocalService.getDiscussions(className);
615            }
616    
617            @Override
618            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
619                    long groupId, int status, int start, int end)
620                    throws com.liferay.portal.kernel.exception.SystemException {
621                    return _mbMessageLocalService.getGroupMessages(groupId, status, start,
622                            end);
623            }
624    
625            @Override
626            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
627                    long groupId, int status, int start, int end,
628                    com.liferay.portal.kernel.util.OrderByComparator obc)
629                    throws com.liferay.portal.kernel.exception.SystemException {
630                    return _mbMessageLocalService.getGroupMessages(groupId, status, start,
631                            end, obc);
632            }
633    
634            @Override
635            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
636                    long groupId, long userId, int status, int start, int end)
637                    throws com.liferay.portal.kernel.exception.SystemException {
638                    return _mbMessageLocalService.getGroupMessages(groupId, userId, status,
639                            start, end);
640            }
641    
642            @Override
643            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
644                    long groupId, long userId, int status, int start, int end,
645                    com.liferay.portal.kernel.util.OrderByComparator obc)
646                    throws com.liferay.portal.kernel.exception.SystemException {
647                    return _mbMessageLocalService.getGroupMessages(groupId, userId, status,
648                            start, end, obc);
649            }
650    
651            @Override
652            public int getGroupMessagesCount(long groupId, int status)
653                    throws com.liferay.portal.kernel.exception.SystemException {
654                    return _mbMessageLocalService.getGroupMessagesCount(groupId, status);
655            }
656    
657            @Override
658            public int getGroupMessagesCount(long groupId, long userId, int status)
659                    throws com.liferay.portal.kernel.exception.SystemException {
660                    return _mbMessageLocalService.getGroupMessagesCount(groupId, userId,
661                            status);
662            }
663    
664            @Override
665            public com.liferay.portlet.messageboards.model.MBMessage getMessage(
666                    long messageId)
667                    throws com.liferay.portal.kernel.exception.PortalException,
668                            com.liferay.portal.kernel.exception.SystemException {
669                    return _mbMessageLocalService.getMessage(messageId);
670            }
671    
672            @Override
673            public com.liferay.portlet.messageboards.model.MBMessageDisplay getMessageDisplay(
674                    long userId, long messageId, int status, java.lang.String threadView,
675                    boolean includePrevAndNext)
676                    throws com.liferay.portal.kernel.exception.PortalException,
677                            com.liferay.portal.kernel.exception.SystemException {
678                    return _mbMessageLocalService.getMessageDisplay(userId, messageId,
679                            status, threadView, includePrevAndNext);
680            }
681    
682            @Override
683            public com.liferay.portlet.messageboards.model.MBMessageDisplay getMessageDisplay(
684                    long userId, com.liferay.portlet.messageboards.model.MBMessage message,
685                    int status, java.lang.String threadView, boolean includePrevAndNext)
686                    throws com.liferay.portal.kernel.exception.PortalException,
687                            com.liferay.portal.kernel.exception.SystemException {
688                    return _mbMessageLocalService.getMessageDisplay(userId, message,
689                            status, threadView, includePrevAndNext);
690            }
691    
692            @Override
693            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getMessages(
694                    java.lang.String className, long classPK, int status)
695                    throws com.liferay.portal.kernel.exception.SystemException {
696                    return _mbMessageLocalService.getMessages(className, classPK, status);
697            }
698    
699            @Override
700            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getNoAssetMessages()
701                    throws com.liferay.portal.kernel.exception.SystemException {
702                    return _mbMessageLocalService.getNoAssetMessages();
703            }
704    
705            @Override
706            public int getPositionInThread(long messageId)
707                    throws com.liferay.portal.kernel.exception.PortalException,
708                            com.liferay.portal.kernel.exception.SystemException {
709                    return _mbMessageLocalService.getPositionInThread(messageId);
710            }
711    
712            @Override
713            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(
714                    long threadId, int status)
715                    throws com.liferay.portal.kernel.exception.SystemException {
716                    return _mbMessageLocalService.getThreadMessages(threadId, status);
717            }
718    
719            @Override
720            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(
721                    long threadId, int status,
722                    java.util.Comparator<com.liferay.portlet.messageboards.model.MBMessage> comparator)
723                    throws com.liferay.portal.kernel.exception.SystemException {
724                    return _mbMessageLocalService.getThreadMessages(threadId, status,
725                            comparator);
726            }
727    
728            @Override
729            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(
730                    long threadId, int status, int start, int end)
731                    throws com.liferay.portal.kernel.exception.SystemException {
732                    return _mbMessageLocalService.getThreadMessages(threadId, status,
733                            start, end);
734            }
735    
736            @Override
737            public int getThreadMessagesCount(long threadId, int status)
738                    throws com.liferay.portal.kernel.exception.SystemException {
739                    return _mbMessageLocalService.getThreadMessagesCount(threadId, status);
740            }
741    
742            @Override
743            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadRepliesMessages(
744                    long threadId, int status, int start, int end)
745                    throws com.liferay.portal.kernel.exception.SystemException {
746                    return _mbMessageLocalService.getThreadRepliesMessages(threadId,
747                            status, start, end);
748            }
749    
750            @Override
751            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getUserDiscussionMessages(
752                    long userId, long classNameId, long classPK, int status, int start,
753                    int end, com.liferay.portal.kernel.util.OrderByComparator obc)
754                    throws com.liferay.portal.kernel.exception.SystemException {
755                    return _mbMessageLocalService.getUserDiscussionMessages(userId,
756                            classNameId, classPK, status, start, end, obc);
757            }
758    
759            @Override
760            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getUserDiscussionMessages(
761                    long userId, long[] classNameIds, int status, int start, int end,
762                    com.liferay.portal.kernel.util.OrderByComparator obc)
763                    throws com.liferay.portal.kernel.exception.SystemException {
764                    return _mbMessageLocalService.getUserDiscussionMessages(userId,
765                            classNameIds, status, start, end, obc);
766            }
767    
768            @Override
769            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getUserDiscussionMessages(
770                    long userId, java.lang.String className, long classPK, int status,
771                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
772                    throws com.liferay.portal.kernel.exception.SystemException {
773                    return _mbMessageLocalService.getUserDiscussionMessages(userId,
774                            className, classPK, status, start, end, obc);
775            }
776    
777            @Override
778            public int getUserDiscussionMessagesCount(long userId, long classNameId,
779                    long classPK, int status)
780                    throws com.liferay.portal.kernel.exception.SystemException {
781                    return _mbMessageLocalService.getUserDiscussionMessagesCount(userId,
782                            classNameId, classPK, status);
783            }
784    
785            @Override
786            public int getUserDiscussionMessagesCount(long userId, long[] classNameIds,
787                    int status) throws com.liferay.portal.kernel.exception.SystemException {
788                    return _mbMessageLocalService.getUserDiscussionMessagesCount(userId,
789                            classNameIds, status);
790            }
791    
792            @Override
793            public int getUserDiscussionMessagesCount(long userId,
794                    java.lang.String className, long classPK, int status)
795                    throws com.liferay.portal.kernel.exception.SystemException {
796                    return _mbMessageLocalService.getUserDiscussionMessagesCount(userId,
797                            className, classPK, status);
798            }
799    
800            @Override
801            public void moveDiscussionToTrash(java.lang.String className, long classPK)
802                    throws com.liferay.portal.kernel.exception.SystemException {
803                    _mbMessageLocalService.moveDiscussionToTrash(className, classPK);
804            }
805    
806            @Override
807            public long moveMessageAttachmentToTrash(long userId, long messageId,
808                    java.lang.String fileName)
809                    throws com.liferay.portal.kernel.exception.PortalException,
810                            com.liferay.portal.kernel.exception.SystemException {
811                    return _mbMessageLocalService.moveMessageAttachmentToTrash(userId,
812                            messageId, fileName);
813            }
814    
815            @Override
816            public void restoreDiscussionFromTrash(java.lang.String className,
817                    long classPK)
818                    throws com.liferay.portal.kernel.exception.SystemException {
819                    _mbMessageLocalService.restoreDiscussionFromTrash(className, classPK);
820            }
821    
822            @Override
823            public void restoreMessageAttachmentFromTrash(long userId, long messageId,
824                    java.lang.String deletedFileName)
825                    throws com.liferay.portal.kernel.exception.PortalException,
826                            com.liferay.portal.kernel.exception.SystemException {
827                    _mbMessageLocalService.restoreMessageAttachmentFromTrash(userId,
828                            messageId, deletedFileName);
829            }
830    
831            @Override
832            public void subscribeMessage(long userId, long messageId)
833                    throws com.liferay.portal.kernel.exception.PortalException,
834                            com.liferay.portal.kernel.exception.SystemException {
835                    _mbMessageLocalService.subscribeMessage(userId, messageId);
836            }
837    
838            @Override
839            public void unsubscribeMessage(long userId, long messageId)
840                    throws com.liferay.portal.kernel.exception.PortalException,
841                            com.liferay.portal.kernel.exception.SystemException {
842                    _mbMessageLocalService.unsubscribeMessage(userId, messageId);
843            }
844    
845            @Override
846            public void updateAnswer(long messageId, boolean answer, boolean cascade)
847                    throws com.liferay.portal.kernel.exception.PortalException,
848                            com.liferay.portal.kernel.exception.SystemException {
849                    _mbMessageLocalService.updateAnswer(messageId, answer, cascade);
850            }
851    
852            @Override
853            public void updateAnswer(
854                    com.liferay.portlet.messageboards.model.MBMessage message,
855                    boolean answer, boolean cascade)
856                    throws com.liferay.portal.kernel.exception.PortalException,
857                            com.liferay.portal.kernel.exception.SystemException {
858                    _mbMessageLocalService.updateAnswer(message, answer, cascade);
859            }
860    
861            @Override
862            public void updateAsset(long userId,
863                    com.liferay.portlet.messageboards.model.MBMessage message,
864                    long[] assetCategoryIds, java.lang.String[] assetTagNames,
865                    long[] assetLinkEntryIds)
866                    throws com.liferay.portal.kernel.exception.PortalException,
867                            com.liferay.portal.kernel.exception.SystemException {
868                    _mbMessageLocalService.updateAsset(userId, message, assetCategoryIds,
869                            assetTagNames, assetLinkEntryIds);
870            }
871    
872            @Override
873            public com.liferay.portlet.messageboards.model.MBMessage updateDiscussionMessage(
874                    long userId, long messageId, java.lang.String className, long classPK,
875                    java.lang.String subject, java.lang.String body,
876                    com.liferay.portal.service.ServiceContext serviceContext)
877                    throws com.liferay.portal.kernel.exception.PortalException,
878                            com.liferay.portal.kernel.exception.SystemException {
879                    return _mbMessageLocalService.updateDiscussionMessage(userId,
880                            messageId, className, classPK, subject, body, serviceContext);
881            }
882    
883            @Override
884            public com.liferay.portlet.messageboards.model.MBMessage updateMessage(
885                    long userId, long messageId, java.lang.String subject,
886                    java.lang.String body,
887                    java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs,
888                    java.util.List<java.lang.String> existingFiles, double priority,
889                    boolean allowPingbacks,
890                    com.liferay.portal.service.ServiceContext serviceContext)
891                    throws com.liferay.portal.kernel.exception.PortalException,
892                            com.liferay.portal.kernel.exception.SystemException {
893                    return _mbMessageLocalService.updateMessage(userId, messageId, subject,
894                            body, inputStreamOVPs, existingFiles, priority, allowPingbacks,
895                            serviceContext);
896            }
897    
898            @Override
899            public com.liferay.portlet.messageboards.model.MBMessage updateMessage(
900                    long messageId, java.lang.String body)
901                    throws com.liferay.portal.kernel.exception.PortalException,
902                            com.liferay.portal.kernel.exception.SystemException {
903                    return _mbMessageLocalService.updateMessage(messageId, body);
904            }
905    
906            @Override
907            public com.liferay.portlet.messageboards.model.MBMessage updateStatus(
908                    long userId, long messageId, int status,
909                    com.liferay.portal.service.ServiceContext serviceContext)
910                    throws com.liferay.portal.kernel.exception.PortalException,
911                            com.liferay.portal.kernel.exception.SystemException {
912                    return _mbMessageLocalService.updateStatus(userId, messageId, status,
913                            serviceContext);
914            }
915    
916            @Override
917            public void updateUserName(long userId, java.lang.String userName)
918                    throws com.liferay.portal.kernel.exception.SystemException {
919                    _mbMessageLocalService.updateUserName(userId, userName);
920            }
921    
922            /**
923             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
924             */
925            public MBMessageLocalService getWrappedMBMessageLocalService() {
926                    return _mbMessageLocalService;
927            }
928    
929            /**
930             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
931             */
932            public void setWrappedMBMessageLocalService(
933                    MBMessageLocalService mbMessageLocalService) {
934                    _mbMessageLocalService = mbMessageLocalService;
935            }
936    
937            @Override
938            public MBMessageLocalService getWrappedService() {
939                    return _mbMessageLocalService;
940            }
941    
942            @Override
943            public void setWrappedService(MBMessageLocalService mbMessageLocalService) {
944                    _mbMessageLocalService = mbMessageLocalService;
945            }
946    
947            private MBMessageLocalService _mbMessageLocalService;
948    }