com.liferay.portlet.asset.service
Interface AssetVocabularyService

All Known Implementing Classes:
AssetVocabularyServiceWrapper

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

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.AssetVocabularyServiceImpl}. 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:
AssetVocabularyServiceUtil
Generated:

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

Method Detail

addVocabulary

AssetVocabulary addVocabulary(java.util.Map<java.util.Locale,java.lang.String> titleMap,
                              java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
                              java.lang.String settings,
                              ServiceContext serviceContext)
                              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

deleteVocabulary

void deleteVocabulary(long vocabularyId)
                      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

getCompanyVocabularies

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<AssetVocabulary> getCompanyVocabularies(long companyId)
                                                       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

getGroupsVocabularies

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<AssetVocabulary> getGroupsVocabularies(long[] groupIds)
                                                      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

getGroupVocabularies

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<AssetVocabulary> getGroupVocabularies(long groupId)
                                                     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

getVocabulary

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetVocabulary getVocabulary(long vocabularyId)
                              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

updateVocabulary

AssetVocabulary updateVocabulary(long vocabularyId,
                                 java.util.Map<java.util.Locale,java.lang.String> titleMap,
                                 java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
                                 java.lang.String settings,
                                 ServiceContext serviceContext)
                                 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