001
014
015 package com.liferay.portlet.messageboards.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class MBThreadLocalServiceWrapper implements MBThreadLocalService,
029 ServiceWrapper<MBThreadLocalService> {
030 public MBThreadLocalServiceWrapper(
031 MBThreadLocalService mbThreadLocalService) {
032 _mbThreadLocalService = mbThreadLocalService;
033 }
034
035
042 public com.liferay.portlet.messageboards.model.MBThread addMBThread(
043 com.liferay.portlet.messageboards.model.MBThread mbThread)
044 throws com.liferay.portal.kernel.exception.SystemException {
045 return _mbThreadLocalService.addMBThread(mbThread);
046 }
047
048
054 public com.liferay.portlet.messageboards.model.MBThread createMBThread(
055 long threadId) {
056 return _mbThreadLocalService.createMBThread(threadId);
057 }
058
059
067 public com.liferay.portlet.messageboards.model.MBThread deleteMBThread(
068 long threadId)
069 throws com.liferay.portal.kernel.exception.PortalException,
070 com.liferay.portal.kernel.exception.SystemException {
071 return _mbThreadLocalService.deleteMBThread(threadId);
072 }
073
074
081 public com.liferay.portlet.messageboards.model.MBThread deleteMBThread(
082 com.liferay.portlet.messageboards.model.MBThread mbThread)
083 throws com.liferay.portal.kernel.exception.SystemException {
084 return _mbThreadLocalService.deleteMBThread(mbThread);
085 }
086
087 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
088 return _mbThreadLocalService.dynamicQuery();
089 }
090
091
098 @SuppressWarnings("rawtypes")
099 public java.util.List dynamicQuery(
100 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
101 throws com.liferay.portal.kernel.exception.SystemException {
102 return _mbThreadLocalService.dynamicQuery(dynamicQuery);
103 }
104
105
118 @SuppressWarnings("rawtypes")
119 public java.util.List dynamicQuery(
120 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
121 int end) throws com.liferay.portal.kernel.exception.SystemException {
122 return _mbThreadLocalService.dynamicQuery(dynamicQuery, start, end);
123 }
124
125
139 @SuppressWarnings("rawtypes")
140 public java.util.List dynamicQuery(
141 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
142 int end,
143 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
144 throws com.liferay.portal.kernel.exception.SystemException {
145 return _mbThreadLocalService.dynamicQuery(dynamicQuery, start, end,
146 orderByComparator);
147 }
148
149
156 public long dynamicQueryCount(
157 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
158 throws com.liferay.portal.kernel.exception.SystemException {
159 return _mbThreadLocalService.dynamicQueryCount(dynamicQuery);
160 }
161
162 public com.liferay.portlet.messageboards.model.MBThread fetchMBThread(
163 long threadId)
164 throws com.liferay.portal.kernel.exception.SystemException {
165 return _mbThreadLocalService.fetchMBThread(threadId);
166 }
167
168
176 public com.liferay.portlet.messageboards.model.MBThread getMBThread(
177 long threadId)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _mbThreadLocalService.getMBThread(threadId);
181 }
182
183 public com.liferay.portal.model.PersistedModel getPersistedModel(
184 java.io.Serializable primaryKeyObj)
185 throws com.liferay.portal.kernel.exception.PortalException,
186 com.liferay.portal.kernel.exception.SystemException {
187 return _mbThreadLocalService.getPersistedModel(primaryKeyObj);
188 }
189
190
199 public com.liferay.portlet.messageboards.model.MBThread getMBThreadByUuidAndGroupId(
200 java.lang.String uuid, long groupId)
201 throws com.liferay.portal.kernel.exception.PortalException,
202 com.liferay.portal.kernel.exception.SystemException {
203 return _mbThreadLocalService.getMBThreadByUuidAndGroupId(uuid, groupId);
204 }
205
206
218 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getMBThreads(
219 int start, int end)
220 throws com.liferay.portal.kernel.exception.SystemException {
221 return _mbThreadLocalService.getMBThreads(start, end);
222 }
223
224
230 public int getMBThreadsCount()
231 throws com.liferay.portal.kernel.exception.SystemException {
232 return _mbThreadLocalService.getMBThreadsCount();
233 }
234
235
242 public com.liferay.portlet.messageboards.model.MBThread updateMBThread(
243 com.liferay.portlet.messageboards.model.MBThread mbThread)
244 throws com.liferay.portal.kernel.exception.SystemException {
245 return _mbThreadLocalService.updateMBThread(mbThread);
246 }
247
248
253 public java.lang.String getBeanIdentifier() {
254 return _mbThreadLocalService.getBeanIdentifier();
255 }
256
257
262 public void setBeanIdentifier(java.lang.String beanIdentifier) {
263 _mbThreadLocalService.setBeanIdentifier(beanIdentifier);
264 }
265
266 public com.liferay.portlet.messageboards.model.MBThread addThread(
267 long categoryId,
268 com.liferay.portlet.messageboards.model.MBMessage message,
269 com.liferay.portal.service.ServiceContext serviceContext)
270 throws com.liferay.portal.kernel.exception.PortalException,
271 com.liferay.portal.kernel.exception.SystemException {
272 return _mbThreadLocalService.addThread(categoryId, message,
273 serviceContext);
274 }
275
276 public void deleteThread(long threadId)
277 throws com.liferay.portal.kernel.exception.PortalException,
278 com.liferay.portal.kernel.exception.SystemException {
279 _mbThreadLocalService.deleteThread(threadId);
280 }
281
282 public void deleteThread(
283 com.liferay.portlet.messageboards.model.MBThread thread)
284 throws com.liferay.portal.kernel.exception.PortalException,
285 com.liferay.portal.kernel.exception.SystemException {
286 _mbThreadLocalService.deleteThread(thread);
287 }
288
289 public void deleteThreads(long groupId, long categoryId)
290 throws com.liferay.portal.kernel.exception.PortalException,
291 com.liferay.portal.kernel.exception.SystemException {
292 _mbThreadLocalService.deleteThreads(groupId, categoryId);
293 }
294
295 public void deleteThreads(long groupId, long categoryId,
296 boolean includeTrashedEntries)
297 throws com.liferay.portal.kernel.exception.PortalException,
298 com.liferay.portal.kernel.exception.SystemException {
299 _mbThreadLocalService.deleteThreads(groupId, categoryId,
300 includeTrashedEntries);
301 }
302
303 public com.liferay.portlet.messageboards.model.MBThread fetchThread(
304 long threadId)
305 throws com.liferay.portal.kernel.exception.SystemException {
306 return _mbThreadLocalService.fetchThread(threadId);
307 }
308
309 public int getCategoryThreadsCount(long groupId, long categoryId, int status)
310 throws com.liferay.portal.kernel.exception.SystemException {
311 return _mbThreadLocalService.getCategoryThreadsCount(groupId,
312 categoryId, status);
313 }
314
315
319 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
320 long groupId, int status, int start, int end)
321 throws com.liferay.portal.kernel.exception.SystemException {
322 return _mbThreadLocalService.getGroupThreads(groupId, status, start, end);
323 }
324
325 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
326 long groupId, long userId, boolean subscribed,
327 boolean includeAnonymous,
328 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
329 throws com.liferay.portal.kernel.exception.SystemException {
330 return _mbThreadLocalService.getGroupThreads(groupId, userId,
331 subscribed, includeAnonymous, queryDefinition);
332 }
333
334 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
335 long groupId, long userId, boolean subscribed,
336 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
337 throws com.liferay.portal.kernel.exception.SystemException {
338 return _mbThreadLocalService.getGroupThreads(groupId, userId,
339 subscribed, queryDefinition);
340 }
341
342
346 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
347 long groupId, long userId, int status, boolean subscribed,
348 boolean includeAnonymous, int start, int end)
349 throws com.liferay.portal.kernel.exception.SystemException {
350 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
351 subscribed, includeAnonymous, start, end);
352 }
353
354
358 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
359 long groupId, long userId, int status, boolean subscribed, int start,
360 int end) throws com.liferay.portal.kernel.exception.SystemException {
361 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
362 subscribed, start, end);
363 }
364
365
369 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
370 long groupId, long userId, int status, int start, int end)
371 throws com.liferay.portal.kernel.exception.SystemException {
372 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
373 start, end);
374 }
375
376 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
377 long groupId, long userId,
378 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
379 throws com.liferay.portal.kernel.exception.SystemException {
380 return _mbThreadLocalService.getGroupThreads(groupId, userId,
381 queryDefinition);
382 }
383
384 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
385 long groupId,
386 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
387 throws com.liferay.portal.kernel.exception.SystemException {
388 return _mbThreadLocalService.getGroupThreads(groupId, queryDefinition);
389 }
390
391
395 public int getGroupThreadsCount(long groupId, int status)
396 throws com.liferay.portal.kernel.exception.SystemException {
397 return _mbThreadLocalService.getGroupThreadsCount(groupId, status);
398 }
399
400 public int getGroupThreadsCount(long groupId, long userId,
401 boolean subscribed, boolean includeAnonymous,
402 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
403 throws com.liferay.portal.kernel.exception.SystemException {
404 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
405 subscribed, includeAnonymous, queryDefinition);
406 }
407
408 public int getGroupThreadsCount(long groupId, long userId,
409 boolean subscribed,
410 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
411 throws com.liferay.portal.kernel.exception.SystemException {
412 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
413 subscribed, queryDefinition);
414 }
415
416
420 public int getGroupThreadsCount(long groupId, long userId, int status)
421 throws com.liferay.portal.kernel.exception.SystemException {
422 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
423 status);
424 }
425
426
430 public int getGroupThreadsCount(long groupId, long userId, int status,
431 boolean subscribed)
432 throws com.liferay.portal.kernel.exception.SystemException {
433 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
434 status, subscribed);
435 }
436
437
441 public int getGroupThreadsCount(long groupId, long userId, int status,
442 boolean subscribed, boolean includeAnonymous)
443 throws com.liferay.portal.kernel.exception.SystemException {
444 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
445 status, subscribed, includeAnonymous);
446 }
447
448 public int getGroupThreadsCount(long groupId, long userId,
449 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
450 throws com.liferay.portal.kernel.exception.SystemException {
451 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
452 queryDefinition);
453 }
454
455 public int getGroupThreadsCount(long groupId,
456 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
457 throws com.liferay.portal.kernel.exception.SystemException {
458 return _mbThreadLocalService.getGroupThreadsCount(groupId,
459 queryDefinition);
460 }
461
462 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getNoAssetThreads()
463 throws com.liferay.portal.kernel.exception.SystemException {
464 return _mbThreadLocalService.getNoAssetThreads();
465 }
466
467 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
468 long categoryId, double priority)
469 throws com.liferay.portal.kernel.exception.PortalException,
470 com.liferay.portal.kernel.exception.SystemException {
471 return _mbThreadLocalService.getPriorityThreads(categoryId, priority);
472 }
473
474 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
475 long categoryId, double priority, boolean inherit)
476 throws com.liferay.portal.kernel.exception.PortalException,
477 com.liferay.portal.kernel.exception.SystemException {
478 return _mbThreadLocalService.getPriorityThreads(categoryId, priority,
479 inherit);
480 }
481
482 public com.liferay.portlet.messageboards.model.MBThread getThread(
483 long threadId)
484 throws com.liferay.portal.kernel.exception.PortalException,
485 com.liferay.portal.kernel.exception.SystemException {
486 return _mbThreadLocalService.getThread(threadId);
487 }
488
489 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getThreads(
490 long groupId, long categoryId, int status, int start, int end)
491 throws com.liferay.portal.kernel.exception.SystemException {
492 return _mbThreadLocalService.getThreads(groupId, categoryId, status,
493 start, end);
494 }
495
496 public int getThreadsCount(long groupId, long categoryId, int status)
497 throws com.liferay.portal.kernel.exception.SystemException {
498 return _mbThreadLocalService.getThreadsCount(groupId, categoryId, status);
499 }
500
501 public boolean hasAnswerMessage(long threadId)
502 throws com.liferay.portal.kernel.exception.SystemException {
503 return _mbThreadLocalService.hasAnswerMessage(threadId);
504 }
505
506 public com.liferay.portlet.messageboards.model.MBThread incrementViewCounter(
507 long threadId, int increment)
508 throws com.liferay.portal.kernel.exception.PortalException,
509 com.liferay.portal.kernel.exception.SystemException {
510 return _mbThreadLocalService.incrementViewCounter(threadId, increment);
511 }
512
513 public com.liferay.portlet.messageboards.model.MBThread moveThread(
514 long groupId, long categoryId, long threadId)
515 throws com.liferay.portal.kernel.exception.PortalException,
516 com.liferay.portal.kernel.exception.SystemException {
517 return _mbThreadLocalService.moveThread(groupId, categoryId, threadId);
518 }
519
520 public com.liferay.portlet.messageboards.model.MBThread moveThreadFromTrash(
521 long userId, long categoryId, long threadId)
522 throws com.liferay.portal.kernel.exception.PortalException,
523 com.liferay.portal.kernel.exception.SystemException {
524 return _mbThreadLocalService.moveThreadFromTrash(userId, categoryId,
525 threadId);
526 }
527
528 public void moveThreadsToTrash(long groupId, long userId)
529 throws com.liferay.portal.kernel.exception.PortalException,
530 com.liferay.portal.kernel.exception.SystemException {
531 _mbThreadLocalService.moveThreadsToTrash(groupId, userId);
532 }
533
534 public com.liferay.portlet.messageboards.model.MBThread moveThreadToTrash(
535 long userId, long entryId)
536 throws com.liferay.portal.kernel.exception.PortalException,
537 com.liferay.portal.kernel.exception.SystemException {
538 return _mbThreadLocalService.moveThreadToTrash(userId, entryId);
539 }
540
541 public com.liferay.portlet.messageboards.model.MBThread moveThreadToTrash(
542 long userId, com.liferay.portlet.messageboards.model.MBThread thread)
543 throws com.liferay.portal.kernel.exception.PortalException,
544 com.liferay.portal.kernel.exception.SystemException {
545 return _mbThreadLocalService.moveThreadToTrash(userId, thread);
546 }
547
548 public void restoreThreadFromTrash(long userId, long threadId)
549 throws com.liferay.portal.kernel.exception.PortalException,
550 com.liferay.portal.kernel.exception.SystemException {
551 _mbThreadLocalService.restoreThreadFromTrash(userId, threadId);
552 }
553
554 public com.liferay.portlet.messageboards.model.MBThread splitThread(
555 long messageId, java.lang.String subject,
556 com.liferay.portal.service.ServiceContext serviceContext)
557 throws com.liferay.portal.kernel.exception.PortalException,
558 com.liferay.portal.kernel.exception.SystemException {
559 return _mbThreadLocalService.splitThread(messageId, subject,
560 serviceContext);
561 }
562
563 public void updateQuestion(long threadId, boolean question)
564 throws com.liferay.portal.kernel.exception.PortalException,
565 com.liferay.portal.kernel.exception.SystemException {
566 _mbThreadLocalService.updateQuestion(threadId, question);
567 }
568
569 public com.liferay.portlet.messageboards.model.MBThread updateStatus(
570 long userId, long threadId, int status, int categoryStatus)
571 throws com.liferay.portal.kernel.exception.PortalException,
572 com.liferay.portal.kernel.exception.SystemException {
573 return _mbThreadLocalService.updateStatus(userId, threadId, status,
574 categoryStatus);
575 }
576
577
581 public com.liferay.portlet.messageboards.model.MBThread updateThread(
582 long threadId, int viewCount)
583 throws com.liferay.portal.kernel.exception.PortalException,
584 com.liferay.portal.kernel.exception.SystemException {
585 return _mbThreadLocalService.updateThread(threadId, viewCount);
586 }
587
588
591 public MBThreadLocalService getWrappedMBThreadLocalService() {
592 return _mbThreadLocalService;
593 }
594
595
598 public void setWrappedMBThreadLocalService(
599 MBThreadLocalService mbThreadLocalService) {
600 _mbThreadLocalService = mbThreadLocalService;
601 }
602
603 public MBThreadLocalService getWrappedService() {
604 return _mbThreadLocalService;
605 }
606
607 public void setWrappedService(MBThreadLocalService mbThreadLocalService) {
608 _mbThreadLocalService = mbThreadLocalService;
609 }
610
611 private MBThreadLocalService _mbThreadLocalService;
612 }