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