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
237 public java.lang.String getBeanIdentifier() {
238 return _mbThreadLocalService.getBeanIdentifier();
239 }
240
241
246 public void setBeanIdentifier(java.lang.String beanIdentifier) {
247 _mbThreadLocalService.setBeanIdentifier(beanIdentifier);
248 }
249
250 public com.liferay.portlet.messageboards.model.MBThread addThread(
251 long categoryId,
252 com.liferay.portlet.messageboards.model.MBMessage message)
253 throws com.liferay.portal.kernel.exception.PortalException,
254 com.liferay.portal.kernel.exception.SystemException {
255 return _mbThreadLocalService.addThread(categoryId, message);
256 }
257
258 public void deleteThread(long threadId)
259 throws com.liferay.portal.kernel.exception.PortalException,
260 com.liferay.portal.kernel.exception.SystemException {
261 _mbThreadLocalService.deleteThread(threadId);
262 }
263
264 public void deleteThread(
265 com.liferay.portlet.messageboards.model.MBThread thread)
266 throws com.liferay.portal.kernel.exception.PortalException,
267 com.liferay.portal.kernel.exception.SystemException {
268 _mbThreadLocalService.deleteThread(thread);
269 }
270
271 public void deleteThreads(long groupId, long categoryId)
272 throws com.liferay.portal.kernel.exception.PortalException,
273 com.liferay.portal.kernel.exception.SystemException {
274 _mbThreadLocalService.deleteThreads(groupId, categoryId);
275 }
276
277 public com.liferay.portlet.messageboards.model.MBThread fetchThread(
278 long threadId)
279 throws com.liferay.portal.kernel.exception.SystemException {
280 return _mbThreadLocalService.fetchThread(threadId);
281 }
282
283 public int getCategoryThreadsCount(long groupId, long categoryId, int status)
284 throws com.liferay.portal.kernel.exception.SystemException {
285 return _mbThreadLocalService.getCategoryThreadsCount(groupId,
286 categoryId, status);
287 }
288
289 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
290 long groupId, int status, int start, int end)
291 throws com.liferay.portal.kernel.exception.SystemException {
292 return _mbThreadLocalService.getGroupThreads(groupId, status, start, end);
293 }
294
295 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
296 long groupId, long userId, int status, boolean subscribed,
297 boolean includeAnonymous, int start, int end)
298 throws com.liferay.portal.kernel.exception.PortalException,
299 com.liferay.portal.kernel.exception.SystemException {
300 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
301 subscribed, includeAnonymous, start, end);
302 }
303
304 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
305 long groupId, long userId, int status, boolean subscribed, int start,
306 int end)
307 throws com.liferay.portal.kernel.exception.PortalException,
308 com.liferay.portal.kernel.exception.SystemException {
309 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
310 subscribed, start, end);
311 }
312
313 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
314 long groupId, long userId, int status, int start, int end)
315 throws com.liferay.portal.kernel.exception.PortalException,
316 com.liferay.portal.kernel.exception.SystemException {
317 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
318 start, end);
319 }
320
321 public int getGroupThreadsCount(long groupId, int status)
322 throws com.liferay.portal.kernel.exception.SystemException {
323 return _mbThreadLocalService.getGroupThreadsCount(groupId, status);
324 }
325
326 public int getGroupThreadsCount(long groupId, long userId, int status)
327 throws com.liferay.portal.kernel.exception.SystemException {
328 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
329 status);
330 }
331
332 public int getGroupThreadsCount(long groupId, long userId, int status,
333 boolean subscribed)
334 throws com.liferay.portal.kernel.exception.SystemException {
335 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
336 status, subscribed);
337 }
338
339 public int getGroupThreadsCount(long groupId, long userId, int status,
340 boolean subscribed, boolean includeAnonymous)
341 throws com.liferay.portal.kernel.exception.SystemException {
342 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
343 status, subscribed, includeAnonymous);
344 }
345
346 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getNoAssetThreads()
347 throws com.liferay.portal.kernel.exception.SystemException {
348 return _mbThreadLocalService.getNoAssetThreads();
349 }
350
351 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
352 long categoryId, double priority)
353 throws com.liferay.portal.kernel.exception.PortalException,
354 com.liferay.portal.kernel.exception.SystemException {
355 return _mbThreadLocalService.getPriorityThreads(categoryId, priority);
356 }
357
358 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
359 long categoryId, double priority, boolean inherit)
360 throws com.liferay.portal.kernel.exception.PortalException,
361 com.liferay.portal.kernel.exception.SystemException {
362 return _mbThreadLocalService.getPriorityThreads(categoryId, priority,
363 inherit);
364 }
365
366 public com.liferay.portlet.messageboards.model.MBThread getThread(
367 long threadId)
368 throws com.liferay.portal.kernel.exception.PortalException,
369 com.liferay.portal.kernel.exception.SystemException {
370 return _mbThreadLocalService.getThread(threadId);
371 }
372
373 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getThreads(
374 long groupId, long categoryId, int status, int start, int end)
375 throws com.liferay.portal.kernel.exception.SystemException {
376 return _mbThreadLocalService.getThreads(groupId, categoryId, status,
377 start, end);
378 }
379
380 public int getThreadsCount(long groupId, long categoryId, int status)
381 throws com.liferay.portal.kernel.exception.SystemException {
382 return _mbThreadLocalService.getThreadsCount(groupId, categoryId, status);
383 }
384
385 public boolean hasAnswerMessage(long threadId)
386 throws com.liferay.portal.kernel.exception.SystemException {
387 return _mbThreadLocalService.hasAnswerMessage(threadId);
388 }
389
390 public com.liferay.portlet.messageboards.model.MBThread incrementViewCounter(
391 long threadId, int increment)
392 throws com.liferay.portal.kernel.exception.PortalException,
393 com.liferay.portal.kernel.exception.SystemException {
394 return _mbThreadLocalService.incrementViewCounter(threadId, increment);
395 }
396
397 public com.liferay.portlet.messageboards.model.MBThread moveThread(
398 long groupId, long categoryId, long threadId)
399 throws com.liferay.portal.kernel.exception.PortalException,
400 com.liferay.portal.kernel.exception.SystemException {
401 return _mbThreadLocalService.moveThread(groupId, categoryId, threadId);
402 }
403
404 public void moveThreadsToTrash(long groupId, long userId)
405 throws com.liferay.portal.kernel.exception.PortalException,
406 com.liferay.portal.kernel.exception.SystemException {
407 _mbThreadLocalService.moveThreadsToTrash(groupId, userId);
408 }
409
410 public com.liferay.portlet.messageboards.model.MBThread moveThreadToTrash(
411 long userId, long entryId)
412 throws com.liferay.portal.kernel.exception.PortalException,
413 com.liferay.portal.kernel.exception.SystemException {
414 return _mbThreadLocalService.moveThreadToTrash(userId, entryId);
415 }
416
417 public com.liferay.portlet.messageboards.model.MBThread moveThreadToTrash(
418 long userId, com.liferay.portlet.messageboards.model.MBThread thread)
419 throws com.liferay.portal.kernel.exception.PortalException,
420 com.liferay.portal.kernel.exception.SystemException {
421 return _mbThreadLocalService.moveThreadToTrash(userId, thread);
422 }
423
424 public void restoreThreadFromTrash(long userId, long threadId)
425 throws com.liferay.portal.kernel.exception.PortalException,
426 com.liferay.portal.kernel.exception.SystemException {
427 _mbThreadLocalService.restoreThreadFromTrash(userId, threadId);
428 }
429
430 public com.liferay.portlet.messageboards.model.MBThread splitThread(
431 long messageId, java.lang.String subject,
432 com.liferay.portal.service.ServiceContext serviceContext)
433 throws com.liferay.portal.kernel.exception.PortalException,
434 com.liferay.portal.kernel.exception.SystemException {
435 return _mbThreadLocalService.splitThread(messageId, subject,
436 serviceContext);
437 }
438
439 public void updateQuestion(long threadId, boolean question)
440 throws com.liferay.portal.kernel.exception.PortalException,
441 com.liferay.portal.kernel.exception.SystemException {
442 _mbThreadLocalService.updateQuestion(threadId, question);
443 }
444
445
448 public com.liferay.portlet.messageboards.model.MBThread updateThread(
449 long threadId, int viewCount)
450 throws com.liferay.portal.kernel.exception.PortalException,
451 com.liferay.portal.kernel.exception.SystemException {
452 return _mbThreadLocalService.updateThread(threadId, viewCount);
453 }
454
455
458 public MBThreadLocalService getWrappedMBThreadLocalService() {
459 return _mbThreadLocalService;
460 }
461
462
465 public void setWrappedMBThreadLocalService(
466 MBThreadLocalService mbThreadLocalService) {
467 _mbThreadLocalService = mbThreadLocalService;
468 }
469
470 public MBThreadLocalService getWrappedService() {
471 return _mbThreadLocalService;
472 }
473
474 public void setWrappedService(MBThreadLocalService mbThreadLocalService) {
475 _mbThreadLocalService = mbThreadLocalService;
476 }
477
478 private MBThreadLocalService _mbThreadLocalService;
479 }