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 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
058 public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> getCategoryProperties(
059 long entryId);
060
061 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
062 public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> getCategoryPropertyValues(
063 long companyId, java.lang.String key);
064
065
070 public java.lang.String getOSGiServiceIdentifier();
071
072 public com.liferay.portlet.asset.model.AssetCategoryProperty updateCategoryProperty(
073 long categoryPropertyId, java.lang.String key, java.lang.String value)
074 throws PortalException;
075
076 public com.liferay.portlet.asset.model.AssetCategoryProperty updateCategoryProperty(
077 long userId, long categoryPropertyId, java.lang.String key,
078 java.lang.String value) throws PortalException;
079 }