1
14
15 package com.liferay.portlet.asset.service.impl;
16
17 import com.liferay.portal.kernel.exception.PortalException;
18 import com.liferay.portal.kernel.exception.SystemException;
19 import com.liferay.portlet.asset.model.AssetCategoryProperty;
20 import com.liferay.portlet.asset.service.base.AssetCategoryPropertyServiceBaseImpl;
21
22 import java.util.List;
23
24
31 public class AssetCategoryPropertyServiceImpl
32 extends AssetCategoryPropertyServiceBaseImpl {
33
34 public AssetCategoryProperty addCategoryProperty(
35 long entryId, String key, String value)
36 throws PortalException, SystemException {
37
38 return assetCategoryPropertyLocalService.addCategoryProperty(
39 getUserId(), entryId, key, value);
40 }
41
42 public void deleteCategoryProperty(long categoryPropertyId)
43 throws PortalException, SystemException {
44
45 assetCategoryPropertyLocalService.deleteCategoryProperty(
46 categoryPropertyId);
47 }
48
49 public List<AssetCategoryProperty> getCategoryProperties(long entryId)
50 throws SystemException {
51
52 return assetCategoryPropertyLocalService.getCategoryProperties(entryId);
53 }
54
55 public List<AssetCategoryProperty> getCategoryPropertyValues(
56 long companyId, String key)
57 throws SystemException {
58
59 return assetCategoryPropertyLocalService.getCategoryPropertyValues(
60 companyId, key);
61 }
62
63 public AssetCategoryProperty updateCategoryProperty(
64 long categoryPropertyId, String key, String value)
65 throws PortalException, SystemException {
66
67 return assetCategoryPropertyLocalService.updateCategoryProperty(
68 categoryPropertyId, key, value);
69 }
70
71 }