001
014
015 package com.liferay.portlet.asset.service;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018
019
036 public class AssetTagPropertyServiceUtil {
037 public static com.liferay.portlet.asset.model.AssetTagProperty addTagProperty(
038 long tagId, java.lang.String key, java.lang.String value)
039 throws com.liferay.portal.kernel.exception.PortalException,
040 com.liferay.portal.kernel.exception.SystemException {
041 return getService().addTagProperty(tagId, key, value);
042 }
043
044 public static void deleteTagProperty(long tagPropertyId)
045 throws com.liferay.portal.kernel.exception.PortalException,
046 com.liferay.portal.kernel.exception.SystemException {
047 getService().deleteTagProperty(tagPropertyId);
048 }
049
050 public static java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagProperties(
051 long tagId) throws com.liferay.portal.kernel.exception.SystemException {
052 return getService().getTagProperties(tagId);
053 }
054
055 public static java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagPropertyValues(
056 long companyId, java.lang.String key)
057 throws com.liferay.portal.kernel.exception.SystemException {
058 return getService().getTagPropertyValues(companyId, key);
059 }
060
061 public static com.liferay.portlet.asset.model.AssetTagProperty updateTagProperty(
062 long tagPropertyId, java.lang.String key, java.lang.String value)
063 throws com.liferay.portal.kernel.exception.PortalException,
064 com.liferay.portal.kernel.exception.SystemException {
065 return getService().updateTagProperty(tagPropertyId, key, value);
066 }
067
068 public static AssetTagPropertyService getService() {
069 if (_service == null) {
070 _service = (AssetTagPropertyService)PortalBeanLocatorUtil.locate(AssetTagPropertyService.class.getName());
071 }
072
073 return _service;
074 }
075
076 public void setService(AssetTagPropertyService service) {
077 _service = service;
078 }
079
080 private static AssetTagPropertyService _service;
081 }