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