1
22
23 package com.liferay.portlet.tags.service;
24
25
26
46 public class TagsPropertyLocalServiceUtil {
47 public static com.liferay.portlet.tags.model.TagsProperty addTagsProperty(
48 com.liferay.portlet.tags.model.TagsProperty tagsProperty)
49 throws com.liferay.portal.SystemException {
50 return getService().addTagsProperty(tagsProperty);
51 }
52
53 public static com.liferay.portlet.tags.model.TagsProperty createTagsProperty(
54 long propertyId) {
55 return getService().createTagsProperty(propertyId);
56 }
57
58 public static void deleteTagsProperty(long propertyId)
59 throws com.liferay.portal.PortalException,
60 com.liferay.portal.SystemException {
61 getService().deleteTagsProperty(propertyId);
62 }
63
64 public static void deleteTagsProperty(
65 com.liferay.portlet.tags.model.TagsProperty tagsProperty)
66 throws com.liferay.portal.SystemException {
67 getService().deleteTagsProperty(tagsProperty);
68 }
69
70 public static java.util.List<Object> dynamicQuery(
71 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
72 throws com.liferay.portal.SystemException {
73 return getService().dynamicQuery(dynamicQuery);
74 }
75
76 public static java.util.List<Object> dynamicQuery(
77 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
78 int end) throws com.liferay.portal.SystemException {
79 return getService().dynamicQuery(dynamicQuery, start, end);
80 }
81
82 public static com.liferay.portlet.tags.model.TagsProperty getTagsProperty(
83 long propertyId)
84 throws com.liferay.portal.PortalException,
85 com.liferay.portal.SystemException {
86 return getService().getTagsProperty(propertyId);
87 }
88
89 public static java.util.List<com.liferay.portlet.tags.model.TagsProperty> getTagsProperties(
90 int start, int end) throws com.liferay.portal.SystemException {
91 return getService().getTagsProperties(start, end);
92 }
93
94 public static int getTagsPropertiesCount()
95 throws com.liferay.portal.SystemException {
96 return getService().getTagsPropertiesCount();
97 }
98
99 public static com.liferay.portlet.tags.model.TagsProperty updateTagsProperty(
100 com.liferay.portlet.tags.model.TagsProperty tagsProperty)
101 throws com.liferay.portal.SystemException {
102 return getService().updateTagsProperty(tagsProperty);
103 }
104
105 public static com.liferay.portlet.tags.model.TagsProperty updateTagsProperty(
106 com.liferay.portlet.tags.model.TagsProperty tagsProperty, boolean merge)
107 throws com.liferay.portal.SystemException {
108 return getService().updateTagsProperty(tagsProperty, merge);
109 }
110
111 public static com.liferay.portlet.tags.model.TagsProperty addProperty(
112 long userId, long entryId, java.lang.String key, java.lang.String value)
113 throws com.liferay.portal.PortalException,
114 com.liferay.portal.SystemException {
115 return getService().addProperty(userId, entryId, key, value);
116 }
117
118 public static void deleteProperties(long entryId)
119 throws com.liferay.portal.SystemException {
120 getService().deleteProperties(entryId);
121 }
122
123 public static void deleteProperty(long propertyId)
124 throws com.liferay.portal.PortalException,
125 com.liferay.portal.SystemException {
126 getService().deleteProperty(propertyId);
127 }
128
129 public static void deleteProperty(
130 com.liferay.portlet.tags.model.TagsProperty property)
131 throws com.liferay.portal.SystemException {
132 getService().deleteProperty(property);
133 }
134
135 public static java.util.List<com.liferay.portlet.tags.model.TagsProperty> getProperties()
136 throws com.liferay.portal.SystemException {
137 return getService().getProperties();
138 }
139
140 public static java.util.List<com.liferay.portlet.tags.model.TagsProperty> getProperties(
141 long entryId) throws com.liferay.portal.SystemException {
142 return getService().getProperties(entryId);
143 }
144
145 public static com.liferay.portlet.tags.model.TagsProperty getProperty(
146 long propertyId)
147 throws com.liferay.portal.PortalException,
148 com.liferay.portal.SystemException {
149 return getService().getProperty(propertyId);
150 }
151
152 public static com.liferay.portlet.tags.model.TagsProperty getProperty(
153 long entryId, java.lang.String key)
154 throws com.liferay.portal.PortalException,
155 com.liferay.portal.SystemException {
156 return getService().getProperty(entryId, key);
157 }
158
159 public static java.lang.String[] getPropertyKeys(long groupId)
160 throws com.liferay.portal.SystemException {
161 return getService().getPropertyKeys(groupId);
162 }
163
164 public static java.util.List<com.liferay.portlet.tags.model.TagsProperty> getPropertyValues(
165 long groupId, java.lang.String key)
166 throws com.liferay.portal.SystemException {
167 return getService().getPropertyValues(groupId, key);
168 }
169
170 public static com.liferay.portlet.tags.model.TagsProperty updateProperty(
171 long propertyId, java.lang.String key, java.lang.String value)
172 throws com.liferay.portal.PortalException,
173 com.liferay.portal.SystemException {
174 return getService().updateProperty(propertyId, key, value);
175 }
176
177 public static TagsPropertyLocalService getService() {
178 if (_service == null) {
179 throw new RuntimeException("TagsPropertyLocalService is not set");
180 }
181
182 return _service;
183 }
184
185 public void setService(TagsPropertyLocalService service) {
186 _service = service;
187 }
188
189 private static TagsPropertyLocalService _service;
190 }