001
014
015 package com.liferay.portlet.asset.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class AssetCategoryLocalServiceWrapper
029 implements AssetCategoryLocalService,
030 ServiceWrapper<AssetCategoryLocalService> {
031 public AssetCategoryLocalServiceWrapper(
032 AssetCategoryLocalService assetCategoryLocalService) {
033 _assetCategoryLocalService = assetCategoryLocalService;
034 }
035
036
043 public com.liferay.portlet.asset.model.AssetCategory addAssetCategory(
044 com.liferay.portlet.asset.model.AssetCategory assetCategory)
045 throws com.liferay.portal.kernel.exception.SystemException {
046 return _assetCategoryLocalService.addAssetCategory(assetCategory);
047 }
048
049
055 public com.liferay.portlet.asset.model.AssetCategory createAssetCategory(
056 long categoryId) {
057 return _assetCategoryLocalService.createAssetCategory(categoryId);
058 }
059
060
068 public com.liferay.portlet.asset.model.AssetCategory deleteAssetCategory(
069 long categoryId)
070 throws com.liferay.portal.kernel.exception.PortalException,
071 com.liferay.portal.kernel.exception.SystemException {
072 return _assetCategoryLocalService.deleteAssetCategory(categoryId);
073 }
074
075
082 public com.liferay.portlet.asset.model.AssetCategory deleteAssetCategory(
083 com.liferay.portlet.asset.model.AssetCategory assetCategory)
084 throws com.liferay.portal.kernel.exception.SystemException {
085 return _assetCategoryLocalService.deleteAssetCategory(assetCategory);
086 }
087
088 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
089 return _assetCategoryLocalService.dynamicQuery();
090 }
091
092
099 @SuppressWarnings("rawtypes")
100 public java.util.List dynamicQuery(
101 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
102 throws com.liferay.portal.kernel.exception.SystemException {
103 return _assetCategoryLocalService.dynamicQuery(dynamicQuery);
104 }
105
106
119 @SuppressWarnings("rawtypes")
120 public java.util.List dynamicQuery(
121 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
122 int end) throws com.liferay.portal.kernel.exception.SystemException {
123 return _assetCategoryLocalService.dynamicQuery(dynamicQuery, start, end);
124 }
125
126
140 @SuppressWarnings("rawtypes")
141 public java.util.List dynamicQuery(
142 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
143 int end,
144 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
145 throws com.liferay.portal.kernel.exception.SystemException {
146 return _assetCategoryLocalService.dynamicQuery(dynamicQuery, start,
147 end, orderByComparator);
148 }
149
150
157 public long dynamicQueryCount(
158 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
159 throws com.liferay.portal.kernel.exception.SystemException {
160 return _assetCategoryLocalService.dynamicQueryCount(dynamicQuery);
161 }
162
163 public com.liferay.portlet.asset.model.AssetCategory fetchAssetCategory(
164 long categoryId)
165 throws com.liferay.portal.kernel.exception.SystemException {
166 return _assetCategoryLocalService.fetchAssetCategory(categoryId);
167 }
168
169
177 public com.liferay.portlet.asset.model.AssetCategory getAssetCategory(
178 long categoryId)
179 throws com.liferay.portal.kernel.exception.PortalException,
180 com.liferay.portal.kernel.exception.SystemException {
181 return _assetCategoryLocalService.getAssetCategory(categoryId);
182 }
183
184 public com.liferay.portal.model.PersistedModel getPersistedModel(
185 java.io.Serializable primaryKeyObj)
186 throws com.liferay.portal.kernel.exception.PortalException,
187 com.liferay.portal.kernel.exception.SystemException {
188 return _assetCategoryLocalService.getPersistedModel(primaryKeyObj);
189 }
190
191
200 public com.liferay.portlet.asset.model.AssetCategory getAssetCategoryByUuidAndGroupId(
201 java.lang.String uuid, long groupId)
202 throws com.liferay.portal.kernel.exception.PortalException,
203 com.liferay.portal.kernel.exception.SystemException {
204 return _assetCategoryLocalService.getAssetCategoryByUuidAndGroupId(uuid,
205 groupId);
206 }
207
208
220 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetCategories(
221 int start, int end)
222 throws com.liferay.portal.kernel.exception.SystemException {
223 return _assetCategoryLocalService.getAssetCategories(start, end);
224 }
225
226
232 public int getAssetCategoriesCount()
233 throws com.liferay.portal.kernel.exception.SystemException {
234 return _assetCategoryLocalService.getAssetCategoriesCount();
235 }
236
237
244 public com.liferay.portlet.asset.model.AssetCategory updateAssetCategory(
245 com.liferay.portlet.asset.model.AssetCategory assetCategory)
246 throws com.liferay.portal.kernel.exception.SystemException {
247 return _assetCategoryLocalService.updateAssetCategory(assetCategory);
248 }
249
250
253 public void addAssetEntryAssetCategory(long entryId, long categoryId)
254 throws com.liferay.portal.kernel.exception.SystemException {
255 _assetCategoryLocalService.addAssetEntryAssetCategory(entryId,
256 categoryId);
257 }
258
259
262 public void addAssetEntryAssetCategory(long entryId,
263 com.liferay.portlet.asset.model.AssetCategory assetCategory)
264 throws com.liferay.portal.kernel.exception.SystemException {
265 _assetCategoryLocalService.addAssetEntryAssetCategory(entryId,
266 assetCategory);
267 }
268
269
272 public void addAssetEntryAssetCategories(long entryId, long[] categoryIds)
273 throws com.liferay.portal.kernel.exception.SystemException {
274 _assetCategoryLocalService.addAssetEntryAssetCategories(entryId,
275 categoryIds);
276 }
277
278
281 public void addAssetEntryAssetCategories(long entryId,
282 java.util.List<com.liferay.portlet.asset.model.AssetCategory> AssetCategories)
283 throws com.liferay.portal.kernel.exception.SystemException {
284 _assetCategoryLocalService.addAssetEntryAssetCategories(entryId,
285 AssetCategories);
286 }
287
288
291 public void clearAssetEntryAssetCategories(long entryId)
292 throws com.liferay.portal.kernel.exception.SystemException {
293 _assetCategoryLocalService.clearAssetEntryAssetCategories(entryId);
294 }
295
296
299 public void deleteAssetEntryAssetCategory(long entryId, long categoryId)
300 throws com.liferay.portal.kernel.exception.SystemException {
301 _assetCategoryLocalService.deleteAssetEntryAssetCategory(entryId,
302 categoryId);
303 }
304
305
308 public void deleteAssetEntryAssetCategory(long entryId,
309 com.liferay.portlet.asset.model.AssetCategory assetCategory)
310 throws com.liferay.portal.kernel.exception.SystemException {
311 _assetCategoryLocalService.deleteAssetEntryAssetCategory(entryId,
312 assetCategory);
313 }
314
315
318 public void deleteAssetEntryAssetCategories(long entryId, long[] categoryIds)
319 throws com.liferay.portal.kernel.exception.SystemException {
320 _assetCategoryLocalService.deleteAssetEntryAssetCategories(entryId,
321 categoryIds);
322 }
323
324
327 public void deleteAssetEntryAssetCategories(long entryId,
328 java.util.List<com.liferay.portlet.asset.model.AssetCategory> AssetCategories)
329 throws com.liferay.portal.kernel.exception.SystemException {
330 _assetCategoryLocalService.deleteAssetEntryAssetCategories(entryId,
331 AssetCategories);
332 }
333
334
337 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetEntryAssetCategories(
338 long entryId)
339 throws com.liferay.portal.kernel.exception.SystemException {
340 return _assetCategoryLocalService.getAssetEntryAssetCategories(entryId);
341 }
342
343
346 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetEntryAssetCategories(
347 long entryId, int start, int end)
348 throws com.liferay.portal.kernel.exception.SystemException {
349 return _assetCategoryLocalService.getAssetEntryAssetCategories(entryId,
350 start, end);
351 }
352
353
356 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetEntryAssetCategories(
357 long entryId, int start, int end,
358 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
359 throws com.liferay.portal.kernel.exception.SystemException {
360 return _assetCategoryLocalService.getAssetEntryAssetCategories(entryId,
361 start, end, orderByComparator);
362 }
363
364
367 public int getAssetEntryAssetCategoriesCount(long entryId)
368 throws com.liferay.portal.kernel.exception.SystemException {
369 return _assetCategoryLocalService.getAssetEntryAssetCategoriesCount(entryId);
370 }
371
372
375 public boolean hasAssetEntryAssetCategory(long entryId, long categoryId)
376 throws com.liferay.portal.kernel.exception.SystemException {
377 return _assetCategoryLocalService.hasAssetEntryAssetCategory(entryId,
378 categoryId);
379 }
380
381
384 public boolean hasAssetEntryAssetCategories(long entryId)
385 throws com.liferay.portal.kernel.exception.SystemException {
386 return _assetCategoryLocalService.hasAssetEntryAssetCategories(entryId);
387 }
388
389
392 public void setAssetEntryAssetCategories(long entryId, long[] categoryIds)
393 throws com.liferay.portal.kernel.exception.SystemException {
394 _assetCategoryLocalService.setAssetEntryAssetCategories(entryId,
395 categoryIds);
396 }
397
398
403 public java.lang.String getBeanIdentifier() {
404 return _assetCategoryLocalService.getBeanIdentifier();
405 }
406
407
412 public void setBeanIdentifier(java.lang.String beanIdentifier) {
413 _assetCategoryLocalService.setBeanIdentifier(beanIdentifier);
414 }
415
416 public com.liferay.portlet.asset.model.AssetCategory addCategory(
417 long userId, long parentCategoryId,
418 java.util.Map<java.util.Locale, java.lang.String> titleMap,
419 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
420 long vocabularyId, java.lang.String[] categoryProperties,
421 com.liferay.portal.service.ServiceContext serviceContext)
422 throws com.liferay.portal.kernel.exception.PortalException,
423 com.liferay.portal.kernel.exception.SystemException {
424 return _assetCategoryLocalService.addCategory(userId, parentCategoryId,
425 titleMap, descriptionMap, vocabularyId, categoryProperties,
426 serviceContext);
427 }
428
429 public com.liferay.portlet.asset.model.AssetCategory addCategory(
430 long userId, java.lang.String title, long vocabularyId,
431 com.liferay.portal.service.ServiceContext serviceContext)
432 throws com.liferay.portal.kernel.exception.PortalException,
433 com.liferay.portal.kernel.exception.SystemException {
434 return _assetCategoryLocalService.addCategory(userId, title,
435 vocabularyId, serviceContext);
436 }
437
438 public void addCategoryResources(
439 com.liferay.portlet.asset.model.AssetCategory category,
440 boolean addGroupPermissions, boolean addGuestPermissions)
441 throws com.liferay.portal.kernel.exception.PortalException,
442 com.liferay.portal.kernel.exception.SystemException {
443 _assetCategoryLocalService.addCategoryResources(category,
444 addGroupPermissions, addGuestPermissions);
445 }
446
447 public void addCategoryResources(
448 com.liferay.portlet.asset.model.AssetCategory category,
449 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
450 throws com.liferay.portal.kernel.exception.PortalException,
451 com.liferay.portal.kernel.exception.SystemException {
452 _assetCategoryLocalService.addCategoryResources(category,
453 groupPermissions, guestPermissions);
454 }
455
456 public void deleteCategory(
457 com.liferay.portlet.asset.model.AssetCategory category)
458 throws com.liferay.portal.kernel.exception.PortalException,
459 com.liferay.portal.kernel.exception.SystemException {
460 _assetCategoryLocalService.deleteCategory(category);
461 }
462
463 public void deleteCategory(long categoryId)
464 throws com.liferay.portal.kernel.exception.PortalException,
465 com.liferay.portal.kernel.exception.SystemException {
466 _assetCategoryLocalService.deleteCategory(categoryId);
467 }
468
469 public void deleteVocabularyCategories(long vocabularyId)
470 throws com.liferay.portal.kernel.exception.PortalException,
471 com.liferay.portal.kernel.exception.SystemException {
472 _assetCategoryLocalService.deleteVocabularyCategories(vocabularyId);
473 }
474
475 public com.liferay.portlet.asset.model.AssetCategory fetchCategory(
476 long categoryId)
477 throws com.liferay.portal.kernel.exception.SystemException {
478 return _assetCategoryLocalService.fetchCategory(categoryId);
479 }
480
481 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories()
482 throws com.liferay.portal.kernel.exception.SystemException {
483 return _assetCategoryLocalService.getCategories();
484 }
485
486 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
487 long classNameId, long classPK)
488 throws com.liferay.portal.kernel.exception.SystemException {
489 return _assetCategoryLocalService.getCategories(classNameId, classPK);
490 }
491
492 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
493 java.lang.String className, long classPK)
494 throws com.liferay.portal.kernel.exception.SystemException {
495 return _assetCategoryLocalService.getCategories(className, classPK);
496 }
497
498 public com.liferay.portlet.asset.model.AssetCategory getCategory(
499 long categoryId)
500 throws com.liferay.portal.kernel.exception.PortalException,
501 com.liferay.portal.kernel.exception.SystemException {
502 return _assetCategoryLocalService.getCategory(categoryId);
503 }
504
505 public com.liferay.portlet.asset.model.AssetCategory getCategory(
506 java.lang.String uuid, long groupId)
507 throws com.liferay.portal.kernel.exception.PortalException,
508 com.liferay.portal.kernel.exception.SystemException {
509 return _assetCategoryLocalService.getCategory(uuid, groupId);
510 }
511
512 public long[] getCategoryIds(java.lang.String className, long classPK)
513 throws com.liferay.portal.kernel.exception.SystemException {
514 return _assetCategoryLocalService.getCategoryIds(className, classPK);
515 }
516
517 public java.lang.String[] getCategoryNames()
518 throws com.liferay.portal.kernel.exception.SystemException {
519 return _assetCategoryLocalService.getCategoryNames();
520 }
521
522 public java.lang.String[] getCategoryNames(long classNameId, long classPK)
523 throws com.liferay.portal.kernel.exception.SystemException {
524 return _assetCategoryLocalService.getCategoryNames(classNameId, classPK);
525 }
526
527 public java.lang.String[] getCategoryNames(java.lang.String className,
528 long classPK)
529 throws com.liferay.portal.kernel.exception.SystemException {
530 return _assetCategoryLocalService.getCategoryNames(className, classPK);
531 }
532
533 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
534 long parentCategoryId)
535 throws com.liferay.portal.kernel.exception.SystemException {
536 return _assetCategoryLocalService.getChildCategories(parentCategoryId);
537 }
538
539 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
540 long parentCategoryId, int start, int end,
541 com.liferay.portal.kernel.util.OrderByComparator obc)
542 throws com.liferay.portal.kernel.exception.SystemException {
543 return _assetCategoryLocalService.getChildCategories(parentCategoryId,
544 start, end, obc);
545 }
546
547 public int getChildCategoriesCount(long parentCategoryId)
548 throws com.liferay.portal.kernel.exception.SystemException {
549 return _assetCategoryLocalService.getChildCategoriesCount(parentCategoryId);
550 }
551
552 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getEntryCategories(
553 long entryId)
554 throws com.liferay.portal.kernel.exception.SystemException {
555 return _assetCategoryLocalService.getEntryCategories(entryId);
556 }
557
558 public java.util.List<java.lang.Long> getSubcategoryIds(
559 long parentCategoryId)
560 throws com.liferay.portal.kernel.exception.SystemException {
561 return _assetCategoryLocalService.getSubcategoryIds(parentCategoryId);
562 }
563
564 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
565 long vocabularyId, int start, int end,
566 com.liferay.portal.kernel.util.OrderByComparator obc)
567 throws com.liferay.portal.kernel.exception.SystemException {
568 return _assetCategoryLocalService.getVocabularyCategories(vocabularyId,
569 start, end, obc);
570 }
571
572 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
573 long parentCategoryId, long vocabularyId, int start, int end,
574 com.liferay.portal.kernel.util.OrderByComparator obc)
575 throws com.liferay.portal.kernel.exception.SystemException {
576 return _assetCategoryLocalService.getVocabularyCategories(parentCategoryId,
577 vocabularyId, start, end, obc);
578 }
579
580 public int getVocabularyCategoriesCount(long vocabularyId)
581 throws com.liferay.portal.kernel.exception.SystemException {
582 return _assetCategoryLocalService.getVocabularyCategoriesCount(vocabularyId);
583 }
584
585 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
586 long vocabularyId, int start, int end,
587 com.liferay.portal.kernel.util.OrderByComparator obc)
588 throws com.liferay.portal.kernel.exception.SystemException {
589 return _assetCategoryLocalService.getVocabularyRootCategories(vocabularyId,
590 start, end, obc);
591 }
592
593 public int getVocabularyRootCategoriesCount(long vocabularyId)
594 throws com.liferay.portal.kernel.exception.SystemException {
595 return _assetCategoryLocalService.getVocabularyRootCategoriesCount(vocabularyId);
596 }
597
598 public void mergeCategories(long fromCategoryId, long toCategoryId)
599 throws com.liferay.portal.kernel.exception.PortalException,
600 com.liferay.portal.kernel.exception.SystemException {
601 _assetCategoryLocalService.mergeCategories(fromCategoryId, toCategoryId);
602 }
603
604 public com.liferay.portlet.asset.model.AssetCategory moveCategory(
605 long categoryId, long parentCategoryId, long vocabularyId,
606 com.liferay.portal.service.ServiceContext serviceContext)
607 throws com.liferay.portal.kernel.exception.PortalException,
608 com.liferay.portal.kernel.exception.SystemException {
609 return _assetCategoryLocalService.moveCategory(categoryId,
610 parentCategoryId, vocabularyId, serviceContext);
611 }
612
613 public void rebuildTree(long groupId, boolean force)
614 throws com.liferay.portal.kernel.exception.SystemException {
615 _assetCategoryLocalService.rebuildTree(groupId, force);
616 }
617
618 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> search(
619 long groupId, java.lang.String name,
620 java.lang.String[] categoryProperties, int start, int end)
621 throws com.liferay.portal.kernel.exception.SystemException {
622 return _assetCategoryLocalService.search(groupId, name,
623 categoryProperties, start, end);
624 }
625
626 public com.liferay.portlet.asset.model.AssetCategory updateCategory(
627 long userId, long categoryId, long parentCategoryId,
628 java.util.Map<java.util.Locale, java.lang.String> titleMap,
629 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
630 long vocabularyId, java.lang.String[] categoryProperties,
631 com.liferay.portal.service.ServiceContext serviceContext)
632 throws com.liferay.portal.kernel.exception.PortalException,
633 com.liferay.portal.kernel.exception.SystemException {
634 return _assetCategoryLocalService.updateCategory(userId, categoryId,
635 parentCategoryId, titleMap, descriptionMap, vocabularyId,
636 categoryProperties, serviceContext);
637 }
638
639
642 public AssetCategoryLocalService getWrappedAssetCategoryLocalService() {
643 return _assetCategoryLocalService;
644 }
645
646
649 public void setWrappedAssetCategoryLocalService(
650 AssetCategoryLocalService assetCategoryLocalService) {
651 _assetCategoryLocalService = assetCategoryLocalService;
652 }
653
654 public AssetCategoryLocalService getWrappedService() {
655 return _assetCategoryLocalService;
656 }
657
658 public void setWrappedService(
659 AssetCategoryLocalService assetCategoryLocalService) {
660 _assetCategoryLocalService = assetCategoryLocalService;
661 }
662
663 private AssetCategoryLocalService _assetCategoryLocalService;
664 }