1
14
15 package com.liferay.portlet.asset.service;
16
17
18
34 public class AssetCategoryServiceWrapper implements AssetCategoryService {
35 public AssetCategoryServiceWrapper(
36 AssetCategoryService assetCategoryService) {
37 _assetCategoryService = assetCategoryService;
38 }
39
40 public com.liferay.portlet.asset.model.AssetCategory addCategory(
41 long parentCategoryId,
42 java.util.Map<java.util.Locale, java.lang.String> titleMap,
43 long vocabularyId, java.lang.String[] categoryProperties,
44 com.liferay.portal.service.ServiceContext serviceContext)
45 throws com.liferay.portal.kernel.exception.PortalException,
46 com.liferay.portal.kernel.exception.SystemException {
47 return _assetCategoryService.addCategory(parentCategoryId, titleMap,
48 vocabularyId, categoryProperties, serviceContext);
49 }
50
51 public void deleteCategory(long categoryId)
52 throws com.liferay.portal.kernel.exception.PortalException,
53 com.liferay.portal.kernel.exception.SystemException {
54 _assetCategoryService.deleteCategory(categoryId);
55 }
56
57 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
58 java.lang.String className, long classPK)
59 throws com.liferay.portal.kernel.exception.PortalException,
60 com.liferay.portal.kernel.exception.SystemException {
61 return _assetCategoryService.getCategories(className, classPK);
62 }
63
64 public com.liferay.portlet.asset.model.AssetCategory getCategory(
65 long categoryId)
66 throws com.liferay.portal.kernel.exception.PortalException,
67 com.liferay.portal.kernel.exception.SystemException {
68 return _assetCategoryService.getCategory(categoryId);
69 }
70
71 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
72 long parentCategoryId, int start, int end,
73 com.liferay.portal.kernel.util.OrderByComparator obc)
74 throws com.liferay.portal.kernel.exception.PortalException,
75 com.liferay.portal.kernel.exception.SystemException {
76 return _assetCategoryService.getChildCategories(parentCategoryId,
77 start, end, obc);
78 }
79
80 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
81 long vocabularyId, int start, int end,
82 com.liferay.portal.kernel.util.OrderByComparator obc)
83 throws com.liferay.portal.kernel.exception.PortalException,
84 com.liferay.portal.kernel.exception.SystemException {
85 return _assetCategoryService.getVocabularyCategories(vocabularyId,
86 start, end, obc);
87 }
88
89 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
90 long vocabularyId, int start, int end,
91 com.liferay.portal.kernel.util.OrderByComparator obc)
92 throws com.liferay.portal.kernel.exception.PortalException,
93 com.liferay.portal.kernel.exception.SystemException {
94 return _assetCategoryService.getVocabularyRootCategories(vocabularyId,
95 start, end, obc);
96 }
97
98 public com.liferay.portal.kernel.json.JSONArray search(long groupId,
99 java.lang.String name, java.lang.String[] categoryProperties,
100 int start, int end)
101 throws com.liferay.portal.kernel.exception.SystemException {
102 return _assetCategoryService.search(groupId, name, categoryProperties,
103 start, end);
104 }
105
106 public com.liferay.portlet.asset.model.AssetCategory updateCategory(
107 long categoryId, long parentCategoryId,
108 java.util.Map<java.util.Locale, java.lang.String> titleMap,
109 long vocabularyId, java.lang.String[] categoryProperties,
110 com.liferay.portal.service.ServiceContext serviceContext)
111 throws com.liferay.portal.kernel.exception.PortalException,
112 com.liferay.portal.kernel.exception.SystemException {
113 return _assetCategoryService.updateCategory(categoryId,
114 parentCategoryId, titleMap, vocabularyId, categoryProperties,
115 serviceContext);
116 }
117
118 public AssetCategoryService getWrappedAssetCategoryService() {
119 return _assetCategoryService;
120 }
121
122 private AssetCategoryService _assetCategoryService;
123 }