Liferay 6.1.10-ee-ga1

com.liferay.portlet.asset.service
Interface AssetVocabularyService

All Known Implementing Classes:
AssetVocabularyServiceBaseImpl, AssetVocabularyServiceImpl, AssetVocabularyServiceWrapper

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

The interface for the asset vocabulary remote service.

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 it is generated.

Method Summary
 AssetVocabulary addVocabulary(Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, ServiceContext serviceContext)
          Deprecated.  
 AssetVocabulary addVocabulary(String title, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, ServiceContext serviceContext)
           
 void deleteVocabularies(long[] vocabularyIds)
           
 void deleteVocabulary(long vocabularyId)
           
 List<AssetVocabulary> getCompanyVocabularies(long companyId)
           
 List<AssetVocabulary> getGroupsVocabularies(long[] groupIds)
           
 List<AssetVocabulary> getGroupsVocabularies(long[] groupIds, String className)
           
 List<AssetVocabulary> getGroupVocabularies(long groupId)
           
 List<AssetVocabulary> getGroupVocabularies(long groupId, int start, int end, OrderByComparator obc)
           
 List<AssetVocabulary> getGroupVocabularies(long groupId, String name, int start, int end, OrderByComparator obc)
           
 int getGroupVocabulariesCount(long groupId)
           
 int getGroupVocabulariesCount(long groupId, String name)
           
 JSONObject getJSONGroupVocabularies(long groupId, String name, int start, int end, OrderByComparator obc)
           
 List<AssetVocabulary> getVocabularies(long[] vocabularyIds)
           
 AssetVocabulary getVocabulary(long vocabularyId)
           
 AssetVocabulary updateVocabulary(long vocabularyId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, ServiceContext serviceContext)
          Deprecated.  
 AssetVocabulary updateVocabulary(long vocabularyId, String title, 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
Deprecated. 

Throws:
PortalException
SystemException

addVocabulary

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

deleteVocabularies

void deleteVocabularies(long[] vocabularyIds)
                        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

getGroupsVocabularies

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

getGroupVocabularies

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

getGroupVocabularies

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetVocabulary> getGroupVocabularies(long groupId,
                                                                                    int start,
                                                                                    int end,
                                                                                    OrderByComparator obc)
                                           throws SystemException
Throws:
SystemException

getGroupVocabularies

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetVocabulary> getGroupVocabularies(long groupId,
                                                                                    String name,
                                                                                    int start,
                                                                                    int end,
                                                                                    OrderByComparator obc)
                                           throws SystemException
Throws:
SystemException

getGroupVocabulariesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getGroupVocabulariesCount(long groupId)
                              throws SystemException
Throws:
SystemException

getGroupVocabulariesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getGroupVocabulariesCount(long groupId,
                                                                       String name)
                              throws SystemException
Throws:
SystemException

getJSONGroupVocabularies

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JSONObject getJSONGroupVocabularies(long groupId,
                                                                             String name,
                                                                             int start,
                                                                             int end,
                                                                             OrderByComparator obc)
                                    throws PortalException,
                                           SystemException
Throws:
PortalException
SystemException

getVocabularies

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetVocabulary> getVocabularies(long[] vocabularyIds)
                                      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
Deprecated. 

Throws:
PortalException
SystemException

updateVocabulary

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

Liferay 6.1.10-ee-ga1