001
014
015 package com.liferay.portlet.asset.service.impl;
016
017 import com.liferay.portal.kernel.exception.PortalException;
018 import com.liferay.portal.kernel.exception.SystemException;
019 import com.liferay.portlet.asset.model.AssetTagProperty;
020 import com.liferay.portlet.asset.service.base.AssetTagPropertyServiceBaseImpl;
021
022 import java.util.List;
023
024
027 public class AssetTagPropertyServiceImpl
028 extends AssetTagPropertyServiceBaseImpl {
029
030 public AssetTagProperty addTagProperty(long tagId, String key, String value)
031 throws PortalException, SystemException {
032
033 return assetTagPropertyLocalService.addTagProperty(
034 getUserId(), tagId, key, value);
035 }
036
037 public void deleteTagProperty(long tagPropertyId)
038 throws PortalException, SystemException {
039
040 assetTagPropertyLocalService.deleteTagProperty(tagPropertyId);
041 }
042
043 public List<AssetTagProperty> getTagProperties(long tagId)
044 throws SystemException {
045
046 return assetTagPropertyLocalService.getTagProperties(tagId);
047 }
048
049 public List<AssetTagProperty> getTagPropertyValues(
050 long companyId, String key)
051 throws SystemException {
052
053 return assetTagPropertyLocalService.getTagPropertyValues(
054 companyId, key);
055 }
056
057 public AssetTagProperty updateTagProperty(
058 long tagPropertyId, String key, String value)
059 throws PortalException, SystemException {
060
061 return assetTagPropertyLocalService.updateTagProperty(
062 tagPropertyId, key, value);
063 }
064
065 }