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