1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.messageboards.service;
16  
17  /**
18   * <a href="MBThreadServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link MBThreadService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       MBThreadService
31   * @generated
32   */
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  }