com.liferay.portlet.asset.service
Interface AssetCategoryPropertyService

All Known Implementing Classes:
AssetCategoryPropertyServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface AssetCategoryPropertyService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portlet.asset.service.impl.AssetCategoryPropertyServiceImpl}. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

Author:
Brian Wing Shun Chan
See Also:
AssetCategoryPropertyServiceUtil
Generated:

Method Summary
 AssetCategoryProperty addCategoryProperty(long entryId, java.lang.String key, java.lang.String value)
           
 void deleteCategoryProperty(long categoryPropertyId)
           
 java.util.List<AssetCategoryProperty> getCategoryProperties(long entryId)
           
 java.util.List<AssetCategoryProperty> getCategoryPropertyValues(long companyId, java.lang.String key)
           
 AssetCategoryProperty updateCategoryProperty(long categoryPropertyId, java.lang.String key, java.lang.String value)
           
 

Method Detail

addCategoryProperty

AssetCategoryProperty addCategoryProperty(long entryId,
                                          java.lang.String key,
                                          java.lang.String value)
                                          throws com.liferay.portal.kernel.exception.PortalException,
                                                 com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteCategoryProperty

void deleteCategoryProperty(long categoryPropertyId)
                            throws com.liferay.portal.kernel.exception.PortalException,
                                   com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getCategoryProperties

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<AssetCategoryProperty> getCategoryProperties(long entryId)
                                                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getCategoryPropertyValues

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<AssetCategoryProperty> getCategoryPropertyValues(long companyId,
                                                                              java.lang.String key)
                                                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

updateCategoryProperty

AssetCategoryProperty updateCategoryProperty(long categoryPropertyId,
                                             java.lang.String key,
                                             java.lang.String value)
                                             throws com.liferay.portal.kernel.exception.PortalException,
                                                    com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException