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.AssetTagProperty;
20 import com.liferay.portlet.asset.service.base.AssetTagPropertyServiceBaseImpl;
21
22 import java.util.List;
23
24
29 public class AssetTagPropertyServiceImpl
30 extends AssetTagPropertyServiceBaseImpl {
31
32 public AssetTagProperty addTagProperty(long tagId, String key, String value)
33 throws PortalException, SystemException {
34
35 return assetTagPropertyLocalService.addTagProperty(
36 getUserId(), tagId, key, value);
37 }
38
39 public void deleteTagProperty(long tagPropertyId)
40 throws PortalException, SystemException {
41
42 assetTagPropertyLocalService.deleteTagProperty(tagPropertyId);
43 }
44
45 public List<AssetTagProperty> getTagProperties(long tagId)
46 throws SystemException {
47
48 return assetTagPropertyLocalService.getTagProperties(tagId);
49 }
50
51 public List<AssetTagProperty> getTagPropertyValues(
52 long companyId, String key)
53 throws SystemException {
54
55 return assetTagPropertyLocalService.getTagPropertyValues(
56 companyId, key);
57 }
58
59 public AssetTagProperty updateTagProperty(
60 long tagPropertyId, String key, String value)
61 throws PortalException, SystemException {
62
63 return assetTagPropertyLocalService.updateTagProperty(
64 tagPropertyId, key, value);
65 }
66
67 }