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