001
014
015 package com.liferay.portlet.asset.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class AssetCategoryServiceWrapper implements AssetCategoryService,
029 ServiceWrapper<AssetCategoryService> {
030 public AssetCategoryServiceWrapper(
031 AssetCategoryService assetCategoryService) {
032 _assetCategoryService = assetCategoryService;
033 }
034
035
040 public java.lang.String getBeanIdentifier() {
041 return _assetCategoryService.getBeanIdentifier();
042 }
043
044
049 public void setBeanIdentifier(java.lang.String beanIdentifier) {
050 _assetCategoryService.setBeanIdentifier(beanIdentifier);
051 }
052
053 public com.liferay.portlet.asset.model.AssetCategory addCategory(
054 long parentCategoryId,
055 java.util.Map<java.util.Locale, java.lang.String> titleMap,
056 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
057 long vocabularyId, java.lang.String[] categoryProperties,
058 com.liferay.portal.service.ServiceContext serviceContext)
059 throws com.liferay.portal.kernel.exception.PortalException,
060 com.liferay.portal.kernel.exception.SystemException {
061 return _assetCategoryService.addCategory(parentCategoryId, titleMap,
062 descriptionMap, vocabularyId, categoryProperties, serviceContext);
063 }
064
065 public void deleteCategories(long[] categoryIds)
066 throws com.liferay.portal.kernel.exception.PortalException,
067 com.liferay.portal.kernel.exception.SystemException {
068 _assetCategoryService.deleteCategories(categoryIds);
069 }
070
071 public void deleteCategory(long categoryId)
072 throws com.liferay.portal.kernel.exception.PortalException,
073 com.liferay.portal.kernel.exception.SystemException {
074 _assetCategoryService.deleteCategory(categoryId);
075 }
076
077 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
078 java.lang.String className, long classPK)
079 throws com.liferay.portal.kernel.exception.PortalException,
080 com.liferay.portal.kernel.exception.SystemException {
081 return _assetCategoryService.getCategories(className, classPK);
082 }
083
084 public com.liferay.portlet.asset.model.AssetCategory getCategory(
085 long categoryId)
086 throws com.liferay.portal.kernel.exception.PortalException,
087 com.liferay.portal.kernel.exception.SystemException {
088 return _assetCategoryService.getCategory(categoryId);
089 }
090
091 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
092 long parentCategoryId)
093 throws com.liferay.portal.kernel.exception.PortalException,
094 com.liferay.portal.kernel.exception.SystemException {
095 return _assetCategoryService.getChildCategories(parentCategoryId);
096 }
097
098 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
099 long parentCategoryId, int start, int end,
100 com.liferay.portal.kernel.util.OrderByComparator obc)
101 throws com.liferay.portal.kernel.exception.PortalException,
102 com.liferay.portal.kernel.exception.SystemException {
103 return _assetCategoryService.getChildCategories(parentCategoryId,
104 start, end, obc);
105 }
106
107 public com.liferay.portal.kernel.json.JSONArray getJSONSearch(
108 long groupId, java.lang.String name, long[] vocabularyIds, int start,
109 int end)
110 throws com.liferay.portal.kernel.exception.PortalException,
111 com.liferay.portal.kernel.exception.SystemException {
112 return _assetCategoryService.getJSONSearch(groupId, name,
113 vocabularyIds, start, end);
114 }
115
116 public com.liferay.portal.kernel.json.JSONObject getJSONVocabularyCategories(
117 long vocabularyId, int start, int end,
118 com.liferay.portal.kernel.util.OrderByComparator obc)
119 throws com.liferay.portal.kernel.exception.PortalException,
120 com.liferay.portal.kernel.exception.SystemException {
121 return _assetCategoryService.getJSONVocabularyCategories(vocabularyId,
122 start, end, obc);
123 }
124
125 public com.liferay.portal.kernel.json.JSONObject getJSONVocabularyCategories(
126 long groupId, java.lang.String name, long vocabularyId, int start,
127 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
128 throws com.liferay.portal.kernel.exception.PortalException,
129 com.liferay.portal.kernel.exception.SystemException {
130 return _assetCategoryService.getJSONVocabularyCategories(groupId, name,
131 vocabularyId, start, end, obc);
132 }
133
134 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
135 long vocabularyId, int start, int end,
136 com.liferay.portal.kernel.util.OrderByComparator obc)
137 throws com.liferay.portal.kernel.exception.PortalException,
138 com.liferay.portal.kernel.exception.SystemException {
139 return _assetCategoryService.getVocabularyCategories(vocabularyId,
140 start, end, obc);
141 }
142
143 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
144 long parentCategoryId, long vocabularyId, int start, int end,
145 com.liferay.portal.kernel.util.OrderByComparator obc)
146 throws com.liferay.portal.kernel.exception.PortalException,
147 com.liferay.portal.kernel.exception.SystemException {
148 return _assetCategoryService.getVocabularyCategories(parentCategoryId,
149 vocabularyId, start, end, obc);
150 }
151
152 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
153 long groupId, java.lang.String name, long vocabularyId, int start,
154 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
155 throws com.liferay.portal.kernel.exception.SystemException {
156 return _assetCategoryService.getVocabularyCategories(groupId, name,
157 vocabularyId, start, end, obc);
158 }
159
160 public int getVocabularyCategoriesCount(long groupId, long vocabularyId)
161 throws com.liferay.portal.kernel.exception.SystemException {
162 return _assetCategoryService.getVocabularyCategoriesCount(groupId,
163 vocabularyId);
164 }
165
166 public int getVocabularyCategoriesCount(long groupId,
167 java.lang.String name, long vocabularyId)
168 throws com.liferay.portal.kernel.exception.SystemException {
169 return _assetCategoryService.getVocabularyCategoriesCount(groupId,
170 name, vocabularyId);
171 }
172
173 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
174 long vocabularyId, int start, int end,
175 com.liferay.portal.kernel.util.OrderByComparator obc)
176 throws com.liferay.portal.kernel.exception.PortalException,
177 com.liferay.portal.kernel.exception.SystemException {
178 return _assetCategoryService.getVocabularyRootCategories(vocabularyId,
179 start, end, obc);
180 }
181
182 public com.liferay.portlet.asset.model.AssetCategory moveCategory(
183 long categoryId, long parentCategoryId, long vocabularyId,
184 com.liferay.portal.service.ServiceContext serviceContext)
185 throws com.liferay.portal.kernel.exception.PortalException,
186 com.liferay.portal.kernel.exception.SystemException {
187 return _assetCategoryService.moveCategory(categoryId, parentCategoryId,
188 vocabularyId, serviceContext);
189 }
190
191 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> search(
192 long groupId, java.lang.String keywords, long vocabularyId, int start,
193 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
194 throws com.liferay.portal.kernel.exception.PortalException,
195 com.liferay.portal.kernel.exception.SystemException {
196 return _assetCategoryService.search(groupId, keywords, vocabularyId,
197 start, end, obc);
198 }
199
200 public com.liferay.portal.kernel.json.JSONArray search(long groupId,
201 java.lang.String name, java.lang.String[] categoryProperties,
202 int start, int end)
203 throws com.liferay.portal.kernel.exception.PortalException,
204 com.liferay.portal.kernel.exception.SystemException {
205 return _assetCategoryService.search(groupId, name, categoryProperties,
206 start, end);
207 }
208
209 public com.liferay.portlet.asset.model.AssetCategory updateCategory(
210 long categoryId, long parentCategoryId,
211 java.util.Map<java.util.Locale, java.lang.String> titleMap,
212 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
213 long vocabularyId, java.lang.String[] categoryProperties,
214 com.liferay.portal.service.ServiceContext serviceContext)
215 throws com.liferay.portal.kernel.exception.PortalException,
216 com.liferay.portal.kernel.exception.SystemException {
217 return _assetCategoryService.updateCategory(categoryId,
218 parentCategoryId, titleMap, descriptionMap, vocabularyId,
219 categoryProperties, serviceContext);
220 }
221
222
225 public AssetCategoryService getWrappedAssetCategoryService() {
226 return _assetCategoryService;
227 }
228
229
232 public void setWrappedAssetCategoryService(
233 AssetCategoryService assetCategoryService) {
234 _assetCategoryService = assetCategoryService;
235 }
236
237 public AssetCategoryService getWrappedService() {
238 return _assetCategoryService;
239 }
240
241 public void setWrappedService(AssetCategoryService assetCategoryService) {
242 _assetCategoryService = assetCategoryService;
243 }
244
245 private AssetCategoryService _assetCategoryService;
246 }