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
066 public void deleteMBThread(long threadId)
067 throws com.liferay.portal.kernel.exception.PortalException,
068 com.liferay.portal.kernel.exception.SystemException {
069 _mbThreadLocalService.deleteMBThread(threadId);
070 }
071
072
078 public void deleteMBThread(
079 com.liferay.portlet.messageboards.model.MBThread mbThread)
080 throws com.liferay.portal.kernel.exception.SystemException {
081 _mbThreadLocalService.deleteMBThread(mbThread);
082 }
083
084
091 @SuppressWarnings("rawtypes")
092 public java.util.List dynamicQuery(
093 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
094 throws com.liferay.portal.kernel.exception.SystemException {
095 return _mbThreadLocalService.dynamicQuery(dynamicQuery);
096 }
097
098
111 @SuppressWarnings("rawtypes")
112 public java.util.List dynamicQuery(
113 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
114 int end) throws com.liferay.portal.kernel.exception.SystemException {
115 return _mbThreadLocalService.dynamicQuery(dynamicQuery, start, end);
116 }
117
118
132 @SuppressWarnings("rawtypes")
133 public java.util.List dynamicQuery(
134 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
135 int end,
136 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
137 throws com.liferay.portal.kernel.exception.SystemException {
138 return _mbThreadLocalService.dynamicQuery(dynamicQuery, start, end,
139 orderByComparator);
140 }
141
142
149 public long dynamicQueryCount(
150 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
151 throws com.liferay.portal.kernel.exception.SystemException {
152 return _mbThreadLocalService.dynamicQueryCount(dynamicQuery);
153 }
154
155 public com.liferay.portlet.messageboards.model.MBThread fetchMBThread(
156 long threadId)
157 throws com.liferay.portal.kernel.exception.SystemException {
158 return _mbThreadLocalService.fetchMBThread(threadId);
159 }
160
161
169 public com.liferay.portlet.messageboards.model.MBThread getMBThread(
170 long threadId)
171 throws com.liferay.portal.kernel.exception.PortalException,
172 com.liferay.portal.kernel.exception.SystemException {
173 return _mbThreadLocalService.getMBThread(threadId);
174 }
175
176 public com.liferay.portal.model.PersistedModel getPersistedModel(
177 java.io.Serializable primaryKeyObj)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _mbThreadLocalService.getPersistedModel(primaryKeyObj);
181 }
182
183
195 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getMBThreads(
196 int start, int end)
197 throws com.liferay.portal.kernel.exception.SystemException {
198 return _mbThreadLocalService.getMBThreads(start, end);
199 }
200
201
207 public int getMBThreadsCount()
208 throws com.liferay.portal.kernel.exception.SystemException {
209 return _mbThreadLocalService.getMBThreadsCount();
210 }
211
212
219 public com.liferay.portlet.messageboards.model.MBThread updateMBThread(
220 com.liferay.portlet.messageboards.model.MBThread mbThread)
221 throws com.liferay.portal.kernel.exception.SystemException {
222 return _mbThreadLocalService.updateMBThread(mbThread);
223 }
224
225
233 public com.liferay.portlet.messageboards.model.MBThread updateMBThread(
234 com.liferay.portlet.messageboards.model.MBThread mbThread, boolean merge)
235 throws com.liferay.portal.kernel.exception.SystemException {
236 return _mbThreadLocalService.updateMBThread(mbThread, merge);
237 }
238
239
244 public java.lang.String getBeanIdentifier() {
245 return _mbThreadLocalService.getBeanIdentifier();
246 }
247
248
253 public void setBeanIdentifier(java.lang.String beanIdentifier) {
254 _mbThreadLocalService.setBeanIdentifier(beanIdentifier);
255 }
256
257 public com.liferay.portlet.messageboards.model.MBThread addThread(
258 long categoryId,
259 com.liferay.portlet.messageboards.model.MBMessage message)
260 throws com.liferay.portal.kernel.exception.PortalException,
261 com.liferay.portal.kernel.exception.SystemException {
262 return _mbThreadLocalService.addThread(categoryId, message);
263 }
264
265 public void deleteThread(long threadId)
266 throws com.liferay.portal.kernel.exception.PortalException,
267 com.liferay.portal.kernel.exception.SystemException {
268 _mbThreadLocalService.deleteThread(threadId);
269 }
270
271 public void deleteThread(
272 com.liferay.portlet.messageboards.model.MBThread thread)
273 throws com.liferay.portal.kernel.exception.PortalException,
274 com.liferay.portal.kernel.exception.SystemException {
275 _mbThreadLocalService.deleteThread(thread);
276 }
277
278 public void deleteThreads(long groupId, long categoryId)
279 throws com.liferay.portal.kernel.exception.PortalException,
280 com.liferay.portal.kernel.exception.SystemException {
281 _mbThreadLocalService.deleteThreads(groupId, categoryId);
282 }
283
284 public com.liferay.portlet.messageboards.model.MBThread fetchThread(
285 long threadId)
286 throws com.liferay.portal.kernel.exception.SystemException {
287 return _mbThreadLocalService.fetchThread(threadId);
288 }
289
290 public int getCategoryThreadsCount(long groupId, long categoryId, int status)
291 throws com.liferay.portal.kernel.exception.SystemException {
292 return _mbThreadLocalService.getCategoryThreadsCount(groupId,
293 categoryId, status);
294 }
295
296 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
297 long groupId, int status, int start, int end)
298 throws com.liferay.portal.kernel.exception.SystemException {
299 return _mbThreadLocalService.getGroupThreads(groupId, status, start, end);
300 }
301
302 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
303 long groupId, long userId, int status, boolean subscribed,
304 boolean includeAnonymous, int start, int end)
305 throws com.liferay.portal.kernel.exception.PortalException,
306 com.liferay.portal.kernel.exception.SystemException {
307 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
308 subscribed, includeAnonymous, start, end);
309 }
310
311 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
312 long groupId, long userId, int status, boolean subscribed, int start,
313 int end)
314 throws com.liferay.portal.kernel.exception.PortalException,
315 com.liferay.portal.kernel.exception.SystemException {
316 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
317 subscribed, start, end);
318 }
319
320 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
321 long groupId, long userId, int status, int start, int end)
322 throws com.liferay.portal.kernel.exception.PortalException,
323 com.liferay.portal.kernel.exception.SystemException {
324 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
325 start, end);
326 }
327
328 public int getGroupThreadsCount(long groupId, int status)
329 throws com.liferay.portal.kernel.exception.SystemException {
330 return _mbThreadLocalService.getGroupThreadsCount(groupId, status);
331 }
332
333 public int getGroupThreadsCount(long groupId, long userId, int status)
334 throws com.liferay.portal.kernel.exception.SystemException {
335 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
336 status);
337 }
338
339 public int getGroupThreadsCount(long groupId, long userId, int status,
340 boolean subscribed)
341 throws com.liferay.portal.kernel.exception.SystemException {
342 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
343 status, subscribed);
344 }
345
346 public int getGroupThreadsCount(long groupId, long userId, int status,
347 boolean subscribed, boolean includeAnonymous)
348 throws com.liferay.portal.kernel.exception.SystemException {
349 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
350 status, subscribed, includeAnonymous);
351 }
352
353 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getNoAssetThreads()
354 throws com.liferay.portal.kernel.exception.SystemException {
355 return _mbThreadLocalService.getNoAssetThreads();
356 }
357
358 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
359 long categoryId, double priority)
360 throws com.liferay.portal.kernel.exception.PortalException,
361 com.liferay.portal.kernel.exception.SystemException {
362 return _mbThreadLocalService.getPriorityThreads(categoryId, priority);
363 }
364
365 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
366 long categoryId, double priority, boolean inherit)
367 throws com.liferay.portal.kernel.exception.PortalException,
368 com.liferay.portal.kernel.exception.SystemException {
369 return _mbThreadLocalService.getPriorityThreads(categoryId, priority,
370 inherit);
371 }
372
373 public com.liferay.portlet.messageboards.model.MBThread getThread(
374 long threadId)
375 throws com.liferay.portal.kernel.exception.PortalException,
376 com.liferay.portal.kernel.exception.SystemException {
377 return _mbThreadLocalService.getThread(threadId);
378 }
379
380 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getThreads(
381 long groupId, long categoryId, int status, int start, int end)
382 throws com.liferay.portal.kernel.exception.SystemException {
383 return _mbThreadLocalService.getThreads(groupId, categoryId, status,
384 start, end);
385 }
386
387 public int getThreadsCount(long groupId, long categoryId, int status)
388 throws com.liferay.portal.kernel.exception.SystemException {
389 return _mbThreadLocalService.getThreadsCount(groupId, categoryId, status);
390 }
391
392 public boolean hasAnswerMessage(long threadId)
393 throws com.liferay.portal.kernel.exception.SystemException {
394 return _mbThreadLocalService.hasAnswerMessage(threadId);
395 }
396
397 public com.liferay.portlet.messageboards.model.MBThread incrementViewCounter(
398 long threadId, int increment)
399 throws com.liferay.portal.kernel.exception.PortalException,
400 com.liferay.portal.kernel.exception.SystemException {
401 return _mbThreadLocalService.incrementViewCounter(threadId, increment);
402 }
403
404 public com.liferay.portlet.messageboards.model.MBThread moveThread(
405 long groupId, long categoryId, long threadId)
406 throws com.liferay.portal.kernel.exception.PortalException,
407 com.liferay.portal.kernel.exception.SystemException {
408 return _mbThreadLocalService.moveThread(groupId, categoryId, threadId);
409 }
410
411 public com.liferay.portlet.messageboards.model.MBThread splitThread(
412 long messageId, java.lang.String subject,
413 com.liferay.portal.service.ServiceContext serviceContext)
414 throws com.liferay.portal.kernel.exception.PortalException,
415 com.liferay.portal.kernel.exception.SystemException {
416 return _mbThreadLocalService.splitThread(messageId, subject,
417 serviceContext);
418 }
419
420 public void updateQuestion(long threadId, boolean question)
421 throws com.liferay.portal.kernel.exception.PortalException,
422 com.liferay.portal.kernel.exception.SystemException {
423 _mbThreadLocalService.updateQuestion(threadId, question);
424 }
425
426
429 public com.liferay.portlet.messageboards.model.MBThread updateThread(
430 long threadId, int viewCount)
431 throws com.liferay.portal.kernel.exception.PortalException,
432 com.liferay.portal.kernel.exception.SystemException {
433 return _mbThreadLocalService.updateThread(threadId, viewCount);
434 }
435
436
439 public MBThreadLocalService getWrappedMBThreadLocalService() {
440 return _mbThreadLocalService;
441 }
442
443
446 public void setWrappedMBThreadLocalService(
447 MBThreadLocalService mbThreadLocalService) {
448 _mbThreadLocalService = mbThreadLocalService;
449 }
450
451 public MBThreadLocalService getWrappedService() {
452 return _mbThreadLocalService;
453 }
454
455 public void setWrappedService(MBThreadLocalService mbThreadLocalService) {
456 _mbThreadLocalService = mbThreadLocalService;
457 }
458
459 private MBThreadLocalService _mbThreadLocalService;
460 }