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 import com.liferay.portal.security.ac.AccessControlled;
024 import com.liferay.portal.service.BaseService;
025
026
039 @AccessControlled
040 @JSONWebService
041 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
042 PortalException.class, SystemException.class})
043 public interface AssetCategoryPropertyService extends BaseService {
044
049
050
055 public java.lang.String getBeanIdentifier();
056
057
062 public void setBeanIdentifier(java.lang.String beanIdentifier);
063
064 public com.liferay.portlet.asset.model.AssetCategoryProperty addCategoryProperty(
065 long entryId, java.lang.String key, java.lang.String value)
066 throws com.liferay.portal.kernel.exception.PortalException,
067 com.liferay.portal.kernel.exception.SystemException;
068
069 public void deleteCategoryProperty(long categoryPropertyId)
070 throws com.liferay.portal.kernel.exception.PortalException,
071 com.liferay.portal.kernel.exception.SystemException;
072
073 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
074 public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> getCategoryProperties(
075 long entryId)
076 throws com.liferay.portal.kernel.exception.SystemException;
077
078 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
079 public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> getCategoryPropertyValues(
080 long companyId, java.lang.String key)
081 throws com.liferay.portal.kernel.exception.SystemException;
082
083 public com.liferay.portlet.asset.model.AssetCategoryProperty updateCategoryProperty(
084 long categoryPropertyId, java.lang.String key, java.lang.String value)
085 throws com.liferay.portal.kernel.exception.PortalException,
086 com.liferay.portal.kernel.exception.SystemException;
087 }