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 com.liferay.portlet.messageboards.model.MBThread addThread(
249 long categoryId,
250 com.liferay.portlet.messageboards.model.MBMessage message)
251 throws com.liferay.portal.kernel.exception.PortalException,
252 com.liferay.portal.kernel.exception.SystemException {
253 return _mbThreadLocalService.addThread(categoryId, message);
254 }
255
256 public void deleteThread(long threadId)
257 throws com.liferay.portal.kernel.exception.PortalException,
258 com.liferay.portal.kernel.exception.SystemException {
259 _mbThreadLocalService.deleteThread(threadId);
260 }
261
262 public void deleteThread(
263 com.liferay.portlet.messageboards.model.MBThread thread)
264 throws com.liferay.portal.kernel.exception.PortalException,
265 com.liferay.portal.kernel.exception.SystemException {
266 _mbThreadLocalService.deleteThread(thread);
267 }
268
269 public void deleteThreads(long groupId, long categoryId)
270 throws com.liferay.portal.kernel.exception.PortalException,
271 com.liferay.portal.kernel.exception.SystemException {
272 _mbThreadLocalService.deleteThreads(groupId, categoryId);
273 }
274
275 public int getCategoryThreadsCount(long groupId, long categoryId, int status)
276 throws com.liferay.portal.kernel.exception.SystemException {
277 return _mbThreadLocalService.getCategoryThreadsCount(groupId,
278 categoryId, status);
279 }
280
281 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
282 long groupId, int status, int start, int end)
283 throws com.liferay.portal.kernel.exception.SystemException {
284 return _mbThreadLocalService.getGroupThreads(groupId, status, start, end);
285 }
286
287 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
288 long groupId, long userId, int status, boolean subscribed,
289 boolean includeAnonymous, int start, int end)
290 throws com.liferay.portal.kernel.exception.PortalException,
291 com.liferay.portal.kernel.exception.SystemException {
292 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
293 subscribed, includeAnonymous, start, end);
294 }
295
296 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
297 long groupId, long userId, int status, boolean subscribed, int start,
298 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 subscribed, start, end);
303 }
304
305 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
306 long groupId, long userId, int status, int start, 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 start, end);
311 }
312
313 public int getGroupThreadsCount(long groupId, int status)
314 throws com.liferay.portal.kernel.exception.SystemException {
315 return _mbThreadLocalService.getGroupThreadsCount(groupId, status);
316 }
317
318 public int getGroupThreadsCount(long groupId, long userId, int status)
319 throws com.liferay.portal.kernel.exception.SystemException {
320 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
321 status);
322 }
323
324 public int getGroupThreadsCount(long groupId, long userId, int status,
325 boolean subscribed)
326 throws com.liferay.portal.kernel.exception.SystemException {
327 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
328 status, subscribed);
329 }
330
331 public int getGroupThreadsCount(long groupId, long userId, int status,
332 boolean subscribed, boolean includeAnonymous)
333 throws com.liferay.portal.kernel.exception.SystemException {
334 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
335 status, subscribed, includeAnonymous);
336 }
337
338 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getNoAssetThreads()
339 throws com.liferay.portal.kernel.exception.SystemException {
340 return _mbThreadLocalService.getNoAssetThreads();
341 }
342
343 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
344 long categoryId, double priority)
345 throws com.liferay.portal.kernel.exception.PortalException,
346 com.liferay.portal.kernel.exception.SystemException {
347 return _mbThreadLocalService.getPriorityThreads(categoryId, priority);
348 }
349
350 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
351 long categoryId, double priority, boolean inherit)
352 throws com.liferay.portal.kernel.exception.PortalException,
353 com.liferay.portal.kernel.exception.SystemException {
354 return _mbThreadLocalService.getPriorityThreads(categoryId, priority,
355 inherit);
356 }
357
358 public com.liferay.portlet.messageboards.model.MBThread getThread(
359 long threadId)
360 throws com.liferay.portal.kernel.exception.PortalException,
361 com.liferay.portal.kernel.exception.SystemException {
362 return _mbThreadLocalService.getThread(threadId);
363 }
364
365 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getThreads(
366 long groupId, long categoryId, int status, int start, int end)
367 throws com.liferay.portal.kernel.exception.SystemException {
368 return _mbThreadLocalService.getThreads(groupId, categoryId, status,
369 start, end);
370 }
371
372 public int getThreadsCount(long groupId, long categoryId, int status)
373 throws com.liferay.portal.kernel.exception.SystemException {
374 return _mbThreadLocalService.getThreadsCount(groupId, categoryId, status);
375 }
376
377 public boolean hasAnswerMessage(long threadId)
378 throws com.liferay.portal.kernel.exception.SystemException {
379 return _mbThreadLocalService.hasAnswerMessage(threadId);
380 }
381
382 public com.liferay.portlet.messageboards.model.MBThread incrementViewCounter(
383 long threadId, int increment)
384 throws com.liferay.portal.kernel.exception.PortalException,
385 com.liferay.portal.kernel.exception.SystemException {
386 return _mbThreadLocalService.incrementViewCounter(threadId, increment);
387 }
388
389 public com.liferay.portlet.messageboards.model.MBThread moveThread(
390 long groupId, long categoryId, long threadId)
391 throws com.liferay.portal.kernel.exception.PortalException,
392 com.liferay.portal.kernel.exception.SystemException {
393 return _mbThreadLocalService.moveThread(groupId, categoryId, threadId);
394 }
395
396 public com.liferay.portlet.messageboards.model.MBThread splitThread(
397 long messageId, java.lang.String subject,
398 com.liferay.portal.service.ServiceContext serviceContext)
399 throws com.liferay.portal.kernel.exception.PortalException,
400 com.liferay.portal.kernel.exception.SystemException {
401 return _mbThreadLocalService.splitThread(messageId, subject,
402 serviceContext);
403 }
404
405 public void updateQuestion(long threadId, boolean question)
406 throws com.liferay.portal.kernel.exception.PortalException,
407 com.liferay.portal.kernel.exception.SystemException {
408 _mbThreadLocalService.updateQuestion(threadId, question);
409 }
410
411
414 public com.liferay.portlet.messageboards.model.MBThread updateThread(
415 long threadId, int viewCount)
416 throws com.liferay.portal.kernel.exception.PortalException,
417 com.liferay.portal.kernel.exception.SystemException {
418 return _mbThreadLocalService.updateThread(threadId, viewCount);
419 }
420
421 public MBThreadLocalService getWrappedMBThreadLocalService() {
422 return _mbThreadLocalService;
423 }
424
425 public void setWrappedMBThreadLocalService(
426 MBThreadLocalService mbThreadLocalService) {
427 _mbThreadLocalService = mbThreadLocalService;
428 }
429
430 private MBThreadLocalService _mbThreadLocalService;
431 }