001
014
015 package com.liferay.portlet.asset.service;
016
017
018
027 public class AssetVocabularyServiceWrapper implements AssetVocabularyService {
028 public AssetVocabularyServiceWrapper(
029 AssetVocabularyService assetVocabularyService) {
030 _assetVocabularyService = assetVocabularyService;
031 }
032
033 public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
034 java.util.Map<java.util.Locale, java.lang.String> titleMap,
035 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
036 java.lang.String settings,
037 com.liferay.portal.service.ServiceContext serviceContext)
038 throws com.liferay.portal.kernel.exception.PortalException,
039 com.liferay.portal.kernel.exception.SystemException {
040 return _assetVocabularyService.addVocabulary(titleMap, descriptionMap,
041 settings, serviceContext);
042 }
043
044 public void deleteVocabulary(long vocabularyId)
045 throws com.liferay.portal.kernel.exception.PortalException,
046 com.liferay.portal.kernel.exception.SystemException {
047 _assetVocabularyService.deleteVocabulary(vocabularyId);
048 }
049
050 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getCompanyVocabularies(
051 long companyId)
052 throws com.liferay.portal.kernel.exception.PortalException,
053 com.liferay.portal.kernel.exception.SystemException {
054 return _assetVocabularyService.getCompanyVocabularies(companyId);
055 }
056
057 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
058 long[] groupIds)
059 throws com.liferay.portal.kernel.exception.PortalException,
060 com.liferay.portal.kernel.exception.SystemException {
061 return _assetVocabularyService.getGroupsVocabularies(groupIds);
062 }
063
064 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
065 long groupId)
066 throws com.liferay.portal.kernel.exception.PortalException,
067 com.liferay.portal.kernel.exception.SystemException {
068 return _assetVocabularyService.getGroupVocabularies(groupId);
069 }
070
071 public com.liferay.portlet.asset.model.AssetVocabulary getVocabulary(
072 long vocabularyId)
073 throws com.liferay.portal.kernel.exception.PortalException,
074 com.liferay.portal.kernel.exception.SystemException {
075 return _assetVocabularyService.getVocabulary(vocabularyId);
076 }
077
078 public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
079 long vocabularyId,
080 java.util.Map<java.util.Locale, java.lang.String> titleMap,
081 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
082 java.lang.String settings,
083 com.liferay.portal.service.ServiceContext serviceContext)
084 throws com.liferay.portal.kernel.exception.PortalException,
085 com.liferay.portal.kernel.exception.SystemException {
086 return _assetVocabularyService.updateVocabulary(vocabularyId, titleMap,
087 descriptionMap, settings, serviceContext);
088 }
089
090 public AssetVocabularyService getWrappedAssetVocabularyService() {
091 return _assetVocabularyService;
092 }
093
094 private AssetVocabularyService _assetVocabularyService;
095 }