001
014
015 package com.liferay.portlet.messageboards.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class MBThreadLocalServiceWrapper implements MBThreadLocalService,
029 ServiceWrapper<MBThreadLocalService> {
030 public MBThreadLocalServiceWrapper(
031 MBThreadLocalService mbThreadLocalService) {
032 _mbThreadLocalService = mbThreadLocalService;
033 }
034
035
042 public com.liferay.portlet.messageboards.model.MBThread addMBThread(
043 com.liferay.portlet.messageboards.model.MBThread mbThread)
044 throws com.liferay.portal.kernel.exception.SystemException {
045 return _mbThreadLocalService.addMBThread(mbThread);
046 }
047
048
054 public com.liferay.portlet.messageboards.model.MBThread createMBThread(
055 long threadId) {
056 return _mbThreadLocalService.createMBThread(threadId);
057 }
058
059
067 public com.liferay.portlet.messageboards.model.MBThread deleteMBThread(
068 long threadId)
069 throws com.liferay.portal.kernel.exception.PortalException,
070 com.liferay.portal.kernel.exception.SystemException {
071 return _mbThreadLocalService.deleteMBThread(threadId);
072 }
073
074
081 public com.liferay.portlet.messageboards.model.MBThread deleteMBThread(
082 com.liferay.portlet.messageboards.model.MBThread mbThread)
083 throws com.liferay.portal.kernel.exception.SystemException {
084 return _mbThreadLocalService.deleteMBThread(mbThread);
085 }
086
087 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
088 return _mbThreadLocalService.dynamicQuery();
089 }
090
091
098 @SuppressWarnings("rawtypes")
099 public java.util.List dynamicQuery(
100 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
101 throws com.liferay.portal.kernel.exception.SystemException {
102 return _mbThreadLocalService.dynamicQuery(dynamicQuery);
103 }
104
105
118 @SuppressWarnings("rawtypes")
119 public java.util.List dynamicQuery(
120 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
121 int end) throws com.liferay.portal.kernel.exception.SystemException {
122 return _mbThreadLocalService.dynamicQuery(dynamicQuery, start, end);
123 }
124
125
139 @SuppressWarnings("rawtypes")
140 public java.util.List dynamicQuery(
141 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
142 int end,
143 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
144 throws com.liferay.portal.kernel.exception.SystemException {
145 return _mbThreadLocalService.dynamicQuery(dynamicQuery, start, end,
146 orderByComparator);
147 }
148
149
156 public long dynamicQueryCount(
157 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
158 throws com.liferay.portal.kernel.exception.SystemException {
159 return _mbThreadLocalService.dynamicQueryCount(dynamicQuery);
160 }
161
162 public com.liferay.portlet.messageboards.model.MBThread fetchMBThread(
163 long threadId)
164 throws com.liferay.portal.kernel.exception.SystemException {
165 return _mbThreadLocalService.fetchMBThread(threadId);
166 }
167
168
176 public com.liferay.portlet.messageboards.model.MBThread getMBThread(
177 long threadId)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _mbThreadLocalService.getMBThread(threadId);
181 }
182
183 public com.liferay.portal.model.PersistedModel getPersistedModel(
184 java.io.Serializable primaryKeyObj)
185 throws com.liferay.portal.kernel.exception.PortalException,
186 com.liferay.portal.kernel.exception.SystemException {
187 return _mbThreadLocalService.getPersistedModel(primaryKeyObj);
188 }
189
190
202 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getMBThreads(
203 int start, int end)
204 throws com.liferay.portal.kernel.exception.SystemException {
205 return _mbThreadLocalService.getMBThreads(start, end);
206 }
207
208
214 public int getMBThreadsCount()
215 throws com.liferay.portal.kernel.exception.SystemException {
216 return _mbThreadLocalService.getMBThreadsCount();
217 }
218
219
226 public com.liferay.portlet.messageboards.model.MBThread updateMBThread(
227 com.liferay.portlet.messageboards.model.MBThread mbThread)
228 throws com.liferay.portal.kernel.exception.SystemException {
229 return _mbThreadLocalService.updateMBThread(mbThread);
230 }
231
232
240 public com.liferay.portlet.messageboards.model.MBThread updateMBThread(
241 com.liferay.portlet.messageboards.model.MBThread mbThread, boolean merge)
242 throws com.liferay.portal.kernel.exception.SystemException {
243 return _mbThreadLocalService.updateMBThread(mbThread, merge);
244 }
245
246
251 public java.lang.String getBeanIdentifier() {
252 return _mbThreadLocalService.getBeanIdentifier();
253 }
254
255
260 public void setBeanIdentifier(java.lang.String beanIdentifier) {
261 _mbThreadLocalService.setBeanIdentifier(beanIdentifier);
262 }
263
264 public com.liferay.portlet.messageboards.model.MBThread addThread(
265 long categoryId,
266 com.liferay.portlet.messageboards.model.MBMessage message)
267 throws com.liferay.portal.kernel.exception.PortalException,
268 com.liferay.portal.kernel.exception.SystemException {
269 return _mbThreadLocalService.addThread(categoryId, message);
270 }
271
272 public void deleteThread(long threadId)
273 throws com.liferay.portal.kernel.exception.PortalException,
274 com.liferay.portal.kernel.exception.SystemException {
275 _mbThreadLocalService.deleteThread(threadId);
276 }
277
278 public void deleteThread(
279 com.liferay.portlet.messageboards.model.MBThread thread)
280 throws com.liferay.portal.kernel.exception.PortalException,
281 com.liferay.portal.kernel.exception.SystemException {
282 _mbThreadLocalService.deleteThread(thread);
283 }
284
285 public void deleteThreads(long groupId, long categoryId)
286 throws com.liferay.portal.kernel.exception.PortalException,
287 com.liferay.portal.kernel.exception.SystemException {
288 _mbThreadLocalService.deleteThreads(groupId, categoryId);
289 }
290
291 public com.liferay.portlet.messageboards.model.MBThread fetchThread(
292 long threadId)
293 throws com.liferay.portal.kernel.exception.SystemException {
294 return _mbThreadLocalService.fetchThread(threadId);
295 }
296
297 public int getCategoryThreadsCount(long groupId, long categoryId, int status)
298 throws com.liferay.portal.kernel.exception.SystemException {
299 return _mbThreadLocalService.getCategoryThreadsCount(groupId,
300 categoryId, status);
301 }
302
303 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
304 long groupId, int status, int start, int end)
305 throws com.liferay.portal.kernel.exception.SystemException {
306 return _mbThreadLocalService.getGroupThreads(groupId, status, start, end);
307 }
308
309 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
310 long groupId, long userId, int status, boolean subscribed,
311 boolean includeAnonymous, int start, int end)
312 throws com.liferay.portal.kernel.exception.PortalException,
313 com.liferay.portal.kernel.exception.SystemException {
314 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
315 subscribed, includeAnonymous, start, end);
316 }
317
318 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
319 long groupId, long userId, int status, boolean subscribed, int start,
320 int end)
321 throws com.liferay.portal.kernel.exception.PortalException,
322 com.liferay.portal.kernel.exception.SystemException {
323 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
324 subscribed, start, end);
325 }
326
327 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
328 long groupId, long userId, int status, int start, int end)
329 throws com.liferay.portal.kernel.exception.PortalException,
330 com.liferay.portal.kernel.exception.SystemException {
331 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
332 start, end);
333 }
334
335 public int getGroupThreadsCount(long groupId, int status)
336 throws com.liferay.portal.kernel.exception.SystemException {
337 return _mbThreadLocalService.getGroupThreadsCount(groupId, status);
338 }
339
340 public int getGroupThreadsCount(long groupId, long userId, int status)
341 throws com.liferay.portal.kernel.exception.SystemException {
342 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
343 status);
344 }
345
346 public int getGroupThreadsCount(long groupId, long userId, int status,
347 boolean subscribed)
348 throws com.liferay.portal.kernel.exception.SystemException {
349 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
350 status, subscribed);
351 }
352
353 public int getGroupThreadsCount(long groupId, long userId, int status,
354 boolean subscribed, boolean includeAnonymous)
355 throws com.liferay.portal.kernel.exception.SystemException {
356 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
357 status, subscribed, includeAnonymous);
358 }
359
360 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getNoAssetThreads()
361 throws com.liferay.portal.kernel.exception.SystemException {
362 return _mbThreadLocalService.getNoAssetThreads();
363 }
364
365 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
366 long categoryId, double priority)
367 throws com.liferay.portal.kernel.exception.PortalException,
368 com.liferay.portal.kernel.exception.SystemException {
369 return _mbThreadLocalService.getPriorityThreads(categoryId, priority);
370 }
371
372 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
373 long categoryId, double priority, boolean inherit)
374 throws com.liferay.portal.kernel.exception.PortalException,
375 com.liferay.portal.kernel.exception.SystemException {
376 return _mbThreadLocalService.getPriorityThreads(categoryId, priority,
377 inherit);
378 }
379
380 public com.liferay.portlet.messageboards.model.MBThread getThread(
381 long threadId)
382 throws com.liferay.portal.kernel.exception.PortalException,
383 com.liferay.portal.kernel.exception.SystemException {
384 return _mbThreadLocalService.getThread(threadId);
385 }
386
387 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getThreads(
388 long groupId, long categoryId, int status, int start, int end)
389 throws com.liferay.portal.kernel.exception.SystemException {
390 return _mbThreadLocalService.getThreads(groupId, categoryId, status,
391 start, end);
392 }
393
394 public int getThreadsCount(long groupId, long categoryId, int status)
395 throws com.liferay.portal.kernel.exception.SystemException {
396 return _mbThreadLocalService.getThreadsCount(groupId, categoryId, status);
397 }
398
399 public boolean hasAnswerMessage(long threadId)
400 throws com.liferay.portal.kernel.exception.SystemException {
401 return _mbThreadLocalService.hasAnswerMessage(threadId);
402 }
403
404 public com.liferay.portlet.messageboards.model.MBThread incrementViewCounter(
405 long threadId, int increment)
406 throws com.liferay.portal.kernel.exception.PortalException,
407 com.liferay.portal.kernel.exception.SystemException {
408 return _mbThreadLocalService.incrementViewCounter(threadId, increment);
409 }
410
411 public com.liferay.portlet.messageboards.model.MBThread moveThread(
412 long groupId, long categoryId, long threadId)
413 throws com.liferay.portal.kernel.exception.PortalException,
414 com.liferay.portal.kernel.exception.SystemException {
415 return _mbThreadLocalService.moveThread(groupId, categoryId, threadId);
416 }
417
418 public com.liferay.portlet.messageboards.model.MBThread splitThread(
419 long messageId, java.lang.String subject,
420 com.liferay.portal.service.ServiceContext serviceContext)
421 throws com.liferay.portal.kernel.exception.PortalException,
422 com.liferay.portal.kernel.exception.SystemException {
423 return _mbThreadLocalService.splitThread(messageId, subject,
424 serviceContext);
425 }
426
427 public void updateQuestion(long threadId, boolean question)
428 throws com.liferay.portal.kernel.exception.PortalException,
429 com.liferay.portal.kernel.exception.SystemException {
430 _mbThreadLocalService.updateQuestion(threadId, question);
431 }
432
433
436 public com.liferay.portlet.messageboards.model.MBThread updateThread(
437 long threadId, int viewCount)
438 throws com.liferay.portal.kernel.exception.PortalException,
439 com.liferay.portal.kernel.exception.SystemException {
440 return _mbThreadLocalService.updateThread(threadId, viewCount);
441 }
442
443
446 public MBThreadLocalService getWrappedMBThreadLocalService() {
447 return _mbThreadLocalService;
448 }
449
450
453 public void setWrappedMBThreadLocalService(
454 MBThreadLocalService mbThreadLocalService) {
455 _mbThreadLocalService = mbThreadLocalService;
456 }
457
458 public MBThreadLocalService getWrappedService() {
459 return _mbThreadLocalService;
460 }
461
462 public void setWrappedService(MBThreadLocalService mbThreadLocalService) {
463 _mbThreadLocalService = mbThreadLocalService;
464 }
465
466 private MBThreadLocalService _mbThreadLocalService;
467 }