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="MBThreadLocalServiceUtil.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 MBThreadLocalService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       MBThreadLocalService
31   * @generated
32   */
33  public class MBThreadLocalServiceWrapper implements MBThreadLocalService {
34      public MBThreadLocalServiceWrapper(
35          MBThreadLocalService mbThreadLocalService) {
36          _mbThreadLocalService = mbThreadLocalService;
37      }
38  
39      public com.liferay.portlet.messageboards.model.MBThread addMBThread(
40          com.liferay.portlet.messageboards.model.MBThread mbThread)
41          throws com.liferay.portal.SystemException {
42          return _mbThreadLocalService.addMBThread(mbThread);
43      }
44  
45      public com.liferay.portlet.messageboards.model.MBThread createMBThread(
46          long threadId) {
47          return _mbThreadLocalService.createMBThread(threadId);
48      }
49  
50      public void deleteMBThread(long threadId)
51          throws com.liferay.portal.PortalException,
52              com.liferay.portal.SystemException {
53          _mbThreadLocalService.deleteMBThread(threadId);
54      }
55  
56      public void deleteMBThread(
57          com.liferay.portlet.messageboards.model.MBThread mbThread)
58          throws com.liferay.portal.SystemException {
59          _mbThreadLocalService.deleteMBThread(mbThread);
60      }
61  
62      @SuppressWarnings("rawtypes")
63      public java.util.List dynamicQuery(
64          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65          throws com.liferay.portal.SystemException {
66          return _mbThreadLocalService.dynamicQuery(dynamicQuery);
67      }
68  
69      @SuppressWarnings("rawtypes")
70      public java.util.List dynamicQuery(
71          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72          int end) throws com.liferay.portal.SystemException {
73          return _mbThreadLocalService.dynamicQuery(dynamicQuery, start, end);
74      }
75  
76      @SuppressWarnings("rawtypes")
77      public java.util.List dynamicQuery(
78          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79          int end,
80          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
81          throws com.liferay.portal.SystemException {
82          return _mbThreadLocalService.dynamicQuery(dynamicQuery, start, end,
83              orderByComparator);
84      }
85  
86      public int dynamicQueryCount(
87          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
88          throws com.liferay.portal.SystemException {
89          return _mbThreadLocalService.dynamicQueryCount(dynamicQuery);
90      }
91  
92      public com.liferay.portlet.messageboards.model.MBThread getMBThread(
93          long threadId)
94          throws com.liferay.portal.PortalException,
95              com.liferay.portal.SystemException {
96          return _mbThreadLocalService.getMBThread(threadId);
97      }
98  
99      public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getMBThreads(
100         int start, int end) throws com.liferay.portal.SystemException {
101         return _mbThreadLocalService.getMBThreads(start, end);
102     }
103 
104     public int getMBThreadsCount() throws com.liferay.portal.SystemException {
105         return _mbThreadLocalService.getMBThreadsCount();
106     }
107 
108     public com.liferay.portlet.messageboards.model.MBThread updateMBThread(
109         com.liferay.portlet.messageboards.model.MBThread mbThread)
110         throws com.liferay.portal.SystemException {
111         return _mbThreadLocalService.updateMBThread(mbThread);
112     }
113 
114     public com.liferay.portlet.messageboards.model.MBThread updateMBThread(
115         com.liferay.portlet.messageboards.model.MBThread mbThread, boolean merge)
116         throws com.liferay.portal.SystemException {
117         return _mbThreadLocalService.updateMBThread(mbThread, merge);
118     }
119 
120     public void deleteThread(long threadId)
121         throws com.liferay.portal.PortalException,
122             com.liferay.portal.SystemException {
123         _mbThreadLocalService.deleteThread(threadId);
124     }
125 
126     public void deleteThread(
127         com.liferay.portlet.messageboards.model.MBThread thread)
128         throws com.liferay.portal.PortalException,
129             com.liferay.portal.SystemException {
130         _mbThreadLocalService.deleteThread(thread);
131     }
132 
133     public void deleteThreads(long categoryId)
134         throws com.liferay.portal.PortalException,
135             com.liferay.portal.SystemException {
136         _mbThreadLocalService.deleteThreads(categoryId);
137     }
138 
139     public int getCategoryThreadsCount(long categoryId)
140         throws com.liferay.portal.SystemException {
141         return _mbThreadLocalService.getCategoryThreadsCount(categoryId);
142     }
143 
144     public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
145         long groupId, int start, int end)
146         throws com.liferay.portal.SystemException {
147         return _mbThreadLocalService.getGroupThreads(groupId, start, end);
148     }
149 
150     public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
151         long groupId, long userId, boolean subscribed,
152         boolean includeAnonymous, int start, int end)
153         throws com.liferay.portal.PortalException,
154             com.liferay.portal.SystemException {
155         return _mbThreadLocalService.getGroupThreads(groupId, userId,
156             subscribed, includeAnonymous, start, end);
157     }
158 
159     public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
160         long groupId, long userId, boolean subscribed, int start, int end)
161         throws com.liferay.portal.PortalException,
162             com.liferay.portal.SystemException {
163         return _mbThreadLocalService.getGroupThreads(groupId, userId,
164             subscribed, start, end);
165     }
166 
167     public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
168         long groupId, long userId, int start, int end)
169         throws com.liferay.portal.PortalException,
170             com.liferay.portal.SystemException {
171         return _mbThreadLocalService.getGroupThreads(groupId, userId, start, end);
172     }
173 
174     public int getGroupThreadsCount(long groupId)
175         throws com.liferay.portal.SystemException {
176         return _mbThreadLocalService.getGroupThreadsCount(groupId);
177     }
178 
179     public int getGroupThreadsCount(long groupId, long userId)
180         throws com.liferay.portal.SystemException {
181         return _mbThreadLocalService.getGroupThreadsCount(groupId, userId);
182     }
183 
184     public int getGroupThreadsCount(long groupId, long userId,
185         boolean subscribed) throws com.liferay.portal.SystemException {
186         return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
187             subscribed);
188     }
189 
190     public int getGroupThreadsCount(long groupId, long userId,
191         boolean subscribed, boolean includeAnonymous)
192         throws com.liferay.portal.SystemException {
193         return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
194             subscribed, includeAnonymous);
195     }
196 
197     public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
198         long categoryId, double priority)
199         throws com.liferay.portal.PortalException,
200             com.liferay.portal.SystemException {
201         return _mbThreadLocalService.getPriorityThreads(categoryId, priority);
202     }
203 
204     public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
205         long categoryId, double priority, boolean inherit)
206         throws com.liferay.portal.PortalException,
207             com.liferay.portal.SystemException {
208         return _mbThreadLocalService.getPriorityThreads(categoryId, priority,
209             inherit);
210     }
211 
212     public com.liferay.portlet.messageboards.model.MBThread getThread(
213         long threadId)
214         throws com.liferay.portal.PortalException,
215             com.liferay.portal.SystemException {
216         return _mbThreadLocalService.getThread(threadId);
217     }
218 
219     public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getThreads(
220         long categoryId, int start, int end)
221         throws com.liferay.portal.SystemException {
222         return _mbThreadLocalService.getThreads(categoryId, start, end);
223     }
224 
225     public int getThreadsCount(long categoryId)
226         throws com.liferay.portal.SystemException {
227         return _mbThreadLocalService.getThreadsCount(categoryId);
228     }
229 
230     public com.liferay.portlet.messageboards.model.MBThread moveThread(
231         long categoryId, long threadId)
232         throws com.liferay.portal.PortalException,
233             com.liferay.portal.SystemException {
234         return _mbThreadLocalService.moveThread(categoryId, threadId);
235     }
236 
237     public com.liferay.portlet.messageboards.model.MBThread splitThread(
238         long messageId, com.liferay.portal.service.ServiceContext serviceContext)
239         throws com.liferay.portal.PortalException,
240             com.liferay.portal.SystemException {
241         return _mbThreadLocalService.splitThread(messageId, serviceContext);
242     }
243 
244     public com.liferay.portlet.messageboards.model.MBThread updateThread(
245         long threadId, int viewCount)
246         throws com.liferay.portal.PortalException,
247             com.liferay.portal.SystemException {
248         return _mbThreadLocalService.updateThread(threadId, viewCount);
249     }
250 
251     public MBThreadLocalService getWrappedMBThreadLocalService() {
252         return _mbThreadLocalService;
253     }
254 
255     private MBThreadLocalService _mbThreadLocalService;
256 }