1
14
15 package com.liferay.portlet.asset.service;
16
17
18
34 public class AssetVocabularyServiceWrapper implements AssetVocabularyService {
35 public AssetVocabularyServiceWrapper(
36 AssetVocabularyService assetVocabularyService) {
37 _assetVocabularyService = assetVocabularyService;
38 }
39
40 public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
41 java.util.Map<java.util.Locale, String> titleMap,
42 java.util.Map<java.util.Locale, String> descriptionMap,
43 java.lang.String settings,
44 com.liferay.portal.service.ServiceContext serviceContext)
45 throws com.liferay.portal.kernel.exception.PortalException,
46 com.liferay.portal.kernel.exception.SystemException {
47 return _assetVocabularyService.addVocabulary(titleMap, descriptionMap,
48 settings, serviceContext);
49 }
50
51 public void deleteVocabulary(long vocabularyId)
52 throws com.liferay.portal.kernel.exception.PortalException,
53 com.liferay.portal.kernel.exception.SystemException {
54 _assetVocabularyService.deleteVocabulary(vocabularyId);
55 }
56
57 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getCompanyVocabularies(
58 long companyId)
59 throws com.liferay.portal.kernel.exception.PortalException,
60 com.liferay.portal.kernel.exception.SystemException {
61 return _assetVocabularyService.getCompanyVocabularies(companyId);
62 }
63
64 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
65 long[] groupIds)
66 throws com.liferay.portal.kernel.exception.PortalException,
67 com.liferay.portal.kernel.exception.SystemException {
68 return _assetVocabularyService.getGroupsVocabularies(groupIds);
69 }
70
71 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
72 long groupId)
73 throws com.liferay.portal.kernel.exception.PortalException,
74 com.liferay.portal.kernel.exception.SystemException {
75 return _assetVocabularyService.getGroupVocabularies(groupId);
76 }
77
78 public com.liferay.portlet.asset.model.AssetVocabulary getVocabulary(
79 long vocabularyId)
80 throws com.liferay.portal.kernel.exception.PortalException,
81 com.liferay.portal.kernel.exception.SystemException {
82 return _assetVocabularyService.getVocabulary(vocabularyId);
83 }
84
85 public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
86 long vocabularyId, java.util.Map<java.util.Locale, String> titleMap,
87 java.util.Map<java.util.Locale, String> descriptionMap,
88 java.lang.String settings,
89 com.liferay.portal.service.ServiceContext serviceContext)
90 throws com.liferay.portal.kernel.exception.PortalException,
91 com.liferay.portal.kernel.exception.SystemException {
92 return _assetVocabularyService.updateVocabulary(vocabularyId, titleMap,
93 descriptionMap, settings, serviceContext);
94 }
95
96 public AssetVocabularyService getWrappedAssetVocabularyService() {
97 return _assetVocabularyService;
98 }
99
100 private AssetVocabularyService _assetVocabularyService;
101 }