001
014
015 package com.liferay.portlet.messageboards.service;
016
017
026 public class MBThreadLocalServiceWrapper implements MBThreadLocalService {
027 public MBThreadLocalServiceWrapper(
028 MBThreadLocalService mbThreadLocalService) {
029 _mbThreadLocalService = mbThreadLocalService;
030 }
031
032
039 public com.liferay.portlet.messageboards.model.MBThread addMBThread(
040 com.liferay.portlet.messageboards.model.MBThread mbThread)
041 throws com.liferay.portal.kernel.exception.SystemException {
042 return _mbThreadLocalService.addMBThread(mbThread);
043 }
044
045
051 public com.liferay.portlet.messageboards.model.MBThread createMBThread(
052 long threadId) {
053 return _mbThreadLocalService.createMBThread(threadId);
054 }
055
056
063 public void deleteMBThread(long threadId)
064 throws com.liferay.portal.kernel.exception.PortalException,
065 com.liferay.portal.kernel.exception.SystemException {
066 _mbThreadLocalService.deleteMBThread(threadId);
067 }
068
069
075 public void deleteMBThread(
076 com.liferay.portlet.messageboards.model.MBThread mbThread)
077 throws com.liferay.portal.kernel.exception.SystemException {
078 _mbThreadLocalService.deleteMBThread(mbThread);
079 }
080
081
088 @SuppressWarnings("rawtypes")
089 public java.util.List dynamicQuery(
090 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
091 throws com.liferay.portal.kernel.exception.SystemException {
092 return _mbThreadLocalService.dynamicQuery(dynamicQuery);
093 }
094
095
108 @SuppressWarnings("rawtypes")
109 public java.util.List dynamicQuery(
110 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
111 int end) throws com.liferay.portal.kernel.exception.SystemException {
112 return _mbThreadLocalService.dynamicQuery(dynamicQuery, start, end);
113 }
114
115
129 @SuppressWarnings("rawtypes")
130 public java.util.List dynamicQuery(
131 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
132 int end,
133 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
134 throws com.liferay.portal.kernel.exception.SystemException {
135 return _mbThreadLocalService.dynamicQuery(dynamicQuery, start, end,
136 orderByComparator);
137 }
138
139
146 public long dynamicQueryCount(
147 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
148 throws com.liferay.portal.kernel.exception.SystemException {
149 return _mbThreadLocalService.dynamicQueryCount(dynamicQuery);
150 }
151
152
160 public com.liferay.portlet.messageboards.model.MBThread getMBThread(
161 long threadId)
162 throws com.liferay.portal.kernel.exception.PortalException,
163 com.liferay.portal.kernel.exception.SystemException {
164 return _mbThreadLocalService.getMBThread(threadId);
165 }
166
167 public com.liferay.portal.model.PersistedModel getPersistedModel(
168 java.io.Serializable primaryKeyObj)
169 throws com.liferay.portal.kernel.exception.PortalException,
170 com.liferay.portal.kernel.exception.SystemException {
171 return _mbThreadLocalService.getPersistedModel(primaryKeyObj);
172 }
173
174
186 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getMBThreads(
187 int start, int end)
188 throws com.liferay.portal.kernel.exception.SystemException {
189 return _mbThreadLocalService.getMBThreads(start, end);
190 }
191
192
198 public int getMBThreadsCount()
199 throws com.liferay.portal.kernel.exception.SystemException {
200 return _mbThreadLocalService.getMBThreadsCount();
201 }
202
203
210 public com.liferay.portlet.messageboards.model.MBThread updateMBThread(
211 com.liferay.portlet.messageboards.model.MBThread mbThread)
212 throws com.liferay.portal.kernel.exception.SystemException {
213 return _mbThreadLocalService.updateMBThread(mbThread);
214 }
215
216
224 public com.liferay.portlet.messageboards.model.MBThread updateMBThread(
225 com.liferay.portlet.messageboards.model.MBThread mbThread, boolean merge)
226 throws com.liferay.portal.kernel.exception.SystemException {
227 return _mbThreadLocalService.updateMBThread(mbThread, merge);
228 }
229
230
235 public java.lang.String getBeanIdentifier() {
236 return _mbThreadLocalService.getBeanIdentifier();
237 }
238
239
244 public void setBeanIdentifier(java.lang.String beanIdentifier) {
245 _mbThreadLocalService.setBeanIdentifier(beanIdentifier);
246 }
247
248 public void deleteThread(long threadId)
249 throws com.liferay.portal.kernel.exception.PortalException,
250 com.liferay.portal.kernel.exception.SystemException {
251 _mbThreadLocalService.deleteThread(threadId);
252 }
253
254 public void deleteThread(
255 com.liferay.portlet.messageboards.model.MBThread thread)
256 throws com.liferay.portal.kernel.exception.PortalException,
257 com.liferay.portal.kernel.exception.SystemException {
258 _mbThreadLocalService.deleteThread(thread);
259 }
260
261 public void deleteThreads(long groupId, long categoryId)
262 throws com.liferay.portal.kernel.exception.PortalException,
263 com.liferay.portal.kernel.exception.SystemException {
264 _mbThreadLocalService.deleteThreads(groupId, categoryId);
265 }
266
267 public int getCategoryThreadsCount(long groupId, long categoryId, int status)
268 throws com.liferay.portal.kernel.exception.SystemException {
269 return _mbThreadLocalService.getCategoryThreadsCount(groupId,
270 categoryId, status);
271 }
272
273 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
274 long groupId, int status, int start, int end)
275 throws com.liferay.portal.kernel.exception.SystemException {
276 return _mbThreadLocalService.getGroupThreads(groupId, status, start, end);
277 }
278
279 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
280 long groupId, long userId, int status, boolean subscribed,
281 boolean includeAnonymous, int start, int end)
282 throws com.liferay.portal.kernel.exception.PortalException,
283 com.liferay.portal.kernel.exception.SystemException {
284 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
285 subscribed, includeAnonymous, start, end);
286 }
287
288 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
289 long groupId, long userId, int status, boolean subscribed, int start,
290 int end)
291 throws com.liferay.portal.kernel.exception.PortalException,
292 com.liferay.portal.kernel.exception.SystemException {
293 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
294 subscribed, start, end);
295 }
296
297 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
298 long groupId, long userId, int status, int start, int end)
299 throws com.liferay.portal.kernel.exception.PortalException,
300 com.liferay.portal.kernel.exception.SystemException {
301 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
302 start, end);
303 }
304
305 public int getGroupThreadsCount(long groupId, int status)
306 throws com.liferay.portal.kernel.exception.SystemException {
307 return _mbThreadLocalService.getGroupThreadsCount(groupId, status);
308 }
309
310 public int getGroupThreadsCount(long groupId, long userId, int status)
311 throws com.liferay.portal.kernel.exception.SystemException {
312 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
313 status);
314 }
315
316 public int getGroupThreadsCount(long groupId, long userId, int status,
317 boolean subscribed)
318 throws com.liferay.portal.kernel.exception.SystemException {
319 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
320 status, subscribed);
321 }
322
323 public int getGroupThreadsCount(long groupId, long userId, int status,
324 boolean subscribed, boolean includeAnonymous)
325 throws com.liferay.portal.kernel.exception.SystemException {
326 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
327 status, subscribed, includeAnonymous);
328 }
329
330 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
331 long categoryId, double priority)
332 throws com.liferay.portal.kernel.exception.PortalException,
333 com.liferay.portal.kernel.exception.SystemException {
334 return _mbThreadLocalService.getPriorityThreads(categoryId, priority);
335 }
336
337 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
338 long categoryId, double priority, boolean inherit)
339 throws com.liferay.portal.kernel.exception.PortalException,
340 com.liferay.portal.kernel.exception.SystemException {
341 return _mbThreadLocalService.getPriorityThreads(categoryId, priority,
342 inherit);
343 }
344
345 public com.liferay.portlet.messageboards.model.MBThread getThread(
346 long threadId)
347 throws com.liferay.portal.kernel.exception.PortalException,
348 com.liferay.portal.kernel.exception.SystemException {
349 return _mbThreadLocalService.getThread(threadId);
350 }
351
352 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getThreads(
353 long groupId, long categoryId, int status, int start, int end)
354 throws com.liferay.portal.kernel.exception.SystemException {
355 return _mbThreadLocalService.getThreads(groupId, categoryId, status,
356 start, end);
357 }
358
359 public int getThreadsCount(long groupId, long categoryId, int status)
360 throws com.liferay.portal.kernel.exception.SystemException {
361 return _mbThreadLocalService.getThreadsCount(groupId, categoryId, status);
362 }
363
364 public com.liferay.portlet.messageboards.model.MBThread moveThread(
365 long groupId, long categoryId, long threadId)
366 throws com.liferay.portal.kernel.exception.PortalException,
367 com.liferay.portal.kernel.exception.SystemException {
368 return _mbThreadLocalService.moveThread(groupId, categoryId, threadId);
369 }
370
371 public com.liferay.portlet.messageboards.model.MBThread splitThread(
372 long messageId, com.liferay.portal.service.ServiceContext serviceContext)
373 throws com.liferay.portal.kernel.exception.PortalException,
374 com.liferay.portal.kernel.exception.SystemException {
375 return _mbThreadLocalService.splitThread(messageId, serviceContext);
376 }
377
378 public com.liferay.portlet.messageboards.model.MBThread updateThread(
379 long threadId, int viewCount)
380 throws com.liferay.portal.kernel.exception.PortalException,
381 com.liferay.portal.kernel.exception.SystemException {
382 return _mbThreadLocalService.updateThread(threadId, viewCount);
383 }
384
385 public MBThreadLocalService getWrappedMBThreadLocalService() {
386 return _mbThreadLocalService;
387 }
388
389 public void setWrappedMBThreadLocalService(
390 MBThreadLocalService mbThreadLocalService) {
391 _mbThreadLocalService = mbThreadLocalService;
392 }
393
394 private MBThreadLocalService _mbThreadLocalService;
395 }