1
22
23 package com.liferay.portlet.tags.service.impl;
24
25 import com.liferay.portal.PortalException;
26 import com.liferay.portal.SystemException;
27 import com.liferay.portlet.tags.model.TagsProperty;
28 import com.liferay.portlet.tags.service.base.TagsPropertyServiceBaseImpl;
29
30 import java.util.List;
31
32
38 public class TagsPropertyServiceImpl extends TagsPropertyServiceBaseImpl {
39
40 public TagsProperty addProperty(long entryId, String key, String value)
41 throws PortalException, SystemException {
42
43 return tagsPropertyLocalService.addProperty(
44 getUserId(), entryId, key, value);
45 }
46
47 public TagsProperty addProperty(String entryName, String key, String value)
48 throws PortalException, SystemException {
49
50 return tagsPropertyLocalService.addProperty(
51 getUserId(), entryName, key, value);
52 }
53
54 public void deleteProperty(long propertyId)
55 throws PortalException, SystemException {
56
57 tagsPropertyLocalService.deleteProperty(propertyId);
58 }
59
60 public List<TagsProperty> getProperties(long entryId)
61 throws SystemException {
62
63 return tagsPropertyLocalService.getProperties(entryId);
64 }
65
66 public List<TagsProperty> getPropertyValues(long companyId, String key)
67 throws SystemException {
68
69 return tagsPropertyLocalService.getPropertyValues(companyId, key);
70 }
71
72 public TagsProperty updateProperty(
73 long propertyId, String key, String value)
74 throws PortalException, SystemException {
75
76 return tagsPropertyLocalService.updateProperty(propertyId, key, value);
77 }
78
79 }