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 @Override
037 public com.liferay.portlet.asset.model.AssetCategory addCategory(
038 long groupId, long parentCategoryId,
039 java.util.Map<java.util.Locale, java.lang.String> titleMap,
040 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
041 long vocabularyId, java.lang.String[] categoryProperties,
042 com.liferay.portal.service.ServiceContext serviceContext)
043 throws com.liferay.portal.kernel.exception.PortalException {
044 return _assetCategoryService.addCategory(groupId, parentCategoryId,
045 titleMap, descriptionMap, vocabularyId, categoryProperties,
046 serviceContext);
047 }
048
049 @Override
050 public com.liferay.portlet.asset.model.AssetCategory addCategory(
051 long groupId, java.lang.String title, long vocabularyId,
052 com.liferay.portal.service.ServiceContext serviceContext)
053 throws com.liferay.portal.kernel.exception.PortalException {
054 return _assetCategoryService.addCategory(groupId, title, vocabularyId,
055 serviceContext);
056 }
057
058 @Override
059 public void deleteCategories(long[] categoryIds)
060 throws com.liferay.portal.kernel.exception.PortalException {
061 _assetCategoryService.deleteCategories(categoryIds);
062 }
063
064
067 @Deprecated
068 @Override
069 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> deleteCategories(
070 long[] categoryIds,
071 com.liferay.portal.service.ServiceContext serviceContext)
072 throws com.liferay.portal.kernel.exception.PortalException {
073 return _assetCategoryService.deleteCategories(categoryIds,
074 serviceContext);
075 }
076
077 @Override
078 public void deleteCategory(long categoryId)
079 throws com.liferay.portal.kernel.exception.PortalException {
080 _assetCategoryService.deleteCategory(categoryId);
081 }
082
083 @Override
084 public com.liferay.portlet.asset.model.AssetCategory fetchCategory(
085 long categoryId)
086 throws com.liferay.portal.kernel.exception.PortalException {
087 return _assetCategoryService.fetchCategory(categoryId);
088 }
089
090
095 @Override
096 public java.lang.String getBeanIdentifier() {
097 return _assetCategoryService.getBeanIdentifier();
098 }
099
100 @Override
101 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
102 java.lang.String className, long classPK)
103 throws com.liferay.portal.kernel.exception.PortalException {
104 return _assetCategoryService.getCategories(className, classPK);
105 }
106
107 @Override
108 public com.liferay.portlet.asset.model.AssetCategory getCategory(
109 long categoryId)
110 throws com.liferay.portal.kernel.exception.PortalException {
111 return _assetCategoryService.getCategory(categoryId);
112 }
113
114 @Override
115 public java.lang.String getCategoryPath(long categoryId)
116 throws com.liferay.portal.kernel.exception.PortalException {
117 return _assetCategoryService.getCategoryPath(categoryId);
118 }
119
120 @Override
121 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
122 long parentCategoryId)
123 throws com.liferay.portal.kernel.exception.PortalException {
124 return _assetCategoryService.getChildCategories(parentCategoryId);
125 }
126
127 @Override
128 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
129 long parentCategoryId, int start, int end,
130 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
131 throws com.liferay.portal.kernel.exception.PortalException {
132 return _assetCategoryService.getChildCategories(parentCategoryId,
133 start, end, obc);
134 }
135
136
140 @Deprecated
141 @Override
142 public com.liferay.portal.kernel.json.JSONArray getJSONSearch(
143 long groupId, java.lang.String name, long[] vocabularyIds, int start,
144 int end) throws com.liferay.portal.kernel.exception.PortalException {
145 return _assetCategoryService.getJSONSearch(groupId, name,
146 vocabularyIds, start, end);
147 }
148
149
154 @Deprecated
155 @Override
156 public com.liferay.portal.kernel.json.JSONObject getJSONVocabularyCategories(
157 long groupId, java.lang.String name, long vocabularyId, int start,
158 int end,
159 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
160 throws com.liferay.portal.kernel.exception.PortalException {
161 return _assetCategoryService.getJSONVocabularyCategories(groupId, name,
162 vocabularyId, start, end, obc);
163 }
164
165
170 @Deprecated
171 @Override
172 public com.liferay.portal.kernel.json.JSONObject getJSONVocabularyCategories(
173 long vocabularyId, int start, int end,
174 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
175 throws com.liferay.portal.kernel.exception.PortalException {
176 return _assetCategoryService.getJSONVocabularyCategories(vocabularyId,
177 start, end, obc);
178 }
179
180 @Override
181 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
182 long groupId, java.lang.String name, long vocabularyId, int start,
183 int end,
184 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc) {
185 return _assetCategoryService.getVocabularyCategories(groupId, name,
186 vocabularyId, start, end, obc);
187 }
188
189 @Override
190 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
191 long groupId, long parentCategoryId, long vocabularyId, int start,
192 int end,
193 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc) {
194 return _assetCategoryService.getVocabularyCategories(groupId,
195 parentCategoryId, vocabularyId, start, end, obc);
196 }
197
198 @Override
199 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
200 long parentCategoryId, long vocabularyId, int start, int end,
201 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
202 throws com.liferay.portal.kernel.exception.PortalException {
203 return _assetCategoryService.getVocabularyCategories(parentCategoryId,
204 vocabularyId, start, end, obc);
205 }
206
207 @Override
208 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
209 long vocabularyId, int start, int end,
210 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
211 throws com.liferay.portal.kernel.exception.PortalException {
212 return _assetCategoryService.getVocabularyCategories(vocabularyId,
213 start, end, obc);
214 }
215
216 @Override
217 public int getVocabularyCategoriesCount(long groupId,
218 java.lang.String name, long vocabularyId) {
219 return _assetCategoryService.getVocabularyCategoriesCount(groupId,
220 name, vocabularyId);
221 }
222
223 @Override
224 public int getVocabularyCategoriesCount(long groupId, long parentCategory,
225 long vocabularyId) {
226 return _assetCategoryService.getVocabularyCategoriesCount(groupId,
227 parentCategory, vocabularyId);
228 }
229
230 @Override
231 public int getVocabularyCategoriesCount(long groupId, long vocabularyId) {
232 return _assetCategoryService.getVocabularyCategoriesCount(groupId,
233 vocabularyId);
234 }
235
236 @Override
237 public com.liferay.portlet.asset.model.AssetCategoryDisplay getVocabularyCategoriesDisplay(
238 long groupId, java.lang.String name, long vocabularyId, int start,
239 int end,
240 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
241 throws com.liferay.portal.kernel.exception.PortalException {
242 return _assetCategoryService.getVocabularyCategoriesDisplay(groupId,
243 name, vocabularyId, start, end, obc);
244 }
245
246 @Override
247 public com.liferay.portlet.asset.model.AssetCategoryDisplay getVocabularyCategoriesDisplay(
248 long vocabularyId, int start, int end,
249 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
250 throws com.liferay.portal.kernel.exception.PortalException {
251 return _assetCategoryService.getVocabularyCategoriesDisplay(vocabularyId,
252 start, end, obc);
253 }
254
255 @Override
256 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
257 long groupId, long vocabularyId, int start, int end,
258 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc) {
259 return _assetCategoryService.getVocabularyRootCategories(groupId,
260 vocabularyId, start, end, obc);
261 }
262
263
268 @Deprecated
269 @Override
270 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
271 long vocabularyId, int start, int end,
272 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
273 throws com.liferay.portal.kernel.exception.PortalException {
274 return _assetCategoryService.getVocabularyRootCategories(vocabularyId,
275 start, end, obc);
276 }
277
278 @Override
279 public int getVocabularyRootCategoriesCount(long groupId, long vocabularyId) {
280 return _assetCategoryService.getVocabularyRootCategoriesCount(groupId,
281 vocabularyId);
282 }
283
284 @Override
285 public com.liferay.portlet.asset.model.AssetCategory moveCategory(
286 long categoryId, long parentCategoryId, long vocabularyId,
287 com.liferay.portal.service.ServiceContext serviceContext)
288 throws com.liferay.portal.kernel.exception.PortalException {
289 return _assetCategoryService.moveCategory(categoryId, parentCategoryId,
290 vocabularyId, serviceContext);
291 }
292
293 @Override
294 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> search(
295 long groupId, java.lang.String keywords, long vocabularyId, int start,
296 int end,
297 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc) {
298 return _assetCategoryService.search(groupId, keywords, vocabularyId,
299 start, end, obc);
300 }
301
302 @Override
303 public com.liferay.portal.kernel.json.JSONArray search(long groupId,
304 java.lang.String name, java.lang.String[] categoryProperties,
305 int start, int end)
306 throws com.liferay.portal.kernel.exception.PortalException {
307 return _assetCategoryService.search(groupId, name, categoryProperties,
308 start, end);
309 }
310
311 @Override
312 public com.liferay.portal.kernel.json.JSONArray search(long[] groupIds,
313 java.lang.String name, long[] vocabularyIds, int start, int end)
314 throws com.liferay.portal.kernel.exception.PortalException {
315 return _assetCategoryService.search(groupIds, name, vocabularyIds,
316 start, end);
317 }
318
319 @Override
320 public com.liferay.portlet.asset.model.AssetCategoryDisplay searchCategoriesDisplay(
321 long groupId, java.lang.String title, long parentCategoryId,
322 long vocabularyId, int start, int end)
323 throws com.liferay.portal.kernel.exception.PortalException {
324 return _assetCategoryService.searchCategoriesDisplay(groupId, title,
325 parentCategoryId, vocabularyId, start, end);
326 }
327
328 @Override
329 public com.liferay.portlet.asset.model.AssetCategoryDisplay searchCategoriesDisplay(
330 long groupId, java.lang.String title, long vocabularyId, int start,
331 int end) throws com.liferay.portal.kernel.exception.PortalException {
332 return _assetCategoryService.searchCategoriesDisplay(groupId, title,
333 vocabularyId, start, end);
334 }
335
336 @Override
337 public com.liferay.portlet.asset.model.AssetCategoryDisplay searchCategoriesDisplay(
338 long[] groupIds, java.lang.String title, long[] parentCategoryIds,
339 long[] vocabularyIds, int start, int end)
340 throws com.liferay.portal.kernel.exception.PortalException {
341 return _assetCategoryService.searchCategoriesDisplay(groupIds, title,
342 parentCategoryIds, vocabularyIds, start, end);
343 }
344
345 @Override
346 public com.liferay.portlet.asset.model.AssetCategoryDisplay searchCategoriesDisplay(
347 long[] groupIds, java.lang.String title, long[] vocabularyIds,
348 int start, int end)
349 throws com.liferay.portal.kernel.exception.PortalException {
350 return _assetCategoryService.searchCategoriesDisplay(groupIds, title,
351 vocabularyIds, start, end);
352 }
353
354
359 @Override
360 public void setBeanIdentifier(java.lang.String beanIdentifier) {
361 _assetCategoryService.setBeanIdentifier(beanIdentifier);
362 }
363
364 @Override
365 public com.liferay.portlet.asset.model.AssetCategory updateCategory(
366 long categoryId, long parentCategoryId,
367 java.util.Map<java.util.Locale, java.lang.String> titleMap,
368 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
369 long vocabularyId, java.lang.String[] categoryProperties,
370 com.liferay.portal.service.ServiceContext serviceContext)
371 throws com.liferay.portal.kernel.exception.PortalException {
372 return _assetCategoryService.updateCategory(categoryId,
373 parentCategoryId, titleMap, descriptionMap, vocabularyId,
374 categoryProperties, serviceContext);
375 }
376
377
380 @Deprecated
381 public AssetCategoryService getWrappedAssetCategoryService() {
382 return _assetCategoryService;
383 }
384
385
388 @Deprecated
389 public void setWrappedAssetCategoryService(
390 AssetCategoryService assetCategoryService) {
391 _assetCategoryService = assetCategoryService;
392 }
393
394 @Override
395 public AssetCategoryService getWrappedService() {
396 return _assetCategoryService;
397 }
398
399 @Override
400 public void setWrappedService(AssetCategoryService assetCategoryService) {
401 _assetCategoryService = assetCategoryService;
402 }
403
404 private AssetCategoryService _assetCategoryService;
405 }