001
014
015 package com.liferay.portlet.asset.service;
016
017 import com.liferay.portal.kernel.exception.PortalException;
018 import com.liferay.portal.kernel.exception.SystemException;
019 import com.liferay.portal.kernel.jsonwebservice.JSONWebService;
020 import com.liferay.portal.kernel.transaction.Isolation;
021 import com.liferay.portal.kernel.transaction.Propagation;
022 import com.liferay.portal.kernel.transaction.Transactional;
023
024
037 @JSONWebService
038 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
039 PortalException.class, SystemException.class})
040 public interface AssetTagPropertyService {
041
046 public com.liferay.portlet.asset.model.AssetTagProperty addTagProperty(
047 long tagId, java.lang.String key, java.lang.String value)
048 throws com.liferay.portal.kernel.exception.PortalException,
049 com.liferay.portal.kernel.exception.SystemException;
050
051 public void deleteTagProperty(long tagPropertyId)
052 throws com.liferay.portal.kernel.exception.PortalException,
053 com.liferay.portal.kernel.exception.SystemException;
054
055 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
056 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagProperties(
057 long tagId) throws com.liferay.portal.kernel.exception.SystemException;
058
059 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
060 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagPropertyValues(
061 long companyId, java.lang.String key)
062 throws com.liferay.portal.kernel.exception.SystemException;
063
064 public com.liferay.portlet.asset.model.AssetTagProperty updateTagProperty(
065 long tagPropertyId, java.lang.String key, java.lang.String value)
066 throws com.liferay.portal.kernel.exception.PortalException,
067 com.liferay.portal.kernel.exception.SystemException;
068 }