001
014
015 package com.liferay.portlet.messageboards.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class MBCategoryLocalServiceWrapper implements MBCategoryLocalService,
029 ServiceWrapper<MBCategoryLocalService> {
030 public MBCategoryLocalServiceWrapper(
031 MBCategoryLocalService mbCategoryLocalService) {
032 _mbCategoryLocalService = mbCategoryLocalService;
033 }
034
035
042 public com.liferay.portlet.messageboards.model.MBCategory addMBCategory(
043 com.liferay.portlet.messageboards.model.MBCategory mbCategory)
044 throws com.liferay.portal.kernel.exception.SystemException {
045 return _mbCategoryLocalService.addMBCategory(mbCategory);
046 }
047
048
054 public com.liferay.portlet.messageboards.model.MBCategory createMBCategory(
055 long categoryId) {
056 return _mbCategoryLocalService.createMBCategory(categoryId);
057 }
058
059
067 public com.liferay.portlet.messageboards.model.MBCategory deleteMBCategory(
068 long categoryId)
069 throws com.liferay.portal.kernel.exception.PortalException,
070 com.liferay.portal.kernel.exception.SystemException {
071 return _mbCategoryLocalService.deleteMBCategory(categoryId);
072 }
073
074
081 public com.liferay.portlet.messageboards.model.MBCategory deleteMBCategory(
082 com.liferay.portlet.messageboards.model.MBCategory mbCategory)
083 throws com.liferay.portal.kernel.exception.SystemException {
084 return _mbCategoryLocalService.deleteMBCategory(mbCategory);
085 }
086
087 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
088 return _mbCategoryLocalService.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 _mbCategoryLocalService.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 _mbCategoryLocalService.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 _mbCategoryLocalService.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 _mbCategoryLocalService.dynamicQueryCount(dynamicQuery);
160 }
161
162 public com.liferay.portlet.messageboards.model.MBCategory fetchMBCategory(
163 long categoryId)
164 throws com.liferay.portal.kernel.exception.SystemException {
165 return _mbCategoryLocalService.fetchMBCategory(categoryId);
166 }
167
168
176 public com.liferay.portlet.messageboards.model.MBCategory getMBCategory(
177 long categoryId)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _mbCategoryLocalService.getMBCategory(categoryId);
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 _mbCategoryLocalService.getPersistedModel(primaryKeyObj);
188 }
189
190
199 public com.liferay.portlet.messageboards.model.MBCategory getMBCategoryByUuidAndGroupId(
200 java.lang.String uuid, long groupId)
201 throws com.liferay.portal.kernel.exception.PortalException,
202 com.liferay.portal.kernel.exception.SystemException {
203 return _mbCategoryLocalService.getMBCategoryByUuidAndGroupId(uuid,
204 groupId);
205 }
206
207
219 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getMBCategories(
220 int start, int end)
221 throws com.liferay.portal.kernel.exception.SystemException {
222 return _mbCategoryLocalService.getMBCategories(start, end);
223 }
224
225
231 public int getMBCategoriesCount()
232 throws com.liferay.portal.kernel.exception.SystemException {
233 return _mbCategoryLocalService.getMBCategoriesCount();
234 }
235
236
243 public com.liferay.portlet.messageboards.model.MBCategory updateMBCategory(
244 com.liferay.portlet.messageboards.model.MBCategory mbCategory)
245 throws com.liferay.portal.kernel.exception.SystemException {
246 return _mbCategoryLocalService.updateMBCategory(mbCategory);
247 }
248
249
254 public java.lang.String getBeanIdentifier() {
255 return _mbCategoryLocalService.getBeanIdentifier();
256 }
257
258
263 public void setBeanIdentifier(java.lang.String beanIdentifier) {
264 _mbCategoryLocalService.setBeanIdentifier(beanIdentifier);
265 }
266
267 public com.liferay.portlet.messageboards.model.MBCategory addCategory(
268 long userId, long parentCategoryId, java.lang.String name,
269 java.lang.String description,
270 com.liferay.portal.service.ServiceContext serviceContext)
271 throws com.liferay.portal.kernel.exception.PortalException,
272 com.liferay.portal.kernel.exception.SystemException {
273 return _mbCategoryLocalService.addCategory(userId, parentCategoryId,
274 name, description, serviceContext);
275 }
276
277 public com.liferay.portlet.messageboards.model.MBCategory addCategory(
278 long userId, long parentCategoryId, java.lang.String name,
279 java.lang.String description, java.lang.String displayStyle,
280 java.lang.String emailAddress, java.lang.String inProtocol,
281 java.lang.String inServerName, int inServerPort, boolean inUseSSL,
282 java.lang.String inUserName, java.lang.String inPassword,
283 int inReadInterval, java.lang.String outEmailAddress,
284 boolean outCustom, java.lang.String outServerName, int outServerPort,
285 boolean outUseSSL, java.lang.String outUserName,
286 java.lang.String outPassword, boolean allowAnonymous,
287 boolean mailingListActive,
288 com.liferay.portal.service.ServiceContext serviceContext)
289 throws com.liferay.portal.kernel.exception.PortalException,
290 com.liferay.portal.kernel.exception.SystemException {
291 return _mbCategoryLocalService.addCategory(userId, parentCategoryId,
292 name, description, displayStyle, emailAddress, inProtocol,
293 inServerName, inServerPort, inUseSSL, inUserName, inPassword,
294 inReadInterval, outEmailAddress, outCustom, outServerName,
295 outServerPort, outUseSSL, outUserName, outPassword, allowAnonymous,
296 mailingListActive, serviceContext);
297 }
298
299 public void addCategoryResources(long categoryId,
300 boolean addGroupPermissions, boolean addGuestPermissions)
301 throws com.liferay.portal.kernel.exception.PortalException,
302 com.liferay.portal.kernel.exception.SystemException {
303 _mbCategoryLocalService.addCategoryResources(categoryId,
304 addGroupPermissions, addGuestPermissions);
305 }
306
307 public void addCategoryResources(long categoryId,
308 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
309 throws com.liferay.portal.kernel.exception.PortalException,
310 com.liferay.portal.kernel.exception.SystemException {
311 _mbCategoryLocalService.addCategoryResources(categoryId,
312 groupPermissions, guestPermissions);
313 }
314
315 public void addCategoryResources(
316 com.liferay.portlet.messageboards.model.MBCategory category,
317 boolean addGroupPermissions, boolean addGuestPermissions)
318 throws com.liferay.portal.kernel.exception.PortalException,
319 com.liferay.portal.kernel.exception.SystemException {
320 _mbCategoryLocalService.addCategoryResources(category,
321 addGroupPermissions, addGuestPermissions);
322 }
323
324 public void addCategoryResources(
325 com.liferay.portlet.messageboards.model.MBCategory category,
326 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
327 throws com.liferay.portal.kernel.exception.PortalException,
328 com.liferay.portal.kernel.exception.SystemException {
329 _mbCategoryLocalService.addCategoryResources(category,
330 groupPermissions, guestPermissions);
331 }
332
333 public void deleteCategories(long groupId)
334 throws com.liferay.portal.kernel.exception.PortalException,
335 com.liferay.portal.kernel.exception.SystemException {
336 _mbCategoryLocalService.deleteCategories(groupId);
337 }
338
339 public void deleteCategory(long categoryId)
340 throws com.liferay.portal.kernel.exception.PortalException,
341 com.liferay.portal.kernel.exception.SystemException {
342 _mbCategoryLocalService.deleteCategory(categoryId);
343 }
344
345 public void deleteCategory(
346 com.liferay.portlet.messageboards.model.MBCategory category)
347 throws com.liferay.portal.kernel.exception.PortalException,
348 com.liferay.portal.kernel.exception.SystemException {
349 _mbCategoryLocalService.deleteCategory(category);
350 }
351
352 public void deleteCategory(
353 com.liferay.portlet.messageboards.model.MBCategory category,
354 boolean includeTrashedEntries)
355 throws com.liferay.portal.kernel.exception.PortalException,
356 com.liferay.portal.kernel.exception.SystemException {
357 _mbCategoryLocalService.deleteCategory(category, includeTrashedEntries);
358 }
359
360 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
361 long groupId)
362 throws com.liferay.portal.kernel.exception.SystemException {
363 return _mbCategoryLocalService.getCategories(groupId);
364 }
365
366 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
367 long groupId, int status)
368 throws com.liferay.portal.kernel.exception.SystemException {
369 return _mbCategoryLocalService.getCategories(groupId, status);
370 }
371
372 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
373 long groupId, long parentCategoryId, int start, int end)
374 throws com.liferay.portal.kernel.exception.SystemException {
375 return _mbCategoryLocalService.getCategories(groupId, parentCategoryId,
376 start, end);
377 }
378
379 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
380 long groupId, long parentCategoryId, int status, int start, int end)
381 throws com.liferay.portal.kernel.exception.SystemException {
382 return _mbCategoryLocalService.getCategories(groupId, parentCategoryId,
383 status, start, end);
384 }
385
386 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
387 long groupId, long[] parentCategoryIds, int start, int end)
388 throws com.liferay.portal.kernel.exception.SystemException {
389 return _mbCategoryLocalService.getCategories(groupId,
390 parentCategoryIds, start, end);
391 }
392
393 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
394 long groupId, long[] parentCategoryIds, int status, int start, int end)
395 throws com.liferay.portal.kernel.exception.SystemException {
396 return _mbCategoryLocalService.getCategories(groupId,
397 parentCategoryIds, status, start, end);
398 }
399
400 public java.util.List<java.lang.Object> getCategoriesAndThreads(
401 long groupId, long categoryId)
402 throws com.liferay.portal.kernel.exception.SystemException {
403 return _mbCategoryLocalService.getCategoriesAndThreads(groupId,
404 categoryId);
405 }
406
407 public int getCategoriesCount(long groupId)
408 throws com.liferay.portal.kernel.exception.SystemException {
409 return _mbCategoryLocalService.getCategoriesCount(groupId);
410 }
411
412 public int getCategoriesCount(long groupId, int status)
413 throws com.liferay.portal.kernel.exception.SystemException {
414 return _mbCategoryLocalService.getCategoriesCount(groupId, status);
415 }
416
417 public int getCategoriesCount(long groupId, long parentCategoryId)
418 throws com.liferay.portal.kernel.exception.SystemException {
419 return _mbCategoryLocalService.getCategoriesCount(groupId,
420 parentCategoryId);
421 }
422
423 public int getCategoriesCount(long groupId, long parentCategoryId,
424 int status) throws com.liferay.portal.kernel.exception.SystemException {
425 return _mbCategoryLocalService.getCategoriesCount(groupId,
426 parentCategoryId, status);
427 }
428
429 public int getCategoriesCount(long groupId, long[] parentCategoryIds)
430 throws com.liferay.portal.kernel.exception.SystemException {
431 return _mbCategoryLocalService.getCategoriesCount(groupId,
432 parentCategoryIds);
433 }
434
435 public int getCategoriesCount(long groupId, long[] parentCategoryIds,
436 int status) throws com.liferay.portal.kernel.exception.SystemException {
437 return _mbCategoryLocalService.getCategoriesCount(groupId,
438 parentCategoryIds, status);
439 }
440
441 public com.liferay.portlet.messageboards.model.MBCategory getCategory(
442 long categoryId)
443 throws com.liferay.portal.kernel.exception.PortalException,
444 com.liferay.portal.kernel.exception.SystemException {
445 return _mbCategoryLocalService.getCategory(categoryId);
446 }
447
448 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCompanyCategories(
449 long companyId, int start, int end)
450 throws com.liferay.portal.kernel.exception.SystemException {
451 return _mbCategoryLocalService.getCompanyCategories(companyId, start,
452 end);
453 }
454
455 public int getCompanyCategoriesCount(long companyId)
456 throws com.liferay.portal.kernel.exception.SystemException {
457 return _mbCategoryLocalService.getCompanyCategoriesCount(companyId);
458 }
459
460 public java.util.List<java.lang.Long> getSubcategoryIds(
461 java.util.List<java.lang.Long> categoryIds, long groupId,
462 long categoryId)
463 throws com.liferay.portal.kernel.exception.SystemException {
464 return _mbCategoryLocalService.getSubcategoryIds(categoryIds, groupId,
465 categoryId);
466 }
467
468 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getSubscribedCategories(
469 long groupId, long userId, int start, int end)
470 throws com.liferay.portal.kernel.exception.SystemException {
471 return _mbCategoryLocalService.getSubscribedCategories(groupId, userId,
472 start, end);
473 }
474
475 public int getSubscribedCategoriesCount(long groupId, long userId)
476 throws com.liferay.portal.kernel.exception.SystemException {
477 return _mbCategoryLocalService.getSubscribedCategoriesCount(groupId,
478 userId);
479 }
480
481 public void moveCategoriesToTrash(long groupId, long userId)
482 throws com.liferay.portal.kernel.exception.PortalException,
483 com.liferay.portal.kernel.exception.SystemException {
484 _mbCategoryLocalService.moveCategoriesToTrash(groupId, userId);
485 }
486
487 public com.liferay.portlet.messageboards.model.MBCategory moveCategory(
488 long categoryId, long parentCategoryId, boolean mergeWithParentCategory)
489 throws com.liferay.portal.kernel.exception.PortalException,
490 com.liferay.portal.kernel.exception.SystemException {
491 return _mbCategoryLocalService.moveCategory(categoryId,
492 parentCategoryId, mergeWithParentCategory);
493 }
494
495 public com.liferay.portlet.messageboards.model.MBCategory moveCategoryFromTrash(
496 long userId, long categoryId, long newCategoryId)
497 throws com.liferay.portal.kernel.exception.PortalException,
498 com.liferay.portal.kernel.exception.SystemException {
499 return _mbCategoryLocalService.moveCategoryFromTrash(userId,
500 categoryId, newCategoryId);
501 }
502
503 public com.liferay.portlet.messageboards.model.MBCategory moveCategoryToTrash(
504 long userId, long categoryId)
505 throws com.liferay.portal.kernel.exception.PortalException,
506 com.liferay.portal.kernel.exception.SystemException {
507 return _mbCategoryLocalService.moveCategoryToTrash(userId, categoryId);
508 }
509
510 public void restoreCategoryFromTrash(long userId, long categoryId)
511 throws com.liferay.portal.kernel.exception.PortalException,
512 com.liferay.portal.kernel.exception.SystemException {
513 _mbCategoryLocalService.restoreCategoryFromTrash(userId, categoryId);
514 }
515
516 public void subscribeCategory(long userId, long groupId, long categoryId)
517 throws com.liferay.portal.kernel.exception.PortalException,
518 com.liferay.portal.kernel.exception.SystemException {
519 _mbCategoryLocalService.subscribeCategory(userId, groupId, categoryId);
520 }
521
522 public void unsubscribeCategory(long userId, long groupId, long categoryId)
523 throws com.liferay.portal.kernel.exception.PortalException,
524 com.liferay.portal.kernel.exception.SystemException {
525 _mbCategoryLocalService.unsubscribeCategory(userId, groupId, categoryId);
526 }
527
528 public com.liferay.portlet.messageboards.model.MBCategory updateCategory(
529 long categoryId, long parentCategoryId, java.lang.String name,
530 java.lang.String description, java.lang.String displayStyle,
531 java.lang.String emailAddress, java.lang.String inProtocol,
532 java.lang.String inServerName, int inServerPort, boolean inUseSSL,
533 java.lang.String inUserName, java.lang.String inPassword,
534 int inReadInterval, java.lang.String outEmailAddress,
535 boolean outCustom, java.lang.String outServerName, int outServerPort,
536 boolean outUseSSL, java.lang.String outUserName,
537 java.lang.String outPassword, boolean allowAnonymous,
538 boolean mailingListActive, boolean mergeWithParentCategory,
539 com.liferay.portal.service.ServiceContext serviceContext)
540 throws com.liferay.portal.kernel.exception.PortalException,
541 com.liferay.portal.kernel.exception.SystemException {
542 return _mbCategoryLocalService.updateCategory(categoryId,
543 parentCategoryId, name, description, displayStyle, emailAddress,
544 inProtocol, inServerName, inServerPort, inUseSSL, inUserName,
545 inPassword, inReadInterval, outEmailAddress, outCustom,
546 outServerName, outServerPort, outUseSSL, outUserName, outPassword,
547 allowAnonymous, mailingListActive, mergeWithParentCategory,
548 serviceContext);
549 }
550
551 public void updateDependentStatus(com.liferay.portal.model.User user,
552 java.util.List<java.lang.Object> categoriesAndThreads, int status)
553 throws com.liferay.portal.kernel.exception.PortalException,
554 com.liferay.portal.kernel.exception.SystemException {
555 _mbCategoryLocalService.updateDependentStatus(user,
556 categoriesAndThreads, status);
557 }
558
559 public com.liferay.portlet.messageboards.model.MBCategory updateStatus(
560 long userId, long categoryId, int status)
561 throws com.liferay.portal.kernel.exception.PortalException,
562 com.liferay.portal.kernel.exception.SystemException {
563 return _mbCategoryLocalService.updateStatus(userId, categoryId, status);
564 }
565
566
569 public MBCategoryLocalService getWrappedMBCategoryLocalService() {
570 return _mbCategoryLocalService;
571 }
572
573
576 public void setWrappedMBCategoryLocalService(
577 MBCategoryLocalService mbCategoryLocalService) {
578 _mbCategoryLocalService = mbCategoryLocalService;
579 }
580
581 public MBCategoryLocalService getWrappedService() {
582 return _mbCategoryLocalService;
583 }
584
585 public void setWrappedService(MBCategoryLocalService mbCategoryLocalService) {
586 _mbCategoryLocalService = mbCategoryLocalService;
587 }
588
589 private MBCategoryLocalService _mbCategoryLocalService;
590 }