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
258 public com.liferay.portlet.asset.model.AssetCategory updateAssetCategory(
259 com.liferay.portlet.asset.model.AssetCategory assetCategory,
260 boolean merge)
261 throws com.liferay.portal.kernel.exception.SystemException {
262 return _assetCategoryLocalService.updateAssetCategory(assetCategory,
263 merge);
264 }
265
266
269 public void addAssetEntryAssetCategory(long entryId, long categoryId)
270 throws com.liferay.portal.kernel.exception.SystemException {
271 _assetCategoryLocalService.addAssetEntryAssetCategory(entryId,
272 categoryId);
273 }
274
275
278 public void addAssetEntryAssetCategory(long entryId,
279 com.liferay.portlet.asset.model.AssetCategory assetCategory)
280 throws com.liferay.portal.kernel.exception.SystemException {
281 _assetCategoryLocalService.addAssetEntryAssetCategory(entryId,
282 assetCategory);
283 }
284
285
288 public void addAssetEntryAssetCategories(long entryId, long[] categoryIds)
289 throws com.liferay.portal.kernel.exception.SystemException {
290 _assetCategoryLocalService.addAssetEntryAssetCategories(entryId,
291 categoryIds);
292 }
293
294
297 public void addAssetEntryAssetCategories(long entryId,
298 java.util.List<com.liferay.portlet.asset.model.AssetCategory> AssetCategories)
299 throws com.liferay.portal.kernel.exception.SystemException {
300 _assetCategoryLocalService.addAssetEntryAssetCategories(entryId,
301 AssetCategories);
302 }
303
304
307 public void clearAssetEntryAssetCategories(long entryId)
308 throws com.liferay.portal.kernel.exception.SystemException {
309 _assetCategoryLocalService.clearAssetEntryAssetCategories(entryId);
310 }
311
312
315 public void deleteAssetEntryAssetCategory(long entryId, long categoryId)
316 throws com.liferay.portal.kernel.exception.SystemException {
317 _assetCategoryLocalService.deleteAssetEntryAssetCategory(entryId,
318 categoryId);
319 }
320
321
324 public void deleteAssetEntryAssetCategory(long entryId,
325 com.liferay.portlet.asset.model.AssetCategory assetCategory)
326 throws com.liferay.portal.kernel.exception.SystemException {
327 _assetCategoryLocalService.deleteAssetEntryAssetCategory(entryId,
328 assetCategory);
329 }
330
331
334 public void deleteAssetEntryAssetCategories(long entryId, long[] categoryIds)
335 throws com.liferay.portal.kernel.exception.SystemException {
336 _assetCategoryLocalService.deleteAssetEntryAssetCategories(entryId,
337 categoryIds);
338 }
339
340
343 public void deleteAssetEntryAssetCategories(long entryId,
344 java.util.List<com.liferay.portlet.asset.model.AssetCategory> AssetCategories)
345 throws com.liferay.portal.kernel.exception.SystemException {
346 _assetCategoryLocalService.deleteAssetEntryAssetCategories(entryId,
347 AssetCategories);
348 }
349
350
353 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetEntryAssetCategories(
354 long entryId)
355 throws com.liferay.portal.kernel.exception.SystemException {
356 return _assetCategoryLocalService.getAssetEntryAssetCategories(entryId);
357 }
358
359
362 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetEntryAssetCategories(
363 long entryId, int start, int end)
364 throws com.liferay.portal.kernel.exception.SystemException {
365 return _assetCategoryLocalService.getAssetEntryAssetCategories(entryId,
366 start, end);
367 }
368
369
372 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetEntryAssetCategories(
373 long entryId, int start, int end,
374 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
375 throws com.liferay.portal.kernel.exception.SystemException {
376 return _assetCategoryLocalService.getAssetEntryAssetCategories(entryId,
377 start, end, orderByComparator);
378 }
379
380
383 public int getAssetEntryAssetCategoriesCount(long entryId)
384 throws com.liferay.portal.kernel.exception.SystemException {
385 return _assetCategoryLocalService.getAssetEntryAssetCategoriesCount(entryId);
386 }
387
388
391 public boolean hasAssetEntryAssetCategory(long entryId, long categoryId)
392 throws com.liferay.portal.kernel.exception.SystemException {
393 return _assetCategoryLocalService.hasAssetEntryAssetCategory(entryId,
394 categoryId);
395 }
396
397
400 public boolean hasAssetEntryAssetCategories(long entryId)
401 throws com.liferay.portal.kernel.exception.SystemException {
402 return _assetCategoryLocalService.hasAssetEntryAssetCategories(entryId);
403 }
404
405
408 public void setAssetEntryAssetCategories(long entryId, long[] categoryIds)
409 throws com.liferay.portal.kernel.exception.SystemException {
410 _assetCategoryLocalService.setAssetEntryAssetCategories(entryId,
411 categoryIds);
412 }
413
414
419 public java.lang.String getBeanIdentifier() {
420 return _assetCategoryLocalService.getBeanIdentifier();
421 }
422
423
428 public void setBeanIdentifier(java.lang.String beanIdentifier) {
429 _assetCategoryLocalService.setBeanIdentifier(beanIdentifier);
430 }
431
432 public com.liferay.portlet.asset.model.AssetCategory addCategory(
433 long userId, long parentCategoryId,
434 java.util.Map<java.util.Locale, java.lang.String> titleMap,
435 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
436 long vocabularyId, java.lang.String[] categoryProperties,
437 com.liferay.portal.service.ServiceContext serviceContext)
438 throws com.liferay.portal.kernel.exception.PortalException,
439 com.liferay.portal.kernel.exception.SystemException {
440 return _assetCategoryLocalService.addCategory(userId, parentCategoryId,
441 titleMap, descriptionMap, vocabularyId, categoryProperties,
442 serviceContext);
443 }
444
445 public void addCategoryResources(
446 com.liferay.portlet.asset.model.AssetCategory category,
447 boolean addGroupPermissions, boolean addGuestPermissions)
448 throws com.liferay.portal.kernel.exception.PortalException,
449 com.liferay.portal.kernel.exception.SystemException {
450 _assetCategoryLocalService.addCategoryResources(category,
451 addGroupPermissions, addGuestPermissions);
452 }
453
454 public void addCategoryResources(
455 com.liferay.portlet.asset.model.AssetCategory category,
456 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
457 throws com.liferay.portal.kernel.exception.PortalException,
458 com.liferay.portal.kernel.exception.SystemException {
459 _assetCategoryLocalService.addCategoryResources(category,
460 groupPermissions, guestPermissions);
461 }
462
463 public void deleteCategory(
464 com.liferay.portlet.asset.model.AssetCategory category)
465 throws com.liferay.portal.kernel.exception.PortalException,
466 com.liferay.portal.kernel.exception.SystemException {
467 _assetCategoryLocalService.deleteCategory(category);
468 }
469
470 public void deleteCategory(long categoryId)
471 throws com.liferay.portal.kernel.exception.PortalException,
472 com.liferay.portal.kernel.exception.SystemException {
473 _assetCategoryLocalService.deleteCategory(categoryId);
474 }
475
476 public void deleteVocabularyCategories(long vocabularyId)
477 throws com.liferay.portal.kernel.exception.PortalException,
478 com.liferay.portal.kernel.exception.SystemException {
479 _assetCategoryLocalService.deleteVocabularyCategories(vocabularyId);
480 }
481
482 public com.liferay.portlet.asset.model.AssetCategory fetchCategory(
483 long categoryId)
484 throws com.liferay.portal.kernel.exception.SystemException {
485 return _assetCategoryLocalService.fetchCategory(categoryId);
486 }
487
488 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories()
489 throws com.liferay.portal.kernel.exception.SystemException {
490 return _assetCategoryLocalService.getCategories();
491 }
492
493 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
494 long classNameId, long classPK)
495 throws com.liferay.portal.kernel.exception.SystemException {
496 return _assetCategoryLocalService.getCategories(classNameId, classPK);
497 }
498
499 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
500 java.lang.String className, long classPK)
501 throws com.liferay.portal.kernel.exception.SystemException {
502 return _assetCategoryLocalService.getCategories(className, classPK);
503 }
504
505 public com.liferay.portlet.asset.model.AssetCategory getCategory(
506 long categoryId)
507 throws com.liferay.portal.kernel.exception.PortalException,
508 com.liferay.portal.kernel.exception.SystemException {
509 return _assetCategoryLocalService.getCategory(categoryId);
510 }
511
512 public com.liferay.portlet.asset.model.AssetCategory getCategory(
513 java.lang.String uuid, long groupId)
514 throws com.liferay.portal.kernel.exception.PortalException,
515 com.liferay.portal.kernel.exception.SystemException {
516 return _assetCategoryLocalService.getCategory(uuid, groupId);
517 }
518
519 public long[] getCategoryIds(java.lang.String className, long classPK)
520 throws com.liferay.portal.kernel.exception.SystemException {
521 return _assetCategoryLocalService.getCategoryIds(className, classPK);
522 }
523
524 public java.lang.String[] getCategoryNames()
525 throws com.liferay.portal.kernel.exception.SystemException {
526 return _assetCategoryLocalService.getCategoryNames();
527 }
528
529 public java.lang.String[] getCategoryNames(long classNameId, long classPK)
530 throws com.liferay.portal.kernel.exception.SystemException {
531 return _assetCategoryLocalService.getCategoryNames(classNameId, classPK);
532 }
533
534 public java.lang.String[] getCategoryNames(java.lang.String className,
535 long classPK)
536 throws com.liferay.portal.kernel.exception.SystemException {
537 return _assetCategoryLocalService.getCategoryNames(className, classPK);
538 }
539
540 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
541 long parentCategoryId)
542 throws com.liferay.portal.kernel.exception.SystemException {
543 return _assetCategoryLocalService.getChildCategories(parentCategoryId);
544 }
545
546 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
547 long parentCategoryId, int start, int end,
548 com.liferay.portal.kernel.util.OrderByComparator obc)
549 throws com.liferay.portal.kernel.exception.SystemException {
550 return _assetCategoryLocalService.getChildCategories(parentCategoryId,
551 start, end, obc);
552 }
553
554 public int getChildCategoriesCount(long parentCategoryId)
555 throws com.liferay.portal.kernel.exception.SystemException {
556 return _assetCategoryLocalService.getChildCategoriesCount(parentCategoryId);
557 }
558
559 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getEntryCategories(
560 long entryId)
561 throws com.liferay.portal.kernel.exception.SystemException {
562 return _assetCategoryLocalService.getEntryCategories(entryId);
563 }
564
565 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
566 long vocabularyId, int start, int end,
567 com.liferay.portal.kernel.util.OrderByComparator obc)
568 throws com.liferay.portal.kernel.exception.SystemException {
569 return _assetCategoryLocalService.getVocabularyCategories(vocabularyId,
570 start, end, obc);
571 }
572
573 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
574 long parentCategoryId, long vocabularyId, int start, int end,
575 com.liferay.portal.kernel.util.OrderByComparator obc)
576 throws com.liferay.portal.kernel.exception.SystemException {
577 return _assetCategoryLocalService.getVocabularyCategories(parentCategoryId,
578 vocabularyId, start, end, obc);
579 }
580
581 public int getVocabularyCategoriesCount(long vocabularyId)
582 throws com.liferay.portal.kernel.exception.SystemException {
583 return _assetCategoryLocalService.getVocabularyCategoriesCount(vocabularyId);
584 }
585
586 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
587 long vocabularyId, int start, int end,
588 com.liferay.portal.kernel.util.OrderByComparator obc)
589 throws com.liferay.portal.kernel.exception.SystemException {
590 return _assetCategoryLocalService.getVocabularyRootCategories(vocabularyId,
591 start, end, obc);
592 }
593
594 public int getVocabularyRootCategoriesCount(long vocabularyId)
595 throws com.liferay.portal.kernel.exception.SystemException {
596 return _assetCategoryLocalService.getVocabularyRootCategoriesCount(vocabularyId);
597 }
598
599 public void mergeCategories(long fromCategoryId, long toCategoryId)
600 throws com.liferay.portal.kernel.exception.PortalException,
601 com.liferay.portal.kernel.exception.SystemException {
602 _assetCategoryLocalService.mergeCategories(fromCategoryId, toCategoryId);
603 }
604
605 public com.liferay.portlet.asset.model.AssetCategory moveCategory(
606 long categoryId, long parentCategoryId, long vocabularyId,
607 com.liferay.portal.service.ServiceContext serviceContext)
608 throws com.liferay.portal.kernel.exception.PortalException,
609 com.liferay.portal.kernel.exception.SystemException {
610 return _assetCategoryLocalService.moveCategory(categoryId,
611 parentCategoryId, vocabularyId, serviceContext);
612 }
613
614 public void rebuildTree(long groupId, boolean force)
615 throws com.liferay.portal.kernel.exception.SystemException {
616 _assetCategoryLocalService.rebuildTree(groupId, force);
617 }
618
619 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> search(
620 long groupId, java.lang.String name,
621 java.lang.String[] categoryProperties, int start, int end)
622 throws com.liferay.portal.kernel.exception.SystemException {
623 return _assetCategoryLocalService.search(groupId, name,
624 categoryProperties, start, end);
625 }
626
627 public com.liferay.portlet.asset.model.AssetCategory updateCategory(
628 long userId, long categoryId, long parentCategoryId,
629 java.util.Map<java.util.Locale, java.lang.String> titleMap,
630 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
631 long vocabularyId, java.lang.String[] categoryProperties,
632 com.liferay.portal.service.ServiceContext serviceContext)
633 throws com.liferay.portal.kernel.exception.PortalException,
634 com.liferay.portal.kernel.exception.SystemException {
635 return _assetCategoryLocalService.updateCategory(userId, categoryId,
636 parentCategoryId, titleMap, descriptionMap, vocabularyId,
637 categoryProperties, serviceContext);
638 }
639
640
643 public AssetCategoryLocalService getWrappedAssetCategoryLocalService() {
644 return _assetCategoryLocalService;
645 }
646
647
650 public void setWrappedAssetCategoryLocalService(
651 AssetCategoryLocalService assetCategoryLocalService) {
652 _assetCategoryLocalService = assetCategoryLocalService;
653 }
654
655 public AssetCategoryLocalService getWrappedService() {
656 return _assetCategoryLocalService;
657 }
658
659 public void setWrappedService(
660 AssetCategoryLocalService assetCategoryLocalService) {
661 _assetCategoryLocalService = assetCategoryLocalService;
662 }
663
664 private AssetCategoryLocalService _assetCategoryLocalService;
665 }