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 @Override
267 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
268 long groupId, long userId,
269 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
270 return _mbThreadLocalService.getGroupThreads(groupId, userId,
271 queryDefinition);
272 }
273
274 @Override
275 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
276 long groupId, long userId, boolean subscribed,
277 boolean includeAnonymous,
278 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
279 return _mbThreadLocalService.getGroupThreads(groupId, userId,
280 subscribed, includeAnonymous, queryDefinition);
281 }
282
283 @Override
284 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
285 long groupId, long userId, boolean subscribed,
286 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
287 return _mbThreadLocalService.getGroupThreads(groupId, userId,
288 subscribed, queryDefinition);
289 }
290
291 @Override
292 public int getGroupThreadsCount(long groupId,
293 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
294 return _mbThreadLocalService.getGroupThreadsCount(groupId,
295 queryDefinition);
296 }
297
298 @Override
299 public int getGroupThreadsCount(long groupId, long userId,
300 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
301 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
302 queryDefinition);
303 }
304
305 @Override
306 public int getGroupThreadsCount(long groupId, long userId,
307 boolean subscribed, boolean includeAnonymous,
308 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
309 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
310 subscribed, includeAnonymous, queryDefinition);
311 }
312
313 @Override
314 public int getGroupThreadsCount(long groupId, long userId,
315 boolean subscribed,
316 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
317 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
318 subscribed, queryDefinition);
319 }
320
321 @Override
322 public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() {
323 return _mbThreadLocalService.getIndexableActionableDynamicQuery();
324 }
325
326
333 @Override
334 public com.liferay.portlet.messageboards.model.MBThread getMBThread(
335 long threadId)
336 throws com.liferay.portal.kernel.exception.PortalException {
337 return _mbThreadLocalService.getMBThread(threadId);
338 }
339
340
348 @Override
349 public com.liferay.portlet.messageboards.model.MBThread getMBThreadByUuidAndGroupId(
350 java.lang.String uuid, long groupId)
351 throws com.liferay.portal.kernel.exception.PortalException {
352 return _mbThreadLocalService.getMBThreadByUuidAndGroupId(uuid, groupId);
353 }
354
355
366 @Override
367 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getMBThreads(
368 int start, int end) {
369 return _mbThreadLocalService.getMBThreads(start, end);
370 }
371
372
379 @Override
380 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getMBThreadsByUuidAndCompanyId(
381 java.lang.String uuid, long companyId) {
382 return _mbThreadLocalService.getMBThreadsByUuidAndCompanyId(uuid,
383 companyId);
384 }
385
386
396 @Override
397 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getMBThreadsByUuidAndCompanyId(
398 java.lang.String uuid, long companyId, int start, int end,
399 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.messageboards.model.MBThread> orderByComparator) {
400 return _mbThreadLocalService.getMBThreadsByUuidAndCompanyId(uuid,
401 companyId, start, end, orderByComparator);
402 }
403
404
409 @Override
410 public int getMBThreadsCount() {
411 return _mbThreadLocalService.getMBThreadsCount();
412 }
413
414 @Override
415 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getNoAssetThreads() {
416 return _mbThreadLocalService.getNoAssetThreads();
417 }
418
419
424 @Override
425 public java.lang.String getOSGiServiceIdentifier() {
426 return _mbThreadLocalService.getOSGiServiceIdentifier();
427 }
428
429 @Override
430 public com.liferay.portal.model.PersistedModel getPersistedModel(
431 java.io.Serializable primaryKeyObj)
432 throws com.liferay.portal.kernel.exception.PortalException {
433 return _mbThreadLocalService.getPersistedModel(primaryKeyObj);
434 }
435
436 @Override
437 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
438 long categoryId, double priority)
439 throws com.liferay.portal.kernel.exception.PortalException {
440 return _mbThreadLocalService.getPriorityThreads(categoryId, priority);
441 }
442
443 @Override
444 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
445 long categoryId, double priority, boolean inherit)
446 throws com.liferay.portal.kernel.exception.PortalException {
447 return _mbThreadLocalService.getPriorityThreads(categoryId, priority,
448 inherit);
449 }
450
451 @Override
452 public com.liferay.portlet.messageboards.model.MBThread getThread(
453 long threadId)
454 throws com.liferay.portal.kernel.exception.PortalException {
455 return _mbThreadLocalService.getThread(threadId);
456 }
457
458 @Override
459 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getThreads(
460 long groupId, long categoryId, int status, int start, int end) {
461 return _mbThreadLocalService.getThreads(groupId, categoryId, status,
462 start, end);
463 }
464
465 @Override
466 public int getThreadsCount(long groupId, long categoryId, int status) {
467 return _mbThreadLocalService.getThreadsCount(groupId, categoryId, status);
468 }
469
470 @Override
471 public boolean hasAnswerMessage(long threadId) {
472 return _mbThreadLocalService.hasAnswerMessage(threadId);
473 }
474
475 @Override
476 public void incrementViewCounter(long threadId, int increment)
477 throws com.liferay.portal.kernel.exception.PortalException {
478 _mbThreadLocalService.incrementViewCounter(threadId, increment);
479 }
480
481 @Override
482 public void moveDependentsToTrash(long groupId, long threadId,
483 long trashEntryId)
484 throws com.liferay.portal.kernel.exception.PortalException {
485 _mbThreadLocalService.moveDependentsToTrash(groupId, threadId,
486 trashEntryId);
487 }
488
489 @Override
490 public com.liferay.portlet.messageboards.model.MBThread moveThread(
491 long groupId, long categoryId, long threadId)
492 throws com.liferay.portal.kernel.exception.PortalException {
493 return _mbThreadLocalService.moveThread(groupId, categoryId, threadId);
494 }
495
496 @Override
497 public com.liferay.portlet.messageboards.model.MBThread moveThreadFromTrash(
498 long userId, long categoryId, long threadId)
499 throws com.liferay.portal.kernel.exception.PortalException {
500 return _mbThreadLocalService.moveThreadFromTrash(userId, categoryId,
501 threadId);
502 }
503
504 @Override
505 public com.liferay.portlet.messageboards.model.MBThread moveThreadToTrash(
506 long userId, com.liferay.portlet.messageboards.model.MBThread thread)
507 throws com.liferay.portal.kernel.exception.PortalException {
508 return _mbThreadLocalService.moveThreadToTrash(userId, thread);
509 }
510
511 @Override
512 public com.liferay.portlet.messageboards.model.MBThread moveThreadToTrash(
513 long userId, long threadId)
514 throws com.liferay.portal.kernel.exception.PortalException {
515 return _mbThreadLocalService.moveThreadToTrash(userId, threadId);
516 }
517
518 @Override
519 public void moveThreadsToTrash(long groupId, long userId)
520 throws com.liferay.portal.kernel.exception.PortalException {
521 _mbThreadLocalService.moveThreadsToTrash(groupId, userId);
522 }
523
524 @Override
525 public void restoreDependentsFromTrash(long groupId, long threadId)
526 throws com.liferay.portal.kernel.exception.PortalException {
527 _mbThreadLocalService.restoreDependentsFromTrash(groupId, threadId);
528 }
529
530
534 @Deprecated
535 @Override
536 public void restoreDependentsFromTrash(long groupId, long threadId,
537 long trashEntryId)
538 throws com.liferay.portal.kernel.exception.PortalException {
539 _mbThreadLocalService.restoreDependentsFromTrash(groupId, threadId,
540 trashEntryId);
541 }
542
543 @Override
544 public void restoreThreadFromTrash(long userId, long threadId)
545 throws com.liferay.portal.kernel.exception.PortalException {
546 _mbThreadLocalService.restoreThreadFromTrash(userId, threadId);
547 }
548
549 @Override
550 public com.liferay.portal.kernel.search.Hits search(long groupId,
551 long userId, long creatorUserId, long startDate, long endDate,
552 int status, int start, int end)
553 throws com.liferay.portal.kernel.exception.PortalException {
554 return _mbThreadLocalService.search(groupId, userId, creatorUserId,
555 startDate, endDate, status, start, end);
556 }
557
558 @Override
559 public com.liferay.portal.kernel.search.Hits search(long groupId,
560 long userId, long creatorUserId, int status, int start, int end)
561 throws com.liferay.portal.kernel.exception.PortalException {
562 return _mbThreadLocalService.search(groupId, userId, creatorUserId,
563 status, start, end);
564 }
565
566 @Override
567 public com.liferay.portlet.messageboards.model.MBThread splitThread(
568 long userId, long messageId, java.lang.String subject,
569 com.liferay.portal.service.ServiceContext serviceContext)
570 throws com.liferay.portal.kernel.exception.PortalException {
571 return _mbThreadLocalService.splitThread(userId, messageId, subject,
572 serviceContext);
573 }
574
575
581 @Override
582 public com.liferay.portlet.messageboards.model.MBThread updateMBThread(
583 com.liferay.portlet.messageboards.model.MBThread mbThread) {
584 return _mbThreadLocalService.updateMBThread(mbThread);
585 }
586
587 @Override
588 public com.liferay.portlet.messageboards.model.MBThread updateMessageCount(
589 long threadId) {
590 return _mbThreadLocalService.updateMessageCount(threadId);
591 }
592
593 @Override
594 public void updateQuestion(long threadId, boolean question)
595 throws com.liferay.portal.kernel.exception.PortalException {
596 _mbThreadLocalService.updateQuestion(threadId, question);
597 }
598
599 @Override
600 public com.liferay.portlet.messageboards.model.MBThread updateStatus(
601 long userId, long threadId, int status)
602 throws com.liferay.portal.kernel.exception.PortalException {
603 return _mbThreadLocalService.updateStatus(userId, threadId, status);
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 }