1
14
15 package com.liferay.portlet.messageboards.service;
16
17
18
34 public class MBMessageLocalServiceWrapper implements MBMessageLocalService {
35 public MBMessageLocalServiceWrapper(
36 MBMessageLocalService mbMessageLocalService) {
37 _mbMessageLocalService = mbMessageLocalService;
38 }
39
40 public com.liferay.portlet.messageboards.model.MBMessage addMBMessage(
41 com.liferay.portlet.messageboards.model.MBMessage mbMessage)
42 throws com.liferay.portal.kernel.exception.SystemException {
43 return _mbMessageLocalService.addMBMessage(mbMessage);
44 }
45
46 public com.liferay.portlet.messageboards.model.MBMessage createMBMessage(
47 long messageId) {
48 return _mbMessageLocalService.createMBMessage(messageId);
49 }
50
51 public void deleteMBMessage(long messageId)
52 throws com.liferay.portal.kernel.exception.PortalException,
53 com.liferay.portal.kernel.exception.SystemException {
54 _mbMessageLocalService.deleteMBMessage(messageId);
55 }
56
57 public void deleteMBMessage(
58 com.liferay.portlet.messageboards.model.MBMessage mbMessage)
59 throws com.liferay.portal.kernel.exception.SystemException {
60 _mbMessageLocalService.deleteMBMessage(mbMessage);
61 }
62
63 @SuppressWarnings("unchecked")
64 public java.util.List dynamicQuery(
65 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66 throws com.liferay.portal.kernel.exception.SystemException {
67 return _mbMessageLocalService.dynamicQuery(dynamicQuery);
68 }
69
70 @SuppressWarnings("unchecked")
71 public java.util.List dynamicQuery(
72 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
73 int end) throws com.liferay.portal.kernel.exception.SystemException {
74 return _mbMessageLocalService.dynamicQuery(dynamicQuery, start, end);
75 }
76
77 @SuppressWarnings("unchecked")
78 public java.util.List dynamicQuery(
79 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
80 int end,
81 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
82 throws com.liferay.portal.kernel.exception.SystemException {
83 return _mbMessageLocalService.dynamicQuery(dynamicQuery, start, end,
84 orderByComparator);
85 }
86
87 public long dynamicQueryCount(
88 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
89 throws com.liferay.portal.kernel.exception.SystemException {
90 return _mbMessageLocalService.dynamicQueryCount(dynamicQuery);
91 }
92
93 public com.liferay.portlet.messageboards.model.MBMessage getMBMessage(
94 long messageId)
95 throws com.liferay.portal.kernel.exception.PortalException,
96 com.liferay.portal.kernel.exception.SystemException {
97 return _mbMessageLocalService.getMBMessage(messageId);
98 }
99
100 public com.liferay.portlet.messageboards.model.MBMessage getMBMessageByUuidAndGroupId(
101 java.lang.String uuid, long groupId)
102 throws com.liferay.portal.kernel.exception.PortalException,
103 com.liferay.portal.kernel.exception.SystemException {
104 return _mbMessageLocalService.getMBMessageByUuidAndGroupId(uuid, groupId);
105 }
106
107 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getMBMessages(
108 int start, int end)
109 throws com.liferay.portal.kernel.exception.SystemException {
110 return _mbMessageLocalService.getMBMessages(start, end);
111 }
112
113 public int getMBMessagesCount()
114 throws com.liferay.portal.kernel.exception.SystemException {
115 return _mbMessageLocalService.getMBMessagesCount();
116 }
117
118 public com.liferay.portlet.messageboards.model.MBMessage updateMBMessage(
119 com.liferay.portlet.messageboards.model.MBMessage mbMessage)
120 throws com.liferay.portal.kernel.exception.SystemException {
121 return _mbMessageLocalService.updateMBMessage(mbMessage);
122 }
123
124 public com.liferay.portlet.messageboards.model.MBMessage updateMBMessage(
125 com.liferay.portlet.messageboards.model.MBMessage mbMessage,
126 boolean merge)
127 throws com.liferay.portal.kernel.exception.SystemException {
128 return _mbMessageLocalService.updateMBMessage(mbMessage, merge);
129 }
130
131 public com.liferay.portlet.messageboards.model.MBMessage addDiscussionMessage(
132 long userId, java.lang.String userName, long groupId,
133 java.lang.String className, long classPK, int workflowAction)
134 throws com.liferay.portal.kernel.exception.PortalException,
135 com.liferay.portal.kernel.exception.SystemException {
136 return _mbMessageLocalService.addDiscussionMessage(userId, userName,
137 groupId, className, classPK, workflowAction);
138 }
139
140 public com.liferay.portlet.messageboards.model.MBMessage addDiscussionMessage(
141 java.lang.String uuid, long userId, java.lang.String userName,
142 long groupId, java.lang.String className, long classPK, long threadId,
143 long parentMessageId, java.lang.String subject, java.lang.String body,
144 com.liferay.portal.service.ServiceContext serviceContext)
145 throws com.liferay.portal.kernel.exception.PortalException,
146 com.liferay.portal.kernel.exception.SystemException {
147 return _mbMessageLocalService.addDiscussionMessage(uuid, userId,
148 userName, groupId, className, classPK, threadId, parentMessageId,
149 subject, body, serviceContext);
150 }
151
152 public com.liferay.portlet.messageboards.model.MBMessage addMessage(
153 long userId, java.lang.String userName, long groupId, long categoryId,
154 java.lang.String subject, java.lang.String body,
155 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, byte[]>> files,
156 boolean anonymous, double priority, boolean allowPingbacks,
157 com.liferay.portal.service.ServiceContext serviceContext)
158 throws com.liferay.portal.kernel.exception.PortalException,
159 com.liferay.portal.kernel.exception.SystemException {
160 return _mbMessageLocalService.addMessage(userId, userName, groupId,
161 categoryId, subject, body, files, anonymous, priority,
162 allowPingbacks, serviceContext);
163 }
164
165 public com.liferay.portlet.messageboards.model.MBMessage addMessage(
166 long userId, java.lang.String userName, long groupId, long categoryId,
167 long threadId, long parentMessageId, java.lang.String subject,
168 java.lang.String body,
169 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, byte[]>> files,
170 boolean anonymous, double priority, boolean allowPingbacks,
171 com.liferay.portal.service.ServiceContext serviceContext)
172 throws com.liferay.portal.kernel.exception.PortalException,
173 com.liferay.portal.kernel.exception.SystemException {
174 return _mbMessageLocalService.addMessage(userId, userName, groupId,
175 categoryId, threadId, parentMessageId, subject, body, files,
176 anonymous, priority, allowPingbacks, serviceContext);
177 }
178
179 public com.liferay.portlet.messageboards.model.MBMessage addMessage(
180 java.lang.String uuid, long userId, java.lang.String userName,
181 long groupId, long categoryId, long threadId, long parentMessageId,
182 java.lang.String subject, java.lang.String body,
183 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, byte[]>> files,
184 boolean anonymous, double priority, boolean allowPingbacks,
185 com.liferay.portal.service.ServiceContext serviceContext)
186 throws com.liferay.portal.kernel.exception.PortalException,
187 com.liferay.portal.kernel.exception.SystemException {
188 return _mbMessageLocalService.addMessage(uuid, userId, userName,
189 groupId, categoryId, threadId, parentMessageId, subject, body,
190 files, anonymous, priority, allowPingbacks, serviceContext);
191 }
192
193 public void addMessageResources(long messageId,
194 boolean addCommunityPermissions, boolean addGuestPermissions)
195 throws com.liferay.portal.kernel.exception.PortalException,
196 com.liferay.portal.kernel.exception.SystemException {
197 _mbMessageLocalService.addMessageResources(messageId,
198 addCommunityPermissions, addGuestPermissions);
199 }
200
201 public void addMessageResources(
202 com.liferay.portlet.messageboards.model.MBMessage message,
203 boolean addCommunityPermissions, boolean addGuestPermissions)
204 throws com.liferay.portal.kernel.exception.PortalException,
205 com.liferay.portal.kernel.exception.SystemException {
206 _mbMessageLocalService.addMessageResources(message,
207 addCommunityPermissions, addGuestPermissions);
208 }
209
210 public void addMessageResources(long messageId,
211 java.lang.String[] communityPermissions,
212 java.lang.String[] guestPermissions)
213 throws com.liferay.portal.kernel.exception.PortalException,
214 com.liferay.portal.kernel.exception.SystemException {
215 _mbMessageLocalService.addMessageResources(messageId,
216 communityPermissions, guestPermissions);
217 }
218
219 public void addMessageResources(
220 com.liferay.portlet.messageboards.model.MBMessage message,
221 java.lang.String[] communityPermissions,
222 java.lang.String[] guestPermissions)
223 throws com.liferay.portal.kernel.exception.PortalException,
224 com.liferay.portal.kernel.exception.SystemException {
225 _mbMessageLocalService.addMessageResources(message,
226 communityPermissions, guestPermissions);
227 }
228
229 public void deleteDiscussionMessage(long messageId)
230 throws com.liferay.portal.kernel.exception.PortalException,
231 com.liferay.portal.kernel.exception.SystemException {
232 _mbMessageLocalService.deleteDiscussionMessage(messageId);
233 }
234
235 public void deleteDiscussionMessages(java.lang.String className,
236 long classPK)
237 throws com.liferay.portal.kernel.exception.PortalException,
238 com.liferay.portal.kernel.exception.SystemException {
239 _mbMessageLocalService.deleteDiscussionMessages(className, classPK);
240 }
241
242 public void deleteMessage(long messageId)
243 throws com.liferay.portal.kernel.exception.PortalException,
244 com.liferay.portal.kernel.exception.SystemException {
245 _mbMessageLocalService.deleteMessage(messageId);
246 }
247
248 public void deleteMessage(
249 com.liferay.portlet.messageboards.model.MBMessage message)
250 throws com.liferay.portal.kernel.exception.PortalException,
251 com.liferay.portal.kernel.exception.SystemException {
252 _mbMessageLocalService.deleteMessage(message);
253 }
254
255 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCategoryMessages(
256 long groupId, long categoryId, int status, int start, int end)
257 throws com.liferay.portal.kernel.exception.SystemException {
258 return _mbMessageLocalService.getCategoryMessages(groupId, categoryId,
259 status, start, end);
260 }
261
262 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCategoryMessages(
263 long groupId, long categoryId, int status, int start, int end,
264 com.liferay.portal.kernel.util.OrderByComparator obc)
265 throws com.liferay.portal.kernel.exception.SystemException {
266 return _mbMessageLocalService.getCategoryMessages(groupId, categoryId,
267 status, start, end, obc);
268 }
269
270 public int getCategoryMessagesCount(long groupId, long categoryId,
271 int status) throws com.liferay.portal.kernel.exception.SystemException {
272 return _mbMessageLocalService.getCategoryMessagesCount(groupId,
273 categoryId, status);
274 }
275
276 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCompanyMessages(
277 long companyId, int status, int start, int end)
278 throws com.liferay.portal.kernel.exception.SystemException {
279 return _mbMessageLocalService.getCompanyMessages(companyId, status,
280 start, end);
281 }
282
283 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCompanyMessages(
284 long companyId, int status, int start, int end,
285 com.liferay.portal.kernel.util.OrderByComparator obc)
286 throws com.liferay.portal.kernel.exception.SystemException {
287 return _mbMessageLocalService.getCompanyMessages(companyId, status,
288 start, end, obc);
289 }
290
291 public int getCompanyMessagesCount(long companyId, int status)
292 throws com.liferay.portal.kernel.exception.SystemException {
293 return _mbMessageLocalService.getCompanyMessagesCount(companyId, status);
294 }
295
296 public com.liferay.portlet.messageboards.model.MBMessageDisplay getDiscussionMessageDisplay(
297 long userId, long groupId, java.lang.String className, long classPK,
298 int status)
299 throws com.liferay.portal.kernel.exception.PortalException,
300 com.liferay.portal.kernel.exception.SystemException {
301 return _mbMessageLocalService.getDiscussionMessageDisplay(userId,
302 groupId, className, classPK, status);
303 }
304
305 public com.liferay.portlet.messageboards.model.MBMessageDisplay getDiscussionMessageDisplay(
306 long userId, long groupId, java.lang.String className, long classPK,
307 int status, java.lang.String threadView)
308 throws com.liferay.portal.kernel.exception.PortalException,
309 com.liferay.portal.kernel.exception.SystemException {
310 return _mbMessageLocalService.getDiscussionMessageDisplay(userId,
311 groupId, className, classPK, status, threadView);
312 }
313
314 public int getDiscussionMessagesCount(long classNameId, long classPK,
315 int status) throws com.liferay.portal.kernel.exception.SystemException {
316 return _mbMessageLocalService.getDiscussionMessagesCount(classNameId,
317 classPK, status);
318 }
319
320 public int getDiscussionMessagesCount(java.lang.String className,
321 long classPK, int status)
322 throws com.liferay.portal.kernel.exception.SystemException {
323 return _mbMessageLocalService.getDiscussionMessagesCount(className,
324 classPK, status);
325 }
326
327 public java.util.List<com.liferay.portlet.messageboards.model.MBDiscussion> getDiscussions(
328 java.lang.String className)
329 throws com.liferay.portal.kernel.exception.SystemException {
330 return _mbMessageLocalService.getDiscussions(className);
331 }
332
333 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
334 long groupId, int status, int start, int end)
335 throws com.liferay.portal.kernel.exception.SystemException {
336 return _mbMessageLocalService.getGroupMessages(groupId, status, start,
337 end);
338 }
339
340 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
341 long groupId, int status, int start, int end,
342 com.liferay.portal.kernel.util.OrderByComparator obc)
343 throws com.liferay.portal.kernel.exception.SystemException {
344 return _mbMessageLocalService.getGroupMessages(groupId, status, start,
345 end, obc);
346 }
347
348 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
349 long groupId, long userId, int status, int start, int end)
350 throws com.liferay.portal.kernel.exception.SystemException {
351 return _mbMessageLocalService.getGroupMessages(groupId, userId, status,
352 start, end);
353 }
354
355 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(
356 long groupId, long userId, int status, int start, int end,
357 com.liferay.portal.kernel.util.OrderByComparator obc)
358 throws com.liferay.portal.kernel.exception.SystemException {
359 return _mbMessageLocalService.getGroupMessages(groupId, userId, status,
360 start, end, obc);
361 }
362
363 public int getGroupMessagesCount(long groupId, int status)
364 throws com.liferay.portal.kernel.exception.SystemException {
365 return _mbMessageLocalService.getGroupMessagesCount(groupId, status);
366 }
367
368 public int getGroupMessagesCount(long groupId, long userId, int status)
369 throws com.liferay.portal.kernel.exception.SystemException {
370 return _mbMessageLocalService.getGroupMessagesCount(groupId, userId,
371 status);
372 }
373
374 public com.liferay.portlet.messageboards.model.MBMessage getMessage(
375 long messageId)
376 throws com.liferay.portal.kernel.exception.PortalException,
377 com.liferay.portal.kernel.exception.SystemException {
378 return _mbMessageLocalService.getMessage(messageId);
379 }
380
381 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getMessages(
382 java.lang.String className, long classPK, int status)
383 throws com.liferay.portal.kernel.exception.SystemException {
384 return _mbMessageLocalService.getMessages(className, classPK, status);
385 }
386
387 public com.liferay.portlet.messageboards.model.MBMessageDisplay getMessageDisplay(
388 long messageId, int status, java.lang.String threadView,
389 boolean includePrevAndNext)
390 throws com.liferay.portal.kernel.exception.PortalException,
391 com.liferay.portal.kernel.exception.SystemException {
392 return _mbMessageLocalService.getMessageDisplay(messageId, status,
393 threadView, includePrevAndNext);
394 }
395
396 public com.liferay.portlet.messageboards.model.MBMessageDisplay getMessageDisplay(
397 com.liferay.portlet.messageboards.model.MBMessage message, int status,
398 java.lang.String threadView, boolean includePrevAndNext)
399 throws com.liferay.portal.kernel.exception.PortalException,
400 com.liferay.portal.kernel.exception.SystemException {
401 return _mbMessageLocalService.getMessageDisplay(message, status,
402 threadView, includePrevAndNext);
403 }
404
405 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getNoAssetMessages()
406 throws com.liferay.portal.kernel.exception.SystemException {
407 return _mbMessageLocalService.getNoAssetMessages();
408 }
409
410 public int getPositionInThread(long messageId)
411 throws com.liferay.portal.kernel.exception.PortalException,
412 com.liferay.portal.kernel.exception.SystemException {
413 return _mbMessageLocalService.getPositionInThread(messageId);
414 }
415
416 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(
417 long threadId, int status)
418 throws com.liferay.portal.kernel.exception.SystemException {
419 return _mbMessageLocalService.getThreadMessages(threadId, status);
420 }
421
422 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(
423 long threadId, int status,
424 java.util.Comparator<com.liferay.portlet.messageboards.model.MBMessage> comparator)
425 throws com.liferay.portal.kernel.exception.SystemException {
426 return _mbMessageLocalService.getThreadMessages(threadId, status,
427 comparator);
428 }
429
430 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(
431 long threadId, int status, int start, int end)
432 throws com.liferay.portal.kernel.exception.SystemException {
433 return _mbMessageLocalService.getThreadMessages(threadId, status,
434 start, end);
435 }
436
437 public int getThreadMessagesCount(long threadId, int status)
438 throws com.liferay.portal.kernel.exception.SystemException {
439 return _mbMessageLocalService.getThreadMessagesCount(threadId, status);
440 }
441
442 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadRepliesMessages(
443 long threadId, int status, int start, int end)
444 throws com.liferay.portal.kernel.exception.SystemException {
445 return _mbMessageLocalService.getThreadRepliesMessages(threadId,
446 status, start, end);
447 }
448
449 public void subscribeMessage(long userId, long messageId)
450 throws com.liferay.portal.kernel.exception.PortalException,
451 com.liferay.portal.kernel.exception.SystemException {
452 _mbMessageLocalService.subscribeMessage(userId, messageId);
453 }
454
455 public void unsubscribeMessage(long userId, long messageId)
456 throws com.liferay.portal.kernel.exception.PortalException,
457 com.liferay.portal.kernel.exception.SystemException {
458 _mbMessageLocalService.unsubscribeMessage(userId, messageId);
459 }
460
461 public void updateAsset(long userId,
462 com.liferay.portlet.messageboards.model.MBMessage message,
463 long[] assetCategoryIds, java.lang.String[] assetTagNames)
464 throws com.liferay.portal.kernel.exception.PortalException,
465 com.liferay.portal.kernel.exception.SystemException {
466 _mbMessageLocalService.updateAsset(userId, message, assetCategoryIds,
467 assetTagNames);
468 }
469
470 public com.liferay.portlet.messageboards.model.MBMessage updateDiscussionMessage(
471 long userId, long messageId, java.lang.String subject,
472 java.lang.String body, int workflowAction)
473 throws com.liferay.portal.kernel.exception.PortalException,
474 com.liferay.portal.kernel.exception.SystemException {
475 return _mbMessageLocalService.updateDiscussionMessage(userId,
476 messageId, subject, body, workflowAction);
477 }
478
479 public com.liferay.portlet.messageboards.model.MBMessage updateMessage(
480 long userId, long messageId, java.lang.String subject,
481 java.lang.String body,
482 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, byte[]>> files,
483 java.util.List<java.lang.String> existingFiles, double priority,
484 boolean allowPingbacks,
485 com.liferay.portal.service.ServiceContext serviceContext)
486 throws com.liferay.portal.kernel.exception.PortalException,
487 com.liferay.portal.kernel.exception.SystemException {
488 return _mbMessageLocalService.updateMessage(userId, messageId, subject,
489 body, files, existingFiles, priority, allowPingbacks, serviceContext);
490 }
491
492 public com.liferay.portlet.messageboards.model.MBMessage updateMessage(
493 long messageId, java.lang.String body)
494 throws com.liferay.portal.kernel.exception.PortalException,
495 com.liferay.portal.kernel.exception.SystemException {
496 return _mbMessageLocalService.updateMessage(messageId, body);
497 }
498
499 public void updateUserName(long userId, java.lang.String userName)
500 throws com.liferay.portal.kernel.exception.SystemException {
501 _mbMessageLocalService.updateUserName(userId, userName);
502 }
503
504 public com.liferay.portlet.messageboards.model.MBMessage updateStatus(
505 long userId, long messageId, int status,
506 com.liferay.portal.service.ServiceContext serviceContext)
507 throws com.liferay.portal.kernel.exception.PortalException,
508 com.liferay.portal.kernel.exception.SystemException {
509 return _mbMessageLocalService.updateStatus(userId, messageId, status,
510 serviceContext);
511 }
512
513 public MBMessageLocalService getWrappedMBMessageLocalService() {
514 return _mbMessageLocalService;
515 }
516
517 private MBMessageLocalService _mbMessageLocalService;
518 }