Liferay 7.0-ce-m6

com.liferay.portlet.asset.service
Interface AssetCategoryPropertyService

All Superinterfaces:
BaseService
All Known Implementing Classes:
AssetCategoryPropertyServiceWrapper

@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface AssetCategoryPropertyService
extends BaseService

Provides the remote service interface for AssetCategoryProperty. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
AssetCategoryPropertyServiceUtil, com.liferay.portlet.asset.service.base.AssetCategoryPropertyServiceBaseImpl, com.liferay.portlet.asset.service.impl.AssetCategoryPropertyServiceImpl

Method Summary
 AssetCategoryProperty addCategoryProperty(long entryId, String key, String value)
           
 void deleteCategoryProperty(long categoryPropertyId)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 List<AssetCategoryProperty> getCategoryProperties(long entryId)
           
 List<AssetCategoryProperty> getCategoryPropertyValues(long companyId, String key)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 AssetCategoryProperty updateCategoryProperty(long userId, long categoryPropertyId, String key, String value)
           
 AssetCategoryProperty updateCategoryProperty(long categoryPropertyId, String key, String value)
           
 

Method Detail

addCategoryProperty

AssetCategoryProperty addCategoryProperty(long entryId,
                                          String key,
                                          String value)
                                          throws PortalException
Throws:
PortalException

deleteCategoryProperty

void deleteCategoryProperty(long categoryPropertyId)
                            throws PortalException
Throws:
PortalException

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

getCategoryProperties

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetCategoryProperty> getCategoryProperties(long entryId)

getCategoryPropertyValues

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetCategoryProperty> getCategoryPropertyValues(long companyId,
                                                                                               String key)

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

updateCategoryProperty

AssetCategoryProperty updateCategoryProperty(long categoryPropertyId,
                                             String key,
                                             String value)
                                             throws PortalException
Throws:
PortalException

updateCategoryProperty

AssetCategoryProperty updateCategoryProperty(long userId,
                                             long categoryPropertyId,
                                             String key,
                                             String value)
                                             throws PortalException
Throws:
PortalException

Liferay 7.0-ce-m6