001
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
028 @ProviderType
029 public class MBThreadLocalServiceWrapper implements MBThreadLocalService,
030 ServiceWrapper<MBThreadLocalService> {
031 public MBThreadLocalServiceWrapper(
032 MBThreadLocalService mbThreadLocalService) {
033 _mbThreadLocalService = mbThreadLocalService;
034 }
035
036
042 @Override
043 public com.liferay.portlet.messageboards.model.MBThread addMBThread(
044 com.liferay.portlet.messageboards.model.MBThread mbThread) {
045 return _mbThreadLocalService.addMBThread(mbThread);
046 }
047
048 @Override
049 public com.liferay.portlet.messageboards.model.MBThread addThread(
050 long categoryId,
051 com.liferay.portlet.messageboards.model.MBMessage message,
052 com.liferay.portal.service.ServiceContext serviceContext)
053 throws com.liferay.portal.kernel.exception.PortalException {
054 return _mbThreadLocalService.addThread(categoryId, message,
055 serviceContext);
056 }
057
058
064 @Override
065 public com.liferay.portlet.messageboards.model.MBThread createMBThread(
066 long threadId) {
067 return _mbThreadLocalService.createMBThread(threadId);
068 }
069
070
076 @Override
077 public com.liferay.portlet.messageboards.model.MBThread deleteMBThread(
078 com.liferay.portlet.messageboards.model.MBThread mbThread) {
079 return _mbThreadLocalService.deleteMBThread(mbThread);
080 }
081
082
089 @Override
090 public com.liferay.portlet.messageboards.model.MBThread deleteMBThread(
091 long threadId)
092 throws com.liferay.portal.kernel.exception.PortalException {
093 return _mbThreadLocalService.deleteMBThread(threadId);
094 }
095
096
099 @Override
100 public com.liferay.portal.model.PersistedModel deletePersistedModel(
101 com.liferay.portal.model.PersistedModel persistedModel)
102 throws com.liferay.portal.kernel.exception.PortalException {
103 return _mbThreadLocalService.deletePersistedModel(persistedModel);
104 }
105
106 @Override
107 public void deleteThread(
108 com.liferay.portlet.messageboards.model.MBThread thread)
109 throws com.liferay.portal.kernel.exception.PortalException {
110 _mbThreadLocalService.deleteThread(thread);
111 }
112
113 @Override
114 public void deleteThread(long threadId)
115 throws com.liferay.portal.kernel.exception.PortalException {
116 _mbThreadLocalService.deleteThread(threadId);
117 }
118
119 @Override
120 public void deleteThreads(long groupId, long categoryId)
121 throws com.liferay.portal.kernel.exception.PortalException {
122 _mbThreadLocalService.deleteThreads(groupId, categoryId);
123 }
124
125 @Override
126 public void deleteThreads(long groupId, long categoryId,
127 boolean includeTrashedEntries)
128 throws com.liferay.portal.kernel.exception.PortalException {
129 _mbThreadLocalService.deleteThreads(groupId, categoryId,
130 includeTrashedEntries);
131 }
132
133 @Override
134 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
135 return _mbThreadLocalService.dynamicQuery();
136 }
137
138
144 @Override
145 public <T> java.util.List<T> dynamicQuery(
146 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
147 return _mbThreadLocalService.dynamicQuery(dynamicQuery);
148 }
149
150
162 @Override
163 public <T> java.util.List<T> dynamicQuery(
164 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
165 int end) {
166 return _mbThreadLocalService.dynamicQuery(dynamicQuery, start, end);
167 }
168
169
182 @Override
183 public <T> java.util.List<T> dynamicQuery(
184 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
185 int end,
186 com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
187 return _mbThreadLocalService.dynamicQuery(dynamicQuery, start, end,
188 orderByComparator);
189 }
190
191
197 @Override
198 public long dynamicQueryCount(
199 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
200 return _mbThreadLocalService.dynamicQueryCount(dynamicQuery);
201 }
202
203
210 @Override
211 public long dynamicQueryCount(
212 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
213 com.liferay.portal.kernel.dao.orm.Projection projection) {
214 return _mbThreadLocalService.dynamicQueryCount(dynamicQuery, projection);
215 }
216
217 @Override
218 public com.liferay.portlet.messageboards.model.MBThread fetchMBThread(
219 long threadId) {
220 return _mbThreadLocalService.fetchMBThread(threadId);
221 }
222
223
230 @Override
231 public com.liferay.portlet.messageboards.model.MBThread fetchMBThreadByUuidAndGroupId(
232 java.lang.String uuid, long groupId) {
233 return _mbThreadLocalService.fetchMBThreadByUuidAndGroupId(uuid, groupId);
234 }
235
236 @Override
237 public com.liferay.portlet.messageboards.model.MBThread fetchThread(
238 long threadId) {
239 return _mbThreadLocalService.fetchThread(threadId);
240 }
241
242 @Override
243 public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
244 return _mbThreadLocalService.getActionableDynamicQuery();
245 }
246
247 @Override
248 public int getCategoryThreadsCount(long groupId, long categoryId, int status) {
249 return _mbThreadLocalService.getCategoryThreadsCount(groupId,
250 categoryId, status);
251 }
252
253 @Override
254 public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
255 com.liferay.portlet.exportimport.lar.PortletDataContext portletDataContext) {
256 return _mbThreadLocalService.getExportActionableDynamicQuery(portletDataContext);
257 }
258
259 @Override
260 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
261 long groupId,
262 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
263 return _mbThreadLocalService.getGroupThreads(groupId, queryDefinition);
264 }
265
266
270 @Deprecated
271 @Override
272 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
273 long groupId, int status, int start, int end) {
274 return _mbThreadLocalService.getGroupThreads(groupId, status, start, end);
275 }
276
277 @Override
278 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
279 long groupId, long userId,
280 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
281 return _mbThreadLocalService.getGroupThreads(groupId, userId,
282 queryDefinition);
283 }
284
285
289 @Deprecated
290 @Override
291 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
292 long groupId, long userId, int status, int start, int end) {
293 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
294 start, end);
295 }
296
297
301 @Deprecated
302 @Override
303 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
304 long groupId, long userId, int status, boolean subscribed,
305 boolean includeAnonymous, int start, int end) {
306 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
307 subscribed, includeAnonymous, start, end);
308 }
309
310
314 @Deprecated
315 @Override
316 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
317 long groupId, long userId, int status, boolean subscribed, int start,
318 int end) {
319 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
320 subscribed, start, end);
321 }
322
323 @Override
324 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
325 long groupId, long userId, boolean subscribed,
326 boolean includeAnonymous,
327 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
328 return _mbThreadLocalService.getGroupThreads(groupId, userId,
329 subscribed, includeAnonymous, queryDefinition);
330 }
331
332 @Override
333 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
334 long groupId, long userId, boolean subscribed,
335 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
336 return _mbThreadLocalService.getGroupThreads(groupId, userId,
337 subscribed, queryDefinition);
338 }
339
340 @Override
341 public int getGroupThreadsCount(long groupId,
342 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
343 return _mbThreadLocalService.getGroupThreadsCount(groupId,
344 queryDefinition);
345 }
346
347
351 @Deprecated
352 @Override
353 public int getGroupThreadsCount(long groupId, int status) {
354 return _mbThreadLocalService.getGroupThreadsCount(groupId, status);
355 }
356
357 @Override
358 public int getGroupThreadsCount(long groupId, long userId,
359 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
360 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
361 queryDefinition);
362 }
363
364
368 @Deprecated
369 @Override
370 public int getGroupThreadsCount(long groupId, long userId, int status) {
371 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
372 status);
373 }
374
375
379 @Deprecated
380 @Override
381 public int getGroupThreadsCount(long groupId, long userId, int status,
382 boolean subscribed) {
383 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
384 status, subscribed);
385 }
386
387
391 @Deprecated
392 @Override
393 public int getGroupThreadsCount(long groupId, long userId, int status,
394 boolean subscribed, boolean includeAnonymous) {
395 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
396 status, subscribed, includeAnonymous);
397 }
398
399 @Override
400 public int getGroupThreadsCount(long groupId, long userId,
401 boolean subscribed, boolean includeAnonymous,
402 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
403 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
404 subscribed, includeAnonymous, queryDefinition);
405 }
406
407 @Override
408 public int getGroupThreadsCount(long groupId, long userId,
409 boolean subscribed,
410 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
411 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
412 subscribed, queryDefinition);
413 }
414
415
422 @Override
423 public com.liferay.portlet.messageboards.model.MBThread getMBThread(
424 long threadId)
425 throws com.liferay.portal.kernel.exception.PortalException {
426 return _mbThreadLocalService.getMBThread(threadId);
427 }
428
429
437 @Override
438 public com.liferay.portlet.messageboards.model.MBThread getMBThreadByUuidAndGroupId(
439 java.lang.String uuid, long groupId)
440 throws com.liferay.portal.kernel.exception.PortalException {
441 return _mbThreadLocalService.getMBThreadByUuidAndGroupId(uuid, groupId);
442 }
443
444
455 @Override
456 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getMBThreads(
457 int start, int end) {
458 return _mbThreadLocalService.getMBThreads(start, end);
459 }
460
461
468 @Override
469 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getMBThreadsByUuidAndCompanyId(
470 java.lang.String uuid, long companyId) {
471 return _mbThreadLocalService.getMBThreadsByUuidAndCompanyId(uuid,
472 companyId);
473 }
474
475
485 @Override
486 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getMBThreadsByUuidAndCompanyId(
487 java.lang.String uuid, long companyId, int start, int end,
488 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.messageboards.model.MBThread> orderByComparator) {
489 return _mbThreadLocalService.getMBThreadsByUuidAndCompanyId(uuid,
490 companyId, start, end, orderByComparator);
491 }
492
493
498 @Override
499 public int getMBThreadsCount() {
500 return _mbThreadLocalService.getMBThreadsCount();
501 }
502
503 @Override
504 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getNoAssetThreads() {
505 return _mbThreadLocalService.getNoAssetThreads();
506 }
507
508
513 @Override
514 public java.lang.String getOSGiServiceIdentifier() {
515 return _mbThreadLocalService.getOSGiServiceIdentifier();
516 }
517
518 @Override
519 public com.liferay.portal.model.PersistedModel getPersistedModel(
520 java.io.Serializable primaryKeyObj)
521 throws com.liferay.portal.kernel.exception.PortalException {
522 return _mbThreadLocalService.getPersistedModel(primaryKeyObj);
523 }
524
525 @Override
526 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
527 long categoryId, double priority)
528 throws com.liferay.portal.kernel.exception.PortalException {
529 return _mbThreadLocalService.getPriorityThreads(categoryId, priority);
530 }
531
532 @Override
533 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
534 long categoryId, double priority, boolean inherit)
535 throws com.liferay.portal.kernel.exception.PortalException {
536 return _mbThreadLocalService.getPriorityThreads(categoryId, priority,
537 inherit);
538 }
539
540 @Override
541 public com.liferay.portlet.messageboards.model.MBThread getThread(
542 long threadId)
543 throws com.liferay.portal.kernel.exception.PortalException {
544 return _mbThreadLocalService.getThread(threadId);
545 }
546
547 @Override
548 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getThreads(
549 long groupId, long categoryId, int status, int start, int end) {
550 return _mbThreadLocalService.getThreads(groupId, categoryId, status,
551 start, end);
552 }
553
554 @Override
555 public int getThreadsCount(long groupId, long categoryId, int status) {
556 return _mbThreadLocalService.getThreadsCount(groupId, categoryId, status);
557 }
558
559 @Override
560 public boolean hasAnswerMessage(long threadId) {
561 return _mbThreadLocalService.hasAnswerMessage(threadId);
562 }
563
564 @Override
565 public void incrementViewCounter(long threadId, int increment)
566 throws com.liferay.portal.kernel.exception.PortalException {
567 _mbThreadLocalService.incrementViewCounter(threadId, increment);
568 }
569
570 @Override
571 public void moveDependentsToTrash(long groupId, long threadId,
572 long trashEntryId)
573 throws com.liferay.portal.kernel.exception.PortalException {
574 _mbThreadLocalService.moveDependentsToTrash(groupId, threadId,
575 trashEntryId);
576 }
577
578 @Override
579 public com.liferay.portlet.messageboards.model.MBThread moveThread(
580 long groupId, long categoryId, long threadId)
581 throws com.liferay.portal.kernel.exception.PortalException {
582 return _mbThreadLocalService.moveThread(groupId, categoryId, threadId);
583 }
584
585 @Override
586 public com.liferay.portlet.messageboards.model.MBThread moveThreadFromTrash(
587 long userId, long categoryId, long threadId)
588 throws com.liferay.portal.kernel.exception.PortalException {
589 return _mbThreadLocalService.moveThreadFromTrash(userId, categoryId,
590 threadId);
591 }
592
593 @Override
594 public com.liferay.portlet.messageboards.model.MBThread moveThreadToTrash(
595 long userId, com.liferay.portlet.messageboards.model.MBThread thread)
596 throws com.liferay.portal.kernel.exception.PortalException {
597 return _mbThreadLocalService.moveThreadToTrash(userId, thread);
598 }
599
600 @Override
601 public com.liferay.portlet.messageboards.model.MBThread moveThreadToTrash(
602 long userId, long threadId)
603 throws com.liferay.portal.kernel.exception.PortalException {
604 return _mbThreadLocalService.moveThreadToTrash(userId, threadId);
605 }
606
607 @Override
608 public void moveThreadsToTrash(long groupId, long userId)
609 throws com.liferay.portal.kernel.exception.PortalException {
610 _mbThreadLocalService.moveThreadsToTrash(groupId, userId);
611 }
612
613 @Override
614 public void restoreDependentsFromTrash(long groupId, long threadId)
615 throws com.liferay.portal.kernel.exception.PortalException {
616 _mbThreadLocalService.restoreDependentsFromTrash(groupId, threadId);
617 }
618
619
623 @Deprecated
624 @Override
625 public void restoreDependentsFromTrash(long groupId, long threadId,
626 long trashEntryId)
627 throws com.liferay.portal.kernel.exception.PortalException {
628 _mbThreadLocalService.restoreDependentsFromTrash(groupId, threadId,
629 trashEntryId);
630 }
631
632 @Override
633 public void restoreThreadFromTrash(long userId, long threadId)
634 throws com.liferay.portal.kernel.exception.PortalException {
635 _mbThreadLocalService.restoreThreadFromTrash(userId, threadId);
636 }
637
638 @Override
639 public com.liferay.portal.kernel.search.Hits search(long groupId,
640 long userId, long creatorUserId, long startDate, long endDate,
641 int status, int start, int end)
642 throws com.liferay.portal.kernel.exception.PortalException {
643 return _mbThreadLocalService.search(groupId, userId, creatorUserId,
644 startDate, endDate, status, start, end);
645 }
646
647 @Override
648 public com.liferay.portal.kernel.search.Hits search(long groupId,
649 long userId, long creatorUserId, int status, int start, int end)
650 throws com.liferay.portal.kernel.exception.PortalException {
651 return _mbThreadLocalService.search(groupId, userId, creatorUserId,
652 status, start, end);
653 }
654
655 @Override
656 public com.liferay.portlet.messageboards.model.MBThread splitThread(
657 long messageId, java.lang.String subject,
658 com.liferay.portal.service.ServiceContext serviceContext)
659 throws com.liferay.portal.kernel.exception.PortalException {
660 return _mbThreadLocalService.splitThread(messageId, subject,
661 serviceContext);
662 }
663
664
670 @Override
671 public com.liferay.portlet.messageboards.model.MBThread updateMBThread(
672 com.liferay.portlet.messageboards.model.MBThread mbThread) {
673 return _mbThreadLocalService.updateMBThread(mbThread);
674 }
675
676 @Override
677 public com.liferay.portlet.messageboards.model.MBThread updateMessageCount(
678 long threadId) {
679 return _mbThreadLocalService.updateMessageCount(threadId);
680 }
681
682 @Override
683 public void updateQuestion(long threadId, boolean question)
684 throws com.liferay.portal.kernel.exception.PortalException {
685 _mbThreadLocalService.updateQuestion(threadId, question);
686 }
687
688 @Override
689 public com.liferay.portlet.messageboards.model.MBThread updateStatus(
690 long userId, long threadId, int status)
691 throws com.liferay.portal.kernel.exception.PortalException {
692 return _mbThreadLocalService.updateStatus(userId, threadId, status);
693 }
694
695
699 @Deprecated
700 @Override
701 public com.liferay.portlet.messageboards.model.MBThread updateThread(
702 long threadId, int viewCount)
703 throws com.liferay.portal.kernel.exception.PortalException {
704 return _mbThreadLocalService.updateThread(threadId, viewCount);
705 }
706
707
710 @Deprecated
711 public MBThreadLocalService getWrappedMBThreadLocalService() {
712 return _mbThreadLocalService;
713 }
714
715
718 @Deprecated
719 public void setWrappedMBThreadLocalService(
720 MBThreadLocalService mbThreadLocalService) {
721 _mbThreadLocalService = mbThreadLocalService;
722 }
723
724 @Override
725 public MBThreadLocalService getWrappedService() {
726 return _mbThreadLocalService;
727 }
728
729 @Override
730 public void setWrappedService(MBThreadLocalService mbThreadLocalService) {
731 _mbThreadLocalService = mbThreadLocalService;
732 }
733
734 private MBThreadLocalService _mbThreadLocalService;
735 }