001
014
015 package com.liferay.portlet.asset.service.impl;
016
017 import com.liferay.portal.kernel.exception.PortalException;
018 import com.liferay.portal.kernel.exception.SystemException;
019 import com.liferay.portlet.asset.model.AssetCategoryProperty;
020 import com.liferay.portlet.asset.service.base.AssetCategoryPropertyServiceBaseImpl;
021
022 import java.util.List;
023
024
028 public class AssetCategoryPropertyServiceImpl
029 extends AssetCategoryPropertyServiceBaseImpl {
030
031 public AssetCategoryProperty addCategoryProperty(
032 long entryId, String key, String value)
033 throws PortalException, SystemException {
034
035 return assetCategoryPropertyLocalService.addCategoryProperty(
036 getUserId(), entryId, key, value);
037 }
038
039 public void deleteCategoryProperty(long categoryPropertyId)
040 throws PortalException, SystemException {
041
042 assetCategoryPropertyLocalService.deleteCategoryProperty(
043 categoryPropertyId);
044 }
045
046 public List<AssetCategoryProperty> getCategoryProperties(long entryId)
047 throws SystemException {
048
049 return assetCategoryPropertyLocalService.getCategoryProperties(entryId);
050 }
051
052 public List<AssetCategoryProperty> getCategoryPropertyValues(
053 long companyId, String key)
054 throws SystemException {
055
056 return assetCategoryPropertyLocalService.getCategoryPropertyValues(
057 companyId, key);
058 }
059
060 public AssetCategoryProperty updateCategoryProperty(
061 long categoryPropertyId, String key, String value)
062 throws PortalException, SystemException {
063
064 return assetCategoryPropertyLocalService.updateCategoryProperty(
065 categoryPropertyId, key, value);
066 }
067
068 }