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