001
014
015 package com.liferay.portlet.asset.service;
016
017
026 public class AssetCategoryLocalServiceWrapper
027 implements AssetCategoryLocalService {
028 public AssetCategoryLocalServiceWrapper(
029 AssetCategoryLocalService assetCategoryLocalService) {
030 _assetCategoryLocalService = assetCategoryLocalService;
031 }
032
033
040 public com.liferay.portlet.asset.model.AssetCategory addAssetCategory(
041 com.liferay.portlet.asset.model.AssetCategory assetCategory)
042 throws com.liferay.portal.kernel.exception.SystemException {
043 return _assetCategoryLocalService.addAssetCategory(assetCategory);
044 }
045
046
052 public com.liferay.portlet.asset.model.AssetCategory createAssetCategory(
053 long categoryId) {
054 return _assetCategoryLocalService.createAssetCategory(categoryId);
055 }
056
057
064 public void deleteAssetCategory(long categoryId)
065 throws com.liferay.portal.kernel.exception.PortalException,
066 com.liferay.portal.kernel.exception.SystemException {
067 _assetCategoryLocalService.deleteAssetCategory(categoryId);
068 }
069
070
076 public void deleteAssetCategory(
077 com.liferay.portlet.asset.model.AssetCategory assetCategory)
078 throws com.liferay.portal.kernel.exception.SystemException {
079 _assetCategoryLocalService.deleteAssetCategory(assetCategory);
080 }
081
082
089 @SuppressWarnings("rawtypes")
090 public java.util.List dynamicQuery(
091 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
092 throws com.liferay.portal.kernel.exception.SystemException {
093 return _assetCategoryLocalService.dynamicQuery(dynamicQuery);
094 }
095
096
109 @SuppressWarnings("rawtypes")
110 public java.util.List dynamicQuery(
111 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
112 int end) throws com.liferay.portal.kernel.exception.SystemException {
113 return _assetCategoryLocalService.dynamicQuery(dynamicQuery, start, end);
114 }
115
116
130 @SuppressWarnings("rawtypes")
131 public java.util.List dynamicQuery(
132 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
133 int end,
134 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
135 throws com.liferay.portal.kernel.exception.SystemException {
136 return _assetCategoryLocalService.dynamicQuery(dynamicQuery, start,
137 end, orderByComparator);
138 }
139
140
147 public long dynamicQueryCount(
148 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
149 throws com.liferay.portal.kernel.exception.SystemException {
150 return _assetCategoryLocalService.dynamicQueryCount(dynamicQuery);
151 }
152
153
161 public com.liferay.portlet.asset.model.AssetCategory getAssetCategory(
162 long categoryId)
163 throws com.liferay.portal.kernel.exception.PortalException,
164 com.liferay.portal.kernel.exception.SystemException {
165 return _assetCategoryLocalService.getAssetCategory(categoryId);
166 }
167
168 public com.liferay.portal.model.PersistedModel getPersistedModel(
169 java.io.Serializable primaryKeyObj)
170 throws com.liferay.portal.kernel.exception.PortalException,
171 com.liferay.portal.kernel.exception.SystemException {
172 return _assetCategoryLocalService.getPersistedModel(primaryKeyObj);
173 }
174
175
184 public com.liferay.portlet.asset.model.AssetCategory getAssetCategoryByUuidAndGroupId(
185 java.lang.String uuid, long groupId)
186 throws com.liferay.portal.kernel.exception.PortalException,
187 com.liferay.portal.kernel.exception.SystemException {
188 return _assetCategoryLocalService.getAssetCategoryByUuidAndGroupId(uuid,
189 groupId);
190 }
191
192
204 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetCategories(
205 int start, int end)
206 throws com.liferay.portal.kernel.exception.SystemException {
207 return _assetCategoryLocalService.getAssetCategories(start, end);
208 }
209
210
216 public int getAssetCategoriesCount()
217 throws com.liferay.portal.kernel.exception.SystemException {
218 return _assetCategoryLocalService.getAssetCategoriesCount();
219 }
220
221
228 public com.liferay.portlet.asset.model.AssetCategory updateAssetCategory(
229 com.liferay.portlet.asset.model.AssetCategory assetCategory)
230 throws com.liferay.portal.kernel.exception.SystemException {
231 return _assetCategoryLocalService.updateAssetCategory(assetCategory);
232 }
233
234
242 public com.liferay.portlet.asset.model.AssetCategory updateAssetCategory(
243 com.liferay.portlet.asset.model.AssetCategory assetCategory,
244 boolean merge)
245 throws com.liferay.portal.kernel.exception.SystemException {
246 return _assetCategoryLocalService.updateAssetCategory(assetCategory,
247 merge);
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 long vocabularyId, java.lang.String[] categoryProperties,
272 com.liferay.portal.service.ServiceContext serviceContext)
273 throws com.liferay.portal.kernel.exception.PortalException,
274 com.liferay.portal.kernel.exception.SystemException {
275 return _assetCategoryLocalService.addCategory(userId, parentCategoryId,
276 titleMap, vocabularyId, categoryProperties, serviceContext);
277 }
278
279 public void addCategoryResources(
280 com.liferay.portlet.asset.model.AssetCategory category,
281 boolean addCommunityPermissions, boolean addGuestPermissions)
282 throws com.liferay.portal.kernel.exception.PortalException,
283 com.liferay.portal.kernel.exception.SystemException {
284 _assetCategoryLocalService.addCategoryResources(category,
285 addCommunityPermissions, addGuestPermissions);
286 }
287
288 public void addCategoryResources(
289 com.liferay.portlet.asset.model.AssetCategory category,
290 java.lang.String[] communityPermissions,
291 java.lang.String[] guestPermissions)
292 throws com.liferay.portal.kernel.exception.PortalException,
293 com.liferay.portal.kernel.exception.SystemException {
294 _assetCategoryLocalService.addCategoryResources(category,
295 communityPermissions, guestPermissions);
296 }
297
298 public void deleteCategory(
299 com.liferay.portlet.asset.model.AssetCategory category)
300 throws com.liferay.portal.kernel.exception.PortalException,
301 com.liferay.portal.kernel.exception.SystemException {
302 _assetCategoryLocalService.deleteCategory(category);
303 }
304
305 public void deleteCategory(long categoryId)
306 throws com.liferay.portal.kernel.exception.PortalException,
307 com.liferay.portal.kernel.exception.SystemException {
308 _assetCategoryLocalService.deleteCategory(categoryId);
309 }
310
311 public void deleteVocabularyCategories(long vocabularyId)
312 throws com.liferay.portal.kernel.exception.PortalException,
313 com.liferay.portal.kernel.exception.SystemException {
314 _assetCategoryLocalService.deleteVocabularyCategories(vocabularyId);
315 }
316
317 public java.lang.String[] getCategoryNames()
318 throws com.liferay.portal.kernel.exception.SystemException {
319 return _assetCategoryLocalService.getCategoryNames();
320 }
321
322 public java.lang.String[] getCategoryNames(long classNameId, long classPK)
323 throws com.liferay.portal.kernel.exception.SystemException {
324 return _assetCategoryLocalService.getCategoryNames(classNameId, classPK);
325 }
326
327 public java.lang.String[] getCategoryNames(java.lang.String className,
328 long classPK)
329 throws com.liferay.portal.kernel.exception.SystemException {
330 return _assetCategoryLocalService.getCategoryNames(className, classPK);
331 }
332
333 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories()
334 throws com.liferay.portal.kernel.exception.SystemException {
335 return _assetCategoryLocalService.getCategories();
336 }
337
338 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
339 long classNameId, long classPK)
340 throws com.liferay.portal.kernel.exception.SystemException {
341 return _assetCategoryLocalService.getCategories(classNameId, classPK);
342 }
343
344 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
345 java.lang.String className, long classPK)
346 throws com.liferay.portal.kernel.exception.SystemException {
347 return _assetCategoryLocalService.getCategories(className, classPK);
348 }
349
350 public com.liferay.portlet.asset.model.AssetCategory getCategory(
351 long categoryId)
352 throws com.liferay.portal.kernel.exception.PortalException,
353 com.liferay.portal.kernel.exception.SystemException {
354 return _assetCategoryLocalService.getCategory(categoryId);
355 }
356
357 public long[] getCategoryIds(java.lang.String className, long classPK)
358 throws com.liferay.portal.kernel.exception.SystemException {
359 return _assetCategoryLocalService.getCategoryIds(className, classPK);
360 }
361
362 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
363 long parentCategoryId)
364 throws com.liferay.portal.kernel.exception.SystemException {
365 return _assetCategoryLocalService.getChildCategories(parentCategoryId);
366 }
367
368 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
369 long parentCategoryId, int start, int end,
370 com.liferay.portal.kernel.util.OrderByComparator obc)
371 throws com.liferay.portal.kernel.exception.SystemException {
372 return _assetCategoryLocalService.getChildCategories(parentCategoryId,
373 start, end, obc);
374 }
375
376 public int getChildCategoriesCount(long parentCategoryId)
377 throws com.liferay.portal.kernel.exception.SystemException {
378 return _assetCategoryLocalService.getChildCategoriesCount(parentCategoryId);
379 }
380
381 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getEntryCategories(
382 long entryId)
383 throws com.liferay.portal.kernel.exception.SystemException {
384 return _assetCategoryLocalService.getEntryCategories(entryId);
385 }
386
387 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
388 long vocabularyId, int start, int end,
389 com.liferay.portal.kernel.util.OrderByComparator obc)
390 throws com.liferay.portal.kernel.exception.SystemException {
391 return _assetCategoryLocalService.getVocabularyCategories(vocabularyId,
392 start, end, obc);
393 }
394
395 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
396 long parentCategoryId, long vocabularyId, int start, int end,
397 com.liferay.portal.kernel.util.OrderByComparator obc)
398 throws com.liferay.portal.kernel.exception.SystemException {
399 return _assetCategoryLocalService.getVocabularyCategories(parentCategoryId,
400 vocabularyId, start, end, obc);
401 }
402
403 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
404 long vocabularyId, int start, int end,
405 com.liferay.portal.kernel.util.OrderByComparator obc)
406 throws com.liferay.portal.kernel.exception.SystemException {
407 return _assetCategoryLocalService.getVocabularyRootCategories(vocabularyId,
408 start, end, obc);
409 }
410
411 public void mergeCategories(long fromCategoryId, long toCategoryId)
412 throws com.liferay.portal.kernel.exception.PortalException,
413 com.liferay.portal.kernel.exception.SystemException {
414 _assetCategoryLocalService.mergeCategories(fromCategoryId, toCategoryId);
415 }
416
417 public com.liferay.portlet.asset.model.AssetCategory moveCategory(
418 long categoryId, long parentCategoryId, long vocabularyId,
419 com.liferay.portal.service.ServiceContext serviceContext)
420 throws com.liferay.portal.kernel.exception.PortalException,
421 com.liferay.portal.kernel.exception.SystemException {
422 return _assetCategoryLocalService.moveCategory(categoryId,
423 parentCategoryId, vocabularyId, serviceContext);
424 }
425
426 public void rebuildTree(long groupId, boolean force)
427 throws com.liferay.portal.kernel.exception.SystemException {
428 _assetCategoryLocalService.rebuildTree(groupId, force);
429 }
430
431 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> search(
432 long groupId, java.lang.String name,
433 java.lang.String[] categoryProperties, int start, int end)
434 throws com.liferay.portal.kernel.exception.SystemException {
435 return _assetCategoryLocalService.search(groupId, name,
436 categoryProperties, start, end);
437 }
438
439 public com.liferay.portlet.asset.model.AssetCategory updateCategory(
440 long userId, long categoryId, long parentCategoryId,
441 java.util.Map<java.util.Locale, java.lang.String> titleMap,
442 long vocabularyId, java.lang.String[] categoryProperties,
443 com.liferay.portal.service.ServiceContext serviceContext)
444 throws com.liferay.portal.kernel.exception.PortalException,
445 com.liferay.portal.kernel.exception.SystemException {
446 return _assetCategoryLocalService.updateCategory(userId, categoryId,
447 parentCategoryId, titleMap, vocabularyId, categoryProperties,
448 serviceContext);
449 }
450
451 public AssetCategoryLocalService getWrappedAssetCategoryLocalService() {
452 return _assetCategoryLocalService;
453 }
454
455 public void setWrappedAssetCategoryLocalService(
456 AssetCategoryLocalService assetCategoryLocalService) {
457 _assetCategoryLocalService = assetCategoryLocalService;
458 }
459
460 private AssetCategoryLocalService _assetCategoryLocalService;
461 }