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 getProperties(long entryId) throws SystemException {
61 return tagsPropertyLocalService.getProperties(entryId);
62 }
63
64 public List getPropertyValues(long companyId, String key)
65 throws SystemException {
66
67 return tagsPropertyLocalService.getPropertyValues(companyId, key);
68 }
69
70 public TagsProperty updateProperty(
71 long propertyId, String key, String value)
72 throws PortalException, SystemException {
73
74 return tagsPropertyLocalService.updateProperty(propertyId, key, value);
75 }
76
77 }