001
014
015 package com.liferay.portlet.asset.service;
016
017 import com.liferay.portal.kernel.annotation.Isolation;
018 import com.liferay.portal.kernel.annotation.Propagation;
019 import com.liferay.portal.kernel.annotation.Transactional;
020 import com.liferay.portal.kernel.exception.PortalException;
021 import com.liferay.portal.kernel.exception.SystemException;
022
023
040 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
041 PortalException.class, SystemException.class})
042 public interface AssetTagPropertyService {
043 public com.liferay.portlet.asset.model.AssetTagProperty addTagProperty(
044 long tagId, java.lang.String key, java.lang.String value)
045 throws com.liferay.portal.kernel.exception.PortalException,
046 com.liferay.portal.kernel.exception.SystemException;
047
048 public void deleteTagProperty(long tagPropertyId)
049 throws com.liferay.portal.kernel.exception.PortalException,
050 com.liferay.portal.kernel.exception.SystemException;
051
052 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
053 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagProperties(
054 long tagId) throws com.liferay.portal.kernel.exception.SystemException;
055
056 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
057 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagPropertyValues(
058 long companyId, java.lang.String key)
059 throws com.liferay.portal.kernel.exception.SystemException;
060
061 public 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 }