001
014
015 package com.liferay.portlet.asset.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.exception.PortalException;
020 import com.liferay.portal.kernel.exception.SystemException;
021 import com.liferay.portal.kernel.jsonwebservice.JSONWebService;
022 import com.liferay.portal.kernel.security.access.control.AccessControlled;
023 import com.liferay.portal.kernel.transaction.Isolation;
024 import com.liferay.portal.kernel.transaction.Propagation;
025 import com.liferay.portal.kernel.transaction.Transactional;
026 import com.liferay.portal.service.BaseService;
027
028
039 @AccessControlled
040 @JSONWebService
041 @ProviderType
042 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
043 PortalException.class, SystemException.class})
044 public interface AssetCategoryPropertyService extends BaseService {
045
050 public com.liferay.portlet.asset.model.AssetCategoryProperty addCategoryProperty(
051 long entryId, java.lang.String key, java.lang.String value)
052 throws PortalException;
053
054 public void deleteCategoryProperty(long categoryPropertyId)
055 throws PortalException;
056
057
062 public java.lang.String getBeanIdentifier();
063
064 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
065 public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> getCategoryProperties(
066 long entryId);
067
068 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
069 public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> getCategoryPropertyValues(
070 long companyId, java.lang.String key);
071
072
077 public void setBeanIdentifier(java.lang.String beanIdentifier);
078
079 public com.liferay.portlet.asset.model.AssetCategoryProperty updateCategoryProperty(
080 long categoryPropertyId, java.lang.String key, java.lang.String value)
081 throws PortalException;
082
083 public com.liferay.portlet.asset.model.AssetCategoryProperty updateCategoryProperty(
084 long userId, long categoryPropertyId, java.lang.String key,
085 java.lang.String value) throws PortalException;
086 }