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 AssetCategoryPropertyService {
043 public com.liferay.portlet.asset.model.AssetCategoryProperty addCategoryProperty(
044 long entryId, 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 deleteCategoryProperty(long categoryPropertyId)
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.AssetCategoryProperty> getCategoryProperties(
054 long entryId)
055 throws com.liferay.portal.kernel.exception.SystemException;
056
057 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
058 public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> getCategoryPropertyValues(
059 long companyId, java.lang.String key)
060 throws com.liferay.portal.kernel.exception.SystemException;
061
062 public com.liferay.portlet.asset.model.AssetCategoryProperty updateCategoryProperty(
063 long categoryPropertyId, java.lang.String key, java.lang.String value)
064 throws com.liferay.portal.kernel.exception.PortalException,
065 com.liferay.portal.kernel.exception.SystemException;
066 }