1
22
23 package com.liferay.portlet.tags.service;
24
25
26
53 public class TagsPropertyServiceUtil {
54 public static com.liferay.portlet.tags.model.TagsProperty addProperty(
55 long entryId, java.lang.String key, java.lang.String value)
56 throws com.liferay.portal.PortalException,
57 com.liferay.portal.SystemException, java.rmi.RemoteException {
58 TagsPropertyService tagsPropertyService = TagsPropertyServiceFactory.getService();
59
60 return tagsPropertyService.addProperty(entryId, key, value);
61 }
62
63 public static com.liferay.portlet.tags.model.TagsProperty addProperty(
64 java.lang.String entryName, java.lang.String key, java.lang.String value)
65 throws com.liferay.portal.PortalException,
66 com.liferay.portal.SystemException, java.rmi.RemoteException {
67 TagsPropertyService tagsPropertyService = TagsPropertyServiceFactory.getService();
68
69 return tagsPropertyService.addProperty(entryName, key, value);
70 }
71
72 public static void deleteProperty(long propertyId)
73 throws com.liferay.portal.PortalException,
74 com.liferay.portal.SystemException, java.rmi.RemoteException {
75 TagsPropertyService tagsPropertyService = TagsPropertyServiceFactory.getService();
76
77 tagsPropertyService.deleteProperty(propertyId);
78 }
79
80 public static java.util.List<com.liferay.portlet.tags.model.TagsProperty> getProperties(
81 long entryId)
82 throws com.liferay.portal.SystemException, java.rmi.RemoteException {
83 TagsPropertyService tagsPropertyService = TagsPropertyServiceFactory.getService();
84
85 return tagsPropertyService.getProperties(entryId);
86 }
87
88 public static java.util.List<com.liferay.portlet.tags.model.TagsProperty> getPropertyValues(
89 long companyId, java.lang.String key)
90 throws com.liferay.portal.SystemException, java.rmi.RemoteException {
91 TagsPropertyService tagsPropertyService = TagsPropertyServiceFactory.getService();
92
93 return tagsPropertyService.getPropertyValues(companyId, key);
94 }
95
96 public static com.liferay.portlet.tags.model.TagsProperty updateProperty(
97 long propertyId, java.lang.String key, java.lang.String value)
98 throws com.liferay.portal.PortalException,
99 com.liferay.portal.SystemException, java.rmi.RemoteException {
100 TagsPropertyService tagsPropertyService = TagsPropertyServiceFactory.getService();
101
102 return tagsPropertyService.updateProperty(propertyId, key, value);
103 }
104 }