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
067 public void deleteAssetCategory(long categoryId)
068 throws com.liferay.portal.kernel.exception.PortalException,
069 com.liferay.portal.kernel.exception.SystemException {
070 _assetCategoryLocalService.deleteAssetCategory(categoryId);
071 }
072
073
079 public void deleteAssetCategory(
080 com.liferay.portlet.asset.model.AssetCategory assetCategory)
081 throws com.liferay.portal.kernel.exception.SystemException {
082 _assetCategoryLocalService.deleteAssetCategory(assetCategory);
083 }
084
085
092 @SuppressWarnings("rawtypes")
093 public java.util.List dynamicQuery(
094 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
095 throws com.liferay.portal.kernel.exception.SystemException {
096 return _assetCategoryLocalService.dynamicQuery(dynamicQuery);
097 }
098
099
112 @SuppressWarnings("rawtypes")
113 public java.util.List dynamicQuery(
114 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
115 int end) throws com.liferay.portal.kernel.exception.SystemException {
116 return _assetCategoryLocalService.dynamicQuery(dynamicQuery, start, end);
117 }
118
119
133 @SuppressWarnings("rawtypes")
134 public java.util.List dynamicQuery(
135 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
136 int end,
137 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
138 throws com.liferay.portal.kernel.exception.SystemException {
139 return _assetCategoryLocalService.dynamicQuery(dynamicQuery, start,
140 end, orderByComparator);
141 }
142
143
150 public long dynamicQueryCount(
151 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
152 throws com.liferay.portal.kernel.exception.SystemException {
153 return _assetCategoryLocalService.dynamicQueryCount(dynamicQuery);
154 }
155
156 public com.liferay.portlet.asset.model.AssetCategory fetchAssetCategory(
157 long categoryId)
158 throws com.liferay.portal.kernel.exception.SystemException {
159 return _assetCategoryLocalService.fetchAssetCategory(categoryId);
160 }
161
162
170 public com.liferay.portlet.asset.model.AssetCategory getAssetCategory(
171 long categoryId)
172 throws com.liferay.portal.kernel.exception.PortalException,
173 com.liferay.portal.kernel.exception.SystemException {
174 return _assetCategoryLocalService.getAssetCategory(categoryId);
175 }
176
177 public com.liferay.portal.model.PersistedModel getPersistedModel(
178 java.io.Serializable primaryKeyObj)
179 throws com.liferay.portal.kernel.exception.PortalException,
180 com.liferay.portal.kernel.exception.SystemException {
181 return _assetCategoryLocalService.getPersistedModel(primaryKeyObj);
182 }
183
184
193 public com.liferay.portlet.asset.model.AssetCategory getAssetCategoryByUuidAndGroupId(
194 java.lang.String uuid, long groupId)
195 throws com.liferay.portal.kernel.exception.PortalException,
196 com.liferay.portal.kernel.exception.SystemException {
197 return _assetCategoryLocalService.getAssetCategoryByUuidAndGroupId(uuid,
198 groupId);
199 }
200
201
213 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetCategories(
214 int start, int end)
215 throws com.liferay.portal.kernel.exception.SystemException {
216 return _assetCategoryLocalService.getAssetCategories(start, end);
217 }
218
219
225 public int getAssetCategoriesCount()
226 throws com.liferay.portal.kernel.exception.SystemException {
227 return _assetCategoryLocalService.getAssetCategoriesCount();
228 }
229
230
237 public com.liferay.portlet.asset.model.AssetCategory updateAssetCategory(
238 com.liferay.portlet.asset.model.AssetCategory assetCategory)
239 throws com.liferay.portal.kernel.exception.SystemException {
240 return _assetCategoryLocalService.updateAssetCategory(assetCategory);
241 }
242
243
251 public com.liferay.portlet.asset.model.AssetCategory updateAssetCategory(
252 com.liferay.portlet.asset.model.AssetCategory assetCategory,
253 boolean merge)
254 throws com.liferay.portal.kernel.exception.SystemException {
255 return _assetCategoryLocalService.updateAssetCategory(assetCategory,
256 merge);
257 }
258
259
264 public java.lang.String getBeanIdentifier() {
265 return _assetCategoryLocalService.getBeanIdentifier();
266 }
267
268
273 public void setBeanIdentifier(java.lang.String beanIdentifier) {
274 _assetCategoryLocalService.setBeanIdentifier(beanIdentifier);
275 }
276
277 public com.liferay.portlet.asset.model.AssetCategory addCategory(
278 long userId, long parentCategoryId,
279 java.util.Map<java.util.Locale, java.lang.String> titleMap,
280 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
281 long vocabularyId, java.lang.String[] categoryProperties,
282 com.liferay.portal.service.ServiceContext serviceContext)
283 throws com.liferay.portal.kernel.exception.PortalException,
284 com.liferay.portal.kernel.exception.SystemException {
285 return _assetCategoryLocalService.addCategory(userId, parentCategoryId,
286 titleMap, descriptionMap, vocabularyId, categoryProperties,
287 serviceContext);
288 }
289
290 public void addCategoryResources(
291 com.liferay.portlet.asset.model.AssetCategory category,
292 boolean addGroupPermissions, boolean addGuestPermissions)
293 throws com.liferay.portal.kernel.exception.PortalException,
294 com.liferay.portal.kernel.exception.SystemException {
295 _assetCategoryLocalService.addCategoryResources(category,
296 addGroupPermissions, addGuestPermissions);
297 }
298
299 public void addCategoryResources(
300 com.liferay.portlet.asset.model.AssetCategory category,
301 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
302 throws com.liferay.portal.kernel.exception.PortalException,
303 com.liferay.portal.kernel.exception.SystemException {
304 _assetCategoryLocalService.addCategoryResources(category,
305 groupPermissions, guestPermissions);
306 }
307
308 public void deleteCategory(
309 com.liferay.portlet.asset.model.AssetCategory category)
310 throws com.liferay.portal.kernel.exception.PortalException,
311 com.liferay.portal.kernel.exception.SystemException {
312 _assetCategoryLocalService.deleteCategory(category);
313 }
314
315 public void deleteCategory(long categoryId)
316 throws com.liferay.portal.kernel.exception.PortalException,
317 com.liferay.portal.kernel.exception.SystemException {
318 _assetCategoryLocalService.deleteCategory(categoryId);
319 }
320
321 public void deleteVocabularyCategories(long vocabularyId)
322 throws com.liferay.portal.kernel.exception.PortalException,
323 com.liferay.portal.kernel.exception.SystemException {
324 _assetCategoryLocalService.deleteVocabularyCategories(vocabularyId);
325 }
326
327 public com.liferay.portlet.asset.model.AssetCategory fetchCategory(
328 long categoryId)
329 throws com.liferay.portal.kernel.exception.SystemException {
330 return _assetCategoryLocalService.fetchCategory(categoryId);
331 }
332
333 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories()
334 throws com.liferay.portal.kernel.exception.SystemException {
335 return _assetCategoryLocalService.getCategories();
336 }
337
338 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
339 long classNameId, long classPK)
340 throws com.liferay.portal.kernel.exception.SystemException {
341 return _assetCategoryLocalService.getCategories(classNameId, classPK);
342 }
343
344 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
345 java.lang.String className, long classPK)
346 throws com.liferay.portal.kernel.exception.SystemException {
347 return _assetCategoryLocalService.getCategories(className, classPK);
348 }
349
350 public com.liferay.portlet.asset.model.AssetCategory getCategory(
351 long categoryId)
352 throws com.liferay.portal.kernel.exception.PortalException,
353 com.liferay.portal.kernel.exception.SystemException {
354 return _assetCategoryLocalService.getCategory(categoryId);
355 }
356
357 public long[] getCategoryIds(java.lang.String className, long classPK)
358 throws com.liferay.portal.kernel.exception.SystemException {
359 return _assetCategoryLocalService.getCategoryIds(className, classPK);
360 }
361
362 public java.lang.String[] getCategoryNames()
363 throws com.liferay.portal.kernel.exception.SystemException {
364 return _assetCategoryLocalService.getCategoryNames();
365 }
366
367 public java.lang.String[] getCategoryNames(long classNameId, long classPK)
368 throws com.liferay.portal.kernel.exception.SystemException {
369 return _assetCategoryLocalService.getCategoryNames(classNameId, classPK);
370 }
371
372 public java.lang.String[] getCategoryNames(java.lang.String className,
373 long classPK)
374 throws com.liferay.portal.kernel.exception.SystemException {
375 return _assetCategoryLocalService.getCategoryNames(className, classPK);
376 }
377
378 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
379 long parentCategoryId)
380 throws com.liferay.portal.kernel.exception.SystemException {
381 return _assetCategoryLocalService.getChildCategories(parentCategoryId);
382 }
383
384 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
385 long parentCategoryId, int start, int end,
386 com.liferay.portal.kernel.util.OrderByComparator obc)
387 throws com.liferay.portal.kernel.exception.SystemException {
388 return _assetCategoryLocalService.getChildCategories(parentCategoryId,
389 start, end, obc);
390 }
391
392 public int getChildCategoriesCount(long parentCategoryId)
393 throws com.liferay.portal.kernel.exception.SystemException {
394 return _assetCategoryLocalService.getChildCategoriesCount(parentCategoryId);
395 }
396
397 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getEntryCategories(
398 long entryId)
399 throws com.liferay.portal.kernel.exception.SystemException {
400 return _assetCategoryLocalService.getEntryCategories(entryId);
401 }
402
403 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
404 long vocabularyId, int start, int end,
405 com.liferay.portal.kernel.util.OrderByComparator obc)
406 throws com.liferay.portal.kernel.exception.SystemException {
407 return _assetCategoryLocalService.getVocabularyCategories(vocabularyId,
408 start, end, obc);
409 }
410
411 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
412 long parentCategoryId, long vocabularyId, int start, int end,
413 com.liferay.portal.kernel.util.OrderByComparator obc)
414 throws com.liferay.portal.kernel.exception.SystemException {
415 return _assetCategoryLocalService.getVocabularyCategories(parentCategoryId,
416 vocabularyId, start, end, obc);
417 }
418
419 public int getVocabularyCategoriesCount(long vocabularyId)
420 throws com.liferay.portal.kernel.exception.SystemException {
421 return _assetCategoryLocalService.getVocabularyCategoriesCount(vocabularyId);
422 }
423
424 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
425 long vocabularyId, int start, int end,
426 com.liferay.portal.kernel.util.OrderByComparator obc)
427 throws com.liferay.portal.kernel.exception.SystemException {
428 return _assetCategoryLocalService.getVocabularyRootCategories(vocabularyId,
429 start, end, obc);
430 }
431
432 public void mergeCategories(long fromCategoryId, long toCategoryId)
433 throws com.liferay.portal.kernel.exception.PortalException,
434 com.liferay.portal.kernel.exception.SystemException {
435 _assetCategoryLocalService.mergeCategories(fromCategoryId, toCategoryId);
436 }
437
438 public com.liferay.portlet.asset.model.AssetCategory moveCategory(
439 long categoryId, long parentCategoryId, long vocabularyId,
440 com.liferay.portal.service.ServiceContext serviceContext)
441 throws com.liferay.portal.kernel.exception.PortalException,
442 com.liferay.portal.kernel.exception.SystemException {
443 return _assetCategoryLocalService.moveCategory(categoryId,
444 parentCategoryId, vocabularyId, serviceContext);
445 }
446
447 public void rebuildTree(long groupId, boolean force)
448 throws com.liferay.portal.kernel.exception.SystemException {
449 _assetCategoryLocalService.rebuildTree(groupId, force);
450 }
451
452 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> search(
453 long groupId, java.lang.String name,
454 java.lang.String[] categoryProperties, int start, int end)
455 throws com.liferay.portal.kernel.exception.SystemException {
456 return _assetCategoryLocalService.search(groupId, name,
457 categoryProperties, start, end);
458 }
459
460 public com.liferay.portlet.asset.model.AssetCategory updateCategory(
461 long userId, long categoryId, long parentCategoryId,
462 java.util.Map<java.util.Locale, java.lang.String> titleMap,
463 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
464 long vocabularyId, java.lang.String[] categoryProperties,
465 com.liferay.portal.service.ServiceContext serviceContext)
466 throws com.liferay.portal.kernel.exception.PortalException,
467 com.liferay.portal.kernel.exception.SystemException {
468 return _assetCategoryLocalService.updateCategory(userId, categoryId,
469 parentCategoryId, titleMap, descriptionMap, vocabularyId,
470 categoryProperties, serviceContext);
471 }
472
473
476 public AssetCategoryLocalService getWrappedAssetCategoryLocalService() {
477 return _assetCategoryLocalService;
478 }
479
480
483 public void setWrappedAssetCategoryLocalService(
484 AssetCategoryLocalService assetCategoryLocalService) {
485 _assetCategoryLocalService = assetCategoryLocalService;
486 }
487
488 public AssetCategoryLocalService getWrappedService() {
489 return _assetCategoryLocalService;
490 }
491
492 public void setWrappedService(
493 AssetCategoryLocalService assetCategoryLocalService) {
494 _assetCategoryLocalService = assetCategoryLocalService;
495 }
496
497 private AssetCategoryLocalService _assetCategoryLocalService;
498 }