001    /**
002     * Copyright (c) 2000-present 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.message.boards.kernel.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link MBThreadLocalService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see MBThreadLocalService
026     * @generated
027     */
028    @ProviderType
029    public class MBThreadLocalServiceWrapper implements MBThreadLocalService,
030            ServiceWrapper<MBThreadLocalService> {
031            public MBThreadLocalServiceWrapper(
032                    MBThreadLocalService mbThreadLocalService) {
033                    _mbThreadLocalService = mbThreadLocalService;
034            }
035    
036            @Override
037            public boolean hasAnswerMessage(long threadId) {
038                    return _mbThreadLocalService.hasAnswerMessage(threadId);
039            }
040    
041            /**
042            * Adds the message boards thread to the database. Also notifies the appropriate model listeners.
043            *
044            * @param mbThread the message boards thread
045            * @return the message boards thread that was added
046            */
047            @Override
048            public com.liferay.message.boards.kernel.model.MBThread addMBThread(
049                    com.liferay.message.boards.kernel.model.MBThread mbThread) {
050                    return _mbThreadLocalService.addMBThread(mbThread);
051            }
052    
053            @Override
054            public com.liferay.message.boards.kernel.model.MBThread addThread(
055                    long categoryId,
056                    com.liferay.message.boards.kernel.model.MBMessage message,
057                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
058                    throws com.liferay.portal.kernel.exception.PortalException {
059                    return _mbThreadLocalService.addThread(categoryId, message,
060                            serviceContext);
061            }
062    
063            /**
064            * Creates a new message boards thread with the primary key. Does not add the message boards thread to the database.
065            *
066            * @param threadId the primary key for the new message boards thread
067            * @return the new message boards thread
068            */
069            @Override
070            public com.liferay.message.boards.kernel.model.MBThread createMBThread(
071                    long threadId) {
072                    return _mbThreadLocalService.createMBThread(threadId);
073            }
074    
075            /**
076            * Deletes the message boards thread from the database. Also notifies the appropriate model listeners.
077            *
078            * @param mbThread the message boards thread
079            * @return the message boards thread that was removed
080            */
081            @Override
082            public com.liferay.message.boards.kernel.model.MBThread deleteMBThread(
083                    com.liferay.message.boards.kernel.model.MBThread mbThread) {
084                    return _mbThreadLocalService.deleteMBThread(mbThread);
085            }
086    
087            /**
088            * Deletes the message boards thread with the primary key from the database. Also notifies the appropriate model listeners.
089            *
090            * @param threadId the primary key of the message boards thread
091            * @return the message boards thread that was removed
092            * @throws PortalException if a message boards thread with the primary key could not be found
093            */
094            @Override
095            public com.liferay.message.boards.kernel.model.MBThread deleteMBThread(
096                    long threadId)
097                    throws com.liferay.portal.kernel.exception.PortalException {
098                    return _mbThreadLocalService.deleteMBThread(threadId);
099            }
100    
101            @Override
102            public com.liferay.message.boards.kernel.model.MBThread fetchMBThread(
103                    long threadId) {
104                    return _mbThreadLocalService.fetchMBThread(threadId);
105            }
106    
107            /**
108            * Returns the message boards thread matching the UUID and group.
109            *
110            * @param uuid the message boards thread's UUID
111            * @param groupId the primary key of the group
112            * @return the matching message boards thread, or <code>null</code> if a matching message boards thread could not be found
113            */
114            @Override
115            public com.liferay.message.boards.kernel.model.MBThread fetchMBThreadByUuidAndGroupId(
116                    java.lang.String uuid, long groupId) {
117                    return _mbThreadLocalService.fetchMBThreadByUuidAndGroupId(uuid, groupId);
118            }
119    
120            @Override
121            public com.liferay.message.boards.kernel.model.MBThread fetchThread(
122                    long threadId) {
123                    return _mbThreadLocalService.fetchThread(threadId);
124            }
125    
126            /**
127            * Returns the message boards thread with the primary key.
128            *
129            * @param threadId the primary key of the message boards thread
130            * @return the message boards thread
131            * @throws PortalException if a message boards thread with the primary key could not be found
132            */
133            @Override
134            public com.liferay.message.boards.kernel.model.MBThread getMBThread(
135                    long threadId)
136                    throws com.liferay.portal.kernel.exception.PortalException {
137                    return _mbThreadLocalService.getMBThread(threadId);
138            }
139    
140            /**
141            * Returns the message boards thread matching the UUID and group.
142            *
143            * @param uuid the message boards thread's UUID
144            * @param groupId the primary key of the group
145            * @return the matching message boards thread
146            * @throws PortalException if a matching message boards thread could not be found
147            */
148            @Override
149            public com.liferay.message.boards.kernel.model.MBThread getMBThreadByUuidAndGroupId(
150                    java.lang.String uuid, long groupId)
151                    throws com.liferay.portal.kernel.exception.PortalException {
152                    return _mbThreadLocalService.getMBThreadByUuidAndGroupId(uuid, groupId);
153            }
154    
155            @Override
156            public com.liferay.message.boards.kernel.model.MBThread getThread(
157                    long threadId)
158                    throws com.liferay.portal.kernel.exception.PortalException {
159                    return _mbThreadLocalService.getThread(threadId);
160            }
161    
162            @Override
163            public com.liferay.message.boards.kernel.model.MBThread moveThread(
164                    long groupId, long categoryId, long threadId)
165                    throws com.liferay.portal.kernel.exception.PortalException {
166                    return _mbThreadLocalService.moveThread(groupId, categoryId, threadId);
167            }
168    
169            @Override
170            public com.liferay.message.boards.kernel.model.MBThread moveThreadFromTrash(
171                    long userId, long categoryId, long threadId)
172                    throws com.liferay.portal.kernel.exception.PortalException {
173                    return _mbThreadLocalService.moveThreadFromTrash(userId, categoryId,
174                            threadId);
175            }
176    
177            @Override
178            public com.liferay.message.boards.kernel.model.MBThread moveThreadToTrash(
179                    long userId, com.liferay.message.boards.kernel.model.MBThread thread)
180                    throws com.liferay.portal.kernel.exception.PortalException {
181                    return _mbThreadLocalService.moveThreadToTrash(userId, thread);
182            }
183    
184            @Override
185            public com.liferay.message.boards.kernel.model.MBThread moveThreadToTrash(
186                    long userId, long threadId)
187                    throws com.liferay.portal.kernel.exception.PortalException {
188                    return _mbThreadLocalService.moveThreadToTrash(userId, threadId);
189            }
190    
191            @Override
192            public com.liferay.message.boards.kernel.model.MBThread splitThread(
193                    long userId, long messageId, java.lang.String subject,
194                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
195                    throws com.liferay.portal.kernel.exception.PortalException {
196                    return _mbThreadLocalService.splitThread(userId, messageId, subject,
197                            serviceContext);
198            }
199    
200            /**
201            * Updates the message boards thread in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
202            *
203            * @param mbThread the message boards thread
204            * @return the message boards thread that was updated
205            */
206            @Override
207            public com.liferay.message.boards.kernel.model.MBThread updateMBThread(
208                    com.liferay.message.boards.kernel.model.MBThread mbThread) {
209                    return _mbThreadLocalService.updateMBThread(mbThread);
210            }
211    
212            @Override
213            public com.liferay.message.boards.kernel.model.MBThread updateMessageCount(
214                    long threadId) {
215                    return _mbThreadLocalService.updateMessageCount(threadId);
216            }
217    
218            @Override
219            public com.liferay.message.boards.kernel.model.MBThread updateStatus(
220                    long userId, long threadId, int status)
221                    throws com.liferay.portal.kernel.exception.PortalException {
222                    return _mbThreadLocalService.updateStatus(userId, threadId, status);
223            }
224    
225            @Override
226            public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
227                    return _mbThreadLocalService.getActionableDynamicQuery();
228            }
229    
230            @Override
231            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
232                    return _mbThreadLocalService.dynamicQuery();
233            }
234    
235            @Override
236            public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
237                    com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) {
238                    return _mbThreadLocalService.getExportActionableDynamicQuery(portletDataContext);
239            }
240    
241            @Override
242            public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() {
243                    return _mbThreadLocalService.getIndexableActionableDynamicQuery();
244            }
245    
246            /**
247            * @throws PortalException
248            */
249            @Override
250            public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(
251                    com.liferay.portal.kernel.model.PersistedModel persistedModel)
252                    throws com.liferay.portal.kernel.exception.PortalException {
253                    return _mbThreadLocalService.deletePersistedModel(persistedModel);
254            }
255    
256            @Override
257            public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(
258                    java.io.Serializable primaryKeyObj)
259                    throws com.liferay.portal.kernel.exception.PortalException {
260                    return _mbThreadLocalService.getPersistedModel(primaryKeyObj);
261            }
262    
263            @Override
264            public com.liferay.portal.kernel.search.Hits search(long groupId,
265                    long userId, long creatorUserId, int status, int start, int end)
266                    throws com.liferay.portal.kernel.exception.PortalException {
267                    return _mbThreadLocalService.search(groupId, userId, creatorUserId,
268                            status, start, end);
269            }
270    
271            @Override
272            public com.liferay.portal.kernel.search.Hits search(long groupId,
273                    long userId, long creatorUserId, long startDate, long endDate,
274                    int status, int start, int end)
275                    throws com.liferay.portal.kernel.exception.PortalException {
276                    return _mbThreadLocalService.search(groupId, userId, creatorUserId,
277                            startDate, endDate, status, start, end);
278            }
279    
280            @Override
281            public int getCategoryThreadsCount(long groupId, long categoryId, int status) {
282                    return _mbThreadLocalService.getCategoryThreadsCount(groupId,
283                            categoryId, status);
284            }
285    
286            @Override
287            public int getGroupThreadsCount(long groupId,
288                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.message.boards.kernel.model.MBThread> queryDefinition) {
289                    return _mbThreadLocalService.getGroupThreadsCount(groupId,
290                            queryDefinition);
291            }
292    
293            @Override
294            public int getGroupThreadsCount(long groupId, long userId,
295                    boolean subscribed, boolean includeAnonymous,
296                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.message.boards.kernel.model.MBThread> queryDefinition) {
297                    return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
298                            subscribed, includeAnonymous, queryDefinition);
299            }
300    
301            @Override
302            public int getGroupThreadsCount(long groupId, long userId,
303                    boolean subscribed,
304                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.message.boards.kernel.model.MBThread> queryDefinition) {
305                    return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
306                            subscribed, queryDefinition);
307            }
308    
309            @Override
310            public int getGroupThreadsCount(long groupId, long userId,
311                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.message.boards.kernel.model.MBThread> queryDefinition) {
312                    return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
313                            queryDefinition);
314            }
315    
316            /**
317            * Returns the number of message boards threads.
318            *
319            * @return the number of message boards threads
320            */
321            @Override
322            public int getMBThreadsCount() {
323                    return _mbThreadLocalService.getMBThreadsCount();
324            }
325    
326            @Override
327            public int getThreadsCount(long groupId, long categoryId, int status) {
328                    return _mbThreadLocalService.getThreadsCount(groupId, categoryId, status);
329            }
330    
331            /**
332            * Returns the OSGi service identifier.
333            *
334            * @return the OSGi service identifier
335            */
336            @Override
337            public java.lang.String getOSGiServiceIdentifier() {
338                    return _mbThreadLocalService.getOSGiServiceIdentifier();
339            }
340    
341            /**
342            * Performs a dynamic query on the database and returns the matching rows.
343            *
344            * @param dynamicQuery the dynamic query
345            * @return the matching rows
346            */
347            @Override
348            public <T> java.util.List<T> dynamicQuery(
349                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
350                    return _mbThreadLocalService.dynamicQuery(dynamicQuery);
351            }
352    
353            /**
354            * Performs a dynamic query on the database and returns a range of the matching rows.
355            *
356            * <p>
357            * 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.MBThreadModelImpl}. 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.
358            * </p>
359            *
360            * @param dynamicQuery the dynamic query
361            * @param start the lower bound of the range of model instances
362            * @param end the upper bound of the range of model instances (not inclusive)
363            * @return the range of matching rows
364            */
365            @Override
366            public <T> java.util.List<T> dynamicQuery(
367                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
368                    int end) {
369                    return _mbThreadLocalService.dynamicQuery(dynamicQuery, start, end);
370            }
371    
372            /**
373            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
374            *
375            * <p>
376            * 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.MBThreadModelImpl}. 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.
377            * </p>
378            *
379            * @param dynamicQuery the dynamic query
380            * @param start the lower bound of the range of model instances
381            * @param end the upper bound of the range of model instances (not inclusive)
382            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
383            * @return the ordered range of matching rows
384            */
385            @Override
386            public <T> java.util.List<T> dynamicQuery(
387                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
388                    int end,
389                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
390                    return _mbThreadLocalService.dynamicQuery(dynamicQuery, start, end,
391                            orderByComparator);
392            }
393    
394            @Override
395            public java.util.List<com.liferay.message.boards.kernel.model.MBThread> getGroupThreads(
396                    long groupId,
397                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.message.boards.kernel.model.MBThread> queryDefinition) {
398                    return _mbThreadLocalService.getGroupThreads(groupId, queryDefinition);
399            }
400    
401            @Override
402            public java.util.List<com.liferay.message.boards.kernel.model.MBThread> getGroupThreads(
403                    long groupId, long userId, boolean subscribed,
404                    boolean includeAnonymous,
405                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.message.boards.kernel.model.MBThread> queryDefinition) {
406                    return _mbThreadLocalService.getGroupThreads(groupId, userId,
407                            subscribed, includeAnonymous, queryDefinition);
408            }
409    
410            @Override
411            public java.util.List<com.liferay.message.boards.kernel.model.MBThread> getGroupThreads(
412                    long groupId, long userId, boolean subscribed,
413                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.message.boards.kernel.model.MBThread> queryDefinition) {
414                    return _mbThreadLocalService.getGroupThreads(groupId, userId,
415                            subscribed, queryDefinition);
416            }
417    
418            @Override
419            public java.util.List<com.liferay.message.boards.kernel.model.MBThread> getGroupThreads(
420                    long groupId, long userId,
421                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.message.boards.kernel.model.MBThread> queryDefinition) {
422                    return _mbThreadLocalService.getGroupThreads(groupId, userId,
423                            queryDefinition);
424            }
425    
426            /**
427            * Returns a range of all the message boards threads.
428            *
429            * <p>
430            * 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.MBThreadModelImpl}. 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.
431            * </p>
432            *
433            * @param start the lower bound of the range of message boards threads
434            * @param end the upper bound of the range of message boards threads (not inclusive)
435            * @return the range of message boards threads
436            */
437            @Override
438            public java.util.List<com.liferay.message.boards.kernel.model.MBThread> getMBThreads(
439                    int start, int end) {
440                    return _mbThreadLocalService.getMBThreads(start, end);
441            }
442    
443            /**
444            * Returns all the message boards threads matching the UUID and company.
445            *
446            * @param uuid the UUID of the message boards threads
447            * @param companyId the primary key of the company
448            * @return the matching message boards threads, or an empty list if no matches were found
449            */
450            @Override
451            public java.util.List<com.liferay.message.boards.kernel.model.MBThread> getMBThreadsByUuidAndCompanyId(
452                    java.lang.String uuid, long companyId) {
453                    return _mbThreadLocalService.getMBThreadsByUuidAndCompanyId(uuid,
454                            companyId);
455            }
456    
457            /**
458            * Returns a range of message boards threads matching the UUID and company.
459            *
460            * @param uuid the UUID of the message boards threads
461            * @param companyId the primary key of the company
462            * @param start the lower bound of the range of message boards threads
463            * @param end the upper bound of the range of message boards threads (not inclusive)
464            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
465            * @return the range of matching message boards threads, or an empty list if no matches were found
466            */
467            @Override
468            public java.util.List<com.liferay.message.boards.kernel.model.MBThread> getMBThreadsByUuidAndCompanyId(
469                    java.lang.String uuid, long companyId, int start, int end,
470                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThread> orderByComparator) {
471                    return _mbThreadLocalService.getMBThreadsByUuidAndCompanyId(uuid,
472                            companyId, start, end, orderByComparator);
473            }
474    
475            @Override
476            public java.util.List<com.liferay.message.boards.kernel.model.MBThread> getNoAssetThreads() {
477                    return _mbThreadLocalService.getNoAssetThreads();
478            }
479    
480            @Override
481            public java.util.List<com.liferay.message.boards.kernel.model.MBThread> getPriorityThreads(
482                    long categoryId, double priority)
483                    throws com.liferay.portal.kernel.exception.PortalException {
484                    return _mbThreadLocalService.getPriorityThreads(categoryId, priority);
485            }
486    
487            @Override
488            public java.util.List<com.liferay.message.boards.kernel.model.MBThread> getPriorityThreads(
489                    long categoryId, double priority, boolean inherit)
490                    throws com.liferay.portal.kernel.exception.PortalException {
491                    return _mbThreadLocalService.getPriorityThreads(categoryId, priority,
492                            inherit);
493            }
494    
495            @Override
496            public java.util.List<com.liferay.message.boards.kernel.model.MBThread> getThreads(
497                    long groupId, long categoryId, int status, int start, int end) {
498                    return _mbThreadLocalService.getThreads(groupId, categoryId, status,
499                            start, end);
500            }
501    
502            /**
503            * Returns the number of rows matching the dynamic query.
504            *
505            * @param dynamicQuery the dynamic query
506            * @return the number of rows matching the dynamic query
507            */
508            @Override
509            public long dynamicQueryCount(
510                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
511                    return _mbThreadLocalService.dynamicQueryCount(dynamicQuery);
512            }
513    
514            /**
515            * Returns the number of rows matching the dynamic query.
516            *
517            * @param dynamicQuery the dynamic query
518            * @param projection the projection to apply to the query
519            * @return the number of rows matching the dynamic query
520            */
521            @Override
522            public long dynamicQueryCount(
523                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
524                    com.liferay.portal.kernel.dao.orm.Projection projection) {
525                    return _mbThreadLocalService.dynamicQueryCount(dynamicQuery, projection);
526            }
527    
528            @Override
529            public void deleteThread(
530                    com.liferay.message.boards.kernel.model.MBThread thread)
531                    throws com.liferay.portal.kernel.exception.PortalException {
532                    _mbThreadLocalService.deleteThread(thread);
533            }
534    
535            @Override
536            public void deleteThread(long threadId)
537                    throws com.liferay.portal.kernel.exception.PortalException {
538                    _mbThreadLocalService.deleteThread(threadId);
539            }
540    
541            @Override
542            public void deleteThreads(long groupId, long categoryId)
543                    throws com.liferay.portal.kernel.exception.PortalException {
544                    _mbThreadLocalService.deleteThreads(groupId, categoryId);
545            }
546    
547            @Override
548            public void deleteThreads(long groupId, long categoryId,
549                    boolean includeTrashedEntries)
550                    throws com.liferay.portal.kernel.exception.PortalException {
551                    _mbThreadLocalService.deleteThreads(groupId, categoryId,
552                            includeTrashedEntries);
553            }
554    
555            @Override
556            public void incrementViewCounter(long threadId, int increment)
557                    throws com.liferay.portal.kernel.exception.PortalException {
558                    _mbThreadLocalService.incrementViewCounter(threadId, increment);
559            }
560    
561            @Override
562            public void moveDependentsToTrash(long groupId, long threadId,
563                    long trashEntryId)
564                    throws com.liferay.portal.kernel.exception.PortalException {
565                    _mbThreadLocalService.moveDependentsToTrash(groupId, threadId,
566                            trashEntryId);
567            }
568    
569            @Override
570            public void moveThreadsToTrash(long groupId, long userId)
571                    throws com.liferay.portal.kernel.exception.PortalException {
572                    _mbThreadLocalService.moveThreadsToTrash(groupId, userId);
573            }
574    
575            @Override
576            public void restoreDependentsFromTrash(long groupId, long threadId)
577                    throws com.liferay.portal.kernel.exception.PortalException {
578                    _mbThreadLocalService.restoreDependentsFromTrash(groupId, threadId);
579            }
580    
581            /**
582            * @deprecated As of 7.0.0, replaced by {@link
583            #restoreDependentsFromTrash(long, long)}
584            */
585            @Deprecated
586            @Override
587            public void restoreDependentsFromTrash(long groupId, long threadId,
588                    long trashEntryId)
589                    throws com.liferay.portal.kernel.exception.PortalException {
590                    _mbThreadLocalService.restoreDependentsFromTrash(groupId, threadId,
591                            trashEntryId);
592            }
593    
594            @Override
595            public void restoreThreadFromTrash(long userId, long threadId)
596                    throws com.liferay.portal.kernel.exception.PortalException {
597                    _mbThreadLocalService.restoreThreadFromTrash(userId, threadId);
598            }
599    
600            @Override
601            public void updateQuestion(long threadId, boolean question)
602                    throws com.liferay.portal.kernel.exception.PortalException {
603                    _mbThreadLocalService.updateQuestion(threadId, question);
604            }
605    
606            @Override
607            public MBThreadLocalService getWrappedService() {
608                    return _mbThreadLocalService;
609            }
610    
611            @Override
612            public void setWrappedService(MBThreadLocalService mbThreadLocalService) {
613                    _mbThreadLocalService = mbThreadLocalService;
614            }
615    
616            private MBThreadLocalService _mbThreadLocalService;
617    }