Liferay 6.0.5

com.liferay.portlet.asset.service
Interface AssetVocabularyService

All Known Implementing Classes:
AssetVocabularyServiceBaseImpl, AssetVocabularyServiceImpl, AssetVocabularyServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface AssetVocabularyService

The interface for the asset vocabulary remote service.

Never modify or reference this interface directly. Always use AssetVocabularyServiceUtil to access the asset vocabulary remote service. Add custom service methods to AssetVocabularyServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.

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.

See Also:
AssetVocabularyServiceUtil, AssetVocabularyServiceBaseImpl, AssetVocabularyServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 AssetVocabulary addVocabulary(Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, ServiceContext serviceContext)
           
 void deleteVocabulary(long vocabularyId)
           
 List<AssetVocabulary> getCompanyVocabularies(long companyId)
           
 List<AssetVocabulary> getGroupsVocabularies(long[] groupIds)
           
 List<AssetVocabulary> getGroupVocabularies(long groupId)
           
 AssetVocabulary getVocabulary(long vocabularyId)
           
 AssetVocabulary updateVocabulary(long vocabularyId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, ServiceContext serviceContext)
           
 

Method Detail

addVocabulary

AssetVocabulary addVocabulary(Map<Locale,String> titleMap,
                              Map<Locale,String> descriptionMap,
                              String settings,
                              ServiceContext serviceContext)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

deleteVocabulary

void deleteVocabulary(long vocabularyId)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

getCompanyVocabularies

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetVocabulary> getCompanyVocabularies(long companyId)
                                             throws PortalException,
                                                    SystemException
Throws:
PortalException
SystemException

getGroupsVocabularies

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetVocabulary> getGroupsVocabularies(long[] groupIds)
                                            throws PortalException,
                                                   SystemException
Throws:
PortalException
SystemException

getGroupVocabularies

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetVocabulary> getGroupVocabularies(long groupId)
                                           throws PortalException,
                                                  SystemException
Throws:
PortalException
SystemException

getVocabulary

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetVocabulary getVocabulary(long vocabularyId)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

updateVocabulary

AssetVocabulary updateVocabulary(long vocabularyId,
                                 Map<Locale,String> titleMap,
                                 Map<Locale,String> descriptionMap,
                                 String settings,
                                 ServiceContext serviceContext)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

Liferay 6.0.5