Liferay 7.0-ce-b4

com.liferay.portlet.asset.service
Interface AssetCategoryPropertyService

All Superinterfaces:
BaseService
All Known Implementing Classes:
AssetCategoryPropertyServiceBaseImpl, AssetCategoryPropertyServiceImpl, 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, AssetCategoryPropertyServiceBaseImpl, AssetCategoryPropertyServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 AssetCategoryProperty addCategoryProperty(long entryId, String key, String value)
           
 void deleteCategoryProperty(long categoryPropertyId)
           
 List<AssetCategoryProperty> getCategoryProperties(long entryId)
           
 List<AssetCategoryProperty> getCategoryPropertyValues(long companyId, String key)
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 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

getCategoryProperties

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

getCategoryPropertyValues

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

getOSGiServiceIdentifier

String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

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-b4