001
014
015 package com.liferay.asset.kernel.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.service.ServiceWrapper;
020
021
028 @ProviderType
029 public class AssetVocabularyServiceWrapper implements AssetVocabularyService,
030 ServiceWrapper<AssetVocabularyService> {
031 public AssetVocabularyServiceWrapper(
032 AssetVocabularyService assetVocabularyService) {
033 _assetVocabularyService = assetVocabularyService;
034 }
035
036 @Override
037 public com.liferay.asset.kernel.model.AssetVocabulary addVocabulary(
038 long groupId, java.lang.String title,
039 com.liferay.portal.kernel.service.ServiceContext serviceContext)
040 throws com.liferay.portal.kernel.exception.PortalException {
041 return _assetVocabularyService.addVocabulary(groupId, title,
042 serviceContext);
043 }
044
045 @Override
046 public com.liferay.asset.kernel.model.AssetVocabulary addVocabulary(
047 long groupId, 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.kernel.service.ServiceContext serviceContext)
052 throws com.liferay.portal.kernel.exception.PortalException {
053 return _assetVocabularyService.addVocabulary(groupId, title, titleMap,
054 descriptionMap, settings, serviceContext);
055 }
056
057 @Override
058 public java.util.List<com.liferay.asset.kernel.model.AssetVocabulary> deleteVocabularies(
059 long[] vocabularyIds,
060 com.liferay.portal.kernel.service.ServiceContext serviceContext)
061 throws com.liferay.portal.kernel.exception.PortalException {
062 return _assetVocabularyService.deleteVocabularies(vocabularyIds,
063 serviceContext);
064 }
065
066 @Override
067 public void deleteVocabulary(long vocabularyId)
068 throws com.liferay.portal.kernel.exception.PortalException {
069 _assetVocabularyService.deleteVocabulary(vocabularyId);
070 }
071
072 @Override
073 public com.liferay.asset.kernel.model.AssetVocabulary fetchVocabulary(
074 long vocabularyId)
075 throws com.liferay.portal.kernel.exception.PortalException {
076 return _assetVocabularyService.fetchVocabulary(vocabularyId);
077 }
078
079
082 @Deprecated
083 @Override
084 public java.util.List<com.liferay.asset.kernel.model.AssetVocabulary> getCompanyVocabularies(
085 long companyId)
086 throws com.liferay.portal.kernel.exception.PortalException {
087 return _assetVocabularyService.getCompanyVocabularies(companyId);
088 }
089
090 @Override
091 public java.util.List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(
092 long groupId)
093 throws com.liferay.portal.kernel.exception.PortalException {
094 return _assetVocabularyService.getGroupVocabularies(groupId);
095 }
096
097 @Override
098 public java.util.List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(
099 long groupId, boolean createDefaultVocabulary)
100 throws com.liferay.portal.kernel.exception.PortalException {
101 return _assetVocabularyService.getGroupVocabularies(groupId,
102 createDefaultVocabulary);
103 }
104
105 @Override
106 public java.util.List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(
107 long groupId, boolean createDefaultVocabulary, int start, int end,
108 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc)
109 throws com.liferay.portal.kernel.exception.PortalException {
110 return _assetVocabularyService.getGroupVocabularies(groupId,
111 createDefaultVocabulary, start, end, obc);
112 }
113
114 @Override
115 public java.util.List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(
116 long groupId, java.lang.String name, int start, int end,
117 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc) {
118 return _assetVocabularyService.getGroupVocabularies(groupId, name,
119 start, end, obc);
120 }
121
122 @Override
123 public java.util.List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(
124 long groupId, int start, int end,
125 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc) {
126 return _assetVocabularyService.getGroupVocabularies(groupId, start,
127 end, obc);
128 }
129
130 @Override
131 public java.util.List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(
132 long[] groupIds) {
133 return _assetVocabularyService.getGroupVocabularies(groupIds);
134 }
135
136 @Override
137 public int getGroupVocabulariesCount(long groupId) {
138 return _assetVocabularyService.getGroupVocabulariesCount(groupId);
139 }
140
141 @Override
142 public int getGroupVocabulariesCount(long groupId, java.lang.String name) {
143 return _assetVocabularyService.getGroupVocabulariesCount(groupId, name);
144 }
145
146 @Override
147 public int getGroupVocabulariesCount(long[] groupIds) {
148 return _assetVocabularyService.getGroupVocabulariesCount(groupIds);
149 }
150
151 @Override
152 public com.liferay.asset.kernel.model.AssetVocabularyDisplay getGroupVocabulariesDisplay(
153 long groupId, java.lang.String name, int start, int end,
154 boolean addDefaultVocabulary,
155 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc)
156 throws com.liferay.portal.kernel.exception.PortalException {
157 return _assetVocabularyService.getGroupVocabulariesDisplay(groupId,
158 name, start, end, addDefaultVocabulary, obc);
159 }
160
161 @Override
162 public com.liferay.asset.kernel.model.AssetVocabularyDisplay getGroupVocabulariesDisplay(
163 long groupId, java.lang.String name, int start, int end,
164 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc)
165 throws com.liferay.portal.kernel.exception.PortalException {
166 return _assetVocabularyService.getGroupVocabulariesDisplay(groupId,
167 name, start, end, obc);
168 }
169
170 @Override
171 public java.util.List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupsVocabularies(
172 long[] groupIds) {
173 return _assetVocabularyService.getGroupsVocabularies(groupIds);
174 }
175
176 @Override
177 public java.util.List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupsVocabularies(
178 long[] groupIds, java.lang.String className) {
179 return _assetVocabularyService.getGroupsVocabularies(groupIds, className);
180 }
181
182 @Override
183 public java.util.List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupsVocabularies(
184 long[] groupIds, java.lang.String className, long classTypePK) {
185 return _assetVocabularyService.getGroupsVocabularies(groupIds,
186 className, classTypePK);
187 }
188
189
194 @Override
195 public java.lang.String getOSGiServiceIdentifier() {
196 return _assetVocabularyService.getOSGiServiceIdentifier();
197 }
198
199
203 @Deprecated
204 @Override
205 public java.util.List<com.liferay.asset.kernel.model.AssetVocabulary> getVocabularies(
206 long[] vocabularyIds)
207 throws com.liferay.portal.kernel.exception.PortalException {
208 return _assetVocabularyService.getVocabularies(vocabularyIds);
209 }
210
211 @Override
212 public com.liferay.asset.kernel.model.AssetVocabulary getVocabulary(
213 long vocabularyId)
214 throws com.liferay.portal.kernel.exception.PortalException {
215 return _assetVocabularyService.getVocabulary(vocabularyId);
216 }
217
218 @Override
219 public com.liferay.asset.kernel.model.AssetVocabularyDisplay searchVocabulariesDisplay(
220 long groupId, java.lang.String title, boolean addDefaultVocabulary,
221 int start, int end)
222 throws com.liferay.portal.kernel.exception.PortalException {
223 return _assetVocabularyService.searchVocabulariesDisplay(groupId,
224 title, addDefaultVocabulary, start, end);
225 }
226
227 @Override
228 public com.liferay.asset.kernel.model.AssetVocabularyDisplay searchVocabulariesDisplay(
229 long groupId, java.lang.String title, boolean addDefaultVocabulary,
230 int start, int end, com.liferay.portal.kernel.search.Sort sort)
231 throws com.liferay.portal.kernel.exception.PortalException {
232 return _assetVocabularyService.searchVocabulariesDisplay(groupId,
233 title, addDefaultVocabulary, start, end, sort);
234 }
235
236 @Override
237 public com.liferay.asset.kernel.model.AssetVocabulary updateVocabulary(
238 long vocabularyId, java.lang.String title,
239 java.util.Map<java.util.Locale, java.lang.String> titleMap,
240 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
241 java.lang.String settings,
242 com.liferay.portal.kernel.service.ServiceContext serviceContext)
243 throws com.liferay.portal.kernel.exception.PortalException {
244 return _assetVocabularyService.updateVocabulary(vocabularyId, title,
245 titleMap, descriptionMap, settings, serviceContext);
246 }
247
248 @Override
249 public AssetVocabularyService getWrappedService() {
250 return _assetVocabularyService;
251 }
252
253 @Override
254 public void setWrappedService(AssetVocabularyService assetVocabularyService) {
255 _assetVocabularyService = assetVocabularyService;
256 }
257
258 private AssetVocabularyService _assetVocabularyService;
259 }