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