001
014
015 package com.liferay.portlet.messageboards.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
026 public class MBCategoryLocalServiceWrapper implements MBCategoryLocalService,
027 ServiceWrapper<MBCategoryLocalService> {
028 public MBCategoryLocalServiceWrapper(
029 MBCategoryLocalService mbCategoryLocalService) {
030 _mbCategoryLocalService = mbCategoryLocalService;
031 }
032
033
040 @Override
041 public com.liferay.portlet.messageboards.model.MBCategory addMBCategory(
042 com.liferay.portlet.messageboards.model.MBCategory mbCategory)
043 throws com.liferay.portal.kernel.exception.SystemException {
044 return _mbCategoryLocalService.addMBCategory(mbCategory);
045 }
046
047
053 @Override
054 public com.liferay.portlet.messageboards.model.MBCategory createMBCategory(
055 long categoryId) {
056 return _mbCategoryLocalService.createMBCategory(categoryId);
057 }
058
059
067 @Override
068 public com.liferay.portlet.messageboards.model.MBCategory deleteMBCategory(
069 long categoryId)
070 throws com.liferay.portal.kernel.exception.PortalException,
071 com.liferay.portal.kernel.exception.SystemException {
072 return _mbCategoryLocalService.deleteMBCategory(categoryId);
073 }
074
075
082 @Override
083 public com.liferay.portlet.messageboards.model.MBCategory deleteMBCategory(
084 com.liferay.portlet.messageboards.model.MBCategory mbCategory)
085 throws com.liferay.portal.kernel.exception.SystemException {
086 return _mbCategoryLocalService.deleteMBCategory(mbCategory);
087 }
088
089 @Override
090 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
091 return _mbCategoryLocalService.dynamicQuery();
092 }
093
094
101 @Override
102 @SuppressWarnings("rawtypes")
103 public java.util.List dynamicQuery(
104 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
105 throws com.liferay.portal.kernel.exception.SystemException {
106 return _mbCategoryLocalService.dynamicQuery(dynamicQuery);
107 }
108
109
122 @Override
123 @SuppressWarnings("rawtypes")
124 public java.util.List dynamicQuery(
125 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
126 int end) throws com.liferay.portal.kernel.exception.SystemException {
127 return _mbCategoryLocalService.dynamicQuery(dynamicQuery, start, end);
128 }
129
130
144 @Override
145 @SuppressWarnings("rawtypes")
146 public java.util.List dynamicQuery(
147 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
148 int end,
149 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
150 throws com.liferay.portal.kernel.exception.SystemException {
151 return _mbCategoryLocalService.dynamicQuery(dynamicQuery, start, end,
152 orderByComparator);
153 }
154
155
162 @Override
163 public long dynamicQueryCount(
164 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
165 throws com.liferay.portal.kernel.exception.SystemException {
166 return _mbCategoryLocalService.dynamicQueryCount(dynamicQuery);
167 }
168
169
177 @Override
178 public long dynamicQueryCount(
179 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
180 com.liferay.portal.kernel.dao.orm.Projection projection)
181 throws com.liferay.portal.kernel.exception.SystemException {
182 return _mbCategoryLocalService.dynamicQueryCount(dynamicQuery,
183 projection);
184 }
185
186 @Override
187 public com.liferay.portlet.messageboards.model.MBCategory fetchMBCategory(
188 long categoryId)
189 throws com.liferay.portal.kernel.exception.SystemException {
190 return _mbCategoryLocalService.fetchMBCategory(categoryId);
191 }
192
193
201 @Override
202 public com.liferay.portlet.messageboards.model.MBCategory fetchMBCategoryByUuidAndCompanyId(
203 java.lang.String uuid, long companyId)
204 throws com.liferay.portal.kernel.exception.SystemException {
205 return _mbCategoryLocalService.fetchMBCategoryByUuidAndCompanyId(uuid,
206 companyId);
207 }
208
209
217 @Override
218 public com.liferay.portlet.messageboards.model.MBCategory fetchMBCategoryByUuidAndGroupId(
219 java.lang.String uuid, long groupId)
220 throws com.liferay.portal.kernel.exception.SystemException {
221 return _mbCategoryLocalService.fetchMBCategoryByUuidAndGroupId(uuid,
222 groupId);
223 }
224
225
233 @Override
234 public com.liferay.portlet.messageboards.model.MBCategory getMBCategory(
235 long categoryId)
236 throws com.liferay.portal.kernel.exception.PortalException,
237 com.liferay.portal.kernel.exception.SystemException {
238 return _mbCategoryLocalService.getMBCategory(categoryId);
239 }
240
241 @Override
242 public com.liferay.portal.model.PersistedModel getPersistedModel(
243 java.io.Serializable primaryKeyObj)
244 throws com.liferay.portal.kernel.exception.PortalException,
245 com.liferay.portal.kernel.exception.SystemException {
246 return _mbCategoryLocalService.getPersistedModel(primaryKeyObj);
247 }
248
249
258 @Override
259 public com.liferay.portlet.messageboards.model.MBCategory getMBCategoryByUuidAndCompanyId(
260 java.lang.String uuid, long companyId)
261 throws com.liferay.portal.kernel.exception.PortalException,
262 com.liferay.portal.kernel.exception.SystemException {
263 return _mbCategoryLocalService.getMBCategoryByUuidAndCompanyId(uuid,
264 companyId);
265 }
266
267
276 @Override
277 public com.liferay.portlet.messageboards.model.MBCategory getMBCategoryByUuidAndGroupId(
278 java.lang.String uuid, long groupId)
279 throws com.liferay.portal.kernel.exception.PortalException,
280 com.liferay.portal.kernel.exception.SystemException {
281 return _mbCategoryLocalService.getMBCategoryByUuidAndGroupId(uuid,
282 groupId);
283 }
284
285
297 @Override
298 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getMBCategories(
299 int start, int end)
300 throws com.liferay.portal.kernel.exception.SystemException {
301 return _mbCategoryLocalService.getMBCategories(start, end);
302 }
303
304
310 @Override
311 public int getMBCategoriesCount()
312 throws com.liferay.portal.kernel.exception.SystemException {
313 return _mbCategoryLocalService.getMBCategoriesCount();
314 }
315
316
323 @Override
324 public com.liferay.portlet.messageboards.model.MBCategory updateMBCategory(
325 com.liferay.portlet.messageboards.model.MBCategory mbCategory)
326 throws com.liferay.portal.kernel.exception.SystemException {
327 return _mbCategoryLocalService.updateMBCategory(mbCategory);
328 }
329
330
335 @Override
336 public java.lang.String getBeanIdentifier() {
337 return _mbCategoryLocalService.getBeanIdentifier();
338 }
339
340
345 @Override
346 public void setBeanIdentifier(java.lang.String beanIdentifier) {
347 _mbCategoryLocalService.setBeanIdentifier(beanIdentifier);
348 }
349
350 @Override
351 public com.liferay.portlet.messageboards.model.MBCategory addCategory(
352 long userId, long parentCategoryId, java.lang.String name,
353 java.lang.String description,
354 com.liferay.portal.service.ServiceContext serviceContext)
355 throws com.liferay.portal.kernel.exception.PortalException,
356 com.liferay.portal.kernel.exception.SystemException {
357 return _mbCategoryLocalService.addCategory(userId, parentCategoryId,
358 name, description, serviceContext);
359 }
360
361 @Override
362 public com.liferay.portlet.messageboards.model.MBCategory addCategory(
363 long userId, long parentCategoryId, java.lang.String name,
364 java.lang.String description, java.lang.String displayStyle,
365 java.lang.String emailAddress, java.lang.String inProtocol,
366 java.lang.String inServerName, int inServerPort, boolean inUseSSL,
367 java.lang.String inUserName, java.lang.String inPassword,
368 int inReadInterval, java.lang.String outEmailAddress,
369 boolean outCustom, java.lang.String outServerName, int outServerPort,
370 boolean outUseSSL, java.lang.String outUserName,
371 java.lang.String outPassword, boolean allowAnonymous,
372 boolean mailingListActive,
373 com.liferay.portal.service.ServiceContext serviceContext)
374 throws com.liferay.portal.kernel.exception.PortalException,
375 com.liferay.portal.kernel.exception.SystemException {
376 return _mbCategoryLocalService.addCategory(userId, parentCategoryId,
377 name, description, displayStyle, emailAddress, inProtocol,
378 inServerName, inServerPort, inUseSSL, inUserName, inPassword,
379 inReadInterval, outEmailAddress, outCustom, outServerName,
380 outServerPort, outUseSSL, outUserName, outPassword, allowAnonymous,
381 mailingListActive, serviceContext);
382 }
383
384 @Override
385 public void addCategoryResources(long categoryId,
386 boolean addGroupPermissions, boolean addGuestPermissions)
387 throws com.liferay.portal.kernel.exception.PortalException,
388 com.liferay.portal.kernel.exception.SystemException {
389 _mbCategoryLocalService.addCategoryResources(categoryId,
390 addGroupPermissions, addGuestPermissions);
391 }
392
393 @Override
394 public void addCategoryResources(long categoryId,
395 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
396 throws com.liferay.portal.kernel.exception.PortalException,
397 com.liferay.portal.kernel.exception.SystemException {
398 _mbCategoryLocalService.addCategoryResources(categoryId,
399 groupPermissions, guestPermissions);
400 }
401
402 @Override
403 public void addCategoryResources(
404 com.liferay.portlet.messageboards.model.MBCategory category,
405 boolean addGroupPermissions, boolean addGuestPermissions)
406 throws com.liferay.portal.kernel.exception.PortalException,
407 com.liferay.portal.kernel.exception.SystemException {
408 _mbCategoryLocalService.addCategoryResources(category,
409 addGroupPermissions, addGuestPermissions);
410 }
411
412 @Override
413 public void addCategoryResources(
414 com.liferay.portlet.messageboards.model.MBCategory category,
415 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
416 throws com.liferay.portal.kernel.exception.PortalException,
417 com.liferay.portal.kernel.exception.SystemException {
418 _mbCategoryLocalService.addCategoryResources(category,
419 groupPermissions, guestPermissions);
420 }
421
422 @Override
423 public void deleteCategories(long groupId)
424 throws com.liferay.portal.kernel.exception.PortalException,
425 com.liferay.portal.kernel.exception.SystemException {
426 _mbCategoryLocalService.deleteCategories(groupId);
427 }
428
429 @Override
430 public void deleteCategory(long categoryId)
431 throws com.liferay.portal.kernel.exception.PortalException,
432 com.liferay.portal.kernel.exception.SystemException {
433 _mbCategoryLocalService.deleteCategory(categoryId);
434 }
435
436 @Override
437 public void deleteCategory(
438 com.liferay.portlet.messageboards.model.MBCategory category)
439 throws com.liferay.portal.kernel.exception.PortalException,
440 com.liferay.portal.kernel.exception.SystemException {
441 _mbCategoryLocalService.deleteCategory(category);
442 }
443
444 @Override
445 public void deleteCategory(
446 com.liferay.portlet.messageboards.model.MBCategory category,
447 boolean includeTrashedEntries)
448 throws com.liferay.portal.kernel.exception.PortalException,
449 com.liferay.portal.kernel.exception.SystemException {
450 _mbCategoryLocalService.deleteCategory(category, includeTrashedEntries);
451 }
452
453 @Override
454 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
455 long groupId)
456 throws com.liferay.portal.kernel.exception.SystemException {
457 return _mbCategoryLocalService.getCategories(groupId);
458 }
459
460 @Override
461 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
462 long groupId, int status)
463 throws com.liferay.portal.kernel.exception.SystemException {
464 return _mbCategoryLocalService.getCategories(groupId, status);
465 }
466
467 @Override
468 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
469 long groupId, long parentCategoryId, int start, int end)
470 throws com.liferay.portal.kernel.exception.SystemException {
471 return _mbCategoryLocalService.getCategories(groupId, parentCategoryId,
472 start, end);
473 }
474
475 @Override
476 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
477 long groupId, long parentCategoryId, int status, int start, int end)
478 throws com.liferay.portal.kernel.exception.SystemException {
479 return _mbCategoryLocalService.getCategories(groupId, parentCategoryId,
480 status, start, end);
481 }
482
483 @Override
484 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
485 long groupId, long[] parentCategoryIds, int start, int end)
486 throws com.liferay.portal.kernel.exception.SystemException {
487 return _mbCategoryLocalService.getCategories(groupId,
488 parentCategoryIds, start, end);
489 }
490
491 @Override
492 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
493 long groupId, long[] parentCategoryIds, int status, int start, int end)
494 throws com.liferay.portal.kernel.exception.SystemException {
495 return _mbCategoryLocalService.getCategories(groupId,
496 parentCategoryIds, status, start, end);
497 }
498
499 @Override
500 public java.util.List<java.lang.Object> getCategoriesAndThreads(
501 long groupId, long categoryId)
502 throws com.liferay.portal.kernel.exception.SystemException {
503 return _mbCategoryLocalService.getCategoriesAndThreads(groupId,
504 categoryId);
505 }
506
507 @Override
508 public int getCategoriesCount(long groupId)
509 throws com.liferay.portal.kernel.exception.SystemException {
510 return _mbCategoryLocalService.getCategoriesCount(groupId);
511 }
512
513 @Override
514 public int getCategoriesCount(long groupId, int status)
515 throws com.liferay.portal.kernel.exception.SystemException {
516 return _mbCategoryLocalService.getCategoriesCount(groupId, status);
517 }
518
519 @Override
520 public int getCategoriesCount(long groupId, long parentCategoryId)
521 throws com.liferay.portal.kernel.exception.SystemException {
522 return _mbCategoryLocalService.getCategoriesCount(groupId,
523 parentCategoryId);
524 }
525
526 @Override
527 public int getCategoriesCount(long groupId, long parentCategoryId,
528 int status) throws com.liferay.portal.kernel.exception.SystemException {
529 return _mbCategoryLocalService.getCategoriesCount(groupId,
530 parentCategoryId, status);
531 }
532
533 @Override
534 public int getCategoriesCount(long groupId, long[] parentCategoryIds)
535 throws com.liferay.portal.kernel.exception.SystemException {
536 return _mbCategoryLocalService.getCategoriesCount(groupId,
537 parentCategoryIds);
538 }
539
540 @Override
541 public int getCategoriesCount(long groupId, long[] parentCategoryIds,
542 int status) throws com.liferay.portal.kernel.exception.SystemException {
543 return _mbCategoryLocalService.getCategoriesCount(groupId,
544 parentCategoryIds, status);
545 }
546
547 @Override
548 public com.liferay.portlet.messageboards.model.MBCategory getCategory(
549 long categoryId)
550 throws com.liferay.portal.kernel.exception.PortalException,
551 com.liferay.portal.kernel.exception.SystemException {
552 return _mbCategoryLocalService.getCategory(categoryId);
553 }
554
555 @Override
556 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCompanyCategories(
557 long companyId, int start, int end)
558 throws com.liferay.portal.kernel.exception.SystemException {
559 return _mbCategoryLocalService.getCompanyCategories(companyId, start,
560 end);
561 }
562
563 @Override
564 public int getCompanyCategoriesCount(long companyId)
565 throws com.liferay.portal.kernel.exception.SystemException {
566 return _mbCategoryLocalService.getCompanyCategoriesCount(companyId);
567 }
568
569 @Override
570 public java.util.List<java.lang.Long> getSubcategoryIds(
571 java.util.List<java.lang.Long> categoryIds, long groupId,
572 long categoryId)
573 throws com.liferay.portal.kernel.exception.SystemException {
574 return _mbCategoryLocalService.getSubcategoryIds(categoryIds, groupId,
575 categoryId);
576 }
577
578 @Override
579 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getSubscribedCategories(
580 long groupId, long userId, int start, int end)
581 throws com.liferay.portal.kernel.exception.SystemException {
582 return _mbCategoryLocalService.getSubscribedCategories(groupId, userId,
583 start, end);
584 }
585
586 @Override
587 public int getSubscribedCategoriesCount(long groupId, long userId)
588 throws com.liferay.portal.kernel.exception.SystemException {
589 return _mbCategoryLocalService.getSubscribedCategoriesCount(groupId,
590 userId);
591 }
592
593 @Override
594 public void moveCategoriesToTrash(long groupId, long userId)
595 throws com.liferay.portal.kernel.exception.PortalException,
596 com.liferay.portal.kernel.exception.SystemException {
597 _mbCategoryLocalService.moveCategoriesToTrash(groupId, userId);
598 }
599
600 @Override
601 public com.liferay.portlet.messageboards.model.MBCategory moveCategory(
602 long categoryId, long parentCategoryId, boolean mergeWithParentCategory)
603 throws com.liferay.portal.kernel.exception.PortalException,
604 com.liferay.portal.kernel.exception.SystemException {
605 return _mbCategoryLocalService.moveCategory(categoryId,
606 parentCategoryId, mergeWithParentCategory);
607 }
608
609 @Override
610 public com.liferay.portlet.messageboards.model.MBCategory moveCategoryFromTrash(
611 long userId, long categoryId, long newCategoryId)
612 throws com.liferay.portal.kernel.exception.PortalException,
613 com.liferay.portal.kernel.exception.SystemException {
614 return _mbCategoryLocalService.moveCategoryFromTrash(userId,
615 categoryId, newCategoryId);
616 }
617
618 @Override
619 public com.liferay.portlet.messageboards.model.MBCategory moveCategoryToTrash(
620 long userId, long categoryId)
621 throws com.liferay.portal.kernel.exception.PortalException,
622 com.liferay.portal.kernel.exception.SystemException {
623 return _mbCategoryLocalService.moveCategoryToTrash(userId, categoryId);
624 }
625
626 @Override
627 public void restoreCategoryFromTrash(long userId, long categoryId)
628 throws com.liferay.portal.kernel.exception.PortalException,
629 com.liferay.portal.kernel.exception.SystemException {
630 _mbCategoryLocalService.restoreCategoryFromTrash(userId, categoryId);
631 }
632
633 @Override
634 public void subscribeCategory(long userId, long groupId, long categoryId)
635 throws com.liferay.portal.kernel.exception.PortalException,
636 com.liferay.portal.kernel.exception.SystemException {
637 _mbCategoryLocalService.subscribeCategory(userId, groupId, categoryId);
638 }
639
640 @Override
641 public void unsubscribeCategory(long userId, long groupId, long categoryId)
642 throws com.liferay.portal.kernel.exception.PortalException,
643 com.liferay.portal.kernel.exception.SystemException {
644 _mbCategoryLocalService.unsubscribeCategory(userId, groupId, categoryId);
645 }
646
647 @Override
648 public com.liferay.portlet.messageboards.model.MBCategory updateCategory(
649 long categoryId, long parentCategoryId, java.lang.String name,
650 java.lang.String description, java.lang.String displayStyle,
651 java.lang.String emailAddress, java.lang.String inProtocol,
652 java.lang.String inServerName, int inServerPort, boolean inUseSSL,
653 java.lang.String inUserName, java.lang.String inPassword,
654 int inReadInterval, java.lang.String outEmailAddress,
655 boolean outCustom, java.lang.String outServerName, int outServerPort,
656 boolean outUseSSL, java.lang.String outUserName,
657 java.lang.String outPassword, boolean allowAnonymous,
658 boolean mailingListActive, boolean mergeWithParentCategory,
659 com.liferay.portal.service.ServiceContext serviceContext)
660 throws com.liferay.portal.kernel.exception.PortalException,
661 com.liferay.portal.kernel.exception.SystemException {
662 return _mbCategoryLocalService.updateCategory(categoryId,
663 parentCategoryId, name, description, displayStyle, emailAddress,
664 inProtocol, inServerName, inServerPort, inUseSSL, inUserName,
665 inPassword, inReadInterval, outEmailAddress, outCustom,
666 outServerName, outServerPort, outUseSSL, outUserName, outPassword,
667 allowAnonymous, mailingListActive, mergeWithParentCategory,
668 serviceContext);
669 }
670
671 @Override
672 public com.liferay.portlet.messageboards.model.MBCategory updateStatus(
673 long userId, long categoryId, int status)
674 throws com.liferay.portal.kernel.exception.PortalException,
675 com.liferay.portal.kernel.exception.SystemException {
676 return _mbCategoryLocalService.updateStatus(userId, categoryId, status);
677 }
678
679
682 public MBCategoryLocalService getWrappedMBCategoryLocalService() {
683 return _mbCategoryLocalService;
684 }
685
686
689 public void setWrappedMBCategoryLocalService(
690 MBCategoryLocalService mbCategoryLocalService) {
691 _mbCategoryLocalService = mbCategoryLocalService;
692 }
693
694 @Override
695 public MBCategoryLocalService getWrappedService() {
696 return _mbCategoryLocalService;
697 }
698
699 @Override
700 public void setWrappedService(MBCategoryLocalService mbCategoryLocalService) {
701 _mbCategoryLocalService = mbCategoryLocalService;
702 }
703
704 private MBCategoryLocalService _mbCategoryLocalService;
705 }