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