1
14
15 package com.liferay.portlet.messageboards.service;
16
17
33 public class MBThreadServiceWrapper implements MBThreadService {
34 public MBThreadServiceWrapper(MBThreadService mbThreadService) {
35 _mbThreadService = mbThreadService;
36 }
37
38 public void deleteThread(long threadId)
39 throws com.liferay.portal.PortalException,
40 com.liferay.portal.SystemException {
41 _mbThreadService.deleteThread(threadId);
42 }
43
44 public com.liferay.portal.model.Lock lockThread(long threadId)
45 throws com.liferay.portal.PortalException,
46 com.liferay.portal.SystemException {
47 return _mbThreadService.lockThread(threadId);
48 }
49
50 public com.liferay.portlet.messageboards.model.MBThread moveThread(
51 long categoryId, long threadId)
52 throws com.liferay.portal.PortalException,
53 com.liferay.portal.SystemException {
54 return _mbThreadService.moveThread(categoryId, threadId);
55 }
56
57 public com.liferay.portlet.messageboards.model.MBThread splitThread(
58 long messageId, com.liferay.portal.service.ServiceContext serviceContext)
59 throws com.liferay.portal.PortalException,
60 com.liferay.portal.SystemException {
61 return _mbThreadService.splitThread(messageId, serviceContext);
62 }
63
64 public void unlockThread(long threadId)
65 throws com.liferay.portal.PortalException,
66 com.liferay.portal.SystemException {
67 _mbThreadService.unlockThread(threadId);
68 }
69
70 public MBThreadService getWrappedMBThreadService() {
71 return _mbThreadService;
72 }
73
74 private MBThreadService _mbThreadService;
75 }