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 getProperties(long entryId)
81 throws com.liferay.portal.SystemException, java.rmi.RemoteException {
82 TagsPropertyService tagsPropertyService = TagsPropertyServiceFactory.getService();
83
84 return tagsPropertyService.getProperties(entryId);
85 }
86
87 public static java.util.List getPropertyValues(long companyId,
88 java.lang.String key)
89 throws com.liferay.portal.SystemException, java.rmi.RemoteException {
90 TagsPropertyService tagsPropertyService = TagsPropertyServiceFactory.getService();
91
92 return tagsPropertyService.getPropertyValues(companyId, key);
93 }
94
95 public static com.liferay.portlet.tags.model.TagsProperty updateProperty(
96 long propertyId, java.lang.String key, java.lang.String value)
97 throws com.liferay.portal.PortalException,
98 com.liferay.portal.SystemException, java.rmi.RemoteException {
99 TagsPropertyService tagsPropertyService = TagsPropertyServiceFactory.getService();
100
101 return tagsPropertyService.updateProperty(propertyId, key, value);
102 }
103 }