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