1
14
15 package com.liferay.portlet.tags.service.impl;
16
17 import com.liferay.portal.PortalException;
18 import com.liferay.portal.SystemException;
19 import com.liferay.portlet.tags.model.TagsProperty;
20 import com.liferay.portlet.tags.service.base.TagsPropertyServiceBaseImpl;
21
22 import java.util.List;
23
24
29 public class TagsPropertyServiceImpl extends TagsPropertyServiceBaseImpl {
30
31 public TagsProperty addProperty(long entryId, String key, String value)
32 throws PortalException, SystemException {
33
34 return tagsPropertyLocalService.addProperty(
35 getUserId(), entryId, key, value);
36 }
37
38 public TagsProperty addProperty(String entryName, String key, String value)
39 throws PortalException, SystemException {
40
41 return tagsPropertyLocalService.addProperty(
42 getUserId(), entryName, key, value);
43 }
44
45 public void deleteProperty(long propertyId)
46 throws PortalException, SystemException {
47
48 tagsPropertyLocalService.deleteProperty(propertyId);
49 }
50
51 public List<TagsProperty> getProperties(long entryId)
52 throws SystemException {
53
54 return tagsPropertyLocalService.getProperties(entryId);
55 }
56
57 public List<TagsProperty> getPropertyValues(long companyId, String key)
58 throws SystemException {
59
60 return tagsPropertyLocalService.getPropertyValues(companyId, key);
61 }
62
63 public TagsProperty updateProperty(
64 long propertyId, String key, String value)
65 throws PortalException, SystemException {
66
67 return tagsPropertyLocalService.updateProperty(propertyId, key, value);
68 }
69
70 }