001
014
015 package com.liferay.portlet.asset.service;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018 import com.liferay.portal.kernel.util.ReferenceRegistry;
019
020
033 public class AssetCategoryPropertyServiceUtil {
034
039
040
045 public static java.lang.String getBeanIdentifier() {
046 return getService().getBeanIdentifier();
047 }
048
049
054 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
055 getService().setBeanIdentifier(beanIdentifier);
056 }
057
058 public static com.liferay.portlet.asset.model.AssetCategoryProperty addCategoryProperty(
059 long entryId, java.lang.String key, java.lang.String value)
060 throws com.liferay.portal.kernel.exception.PortalException,
061 com.liferay.portal.kernel.exception.SystemException {
062 return getService().addCategoryProperty(entryId, key, value);
063 }
064
065 public static void deleteCategoryProperty(long categoryPropertyId)
066 throws com.liferay.portal.kernel.exception.PortalException,
067 com.liferay.portal.kernel.exception.SystemException {
068 getService().deleteCategoryProperty(categoryPropertyId);
069 }
070
071 public static java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> getCategoryProperties(
072 long entryId)
073 throws com.liferay.portal.kernel.exception.SystemException {
074 return getService().getCategoryProperties(entryId);
075 }
076
077 public static 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 return getService().getCategoryPropertyValues(companyId, key);
081 }
082
083 public static 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 return getService()
088 .updateCategoryProperty(categoryPropertyId, key, value);
089 }
090
091 public static AssetCategoryPropertyService getService() {
092 if (_service == null) {
093 _service = (AssetCategoryPropertyService)PortalBeanLocatorUtil.locate(AssetCategoryPropertyService.class.getName());
094
095 ReferenceRegistry.registerReference(AssetCategoryPropertyServiceUtil.class,
096 "_service");
097 }
098
099 return _service;
100 }
101
102
105 public void setService(AssetCategoryPropertyService service) {
106 }
107
108 private static AssetCategoryPropertyService _service;
109 }