001
014
015 package com.liferay.portlet.asset.service;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018 import com.liferay.portal.kernel.util.MethodCache;
019 import com.liferay.portal.kernel.util.ReferenceRegistry;
020
021
034 public class AssetTagPropertyLocalServiceUtil {
035
040
041
048 public static com.liferay.portlet.asset.model.AssetTagProperty addAssetTagProperty(
049 com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)
050 throws com.liferay.portal.kernel.exception.SystemException {
051 return getService().addAssetTagProperty(assetTagProperty);
052 }
053
054
060 public static com.liferay.portlet.asset.model.AssetTagProperty createAssetTagProperty(
061 long tagPropertyId) {
062 return getService().createAssetTagProperty(tagPropertyId);
063 }
064
065
072 public static void deleteAssetTagProperty(long tagPropertyId)
073 throws com.liferay.portal.kernel.exception.PortalException,
074 com.liferay.portal.kernel.exception.SystemException {
075 getService().deleteAssetTagProperty(tagPropertyId);
076 }
077
078
084 public static void deleteAssetTagProperty(
085 com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)
086 throws com.liferay.portal.kernel.exception.SystemException {
087 getService().deleteAssetTagProperty(assetTagProperty);
088 }
089
090
097 @SuppressWarnings("rawtypes")
098 public static java.util.List dynamicQuery(
099 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
100 throws com.liferay.portal.kernel.exception.SystemException {
101 return getService().dynamicQuery(dynamicQuery);
102 }
103
104
117 @SuppressWarnings("rawtypes")
118 public static java.util.List dynamicQuery(
119 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
120 int end) throws com.liferay.portal.kernel.exception.SystemException {
121 return getService().dynamicQuery(dynamicQuery, start, end);
122 }
123
124
138 @SuppressWarnings("rawtypes")
139 public static java.util.List dynamicQuery(
140 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
141 int end,
142 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
143 throws com.liferay.portal.kernel.exception.SystemException {
144 return getService()
145 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
146 }
147
148
155 public static long dynamicQueryCount(
156 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
157 throws com.liferay.portal.kernel.exception.SystemException {
158 return getService().dynamicQueryCount(dynamicQuery);
159 }
160
161
169 public static com.liferay.portlet.asset.model.AssetTagProperty getAssetTagProperty(
170 long tagPropertyId)
171 throws com.liferay.portal.kernel.exception.PortalException,
172 com.liferay.portal.kernel.exception.SystemException {
173 return getService().getAssetTagProperty(tagPropertyId);
174 }
175
176 public static com.liferay.portal.model.PersistedModel getPersistedModel(
177 java.io.Serializable primaryKeyObj)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return getService().getPersistedModel(primaryKeyObj);
181 }
182
183
195 public static java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getAssetTagProperties(
196 int start, int end)
197 throws com.liferay.portal.kernel.exception.SystemException {
198 return getService().getAssetTagProperties(start, end);
199 }
200
201
207 public static int getAssetTagPropertiesCount()
208 throws com.liferay.portal.kernel.exception.SystemException {
209 return getService().getAssetTagPropertiesCount();
210 }
211
212
219 public static com.liferay.portlet.asset.model.AssetTagProperty updateAssetTagProperty(
220 com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)
221 throws com.liferay.portal.kernel.exception.SystemException {
222 return getService().updateAssetTagProperty(assetTagProperty);
223 }
224
225
233 public static com.liferay.portlet.asset.model.AssetTagProperty updateAssetTagProperty(
234 com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty,
235 boolean merge)
236 throws com.liferay.portal.kernel.exception.SystemException {
237 return getService().updateAssetTagProperty(assetTagProperty, merge);
238 }
239
240
245 public static java.lang.String getBeanIdentifier() {
246 return getService().getBeanIdentifier();
247 }
248
249
254 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
255 getService().setBeanIdentifier(beanIdentifier);
256 }
257
258 public static com.liferay.portlet.asset.model.AssetTagProperty addTagProperty(
259 long userId, long tagId, java.lang.String key, java.lang.String value)
260 throws com.liferay.portal.kernel.exception.PortalException,
261 com.liferay.portal.kernel.exception.SystemException {
262 return getService().addTagProperty(userId, tagId, key, value);
263 }
264
265 public static void deleteTagProperties(long tagId)
266 throws com.liferay.portal.kernel.exception.SystemException {
267 getService().deleteTagProperties(tagId);
268 }
269
270 public static void deleteTagProperty(
271 com.liferay.portlet.asset.model.AssetTagProperty tagProperty)
272 throws com.liferay.portal.kernel.exception.SystemException {
273 getService().deleteTagProperty(tagProperty);
274 }
275
276 public static void deleteTagProperty(long tagPropertyId)
277 throws com.liferay.portal.kernel.exception.PortalException,
278 com.liferay.portal.kernel.exception.SystemException {
279 getService().deleteTagProperty(tagPropertyId);
280 }
281
282 public static java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagProperties()
283 throws com.liferay.portal.kernel.exception.SystemException {
284 return getService().getTagProperties();
285 }
286
287 public static java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagProperties(
288 long tagId) throws com.liferay.portal.kernel.exception.SystemException {
289 return getService().getTagProperties(tagId);
290 }
291
292 public static com.liferay.portlet.asset.model.AssetTagProperty getTagProperty(
293 long tagPropertyId)
294 throws com.liferay.portal.kernel.exception.PortalException,
295 com.liferay.portal.kernel.exception.SystemException {
296 return getService().getTagProperty(tagPropertyId);
297 }
298
299 public static com.liferay.portlet.asset.model.AssetTagProperty getTagProperty(
300 long tagId, java.lang.String key)
301 throws com.liferay.portal.kernel.exception.PortalException,
302 com.liferay.portal.kernel.exception.SystemException {
303 return getService().getTagProperty(tagId, key);
304 }
305
306 public static java.lang.String[] getTagPropertyKeys(long groupId)
307 throws com.liferay.portal.kernel.exception.SystemException {
308 return getService().getTagPropertyKeys(groupId);
309 }
310
311 public static java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagPropertyValues(
312 long groupId, java.lang.String key)
313 throws com.liferay.portal.kernel.exception.SystemException {
314 return getService().getTagPropertyValues(groupId, key);
315 }
316
317 public static com.liferay.portlet.asset.model.AssetTagProperty updateTagProperty(
318 long tagPropertyId, java.lang.String key, java.lang.String value)
319 throws com.liferay.portal.kernel.exception.PortalException,
320 com.liferay.portal.kernel.exception.SystemException {
321 return getService().updateTagProperty(tagPropertyId, key, value);
322 }
323
324 public static AssetTagPropertyLocalService getService() {
325 if (_service == null) {
326 _service = (AssetTagPropertyLocalService)PortalBeanLocatorUtil.locate(AssetTagPropertyLocalService.class.getName());
327
328 ReferenceRegistry.registerReference(AssetTagPropertyLocalServiceUtil.class,
329 "_service");
330 MethodCache.remove(AssetTagPropertyLocalService.class);
331 }
332
333 return _service;
334 }
335
336 public void setService(AssetTagPropertyLocalService service) {
337 MethodCache.remove(AssetTagPropertyLocalService.class);
338
339 _service = service;
340
341 ReferenceRegistry.registerReference(AssetTagPropertyLocalServiceUtil.class,
342 "_service");
343 MethodCache.remove(AssetTagPropertyLocalService.class);
344 }
345
346 private static AssetTagPropertyLocalService _service;
347 }