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 AssetCategoryServiceWrapper implements AssetCategoryService,
030 ServiceWrapper<AssetCategoryService> {
031 public AssetCategoryServiceWrapper(
032 AssetCategoryService assetCategoryService) {
033 _assetCategoryService = assetCategoryService;
034 }
035
036
041 @Override
042 public java.lang.String getBeanIdentifier() {
043 return _assetCategoryService.getBeanIdentifier();
044 }
045
046
051 @Override
052 public void setBeanIdentifier(java.lang.String beanIdentifier) {
053 _assetCategoryService.setBeanIdentifier(beanIdentifier);
054 }
055
056 @Override
057 public com.liferay.portlet.asset.model.AssetCategory addCategory(
058 long parentCategoryId,
059 java.util.Map<java.util.Locale, java.lang.String> titleMap,
060 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
061 long vocabularyId, java.lang.String[] categoryProperties,
062 com.liferay.portal.service.ServiceContext serviceContext)
063 throws com.liferay.portal.kernel.exception.PortalException,
064 com.liferay.portal.kernel.exception.SystemException {
065 return _assetCategoryService.addCategory(parentCategoryId, titleMap,
066 descriptionMap, vocabularyId, categoryProperties, serviceContext);
067 }
068
069 @Override
070 public com.liferay.portlet.asset.model.AssetCategory addCategory(
071 java.lang.String title, long vocabularyId,
072 com.liferay.portal.service.ServiceContext serviceContext)
073 throws com.liferay.portal.kernel.exception.PortalException,
074 com.liferay.portal.kernel.exception.SystemException {
075 return _assetCategoryService.addCategory(title, vocabularyId,
076 serviceContext);
077 }
078
079
083 @Override
084 public void deleteCategories(long[] categoryIds)
085 throws com.liferay.portal.kernel.exception.PortalException,
086 com.liferay.portal.kernel.exception.SystemException {
087 _assetCategoryService.deleteCategories(categoryIds);
088 }
089
090 @Override
091 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> deleteCategories(
092 long[] categoryIds,
093 com.liferay.portal.service.ServiceContext serviceContext)
094 throws com.liferay.portal.kernel.exception.PortalException,
095 com.liferay.portal.kernel.exception.SystemException {
096 return _assetCategoryService.deleteCategories(categoryIds,
097 serviceContext);
098 }
099
100 @Override
101 public void deleteCategory(long categoryId)
102 throws com.liferay.portal.kernel.exception.PortalException,
103 com.liferay.portal.kernel.exception.SystemException {
104 _assetCategoryService.deleteCategory(categoryId);
105 }
106
107 @Override
108 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
109 java.lang.String className, long classPK)
110 throws com.liferay.portal.kernel.exception.PortalException,
111 com.liferay.portal.kernel.exception.SystemException {
112 return _assetCategoryService.getCategories(className, classPK);
113 }
114
115 @Override
116 public com.liferay.portlet.asset.model.AssetCategory getCategory(
117 long categoryId)
118 throws com.liferay.portal.kernel.exception.PortalException,
119 com.liferay.portal.kernel.exception.SystemException {
120 return _assetCategoryService.getCategory(categoryId);
121 }
122
123 @Override
124 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
125 long parentCategoryId)
126 throws com.liferay.portal.kernel.exception.PortalException,
127 com.liferay.portal.kernel.exception.SystemException {
128 return _assetCategoryService.getChildCategories(parentCategoryId);
129 }
130
131 @Override
132 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
133 long parentCategoryId, int start, int end,
134 com.liferay.portal.kernel.util.OrderByComparator obc)
135 throws com.liferay.portal.kernel.exception.PortalException,
136 com.liferay.portal.kernel.exception.SystemException {
137 return _assetCategoryService.getChildCategories(parentCategoryId,
138 start, end, obc);
139 }
140
141
145 @Override
146 public com.liferay.portal.kernel.json.JSONArray getJSONSearch(
147 long groupId, java.lang.String name, long[] vocabularyIds, int start,
148 int end)
149 throws com.liferay.portal.kernel.exception.PortalException,
150 com.liferay.portal.kernel.exception.SystemException {
151 return _assetCategoryService.getJSONSearch(groupId, name,
152 vocabularyIds, start, end);
153 }
154
155
160 @Override
161 public com.liferay.portal.kernel.json.JSONObject getJSONVocabularyCategories(
162 long vocabularyId, int start, int end,
163 com.liferay.portal.kernel.util.OrderByComparator obc)
164 throws com.liferay.portal.kernel.exception.PortalException,
165 com.liferay.portal.kernel.exception.SystemException {
166 return _assetCategoryService.getJSONVocabularyCategories(vocabularyId,
167 start, end, obc);
168 }
169
170
175 @Override
176 public com.liferay.portal.kernel.json.JSONObject getJSONVocabularyCategories(
177 long groupId, java.lang.String title, long vocabularyId, int start,
178 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
179 throws com.liferay.portal.kernel.exception.PortalException,
180 com.liferay.portal.kernel.exception.SystemException {
181 return _assetCategoryService.getJSONVocabularyCategories(groupId,
182 title, vocabularyId, start, end, obc);
183 }
184
185 @Override
186 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
187 long vocabularyId, int start, int end,
188 com.liferay.portal.kernel.util.OrderByComparator obc)
189 throws com.liferay.portal.kernel.exception.PortalException,
190 com.liferay.portal.kernel.exception.SystemException {
191 return _assetCategoryService.getVocabularyCategories(vocabularyId,
192 start, end, obc);
193 }
194
195 @Override
196 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
197 long parentCategoryId, long vocabularyId, int start, int end,
198 com.liferay.portal.kernel.util.OrderByComparator obc)
199 throws com.liferay.portal.kernel.exception.PortalException,
200 com.liferay.portal.kernel.exception.SystemException {
201 return _assetCategoryService.getVocabularyCategories(parentCategoryId,
202 vocabularyId, start, end, obc);
203 }
204
205 @Override
206 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
207 long groupId, java.lang.String name, long vocabularyId, int start,
208 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
209 throws com.liferay.portal.kernel.exception.SystemException {
210 return _assetCategoryService.getVocabularyCategories(groupId, name,
211 vocabularyId, start, end, obc);
212 }
213
214 @Override
215 public int getVocabularyCategoriesCount(long groupId, long vocabularyId)
216 throws com.liferay.portal.kernel.exception.SystemException {
217 return _assetCategoryService.getVocabularyCategoriesCount(groupId,
218 vocabularyId);
219 }
220
221 @Override
222 public int getVocabularyCategoriesCount(long groupId,
223 java.lang.String name, long vocabularyId)
224 throws com.liferay.portal.kernel.exception.SystemException {
225 return _assetCategoryService.getVocabularyCategoriesCount(groupId,
226 name, vocabularyId);
227 }
228
229 @Override
230 public com.liferay.portlet.asset.model.AssetCategoryDisplay getVocabularyCategoriesDisplay(
231 long vocabularyId, int start, int end,
232 com.liferay.portal.kernel.util.OrderByComparator obc)
233 throws com.liferay.portal.kernel.exception.PortalException,
234 com.liferay.portal.kernel.exception.SystemException {
235 return _assetCategoryService.getVocabularyCategoriesDisplay(vocabularyId,
236 start, end, obc);
237 }
238
239 @Override
240 public com.liferay.portlet.asset.model.AssetCategoryDisplay getVocabularyCategoriesDisplay(
241 long groupId, java.lang.String name, long vocabularyId, int start,
242 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
243 throws com.liferay.portal.kernel.exception.PortalException,
244 com.liferay.portal.kernel.exception.SystemException {
245 return _assetCategoryService.getVocabularyCategoriesDisplay(groupId,
246 name, vocabularyId, start, end, obc);
247 }
248
249
254 @Override
255 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
256 long vocabularyId, int start, int end,
257 com.liferay.portal.kernel.util.OrderByComparator obc)
258 throws com.liferay.portal.kernel.exception.PortalException,
259 com.liferay.portal.kernel.exception.SystemException {
260 return _assetCategoryService.getVocabularyRootCategories(vocabularyId,
261 start, end, obc);
262 }
263
264 @Override
265 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
266 long groupId, long vocabularyId, int start, int end,
267 com.liferay.portal.kernel.util.OrderByComparator obc)
268 throws com.liferay.portal.kernel.exception.SystemException {
269 return _assetCategoryService.getVocabularyRootCategories(groupId,
270 vocabularyId, start, end, obc);
271 }
272
273 @Override
274 public int getVocabularyRootCategoriesCount(long groupId, long vocabularyId)
275 throws com.liferay.portal.kernel.exception.SystemException {
276 return _assetCategoryService.getVocabularyRootCategoriesCount(groupId,
277 vocabularyId);
278 }
279
280 @Override
281 public com.liferay.portlet.asset.model.AssetCategory moveCategory(
282 long categoryId, long parentCategoryId, long vocabularyId,
283 com.liferay.portal.service.ServiceContext serviceContext)
284 throws com.liferay.portal.kernel.exception.PortalException,
285 com.liferay.portal.kernel.exception.SystemException {
286 return _assetCategoryService.moveCategory(categoryId, parentCategoryId,
287 vocabularyId, serviceContext);
288 }
289
290 @Override
291 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> search(
292 long groupId, java.lang.String keywords, long vocabularyId, int start,
293 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
294 throws com.liferay.portal.kernel.exception.SystemException {
295 return _assetCategoryService.search(groupId, keywords, vocabularyId,
296 start, end, obc);
297 }
298
299 @Override
300 public com.liferay.portal.kernel.json.JSONArray search(long groupId,
301 java.lang.String name, java.lang.String[] categoryProperties,
302 int start, int end)
303 throws com.liferay.portal.kernel.exception.PortalException,
304 com.liferay.portal.kernel.exception.SystemException {
305 return _assetCategoryService.search(groupId, name, categoryProperties,
306 start, end);
307 }
308
309 @Override
310 public com.liferay.portal.kernel.json.JSONArray search(long[] groupIds,
311 java.lang.String title, long[] vocabularyIds, int start, int end)
312 throws com.liferay.portal.kernel.exception.PortalException,
313 com.liferay.portal.kernel.exception.SystemException {
314 return _assetCategoryService.search(groupIds, title, vocabularyIds,
315 start, end);
316 }
317
318 @Override
319 public com.liferay.portlet.asset.model.AssetCategory updateCategory(
320 long categoryId, long parentCategoryId,
321 java.util.Map<java.util.Locale, java.lang.String> titleMap,
322 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
323 long vocabularyId, java.lang.String[] categoryProperties,
324 com.liferay.portal.service.ServiceContext serviceContext)
325 throws com.liferay.portal.kernel.exception.PortalException,
326 com.liferay.portal.kernel.exception.SystemException {
327 return _assetCategoryService.updateCategory(categoryId,
328 parentCategoryId, titleMap, descriptionMap, vocabularyId,
329 categoryProperties, serviceContext);
330 }
331
332
335 public AssetCategoryService getWrappedAssetCategoryService() {
336 return _assetCategoryService;
337 }
338
339
342 public void setWrappedAssetCategoryService(
343 AssetCategoryService assetCategoryService) {
344 _assetCategoryService = assetCategoryService;
345 }
346
347 @Override
348 public AssetCategoryService getWrappedService() {
349 return _assetCategoryService;
350 }
351
352 @Override
353 public void setWrappedService(AssetCategoryService assetCategoryService) {
354 _assetCategoryService = assetCategoryService;
355 }
356
357 private AssetCategoryService _assetCategoryService;
358 }