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
035 public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
036 java.util.Map<java.util.Locale, java.lang.String> titleMap,
037 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
038 java.lang.String settings,
039 com.liferay.portal.service.ServiceContext serviceContext)
040 throws com.liferay.portal.kernel.exception.PortalException,
041 com.liferay.portal.kernel.exception.SystemException {
042 return _assetVocabularyService.addVocabulary(titleMap, descriptionMap,
043 settings, serviceContext);
044 }
045
046 public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
047 java.lang.String title,
048 java.util.Map<java.util.Locale, java.lang.String> titleMap,
049 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
050 java.lang.String settings,
051 com.liferay.portal.service.ServiceContext serviceContext)
052 throws com.liferay.portal.kernel.exception.PortalException,
053 com.liferay.portal.kernel.exception.SystemException {
054 return _assetVocabularyService.addVocabulary(title, titleMap,
055 descriptionMap, settings, serviceContext);
056 }
057
058 public void deleteVocabulary(long vocabularyId)
059 throws com.liferay.portal.kernel.exception.PortalException,
060 com.liferay.portal.kernel.exception.SystemException {
061 _assetVocabularyService.deleteVocabulary(vocabularyId);
062 }
063
064 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getCompanyVocabularies(
065 long companyId)
066 throws com.liferay.portal.kernel.exception.PortalException,
067 com.liferay.portal.kernel.exception.SystemException {
068 return _assetVocabularyService.getCompanyVocabularies(companyId);
069 }
070
071 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
072 long[] groupIds)
073 throws com.liferay.portal.kernel.exception.PortalException,
074 com.liferay.portal.kernel.exception.SystemException {
075 return _assetVocabularyService.getGroupsVocabularies(groupIds);
076 }
077
078 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
079 long groupId)
080 throws com.liferay.portal.kernel.exception.PortalException,
081 com.liferay.portal.kernel.exception.SystemException {
082 return _assetVocabularyService.getGroupVocabularies(groupId);
083 }
084
085 public com.liferay.portlet.asset.model.AssetVocabulary getVocabulary(
086 long vocabularyId)
087 throws com.liferay.portal.kernel.exception.PortalException,
088 com.liferay.portal.kernel.exception.SystemException {
089 return _assetVocabularyService.getVocabulary(vocabularyId);
090 }
091
092
095 public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
096 long vocabularyId,
097 java.util.Map<java.util.Locale, java.lang.String> titleMap,
098 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
099 java.lang.String settings,
100 com.liferay.portal.service.ServiceContext serviceContext)
101 throws com.liferay.portal.kernel.exception.PortalException,
102 com.liferay.portal.kernel.exception.SystemException {
103 return _assetVocabularyService.updateVocabulary(vocabularyId, titleMap,
104 descriptionMap, settings, serviceContext);
105 }
106
107 public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
108 long vocabularyId, java.lang.String title,
109 java.util.Map<java.util.Locale, java.lang.String> titleMap,
110 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
111 java.lang.String settings,
112 com.liferay.portal.service.ServiceContext serviceContext)
113 throws com.liferay.portal.kernel.exception.PortalException,
114 com.liferay.portal.kernel.exception.SystemException {
115 return _assetVocabularyService.updateVocabulary(vocabularyId, title,
116 titleMap, descriptionMap, settings, serviceContext);
117 }
118
119 public AssetVocabularyService getWrappedAssetVocabularyService() {
120 return _assetVocabularyService;
121 }
122
123 private AssetVocabularyService _assetVocabularyService;
124 }