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
255 public java.lang.String getBeanIdentifier() {
256 return _assetCategoryLocalService.getBeanIdentifier();
257 }
258
259
264 public void setBeanIdentifier(java.lang.String beanIdentifier) {
265 _assetCategoryLocalService.setBeanIdentifier(beanIdentifier);
266 }
267
268 public com.liferay.portlet.asset.model.AssetCategory addCategory(
269 long userId, long parentCategoryId,
270 java.util.Map<java.util.Locale, java.lang.String> titleMap,
271 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
272 long vocabularyId, java.lang.String[] categoryProperties,
273 com.liferay.portal.service.ServiceContext serviceContext)
274 throws com.liferay.portal.kernel.exception.PortalException,
275 com.liferay.portal.kernel.exception.SystemException {
276 return _assetCategoryLocalService.addCategory(userId, parentCategoryId,
277 titleMap, descriptionMap, vocabularyId, categoryProperties,
278 serviceContext);
279 }
280
281 public void addCategoryResources(
282 com.liferay.portlet.asset.model.AssetCategory category,
283 boolean addGroupPermissions, boolean addGuestPermissions)
284 throws com.liferay.portal.kernel.exception.PortalException,
285 com.liferay.portal.kernel.exception.SystemException {
286 _assetCategoryLocalService.addCategoryResources(category,
287 addGroupPermissions, addGuestPermissions);
288 }
289
290 public void addCategoryResources(
291 com.liferay.portlet.asset.model.AssetCategory category,
292 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
293 throws com.liferay.portal.kernel.exception.PortalException,
294 com.liferay.portal.kernel.exception.SystemException {
295 _assetCategoryLocalService.addCategoryResources(category,
296 groupPermissions, guestPermissions);
297 }
298
299 public void deleteCategory(
300 com.liferay.portlet.asset.model.AssetCategory category)
301 throws com.liferay.portal.kernel.exception.PortalException,
302 com.liferay.portal.kernel.exception.SystemException {
303 _assetCategoryLocalService.deleteCategory(category);
304 }
305
306 public void deleteCategory(long categoryId)
307 throws com.liferay.portal.kernel.exception.PortalException,
308 com.liferay.portal.kernel.exception.SystemException {
309 _assetCategoryLocalService.deleteCategory(categoryId);
310 }
311
312 public void deleteVocabularyCategories(long vocabularyId)
313 throws com.liferay.portal.kernel.exception.PortalException,
314 com.liferay.portal.kernel.exception.SystemException {
315 _assetCategoryLocalService.deleteVocabularyCategories(vocabularyId);
316 }
317
318 public com.liferay.portlet.asset.model.AssetCategory fetchCategory(
319 long categoryId)
320 throws com.liferay.portal.kernel.exception.SystemException {
321 return _assetCategoryLocalService.fetchCategory(categoryId);
322 }
323
324 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories()
325 throws com.liferay.portal.kernel.exception.SystemException {
326 return _assetCategoryLocalService.getCategories();
327 }
328
329 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
330 long classNameId, long classPK)
331 throws com.liferay.portal.kernel.exception.SystemException {
332 return _assetCategoryLocalService.getCategories(classNameId, classPK);
333 }
334
335 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
336 java.lang.String className, long classPK)
337 throws com.liferay.portal.kernel.exception.SystemException {
338 return _assetCategoryLocalService.getCategories(className, classPK);
339 }
340
341 public com.liferay.portlet.asset.model.AssetCategory getCategory(
342 long categoryId)
343 throws com.liferay.portal.kernel.exception.PortalException,
344 com.liferay.portal.kernel.exception.SystemException {
345 return _assetCategoryLocalService.getCategory(categoryId);
346 }
347
348 public long[] getCategoryIds(java.lang.String className, long classPK)
349 throws com.liferay.portal.kernel.exception.SystemException {
350 return _assetCategoryLocalService.getCategoryIds(className, classPK);
351 }
352
353 public java.lang.String[] getCategoryNames()
354 throws com.liferay.portal.kernel.exception.SystemException {
355 return _assetCategoryLocalService.getCategoryNames();
356 }
357
358 public java.lang.String[] getCategoryNames(long classNameId, long classPK)
359 throws com.liferay.portal.kernel.exception.SystemException {
360 return _assetCategoryLocalService.getCategoryNames(classNameId, classPK);
361 }
362
363 public java.lang.String[] getCategoryNames(java.lang.String className,
364 long classPK)
365 throws com.liferay.portal.kernel.exception.SystemException {
366 return _assetCategoryLocalService.getCategoryNames(className, classPK);
367 }
368
369 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
370 long parentCategoryId)
371 throws com.liferay.portal.kernel.exception.SystemException {
372 return _assetCategoryLocalService.getChildCategories(parentCategoryId);
373 }
374
375 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
376 long parentCategoryId, int start, int end,
377 com.liferay.portal.kernel.util.OrderByComparator obc)
378 throws com.liferay.portal.kernel.exception.SystemException {
379 return _assetCategoryLocalService.getChildCategories(parentCategoryId,
380 start, end, obc);
381 }
382
383 public int getChildCategoriesCount(long parentCategoryId)
384 throws com.liferay.portal.kernel.exception.SystemException {
385 return _assetCategoryLocalService.getChildCategoriesCount(parentCategoryId);
386 }
387
388 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getEntryCategories(
389 long entryId)
390 throws com.liferay.portal.kernel.exception.SystemException {
391 return _assetCategoryLocalService.getEntryCategories(entryId);
392 }
393
394 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
395 long vocabularyId, int start, int end,
396 com.liferay.portal.kernel.util.OrderByComparator obc)
397 throws com.liferay.portal.kernel.exception.SystemException {
398 return _assetCategoryLocalService.getVocabularyCategories(vocabularyId,
399 start, end, obc);
400 }
401
402 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
403 long parentCategoryId, long vocabularyId, int start, int end,
404 com.liferay.portal.kernel.util.OrderByComparator obc)
405 throws com.liferay.portal.kernel.exception.SystemException {
406 return _assetCategoryLocalService.getVocabularyCategories(parentCategoryId,
407 vocabularyId, start, end, obc);
408 }
409
410 public int getVocabularyCategoriesCount(long vocabularyId)
411 throws com.liferay.portal.kernel.exception.SystemException {
412 return _assetCategoryLocalService.getVocabularyCategoriesCount(vocabularyId);
413 }
414
415 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
416 long vocabularyId, int start, int end,
417 com.liferay.portal.kernel.util.OrderByComparator obc)
418 throws com.liferay.portal.kernel.exception.SystemException {
419 return _assetCategoryLocalService.getVocabularyRootCategories(vocabularyId,
420 start, end, obc);
421 }
422
423 public void mergeCategories(long fromCategoryId, long toCategoryId)
424 throws com.liferay.portal.kernel.exception.PortalException,
425 com.liferay.portal.kernel.exception.SystemException {
426 _assetCategoryLocalService.mergeCategories(fromCategoryId, toCategoryId);
427 }
428
429 public com.liferay.portlet.asset.model.AssetCategory moveCategory(
430 long categoryId, long parentCategoryId, long vocabularyId,
431 com.liferay.portal.service.ServiceContext serviceContext)
432 throws com.liferay.portal.kernel.exception.PortalException,
433 com.liferay.portal.kernel.exception.SystemException {
434 return _assetCategoryLocalService.moveCategory(categoryId,
435 parentCategoryId, vocabularyId, serviceContext);
436 }
437
438 public void rebuildTree(long groupId, boolean force)
439 throws com.liferay.portal.kernel.exception.SystemException {
440 _assetCategoryLocalService.rebuildTree(groupId, force);
441 }
442
443 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> search(
444 long groupId, java.lang.String name,
445 java.lang.String[] categoryProperties, int start, int end)
446 throws com.liferay.portal.kernel.exception.SystemException {
447 return _assetCategoryLocalService.search(groupId, name,
448 categoryProperties, start, end);
449 }
450
451 public com.liferay.portlet.asset.model.AssetCategory updateCategory(
452 long userId, long categoryId, long parentCategoryId,
453 java.util.Map<java.util.Locale, java.lang.String> titleMap,
454 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
455 long vocabularyId, java.lang.String[] categoryProperties,
456 com.liferay.portal.service.ServiceContext serviceContext)
457 throws com.liferay.portal.kernel.exception.PortalException,
458 com.liferay.portal.kernel.exception.SystemException {
459 return _assetCategoryLocalService.updateCategory(userId, categoryId,
460 parentCategoryId, titleMap, descriptionMap, vocabularyId,
461 categoryProperties, serviceContext);
462 }
463
464
467 public AssetCategoryLocalService getWrappedAssetCategoryLocalService() {
468 return _assetCategoryLocalService;
469 }
470
471
474 public void setWrappedAssetCategoryLocalService(
475 AssetCategoryLocalService assetCategoryLocalService) {
476 _assetCategoryLocalService = assetCategoryLocalService;
477 }
478
479 public AssetCategoryLocalService getWrappedService() {
480 return _assetCategoryLocalService;
481 }
482
483 public void setWrappedService(
484 AssetCategoryLocalService assetCategoryLocalService) {
485 _assetCategoryLocalService = assetCategoryLocalService;
486 }
487
488 private AssetCategoryLocalService _assetCategoryLocalService;
489 }