1
14
15 package com.liferay.portlet.messageboards.service;
16
17
18
34 public class MBThreadServiceWrapper implements MBThreadService {
35 public MBThreadServiceWrapper(MBThreadService mbThreadService) {
36 _mbThreadService = mbThreadService;
37 }
38
39 public void deleteThread(long threadId)
40 throws com.liferay.portal.PortalException,
41 com.liferay.portal.SystemException, java.rmi.RemoteException {
42 _mbThreadService.deleteThread(threadId);
43 }
44
45 public com.liferay.portlet.messageboards.model.MBThread moveThread(
46 long categoryId, long threadId)
47 throws com.liferay.portal.PortalException,
48 com.liferay.portal.SystemException, java.rmi.RemoteException {
49 return _mbThreadService.moveThread(categoryId, threadId);
50 }
51
52 public com.liferay.portlet.messageboards.model.MBThread splitThread(
53 long messageId, javax.portlet.PortletPreferences prefs,
54 com.liferay.portal.theme.ThemeDisplay themeDisplay)
55 throws com.liferay.portal.PortalException,
56 com.liferay.portal.SystemException, java.rmi.RemoteException {
57 return _mbThreadService.splitThread(messageId, prefs, themeDisplay);
58 }
59
60 public MBThreadService getWrappedMBThreadService() {
61 return _mbThreadService;
62 }
63
64 private MBThreadService _mbThreadService;
65 }