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 @Override
091 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
092 java.lang.String className, long classPK)
093 throws com.liferay.portal.kernel.exception.PortalException {
094 return _assetCategoryService.getCategories(className, classPK);
095 }
096
097 @Override
098 public com.liferay.portlet.asset.model.AssetCategory getCategory(
099 long categoryId)
100 throws com.liferay.portal.kernel.exception.PortalException {
101 return _assetCategoryService.getCategory(categoryId);
102 }
103
104 @Override
105 public java.lang.String getCategoryPath(long categoryId)
106 throws com.liferay.portal.kernel.exception.PortalException {
107 return _assetCategoryService.getCategoryPath(categoryId);
108 }
109
110 @Override
111 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
112 long parentCategoryId)
113 throws com.liferay.portal.kernel.exception.PortalException {
114 return _assetCategoryService.getChildCategories(parentCategoryId);
115 }
116
117 @Override
118 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
119 long parentCategoryId, int start, int end,
120 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
121 throws com.liferay.portal.kernel.exception.PortalException {
122 return _assetCategoryService.getChildCategories(parentCategoryId,
123 start, end, obc);
124 }
125
126
130 @Deprecated
131 @Override
132 public com.liferay.portal.kernel.json.JSONArray getJSONSearch(
133 long groupId, java.lang.String name, long[] vocabularyIds, int start,
134 int end) throws com.liferay.portal.kernel.exception.PortalException {
135 return _assetCategoryService.getJSONSearch(groupId, name,
136 vocabularyIds, start, end);
137 }
138
139
144 @Deprecated
145 @Override
146 public com.liferay.portal.kernel.json.JSONObject getJSONVocabularyCategories(
147 long groupId, java.lang.String name, long vocabularyId, int start,
148 int end,
149 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
150 throws com.liferay.portal.kernel.exception.PortalException {
151 return _assetCategoryService.getJSONVocabularyCategories(groupId, name,
152 vocabularyId, start, end, obc);
153 }
154
155
160 @Deprecated
161 @Override
162 public com.liferay.portal.kernel.json.JSONObject getJSONVocabularyCategories(
163 long vocabularyId, int start, int end,
164 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
165 throws com.liferay.portal.kernel.exception.PortalException {
166 return _assetCategoryService.getJSONVocabularyCategories(vocabularyId,
167 start, end, obc);
168 }
169
170
175 @Override
176 public java.lang.String getOSGiServiceIdentifier() {
177 return _assetCategoryService.getOSGiServiceIdentifier();
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,
331 long parentCategoryId, int start, int end,
332 com.liferay.portal.kernel.search.Sort sort)
333 throws com.liferay.portal.kernel.exception.PortalException {
334 return _assetCategoryService.searchCategoriesDisplay(groupId, title,
335 vocabularyId, parentCategoryId, start, end, sort);
336 }
337
338 @Override
339 public com.liferay.portlet.asset.model.AssetCategoryDisplay searchCategoriesDisplay(
340 long groupId, java.lang.String title, long vocabularyId, int start,
341 int end) throws com.liferay.portal.kernel.exception.PortalException {
342 return _assetCategoryService.searchCategoriesDisplay(groupId, title,
343 vocabularyId, start, end);
344 }
345
346 @Override
347 public com.liferay.portlet.asset.model.AssetCategoryDisplay searchCategoriesDisplay(
348 long[] groupIds, java.lang.String title, long[] parentCategoryIds,
349 long[] vocabularyIds, int start, int end)
350 throws com.liferay.portal.kernel.exception.PortalException {
351 return _assetCategoryService.searchCategoriesDisplay(groupIds, title,
352 parentCategoryIds, vocabularyIds, start, end);
353 }
354
355 @Override
356 public com.liferay.portlet.asset.model.AssetCategoryDisplay searchCategoriesDisplay(
357 long[] groupIds, java.lang.String title, long[] vocabularyIds,
358 long[] parentCategoryIds, int start, int end,
359 com.liferay.portal.kernel.search.Sort sort)
360 throws com.liferay.portal.kernel.exception.PortalException {
361 return _assetCategoryService.searchCategoriesDisplay(groupIds, title,
362 vocabularyIds, parentCategoryIds, start, end, sort);
363 }
364
365 @Override
366 public com.liferay.portlet.asset.model.AssetCategoryDisplay searchCategoriesDisplay(
367 long[] groupIds, java.lang.String title, long[] vocabularyIds,
368 int start, int end)
369 throws com.liferay.portal.kernel.exception.PortalException {
370 return _assetCategoryService.searchCategoriesDisplay(groupIds, title,
371 vocabularyIds, start, end);
372 }
373
374 @Override
375 public com.liferay.portlet.asset.model.AssetCategory updateCategory(
376 long categoryId, long parentCategoryId,
377 java.util.Map<java.util.Locale, java.lang.String> titleMap,
378 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
379 long vocabularyId, java.lang.String[] categoryProperties,
380 com.liferay.portal.service.ServiceContext serviceContext)
381 throws com.liferay.portal.kernel.exception.PortalException {
382 return _assetCategoryService.updateCategory(categoryId,
383 parentCategoryId, titleMap, descriptionMap, vocabularyId,
384 categoryProperties, serviceContext);
385 }
386
387 @Override
388 public AssetCategoryService getWrappedService() {
389 return _assetCategoryService;
390 }
391
392 @Override
393 public void setWrappedService(AssetCategoryService assetCategoryService) {
394 _assetCategoryService = assetCategoryService;
395 }
396
397 private AssetCategoryService _assetCategoryService;
398 }