001
014
015 package com.liferay.portlet.asset.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
026 public class AssetCategoryLocalServiceWrapper
027 implements AssetCategoryLocalService,
028 ServiceWrapper<AssetCategoryLocalService> {
029 public AssetCategoryLocalServiceWrapper(
030 AssetCategoryLocalService assetCategoryLocalService) {
031 _assetCategoryLocalService = assetCategoryLocalService;
032 }
033
034
041 @Override
042 public com.liferay.portlet.asset.model.AssetCategory addAssetCategory(
043 com.liferay.portlet.asset.model.AssetCategory assetCategory)
044 throws com.liferay.portal.kernel.exception.SystemException {
045 return _assetCategoryLocalService.addAssetCategory(assetCategory);
046 }
047
048
054 @Override
055 public com.liferay.portlet.asset.model.AssetCategory createAssetCategory(
056 long categoryId) {
057 return _assetCategoryLocalService.createAssetCategory(categoryId);
058 }
059
060
068 @Override
069 public com.liferay.portlet.asset.model.AssetCategory deleteAssetCategory(
070 long categoryId)
071 throws com.liferay.portal.kernel.exception.PortalException,
072 com.liferay.portal.kernel.exception.SystemException {
073 return _assetCategoryLocalService.deleteAssetCategory(categoryId);
074 }
075
076
083 @Override
084 public com.liferay.portlet.asset.model.AssetCategory deleteAssetCategory(
085 com.liferay.portlet.asset.model.AssetCategory assetCategory)
086 throws com.liferay.portal.kernel.exception.SystemException {
087 return _assetCategoryLocalService.deleteAssetCategory(assetCategory);
088 }
089
090 @Override
091 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
092 return _assetCategoryLocalService.dynamicQuery();
093 }
094
095
102 @Override
103 @SuppressWarnings("rawtypes")
104 public java.util.List dynamicQuery(
105 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
106 throws com.liferay.portal.kernel.exception.SystemException {
107 return _assetCategoryLocalService.dynamicQuery(dynamicQuery);
108 }
109
110
123 @Override
124 @SuppressWarnings("rawtypes")
125 public java.util.List dynamicQuery(
126 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
127 int end) throws com.liferay.portal.kernel.exception.SystemException {
128 return _assetCategoryLocalService.dynamicQuery(dynamicQuery, start, end);
129 }
130
131
145 @Override
146 @SuppressWarnings("rawtypes")
147 public java.util.List dynamicQuery(
148 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
149 int end,
150 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
151 throws com.liferay.portal.kernel.exception.SystemException {
152 return _assetCategoryLocalService.dynamicQuery(dynamicQuery, start,
153 end, orderByComparator);
154 }
155
156
163 @Override
164 public long dynamicQueryCount(
165 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
166 throws com.liferay.portal.kernel.exception.SystemException {
167 return _assetCategoryLocalService.dynamicQueryCount(dynamicQuery);
168 }
169
170
178 @Override
179 public long dynamicQueryCount(
180 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
181 com.liferay.portal.kernel.dao.orm.Projection projection)
182 throws com.liferay.portal.kernel.exception.SystemException {
183 return _assetCategoryLocalService.dynamicQueryCount(dynamicQuery,
184 projection);
185 }
186
187 @Override
188 public com.liferay.portlet.asset.model.AssetCategory fetchAssetCategory(
189 long categoryId)
190 throws com.liferay.portal.kernel.exception.SystemException {
191 return _assetCategoryLocalService.fetchAssetCategory(categoryId);
192 }
193
194
202 @Override
203 public com.liferay.portlet.asset.model.AssetCategory fetchAssetCategoryByUuidAndCompanyId(
204 java.lang.String uuid, long companyId)
205 throws com.liferay.portal.kernel.exception.SystemException {
206 return _assetCategoryLocalService.fetchAssetCategoryByUuidAndCompanyId(uuid,
207 companyId);
208 }
209
210
218 @Override
219 public com.liferay.portlet.asset.model.AssetCategory fetchAssetCategoryByUuidAndGroupId(
220 java.lang.String uuid, long groupId)
221 throws com.liferay.portal.kernel.exception.SystemException {
222 return _assetCategoryLocalService.fetchAssetCategoryByUuidAndGroupId(uuid,
223 groupId);
224 }
225
226
234 @Override
235 public com.liferay.portlet.asset.model.AssetCategory getAssetCategory(
236 long categoryId)
237 throws com.liferay.portal.kernel.exception.PortalException,
238 com.liferay.portal.kernel.exception.SystemException {
239 return _assetCategoryLocalService.getAssetCategory(categoryId);
240 }
241
242 @Override
243 public com.liferay.portal.model.PersistedModel getPersistedModel(
244 java.io.Serializable primaryKeyObj)
245 throws com.liferay.portal.kernel.exception.PortalException,
246 com.liferay.portal.kernel.exception.SystemException {
247 return _assetCategoryLocalService.getPersistedModel(primaryKeyObj);
248 }
249
250
259 @Override
260 public com.liferay.portlet.asset.model.AssetCategory getAssetCategoryByUuidAndCompanyId(
261 java.lang.String uuid, long companyId)
262 throws com.liferay.portal.kernel.exception.PortalException,
263 com.liferay.portal.kernel.exception.SystemException {
264 return _assetCategoryLocalService.getAssetCategoryByUuidAndCompanyId(uuid,
265 companyId);
266 }
267
268
277 @Override
278 public com.liferay.portlet.asset.model.AssetCategory getAssetCategoryByUuidAndGroupId(
279 java.lang.String uuid, long groupId)
280 throws com.liferay.portal.kernel.exception.PortalException,
281 com.liferay.portal.kernel.exception.SystemException {
282 return _assetCategoryLocalService.getAssetCategoryByUuidAndGroupId(uuid,
283 groupId);
284 }
285
286
298 @Override
299 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetCategories(
300 int start, int end)
301 throws com.liferay.portal.kernel.exception.SystemException {
302 return _assetCategoryLocalService.getAssetCategories(start, end);
303 }
304
305
311 @Override
312 public int getAssetCategoriesCount()
313 throws com.liferay.portal.kernel.exception.SystemException {
314 return _assetCategoryLocalService.getAssetCategoriesCount();
315 }
316
317
324 @Override
325 public com.liferay.portlet.asset.model.AssetCategory updateAssetCategory(
326 com.liferay.portlet.asset.model.AssetCategory assetCategory)
327 throws com.liferay.portal.kernel.exception.SystemException {
328 return _assetCategoryLocalService.updateAssetCategory(assetCategory);
329 }
330
331
334 @Override
335 public void addAssetEntryAssetCategory(long entryId, long categoryId)
336 throws com.liferay.portal.kernel.exception.SystemException {
337 _assetCategoryLocalService.addAssetEntryAssetCategory(entryId,
338 categoryId);
339 }
340
341
344 @Override
345 public void addAssetEntryAssetCategory(long entryId,
346 com.liferay.portlet.asset.model.AssetCategory assetCategory)
347 throws com.liferay.portal.kernel.exception.SystemException {
348 _assetCategoryLocalService.addAssetEntryAssetCategory(entryId,
349 assetCategory);
350 }
351
352
355 @Override
356 public void addAssetEntryAssetCategories(long entryId, long[] categoryIds)
357 throws com.liferay.portal.kernel.exception.SystemException {
358 _assetCategoryLocalService.addAssetEntryAssetCategories(entryId,
359 categoryIds);
360 }
361
362
365 @Override
366 public void addAssetEntryAssetCategories(long entryId,
367 java.util.List<com.liferay.portlet.asset.model.AssetCategory> AssetCategories)
368 throws com.liferay.portal.kernel.exception.SystemException {
369 _assetCategoryLocalService.addAssetEntryAssetCategories(entryId,
370 AssetCategories);
371 }
372
373
376 @Override
377 public void clearAssetEntryAssetCategories(long entryId)
378 throws com.liferay.portal.kernel.exception.SystemException {
379 _assetCategoryLocalService.clearAssetEntryAssetCategories(entryId);
380 }
381
382
385 @Override
386 public void deleteAssetEntryAssetCategory(long entryId, long categoryId)
387 throws com.liferay.portal.kernel.exception.SystemException {
388 _assetCategoryLocalService.deleteAssetEntryAssetCategory(entryId,
389 categoryId);
390 }
391
392
395 @Override
396 public void deleteAssetEntryAssetCategory(long entryId,
397 com.liferay.portlet.asset.model.AssetCategory assetCategory)
398 throws com.liferay.portal.kernel.exception.SystemException {
399 _assetCategoryLocalService.deleteAssetEntryAssetCategory(entryId,
400 assetCategory);
401 }
402
403
406 @Override
407 public void deleteAssetEntryAssetCategories(long entryId, long[] categoryIds)
408 throws com.liferay.portal.kernel.exception.SystemException {
409 _assetCategoryLocalService.deleteAssetEntryAssetCategories(entryId,
410 categoryIds);
411 }
412
413
416 @Override
417 public void deleteAssetEntryAssetCategories(long entryId,
418 java.util.List<com.liferay.portlet.asset.model.AssetCategory> AssetCategories)
419 throws com.liferay.portal.kernel.exception.SystemException {
420 _assetCategoryLocalService.deleteAssetEntryAssetCategories(entryId,
421 AssetCategories);
422 }
423
424
427 @Override
428 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetEntryAssetCategories(
429 long entryId)
430 throws com.liferay.portal.kernel.exception.SystemException {
431 return _assetCategoryLocalService.getAssetEntryAssetCategories(entryId);
432 }
433
434
437 @Override
438 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetEntryAssetCategories(
439 long entryId, int start, int end)
440 throws com.liferay.portal.kernel.exception.SystemException {
441 return _assetCategoryLocalService.getAssetEntryAssetCategories(entryId,
442 start, end);
443 }
444
445
448 @Override
449 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetEntryAssetCategories(
450 long entryId, int start, int end,
451 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
452 throws com.liferay.portal.kernel.exception.SystemException {
453 return _assetCategoryLocalService.getAssetEntryAssetCategories(entryId,
454 start, end, orderByComparator);
455 }
456
457
460 @Override
461 public int getAssetEntryAssetCategoriesCount(long entryId)
462 throws com.liferay.portal.kernel.exception.SystemException {
463 return _assetCategoryLocalService.getAssetEntryAssetCategoriesCount(entryId);
464 }
465
466
469 @Override
470 public boolean hasAssetEntryAssetCategory(long entryId, long categoryId)
471 throws com.liferay.portal.kernel.exception.SystemException {
472 return _assetCategoryLocalService.hasAssetEntryAssetCategory(entryId,
473 categoryId);
474 }
475
476
479 @Override
480 public boolean hasAssetEntryAssetCategories(long entryId)
481 throws com.liferay.portal.kernel.exception.SystemException {
482 return _assetCategoryLocalService.hasAssetEntryAssetCategories(entryId);
483 }
484
485
488 @Override
489 public void setAssetEntryAssetCategories(long entryId, long[] categoryIds)
490 throws com.liferay.portal.kernel.exception.SystemException {
491 _assetCategoryLocalService.setAssetEntryAssetCategories(entryId,
492 categoryIds);
493 }
494
495
500 @Override
501 public java.lang.String getBeanIdentifier() {
502 return _assetCategoryLocalService.getBeanIdentifier();
503 }
504
505
510 @Override
511 public void setBeanIdentifier(java.lang.String beanIdentifier) {
512 _assetCategoryLocalService.setBeanIdentifier(beanIdentifier);
513 }
514
515 @Override
516 public com.liferay.portlet.asset.model.AssetCategory addCategory(
517 long userId, long parentCategoryId,
518 java.util.Map<java.util.Locale, java.lang.String> titleMap,
519 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
520 long vocabularyId, java.lang.String[] categoryProperties,
521 com.liferay.portal.service.ServiceContext serviceContext)
522 throws com.liferay.portal.kernel.exception.PortalException,
523 com.liferay.portal.kernel.exception.SystemException {
524 return _assetCategoryLocalService.addCategory(userId, parentCategoryId,
525 titleMap, descriptionMap, vocabularyId, categoryProperties,
526 serviceContext);
527 }
528
529 @Override
530 public com.liferay.portlet.asset.model.AssetCategory addCategory(
531 long userId, java.lang.String title, long vocabularyId,
532 com.liferay.portal.service.ServiceContext serviceContext)
533 throws com.liferay.portal.kernel.exception.PortalException,
534 com.liferay.portal.kernel.exception.SystemException {
535 return _assetCategoryLocalService.addCategory(userId, title,
536 vocabularyId, serviceContext);
537 }
538
539 @Override
540 public void addCategoryResources(
541 com.liferay.portlet.asset.model.AssetCategory category,
542 boolean addGroupPermissions, boolean addGuestPermissions)
543 throws com.liferay.portal.kernel.exception.PortalException,
544 com.liferay.portal.kernel.exception.SystemException {
545 _assetCategoryLocalService.addCategoryResources(category,
546 addGroupPermissions, addGuestPermissions);
547 }
548
549 @Override
550 public void addCategoryResources(
551 com.liferay.portlet.asset.model.AssetCategory category,
552 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
553 throws com.liferay.portal.kernel.exception.PortalException,
554 com.liferay.portal.kernel.exception.SystemException {
555 _assetCategoryLocalService.addCategoryResources(category,
556 groupPermissions, guestPermissions);
557 }
558
559 @Override
560 public void deleteCategory(
561 com.liferay.portlet.asset.model.AssetCategory category)
562 throws com.liferay.portal.kernel.exception.PortalException,
563 com.liferay.portal.kernel.exception.SystemException {
564 _assetCategoryLocalService.deleteCategory(category);
565 }
566
567 @Override
568 public void deleteCategory(long categoryId)
569 throws com.liferay.portal.kernel.exception.PortalException,
570 com.liferay.portal.kernel.exception.SystemException {
571 _assetCategoryLocalService.deleteCategory(categoryId);
572 }
573
574 @Override
575 public void deleteVocabularyCategories(long vocabularyId)
576 throws com.liferay.portal.kernel.exception.PortalException,
577 com.liferay.portal.kernel.exception.SystemException {
578 _assetCategoryLocalService.deleteVocabularyCategories(vocabularyId);
579 }
580
581 @Override
582 public com.liferay.portlet.asset.model.AssetCategory fetchCategory(
583 long categoryId)
584 throws com.liferay.portal.kernel.exception.SystemException {
585 return _assetCategoryLocalService.fetchCategory(categoryId);
586 }
587
588 @Override
589 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories()
590 throws com.liferay.portal.kernel.exception.SystemException {
591 return _assetCategoryLocalService.getCategories();
592 }
593
594 @Override
595 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
596 long classNameId, long classPK)
597 throws com.liferay.portal.kernel.exception.SystemException {
598 return _assetCategoryLocalService.getCategories(classNameId, classPK);
599 }
600
601 @Override
602 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
603 java.lang.String className, long classPK)
604 throws com.liferay.portal.kernel.exception.SystemException {
605 return _assetCategoryLocalService.getCategories(className, classPK);
606 }
607
608 @Override
609 public com.liferay.portlet.asset.model.AssetCategory getCategory(
610 long categoryId)
611 throws com.liferay.portal.kernel.exception.PortalException,
612 com.liferay.portal.kernel.exception.SystemException {
613 return _assetCategoryLocalService.getCategory(categoryId);
614 }
615
616 @Override
617 public com.liferay.portlet.asset.model.AssetCategory getCategory(
618 java.lang.String uuid, long groupId)
619 throws com.liferay.portal.kernel.exception.PortalException,
620 com.liferay.portal.kernel.exception.SystemException {
621 return _assetCategoryLocalService.getCategory(uuid, groupId);
622 }
623
624 @Override
625 public long[] getCategoryIds(java.lang.String className, long classPK)
626 throws com.liferay.portal.kernel.exception.SystemException {
627 return _assetCategoryLocalService.getCategoryIds(className, classPK);
628 }
629
630 @Override
631 public java.lang.String[] getCategoryNames()
632 throws com.liferay.portal.kernel.exception.SystemException {
633 return _assetCategoryLocalService.getCategoryNames();
634 }
635
636 @Override
637 public java.lang.String[] getCategoryNames(long classNameId, long classPK)
638 throws com.liferay.portal.kernel.exception.SystemException {
639 return _assetCategoryLocalService.getCategoryNames(classNameId, classPK);
640 }
641
642 @Override
643 public java.lang.String[] getCategoryNames(java.lang.String className,
644 long classPK)
645 throws com.liferay.portal.kernel.exception.SystemException {
646 return _assetCategoryLocalService.getCategoryNames(className, classPK);
647 }
648
649 @Override
650 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
651 long parentCategoryId)
652 throws com.liferay.portal.kernel.exception.SystemException {
653 return _assetCategoryLocalService.getChildCategories(parentCategoryId);
654 }
655
656 @Override
657 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
658 long parentCategoryId, int start, int end,
659 com.liferay.portal.kernel.util.OrderByComparator obc)
660 throws com.liferay.portal.kernel.exception.SystemException {
661 return _assetCategoryLocalService.getChildCategories(parentCategoryId,
662 start, end, obc);
663 }
664
665 @Override
666 public int getChildCategoriesCount(long parentCategoryId)
667 throws com.liferay.portal.kernel.exception.SystemException {
668 return _assetCategoryLocalService.getChildCategoriesCount(parentCategoryId);
669 }
670
671 @Override
672 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getEntryCategories(
673 long entryId)
674 throws com.liferay.portal.kernel.exception.SystemException {
675 return _assetCategoryLocalService.getEntryCategories(entryId);
676 }
677
678 @Override
679 public java.util.List<java.lang.Long> getSubcategoryIds(
680 long parentCategoryId)
681 throws com.liferay.portal.kernel.exception.SystemException {
682 return _assetCategoryLocalService.getSubcategoryIds(parentCategoryId);
683 }
684
685 @Override
686 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
687 long vocabularyId, int start, int end,
688 com.liferay.portal.kernel.util.OrderByComparator obc)
689 throws com.liferay.portal.kernel.exception.SystemException {
690 return _assetCategoryLocalService.getVocabularyCategories(vocabularyId,
691 start, end, obc);
692 }
693
694 @Override
695 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
696 long parentCategoryId, long vocabularyId, int start, int end,
697 com.liferay.portal.kernel.util.OrderByComparator obc)
698 throws com.liferay.portal.kernel.exception.SystemException {
699 return _assetCategoryLocalService.getVocabularyCategories(parentCategoryId,
700 vocabularyId, start, end, obc);
701 }
702
703 @Override
704 public int getVocabularyCategoriesCount(long vocabularyId)
705 throws com.liferay.portal.kernel.exception.SystemException {
706 return _assetCategoryLocalService.getVocabularyCategoriesCount(vocabularyId);
707 }
708
709 @Override
710 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
711 long vocabularyId, int start, int end,
712 com.liferay.portal.kernel.util.OrderByComparator obc)
713 throws com.liferay.portal.kernel.exception.SystemException {
714 return _assetCategoryLocalService.getVocabularyRootCategories(vocabularyId,
715 start, end, obc);
716 }
717
718 @Override
719 public int getVocabularyRootCategoriesCount(long vocabularyId)
720 throws com.liferay.portal.kernel.exception.SystemException {
721 return _assetCategoryLocalService.getVocabularyRootCategoriesCount(vocabularyId);
722 }
723
724 @Override
725 public void mergeCategories(long fromCategoryId, long toCategoryId)
726 throws com.liferay.portal.kernel.exception.PortalException,
727 com.liferay.portal.kernel.exception.SystemException {
728 _assetCategoryLocalService.mergeCategories(fromCategoryId, toCategoryId);
729 }
730
731 @Override
732 public com.liferay.portlet.asset.model.AssetCategory moveCategory(
733 long categoryId, long parentCategoryId, long vocabularyId,
734 com.liferay.portal.service.ServiceContext serviceContext)
735 throws com.liferay.portal.kernel.exception.PortalException,
736 com.liferay.portal.kernel.exception.SystemException {
737 return _assetCategoryLocalService.moveCategory(categoryId,
738 parentCategoryId, vocabularyId, serviceContext);
739 }
740
741 @Override
742 public void rebuildTree(long groupId, boolean force)
743 throws com.liferay.portal.kernel.exception.SystemException {
744 _assetCategoryLocalService.rebuildTree(groupId, force);
745 }
746
747 @Override
748 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> search(
749 long groupId, java.lang.String name,
750 java.lang.String[] categoryProperties, int start, int end)
751 throws com.liferay.portal.kernel.exception.SystemException {
752 return _assetCategoryLocalService.search(groupId, name,
753 categoryProperties, start, end);
754 }
755
756 @Override
757 public com.liferay.portlet.asset.model.AssetCategory updateCategory(
758 long userId, long categoryId, long parentCategoryId,
759 java.util.Map<java.util.Locale, java.lang.String> titleMap,
760 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
761 long vocabularyId, java.lang.String[] categoryProperties,
762 com.liferay.portal.service.ServiceContext serviceContext)
763 throws com.liferay.portal.kernel.exception.PortalException,
764 com.liferay.portal.kernel.exception.SystemException {
765 return _assetCategoryLocalService.updateCategory(userId, categoryId,
766 parentCategoryId, titleMap, descriptionMap, vocabularyId,
767 categoryProperties, serviceContext);
768 }
769
770
773 public AssetCategoryLocalService getWrappedAssetCategoryLocalService() {
774 return _assetCategoryLocalService;
775 }
776
777
780 public void setWrappedAssetCategoryLocalService(
781 AssetCategoryLocalService assetCategoryLocalService) {
782 _assetCategoryLocalService = assetCategoryLocalService;
783 }
784
785 @Override
786 public AssetCategoryLocalService getWrappedService() {
787 return _assetCategoryLocalService;
788 }
789
790 @Override
791 public void setWrappedService(
792 AssetCategoryLocalService assetCategoryLocalService) {
793 _assetCategoryLocalService = assetCategoryLocalService;
794 }
795
796 private AssetCategoryLocalService _assetCategoryLocalService;
797 }