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
068 public com.liferay.portlet.asset.model.AssetCategory deleteAssetCategory(
069 long categoryId)
070 throws com.liferay.portal.kernel.exception.PortalException,
071 com.liferay.portal.kernel.exception.SystemException {
072 return _assetCategoryLocalService.deleteAssetCategory(categoryId);
073 }
074
075
082 public com.liferay.portlet.asset.model.AssetCategory deleteAssetCategory(
083 com.liferay.portlet.asset.model.AssetCategory assetCategory)
084 throws com.liferay.portal.kernel.exception.SystemException {
085 return _assetCategoryLocalService.deleteAssetCategory(assetCategory);
086 }
087
088 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
089 return _assetCategoryLocalService.dynamicQuery();
090 }
091
092
099 @SuppressWarnings("rawtypes")
100 public java.util.List dynamicQuery(
101 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
102 throws com.liferay.portal.kernel.exception.SystemException {
103 return _assetCategoryLocalService.dynamicQuery(dynamicQuery);
104 }
105
106
119 @SuppressWarnings("rawtypes")
120 public java.util.List dynamicQuery(
121 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
122 int end) throws com.liferay.portal.kernel.exception.SystemException {
123 return _assetCategoryLocalService.dynamicQuery(dynamicQuery, start, end);
124 }
125
126
140 @SuppressWarnings("rawtypes")
141 public java.util.List dynamicQuery(
142 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
143 int end,
144 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
145 throws com.liferay.portal.kernel.exception.SystemException {
146 return _assetCategoryLocalService.dynamicQuery(dynamicQuery, start,
147 end, orderByComparator);
148 }
149
150
157 public long dynamicQueryCount(
158 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
159 throws com.liferay.portal.kernel.exception.SystemException {
160 return _assetCategoryLocalService.dynamicQueryCount(dynamicQuery);
161 }
162
163 public com.liferay.portlet.asset.model.AssetCategory fetchAssetCategory(
164 long categoryId)
165 throws com.liferay.portal.kernel.exception.SystemException {
166 return _assetCategoryLocalService.fetchAssetCategory(categoryId);
167 }
168
169
177 public com.liferay.portlet.asset.model.AssetCategory getAssetCategory(
178 long categoryId)
179 throws com.liferay.portal.kernel.exception.PortalException,
180 com.liferay.portal.kernel.exception.SystemException {
181 return _assetCategoryLocalService.getAssetCategory(categoryId);
182 }
183
184 public com.liferay.portal.model.PersistedModel getPersistedModel(
185 java.io.Serializable primaryKeyObj)
186 throws com.liferay.portal.kernel.exception.PortalException,
187 com.liferay.portal.kernel.exception.SystemException {
188 return _assetCategoryLocalService.getPersistedModel(primaryKeyObj);
189 }
190
191
200 public com.liferay.portlet.asset.model.AssetCategory getAssetCategoryByUuidAndGroupId(
201 java.lang.String uuid, long groupId)
202 throws com.liferay.portal.kernel.exception.PortalException,
203 com.liferay.portal.kernel.exception.SystemException {
204 return _assetCategoryLocalService.getAssetCategoryByUuidAndGroupId(uuid,
205 groupId);
206 }
207
208
220 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetCategories(
221 int start, int end)
222 throws com.liferay.portal.kernel.exception.SystemException {
223 return _assetCategoryLocalService.getAssetCategories(start, end);
224 }
225
226
232 public int getAssetCategoriesCount()
233 throws com.liferay.portal.kernel.exception.SystemException {
234 return _assetCategoryLocalService.getAssetCategoriesCount();
235 }
236
237
244 public com.liferay.portlet.asset.model.AssetCategory updateAssetCategory(
245 com.liferay.portlet.asset.model.AssetCategory assetCategory)
246 throws com.liferay.portal.kernel.exception.SystemException {
247 return _assetCategoryLocalService.updateAssetCategory(assetCategory);
248 }
249
250
258 public com.liferay.portlet.asset.model.AssetCategory updateAssetCategory(
259 com.liferay.portlet.asset.model.AssetCategory assetCategory,
260 boolean merge)
261 throws com.liferay.portal.kernel.exception.SystemException {
262 return _assetCategoryLocalService.updateAssetCategory(assetCategory,
263 merge);
264 }
265
266
271 public java.lang.String getBeanIdentifier() {
272 return _assetCategoryLocalService.getBeanIdentifier();
273 }
274
275
280 public void setBeanIdentifier(java.lang.String beanIdentifier) {
281 _assetCategoryLocalService.setBeanIdentifier(beanIdentifier);
282 }
283
284 public com.liferay.portlet.asset.model.AssetCategory addCategory(
285 long userId, long parentCategoryId,
286 java.util.Map<java.util.Locale, java.lang.String> titleMap,
287 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
288 long vocabularyId, java.lang.String[] categoryProperties,
289 com.liferay.portal.service.ServiceContext serviceContext)
290 throws com.liferay.portal.kernel.exception.PortalException,
291 com.liferay.portal.kernel.exception.SystemException {
292 return _assetCategoryLocalService.addCategory(userId, parentCategoryId,
293 titleMap, descriptionMap, vocabularyId, categoryProperties,
294 serviceContext);
295 }
296
297 public void addCategoryResources(
298 com.liferay.portlet.asset.model.AssetCategory category,
299 boolean addGroupPermissions, boolean addGuestPermissions)
300 throws com.liferay.portal.kernel.exception.PortalException,
301 com.liferay.portal.kernel.exception.SystemException {
302 _assetCategoryLocalService.addCategoryResources(category,
303 addGroupPermissions, addGuestPermissions);
304 }
305
306 public void addCategoryResources(
307 com.liferay.portlet.asset.model.AssetCategory category,
308 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
309 throws com.liferay.portal.kernel.exception.PortalException,
310 com.liferay.portal.kernel.exception.SystemException {
311 _assetCategoryLocalService.addCategoryResources(category,
312 groupPermissions, guestPermissions);
313 }
314
315 public void deleteCategory(
316 com.liferay.portlet.asset.model.AssetCategory category)
317 throws com.liferay.portal.kernel.exception.PortalException,
318 com.liferay.portal.kernel.exception.SystemException {
319 _assetCategoryLocalService.deleteCategory(category);
320 }
321
322 public void deleteCategory(long categoryId)
323 throws com.liferay.portal.kernel.exception.PortalException,
324 com.liferay.portal.kernel.exception.SystemException {
325 _assetCategoryLocalService.deleteCategory(categoryId);
326 }
327
328 public void deleteVocabularyCategories(long vocabularyId)
329 throws com.liferay.portal.kernel.exception.PortalException,
330 com.liferay.portal.kernel.exception.SystemException {
331 _assetCategoryLocalService.deleteVocabularyCategories(vocabularyId);
332 }
333
334 public com.liferay.portlet.asset.model.AssetCategory fetchCategory(
335 long categoryId)
336 throws com.liferay.portal.kernel.exception.SystemException {
337 return _assetCategoryLocalService.fetchCategory(categoryId);
338 }
339
340 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories()
341 throws com.liferay.portal.kernel.exception.SystemException {
342 return _assetCategoryLocalService.getCategories();
343 }
344
345 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
346 long classNameId, long classPK)
347 throws com.liferay.portal.kernel.exception.SystemException {
348 return _assetCategoryLocalService.getCategories(classNameId, classPK);
349 }
350
351 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
352 java.lang.String className, long classPK)
353 throws com.liferay.portal.kernel.exception.SystemException {
354 return _assetCategoryLocalService.getCategories(className, classPK);
355 }
356
357 public com.liferay.portlet.asset.model.AssetCategory getCategory(
358 long categoryId)
359 throws com.liferay.portal.kernel.exception.PortalException,
360 com.liferay.portal.kernel.exception.SystemException {
361 return _assetCategoryLocalService.getCategory(categoryId);
362 }
363
364 public long[] getCategoryIds(java.lang.String className, long classPK)
365 throws com.liferay.portal.kernel.exception.SystemException {
366 return _assetCategoryLocalService.getCategoryIds(className, classPK);
367 }
368
369 public java.lang.String[] getCategoryNames()
370 throws com.liferay.portal.kernel.exception.SystemException {
371 return _assetCategoryLocalService.getCategoryNames();
372 }
373
374 public java.lang.String[] getCategoryNames(long classNameId, long classPK)
375 throws com.liferay.portal.kernel.exception.SystemException {
376 return _assetCategoryLocalService.getCategoryNames(classNameId, classPK);
377 }
378
379 public java.lang.String[] getCategoryNames(java.lang.String className,
380 long classPK)
381 throws com.liferay.portal.kernel.exception.SystemException {
382 return _assetCategoryLocalService.getCategoryNames(className, classPK);
383 }
384
385 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
386 long parentCategoryId)
387 throws com.liferay.portal.kernel.exception.SystemException {
388 return _assetCategoryLocalService.getChildCategories(parentCategoryId);
389 }
390
391 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
392 long parentCategoryId, int start, int end,
393 com.liferay.portal.kernel.util.OrderByComparator obc)
394 throws com.liferay.portal.kernel.exception.SystemException {
395 return _assetCategoryLocalService.getChildCategories(parentCategoryId,
396 start, end, obc);
397 }
398
399 public int getChildCategoriesCount(long parentCategoryId)
400 throws com.liferay.portal.kernel.exception.SystemException {
401 return _assetCategoryLocalService.getChildCategoriesCount(parentCategoryId);
402 }
403
404 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getEntryCategories(
405 long entryId)
406 throws com.liferay.portal.kernel.exception.SystemException {
407 return _assetCategoryLocalService.getEntryCategories(entryId);
408 }
409
410 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
411 long vocabularyId, int start, int end,
412 com.liferay.portal.kernel.util.OrderByComparator obc)
413 throws com.liferay.portal.kernel.exception.SystemException {
414 return _assetCategoryLocalService.getVocabularyCategories(vocabularyId,
415 start, end, obc);
416 }
417
418 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
419 long parentCategoryId, long vocabularyId, int start, int end,
420 com.liferay.portal.kernel.util.OrderByComparator obc)
421 throws com.liferay.portal.kernel.exception.SystemException {
422 return _assetCategoryLocalService.getVocabularyCategories(parentCategoryId,
423 vocabularyId, start, end, obc);
424 }
425
426 public int getVocabularyCategoriesCount(long vocabularyId)
427 throws com.liferay.portal.kernel.exception.SystemException {
428 return _assetCategoryLocalService.getVocabularyCategoriesCount(vocabularyId);
429 }
430
431 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
432 long vocabularyId, int start, int end,
433 com.liferay.portal.kernel.util.OrderByComparator obc)
434 throws com.liferay.portal.kernel.exception.SystemException {
435 return _assetCategoryLocalService.getVocabularyRootCategories(vocabularyId,
436 start, end, obc);
437 }
438
439 public void mergeCategories(long fromCategoryId, long toCategoryId)
440 throws com.liferay.portal.kernel.exception.PortalException,
441 com.liferay.portal.kernel.exception.SystemException {
442 _assetCategoryLocalService.mergeCategories(fromCategoryId, toCategoryId);
443 }
444
445 public com.liferay.portlet.asset.model.AssetCategory moveCategory(
446 long categoryId, long parentCategoryId, long vocabularyId,
447 com.liferay.portal.service.ServiceContext serviceContext)
448 throws com.liferay.portal.kernel.exception.PortalException,
449 com.liferay.portal.kernel.exception.SystemException {
450 return _assetCategoryLocalService.moveCategory(categoryId,
451 parentCategoryId, vocabularyId, serviceContext);
452 }
453
454 public void rebuildTree(long groupId, boolean force)
455 throws com.liferay.portal.kernel.exception.SystemException {
456 _assetCategoryLocalService.rebuildTree(groupId, force);
457 }
458
459 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> search(
460 long groupId, java.lang.String name,
461 java.lang.String[] categoryProperties, int start, int end)
462 throws com.liferay.portal.kernel.exception.SystemException {
463 return _assetCategoryLocalService.search(groupId, name,
464 categoryProperties, start, end);
465 }
466
467 public com.liferay.portlet.asset.model.AssetCategory updateCategory(
468 long userId, long categoryId, long parentCategoryId,
469 java.util.Map<java.util.Locale, java.lang.String> titleMap,
470 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
471 long vocabularyId, java.lang.String[] categoryProperties,
472 com.liferay.portal.service.ServiceContext serviceContext)
473 throws com.liferay.portal.kernel.exception.PortalException,
474 com.liferay.portal.kernel.exception.SystemException {
475 return _assetCategoryLocalService.updateCategory(userId, categoryId,
476 parentCategoryId, titleMap, descriptionMap, vocabularyId,
477 categoryProperties, serviceContext);
478 }
479
480
483 public AssetCategoryLocalService getWrappedAssetCategoryLocalService() {
484 return _assetCategoryLocalService;
485 }
486
487
490 public void setWrappedAssetCategoryLocalService(
491 AssetCategoryLocalService assetCategoryLocalService) {
492 _assetCategoryLocalService = assetCategoryLocalService;
493 }
494
495 public AssetCategoryLocalService getWrappedService() {
496 return _assetCategoryLocalService;
497 }
498
499 public void setWrappedService(
500 AssetCategoryLocalService assetCategoryLocalService) {
501 _assetCategoryLocalService = assetCategoryLocalService;
502 }
503
504 private AssetCategoryLocalService _assetCategoryLocalService;
505 }