001
014
015 package com.liferay.portlet.asset.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.service.ServiceWrapper;
020
021
028 @ProviderType
029 public class AssetCategoryLocalServiceWrapper
030 implements AssetCategoryLocalService,
031 ServiceWrapper<AssetCategoryLocalService> {
032 public AssetCategoryLocalServiceWrapper(
033 AssetCategoryLocalService assetCategoryLocalService) {
034 _assetCategoryLocalService = assetCategoryLocalService;
035 }
036
037
044 @Override
045 public com.liferay.portlet.asset.model.AssetCategory addAssetCategory(
046 com.liferay.portlet.asset.model.AssetCategory assetCategory)
047 throws com.liferay.portal.kernel.exception.SystemException {
048 return _assetCategoryLocalService.addAssetCategory(assetCategory);
049 }
050
051
057 @Override
058 public com.liferay.portlet.asset.model.AssetCategory createAssetCategory(
059 long categoryId) {
060 return _assetCategoryLocalService.createAssetCategory(categoryId);
061 }
062
063
071 @Override
072 public com.liferay.portlet.asset.model.AssetCategory deleteAssetCategory(
073 long categoryId)
074 throws com.liferay.portal.kernel.exception.PortalException,
075 com.liferay.portal.kernel.exception.SystemException {
076 return _assetCategoryLocalService.deleteAssetCategory(categoryId);
077 }
078
079
086 @Override
087 public com.liferay.portlet.asset.model.AssetCategory deleteAssetCategory(
088 com.liferay.portlet.asset.model.AssetCategory assetCategory)
089 throws com.liferay.portal.kernel.exception.SystemException {
090 return _assetCategoryLocalService.deleteAssetCategory(assetCategory);
091 }
092
093 @Override
094 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
095 return _assetCategoryLocalService.dynamicQuery();
096 }
097
098
105 @Override
106 @SuppressWarnings("rawtypes")
107 public java.util.List dynamicQuery(
108 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
109 throws com.liferay.portal.kernel.exception.SystemException {
110 return _assetCategoryLocalService.dynamicQuery(dynamicQuery);
111 }
112
113
126 @Override
127 @SuppressWarnings("rawtypes")
128 public java.util.List dynamicQuery(
129 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
130 int end) throws com.liferay.portal.kernel.exception.SystemException {
131 return _assetCategoryLocalService.dynamicQuery(dynamicQuery, start, end);
132 }
133
134
148 @Override
149 @SuppressWarnings("rawtypes")
150 public java.util.List dynamicQuery(
151 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
152 int end,
153 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
154 throws com.liferay.portal.kernel.exception.SystemException {
155 return _assetCategoryLocalService.dynamicQuery(dynamicQuery, start,
156 end, orderByComparator);
157 }
158
159
166 @Override
167 public long dynamicQueryCount(
168 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
169 throws com.liferay.portal.kernel.exception.SystemException {
170 return _assetCategoryLocalService.dynamicQueryCount(dynamicQuery);
171 }
172
173
181 @Override
182 public long dynamicQueryCount(
183 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
184 com.liferay.portal.kernel.dao.orm.Projection projection)
185 throws com.liferay.portal.kernel.exception.SystemException {
186 return _assetCategoryLocalService.dynamicQueryCount(dynamicQuery,
187 projection);
188 }
189
190 @Override
191 public com.liferay.portlet.asset.model.AssetCategory fetchAssetCategory(
192 long categoryId)
193 throws com.liferay.portal.kernel.exception.SystemException {
194 return _assetCategoryLocalService.fetchAssetCategory(categoryId);
195 }
196
197
205 @Override
206 public com.liferay.portlet.asset.model.AssetCategory fetchAssetCategoryByUuidAndCompanyId(
207 java.lang.String uuid, long companyId)
208 throws com.liferay.portal.kernel.exception.SystemException {
209 return _assetCategoryLocalService.fetchAssetCategoryByUuidAndCompanyId(uuid,
210 companyId);
211 }
212
213
221 @Override
222 public com.liferay.portlet.asset.model.AssetCategory fetchAssetCategoryByUuidAndGroupId(
223 java.lang.String uuid, long groupId)
224 throws com.liferay.portal.kernel.exception.SystemException {
225 return _assetCategoryLocalService.fetchAssetCategoryByUuidAndGroupId(uuid,
226 groupId);
227 }
228
229
237 @Override
238 public com.liferay.portlet.asset.model.AssetCategory getAssetCategory(
239 long categoryId)
240 throws com.liferay.portal.kernel.exception.PortalException,
241 com.liferay.portal.kernel.exception.SystemException {
242 return _assetCategoryLocalService.getAssetCategory(categoryId);
243 }
244
245 @Override
246 public com.liferay.portal.model.PersistedModel getPersistedModel(
247 java.io.Serializable primaryKeyObj)
248 throws com.liferay.portal.kernel.exception.PortalException,
249 com.liferay.portal.kernel.exception.SystemException {
250 return _assetCategoryLocalService.getPersistedModel(primaryKeyObj);
251 }
252
253
262 @Override
263 public com.liferay.portlet.asset.model.AssetCategory getAssetCategoryByUuidAndCompanyId(
264 java.lang.String uuid, long companyId)
265 throws com.liferay.portal.kernel.exception.PortalException,
266 com.liferay.portal.kernel.exception.SystemException {
267 return _assetCategoryLocalService.getAssetCategoryByUuidAndCompanyId(uuid,
268 companyId);
269 }
270
271
280 @Override
281 public com.liferay.portlet.asset.model.AssetCategory getAssetCategoryByUuidAndGroupId(
282 java.lang.String uuid, long groupId)
283 throws com.liferay.portal.kernel.exception.PortalException,
284 com.liferay.portal.kernel.exception.SystemException {
285 return _assetCategoryLocalService.getAssetCategoryByUuidAndGroupId(uuid,
286 groupId);
287 }
288
289
301 @Override
302 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetCategories(
303 int start, int end)
304 throws com.liferay.portal.kernel.exception.SystemException {
305 return _assetCategoryLocalService.getAssetCategories(start, end);
306 }
307
308
314 @Override
315 public int getAssetCategoriesCount()
316 throws com.liferay.portal.kernel.exception.SystemException {
317 return _assetCategoryLocalService.getAssetCategoriesCount();
318 }
319
320
327 @Override
328 public com.liferay.portlet.asset.model.AssetCategory updateAssetCategory(
329 com.liferay.portlet.asset.model.AssetCategory assetCategory)
330 throws com.liferay.portal.kernel.exception.SystemException {
331 return _assetCategoryLocalService.updateAssetCategory(assetCategory);
332 }
333
334
337 @Override
338 public void addAssetEntryAssetCategory(long entryId, long categoryId)
339 throws com.liferay.portal.kernel.exception.SystemException {
340 _assetCategoryLocalService.addAssetEntryAssetCategory(entryId,
341 categoryId);
342 }
343
344
347 @Override
348 public void addAssetEntryAssetCategory(long entryId,
349 com.liferay.portlet.asset.model.AssetCategory assetCategory)
350 throws com.liferay.portal.kernel.exception.SystemException {
351 _assetCategoryLocalService.addAssetEntryAssetCategory(entryId,
352 assetCategory);
353 }
354
355
358 @Override
359 public void addAssetEntryAssetCategories(long entryId, long[] categoryIds)
360 throws com.liferay.portal.kernel.exception.SystemException {
361 _assetCategoryLocalService.addAssetEntryAssetCategories(entryId,
362 categoryIds);
363 }
364
365
368 @Override
369 public void addAssetEntryAssetCategories(long entryId,
370 java.util.List<com.liferay.portlet.asset.model.AssetCategory> AssetCategories)
371 throws com.liferay.portal.kernel.exception.SystemException {
372 _assetCategoryLocalService.addAssetEntryAssetCategories(entryId,
373 AssetCategories);
374 }
375
376
379 @Override
380 public void clearAssetEntryAssetCategories(long entryId)
381 throws com.liferay.portal.kernel.exception.SystemException {
382 _assetCategoryLocalService.clearAssetEntryAssetCategories(entryId);
383 }
384
385
388 @Override
389 public void deleteAssetEntryAssetCategory(long entryId, long categoryId)
390 throws com.liferay.portal.kernel.exception.SystemException {
391 _assetCategoryLocalService.deleteAssetEntryAssetCategory(entryId,
392 categoryId);
393 }
394
395
398 @Override
399 public void deleteAssetEntryAssetCategory(long entryId,
400 com.liferay.portlet.asset.model.AssetCategory assetCategory)
401 throws com.liferay.portal.kernel.exception.SystemException {
402 _assetCategoryLocalService.deleteAssetEntryAssetCategory(entryId,
403 assetCategory);
404 }
405
406
409 @Override
410 public void deleteAssetEntryAssetCategories(long entryId, long[] categoryIds)
411 throws com.liferay.portal.kernel.exception.SystemException {
412 _assetCategoryLocalService.deleteAssetEntryAssetCategories(entryId,
413 categoryIds);
414 }
415
416
419 @Override
420 public void deleteAssetEntryAssetCategories(long entryId,
421 java.util.List<com.liferay.portlet.asset.model.AssetCategory> AssetCategories)
422 throws com.liferay.portal.kernel.exception.SystemException {
423 _assetCategoryLocalService.deleteAssetEntryAssetCategories(entryId,
424 AssetCategories);
425 }
426
427
430 @Override
431 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetEntryAssetCategories(
432 long entryId)
433 throws com.liferay.portal.kernel.exception.SystemException {
434 return _assetCategoryLocalService.getAssetEntryAssetCategories(entryId);
435 }
436
437
440 @Override
441 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetEntryAssetCategories(
442 long entryId, int start, int end)
443 throws com.liferay.portal.kernel.exception.SystemException {
444 return _assetCategoryLocalService.getAssetEntryAssetCategories(entryId,
445 start, end);
446 }
447
448
451 @Override
452 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetEntryAssetCategories(
453 long entryId, int start, int end,
454 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
455 throws com.liferay.portal.kernel.exception.SystemException {
456 return _assetCategoryLocalService.getAssetEntryAssetCategories(entryId,
457 start, end, orderByComparator);
458 }
459
460
463 @Override
464 public int getAssetEntryAssetCategoriesCount(long entryId)
465 throws com.liferay.portal.kernel.exception.SystemException {
466 return _assetCategoryLocalService.getAssetEntryAssetCategoriesCount(entryId);
467 }
468
469
472 @Override
473 public boolean hasAssetEntryAssetCategory(long entryId, long categoryId)
474 throws com.liferay.portal.kernel.exception.SystemException {
475 return _assetCategoryLocalService.hasAssetEntryAssetCategory(entryId,
476 categoryId);
477 }
478
479
482 @Override
483 public boolean hasAssetEntryAssetCategories(long entryId)
484 throws com.liferay.portal.kernel.exception.SystemException {
485 return _assetCategoryLocalService.hasAssetEntryAssetCategories(entryId);
486 }
487
488
491 @Override
492 public void setAssetEntryAssetCategories(long entryId, long[] categoryIds)
493 throws com.liferay.portal.kernel.exception.SystemException {
494 _assetCategoryLocalService.setAssetEntryAssetCategories(entryId,
495 categoryIds);
496 }
497
498
503 @Override
504 public java.lang.String getBeanIdentifier() {
505 return _assetCategoryLocalService.getBeanIdentifier();
506 }
507
508
513 @Override
514 public void setBeanIdentifier(java.lang.String beanIdentifier) {
515 _assetCategoryLocalService.setBeanIdentifier(beanIdentifier);
516 }
517
518 @Override
519 public com.liferay.portlet.asset.model.AssetCategory addCategory(
520 long userId, long parentCategoryId,
521 java.util.Map<java.util.Locale, java.lang.String> titleMap,
522 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
523 long vocabularyId, java.lang.String[] categoryProperties,
524 com.liferay.portal.service.ServiceContext serviceContext)
525 throws com.liferay.portal.kernel.exception.PortalException,
526 com.liferay.portal.kernel.exception.SystemException {
527 return _assetCategoryLocalService.addCategory(userId, parentCategoryId,
528 titleMap, descriptionMap, vocabularyId, categoryProperties,
529 serviceContext);
530 }
531
532 @Override
533 public com.liferay.portlet.asset.model.AssetCategory addCategory(
534 long userId, java.lang.String title, long vocabularyId,
535 com.liferay.portal.service.ServiceContext serviceContext)
536 throws com.liferay.portal.kernel.exception.PortalException,
537 com.liferay.portal.kernel.exception.SystemException {
538 return _assetCategoryLocalService.addCategory(userId, title,
539 vocabularyId, serviceContext);
540 }
541
542 @Override
543 public void addCategoryResources(
544 com.liferay.portlet.asset.model.AssetCategory category,
545 boolean addGroupPermissions, boolean addGuestPermissions)
546 throws com.liferay.portal.kernel.exception.PortalException,
547 com.liferay.portal.kernel.exception.SystemException {
548 _assetCategoryLocalService.addCategoryResources(category,
549 addGroupPermissions, addGuestPermissions);
550 }
551
552 @Override
553 public void addCategoryResources(
554 com.liferay.portlet.asset.model.AssetCategory category,
555 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
556 throws com.liferay.portal.kernel.exception.PortalException,
557 com.liferay.portal.kernel.exception.SystemException {
558 _assetCategoryLocalService.addCategoryResources(category,
559 groupPermissions, guestPermissions);
560 }
561
562 @Override
563 public void deleteCategory(
564 com.liferay.portlet.asset.model.AssetCategory category)
565 throws com.liferay.portal.kernel.exception.PortalException,
566 com.liferay.portal.kernel.exception.SystemException {
567 _assetCategoryLocalService.deleteCategory(category);
568 }
569
570 @Override
571 public void deleteCategory(long categoryId)
572 throws com.liferay.portal.kernel.exception.PortalException,
573 com.liferay.portal.kernel.exception.SystemException {
574 _assetCategoryLocalService.deleteCategory(categoryId);
575 }
576
577 @Override
578 public void deleteVocabularyCategories(long vocabularyId)
579 throws com.liferay.portal.kernel.exception.PortalException,
580 com.liferay.portal.kernel.exception.SystemException {
581 _assetCategoryLocalService.deleteVocabularyCategories(vocabularyId);
582 }
583
584 @Override
585 public com.liferay.portlet.asset.model.AssetCategory fetchCategory(
586 long categoryId)
587 throws com.liferay.portal.kernel.exception.SystemException {
588 return _assetCategoryLocalService.fetchCategory(categoryId);
589 }
590
591 @Override
592 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories()
593 throws com.liferay.portal.kernel.exception.SystemException {
594 return _assetCategoryLocalService.getCategories();
595 }
596
597 @Override
598 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
599 long classNameId, long classPK)
600 throws com.liferay.portal.kernel.exception.SystemException {
601 return _assetCategoryLocalService.getCategories(classNameId, classPK);
602 }
603
604 @Override
605 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
606 java.lang.String className, long classPK)
607 throws com.liferay.portal.kernel.exception.SystemException {
608 return _assetCategoryLocalService.getCategories(className, classPK);
609 }
610
611 @Override
612 public com.liferay.portlet.asset.model.AssetCategory getCategory(
613 long categoryId)
614 throws com.liferay.portal.kernel.exception.PortalException,
615 com.liferay.portal.kernel.exception.SystemException {
616 return _assetCategoryLocalService.getCategory(categoryId);
617 }
618
619 @Override
620 public com.liferay.portlet.asset.model.AssetCategory getCategory(
621 java.lang.String uuid, long groupId)
622 throws com.liferay.portal.kernel.exception.PortalException,
623 com.liferay.portal.kernel.exception.SystemException {
624 return _assetCategoryLocalService.getCategory(uuid, groupId);
625 }
626
627 @Override
628 public long[] getCategoryIds(java.lang.String className, long classPK)
629 throws com.liferay.portal.kernel.exception.SystemException {
630 return _assetCategoryLocalService.getCategoryIds(className, classPK);
631 }
632
633 @Override
634 public java.lang.String[] getCategoryNames()
635 throws com.liferay.portal.kernel.exception.SystemException {
636 return _assetCategoryLocalService.getCategoryNames();
637 }
638
639 @Override
640 public java.lang.String[] getCategoryNames(long classNameId, long classPK)
641 throws com.liferay.portal.kernel.exception.SystemException {
642 return _assetCategoryLocalService.getCategoryNames(classNameId, classPK);
643 }
644
645 @Override
646 public java.lang.String[] getCategoryNames(java.lang.String className,
647 long classPK)
648 throws com.liferay.portal.kernel.exception.SystemException {
649 return _assetCategoryLocalService.getCategoryNames(className, classPK);
650 }
651
652 @Override
653 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
654 long parentCategoryId)
655 throws com.liferay.portal.kernel.exception.SystemException {
656 return _assetCategoryLocalService.getChildCategories(parentCategoryId);
657 }
658
659 @Override
660 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
661 long parentCategoryId, int start, int end,
662 com.liferay.portal.kernel.util.OrderByComparator obc)
663 throws com.liferay.portal.kernel.exception.SystemException {
664 return _assetCategoryLocalService.getChildCategories(parentCategoryId,
665 start, end, obc);
666 }
667
668 @Override
669 public int getChildCategoriesCount(long parentCategoryId)
670 throws com.liferay.portal.kernel.exception.SystemException {
671 return _assetCategoryLocalService.getChildCategoriesCount(parentCategoryId);
672 }
673
674 @Override
675 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getEntryCategories(
676 long entryId)
677 throws com.liferay.portal.kernel.exception.SystemException {
678 return _assetCategoryLocalService.getEntryCategories(entryId);
679 }
680
681 @Override
682 public java.util.List<java.lang.Long> getSubcategoryIds(
683 long parentCategoryId)
684 throws com.liferay.portal.kernel.exception.SystemException {
685 return _assetCategoryLocalService.getSubcategoryIds(parentCategoryId);
686 }
687
688 @Override
689 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
690 long vocabularyId, int start, int end,
691 com.liferay.portal.kernel.util.OrderByComparator obc)
692 throws com.liferay.portal.kernel.exception.SystemException {
693 return _assetCategoryLocalService.getVocabularyCategories(vocabularyId,
694 start, end, obc);
695 }
696
697 @Override
698 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
699 long parentCategoryId, long vocabularyId, int start, int end,
700 com.liferay.portal.kernel.util.OrderByComparator obc)
701 throws com.liferay.portal.kernel.exception.SystemException {
702 return _assetCategoryLocalService.getVocabularyCategories(parentCategoryId,
703 vocabularyId, start, end, obc);
704 }
705
706 @Override
707 public int getVocabularyCategoriesCount(long vocabularyId)
708 throws com.liferay.portal.kernel.exception.SystemException {
709 return _assetCategoryLocalService.getVocabularyCategoriesCount(vocabularyId);
710 }
711
712 @Override
713 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
714 long vocabularyId, int start, int end,
715 com.liferay.portal.kernel.util.OrderByComparator obc)
716 throws com.liferay.portal.kernel.exception.SystemException {
717 return _assetCategoryLocalService.getVocabularyRootCategories(vocabularyId,
718 start, end, obc);
719 }
720
721 @Override
722 public int getVocabularyRootCategoriesCount(long vocabularyId)
723 throws com.liferay.portal.kernel.exception.SystemException {
724 return _assetCategoryLocalService.getVocabularyRootCategoriesCount(vocabularyId);
725 }
726
727 @Override
728 public void mergeCategories(long fromCategoryId, long toCategoryId)
729 throws com.liferay.portal.kernel.exception.PortalException,
730 com.liferay.portal.kernel.exception.SystemException {
731 _assetCategoryLocalService.mergeCategories(fromCategoryId, toCategoryId);
732 }
733
734 @Override
735 public com.liferay.portlet.asset.model.AssetCategory moveCategory(
736 long categoryId, long parentCategoryId, long vocabularyId,
737 com.liferay.portal.service.ServiceContext serviceContext)
738 throws com.liferay.portal.kernel.exception.PortalException,
739 com.liferay.portal.kernel.exception.SystemException {
740 return _assetCategoryLocalService.moveCategory(categoryId,
741 parentCategoryId, vocabularyId, serviceContext);
742 }
743
744 @Override
745 public void rebuildTree(long groupId, boolean force)
746 throws com.liferay.portal.kernel.exception.SystemException {
747 _assetCategoryLocalService.rebuildTree(groupId, force);
748 }
749
750 @Override
751 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> search(
752 long groupId, java.lang.String name,
753 java.lang.String[] categoryProperties, int start, int end)
754 throws com.liferay.portal.kernel.exception.SystemException {
755 return _assetCategoryLocalService.search(groupId, name,
756 categoryProperties, start, end);
757 }
758
759 @Override
760 public com.liferay.portlet.asset.model.AssetCategory updateCategory(
761 long userId, long categoryId, long parentCategoryId,
762 java.util.Map<java.util.Locale, java.lang.String> titleMap,
763 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
764 long vocabularyId, java.lang.String[] categoryProperties,
765 com.liferay.portal.service.ServiceContext serviceContext)
766 throws com.liferay.portal.kernel.exception.PortalException,
767 com.liferay.portal.kernel.exception.SystemException {
768 return _assetCategoryLocalService.updateCategory(userId, categoryId,
769 parentCategoryId, titleMap, descriptionMap, vocabularyId,
770 categoryProperties, serviceContext);
771 }
772
773
776 public AssetCategoryLocalService getWrappedAssetCategoryLocalService() {
777 return _assetCategoryLocalService;
778 }
779
780
783 public void setWrappedAssetCategoryLocalService(
784 AssetCategoryLocalService assetCategoryLocalService) {
785 _assetCategoryLocalService = assetCategoryLocalService;
786 }
787
788 @Override
789 public AssetCategoryLocalService getWrappedService() {
790 return _assetCategoryLocalService;
791 }
792
793 @Override
794 public void setWrappedService(
795 AssetCategoryLocalService assetCategoryLocalService) {
796 _assetCategoryLocalService = assetCategoryLocalService;
797 }
798
799 private AssetCategoryLocalService _assetCategoryLocalService;
800 }