001
014
015 package com.liferay.portlet.asset.service;
016
017
026 public class AssetCategoryServiceWrapper implements AssetCategoryService {
027 public AssetCategoryServiceWrapper(
028 AssetCategoryService assetCategoryService) {
029 _assetCategoryService = assetCategoryService;
030 }
031
032 public com.liferay.portlet.asset.model.AssetCategory addCategory(
033 long parentCategoryId,
034 java.util.Map<java.util.Locale, java.lang.String> titleMap,
035 long vocabularyId, java.lang.String[] categoryProperties,
036 com.liferay.portal.service.ServiceContext serviceContext)
037 throws com.liferay.portal.kernel.exception.PortalException,
038 com.liferay.portal.kernel.exception.SystemException {
039 return _assetCategoryService.addCategory(parentCategoryId, titleMap,
040 vocabularyId, categoryProperties, serviceContext);
041 }
042
043 public void deleteCategory(long categoryId)
044 throws com.liferay.portal.kernel.exception.PortalException,
045 com.liferay.portal.kernel.exception.SystemException {
046 _assetCategoryService.deleteCategory(categoryId);
047 }
048
049 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
050 java.lang.String className, long classPK)
051 throws com.liferay.portal.kernel.exception.PortalException,
052 com.liferay.portal.kernel.exception.SystemException {
053 return _assetCategoryService.getCategories(className, classPK);
054 }
055
056 public com.liferay.portlet.asset.model.AssetCategory getCategory(
057 long categoryId)
058 throws com.liferay.portal.kernel.exception.PortalException,
059 com.liferay.portal.kernel.exception.SystemException {
060 return _assetCategoryService.getCategory(categoryId);
061 }
062
063 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
064 long parentCategoryId, int start, int end,
065 com.liferay.portal.kernel.util.OrderByComparator obc)
066 throws com.liferay.portal.kernel.exception.PortalException,
067 com.liferay.portal.kernel.exception.SystemException {
068 return _assetCategoryService.getChildCategories(parentCategoryId,
069 start, end, obc);
070 }
071
072 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
073 long vocabularyId, int start, int end,
074 com.liferay.portal.kernel.util.OrderByComparator obc)
075 throws com.liferay.portal.kernel.exception.PortalException,
076 com.liferay.portal.kernel.exception.SystemException {
077 return _assetCategoryService.getVocabularyCategories(vocabularyId,
078 start, end, obc);
079 }
080
081 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
082 long vocabularyId, int start, int end,
083 com.liferay.portal.kernel.util.OrderByComparator obc)
084 throws com.liferay.portal.kernel.exception.PortalException,
085 com.liferay.portal.kernel.exception.SystemException {
086 return _assetCategoryService.getVocabularyRootCategories(vocabularyId,
087 start, end, obc);
088 }
089
090 public com.liferay.portal.kernel.json.JSONArray search(long groupId,
091 java.lang.String name, java.lang.String[] categoryProperties,
092 int start, int end)
093 throws com.liferay.portal.kernel.exception.SystemException {
094 return _assetCategoryService.search(groupId, name, categoryProperties,
095 start, end);
096 }
097
098 public com.liferay.portlet.asset.model.AssetCategory updateCategory(
099 long categoryId, long parentCategoryId,
100 java.util.Map<java.util.Locale, java.lang.String> titleMap,
101 long vocabularyId, java.lang.String[] categoryProperties,
102 com.liferay.portal.service.ServiceContext serviceContext)
103 throws com.liferay.portal.kernel.exception.PortalException,
104 com.liferay.portal.kernel.exception.SystemException {
105 return _assetCategoryService.updateCategory(categoryId,
106 parentCategoryId, titleMap, vocabularyId, categoryProperties,
107 serviceContext);
108 }
109
110 public AssetCategoryService getWrappedAssetCategoryService() {
111 return _assetCategoryService;
112 }
113
114 private AssetCategoryService _assetCategoryService;
115 }