001
014
015 package com.liferay.portlet.asset.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.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.portlet.asset.model.AssetVocabulary addVocabulary(
038 long groupId, java.lang.String title,
039 com.liferay.portal.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.portlet.asset.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.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
061 @Deprecated
062 @Override
063 public void deleteVocabularies(long[] vocabularyIds)
064 throws com.liferay.portal.kernel.exception.PortalException {
065 _assetVocabularyService.deleteVocabularies(vocabularyIds);
066 }
067
068 @Override
069 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> deleteVocabularies(
070 long[] vocabularyIds,
071 com.liferay.portal.service.ServiceContext serviceContext)
072 throws com.liferay.portal.kernel.exception.PortalException {
073 return _assetVocabularyService.deleteVocabularies(vocabularyIds,
074 serviceContext);
075 }
076
077 @Override
078 public void deleteVocabulary(long vocabularyId)
079 throws com.liferay.portal.kernel.exception.PortalException {
080 _assetVocabularyService.deleteVocabulary(vocabularyId);
081 }
082
083 @Override
084 public com.liferay.portlet.asset.model.AssetVocabulary fetchVocabulary(
085 long vocabularyId)
086 throws com.liferay.portal.kernel.exception.PortalException {
087 return _assetVocabularyService.fetchVocabulary(vocabularyId);
088 }
089
090
093 @Deprecated
094 @Override
095 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getCompanyVocabularies(
096 long companyId)
097 throws com.liferay.portal.kernel.exception.PortalException {
098 return _assetVocabularyService.getCompanyVocabularies(companyId);
099 }
100
101 @Override
102 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
103 long groupId)
104 throws com.liferay.portal.kernel.exception.PortalException {
105 return _assetVocabularyService.getGroupVocabularies(groupId);
106 }
107
108 @Override
109 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
110 long groupId, boolean createDefaultVocabulary)
111 throws com.liferay.portal.kernel.exception.PortalException {
112 return _assetVocabularyService.getGroupVocabularies(groupId,
113 createDefaultVocabulary);
114 }
115
116 @Override
117 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
118 long groupId, boolean createDefaultVocabulary, int start, int end,
119 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetVocabulary> obc)
120 throws com.liferay.portal.kernel.exception.PortalException {
121 return _assetVocabularyService.getGroupVocabularies(groupId,
122 createDefaultVocabulary, start, end, obc);
123 }
124
125 @Override
126 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
127 long groupId, java.lang.String name, int start, int end,
128 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetVocabulary> obc) {
129 return _assetVocabularyService.getGroupVocabularies(groupId, name,
130 start, end, obc);
131 }
132
133 @Override
134 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
135 long groupId, int start, int end,
136 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetVocabulary> obc) {
137 return _assetVocabularyService.getGroupVocabularies(groupId, start,
138 end, obc);
139 }
140
141 @Override
142 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
143 long[] groupIds) {
144 return _assetVocabularyService.getGroupVocabularies(groupIds);
145 }
146
147 @Override
148 public int getGroupVocabulariesCount(long groupId) {
149 return _assetVocabularyService.getGroupVocabulariesCount(groupId);
150 }
151
152 @Override
153 public int getGroupVocabulariesCount(long groupId, java.lang.String name) {
154 return _assetVocabularyService.getGroupVocabulariesCount(groupId, name);
155 }
156
157 @Override
158 public int getGroupVocabulariesCount(long[] groupIds) {
159 return _assetVocabularyService.getGroupVocabulariesCount(groupIds);
160 }
161
162 @Override
163 public com.liferay.portlet.asset.model.AssetVocabularyDisplay getGroupVocabulariesDisplay(
164 long groupId, java.lang.String name, int start, int end,
165 boolean addDefaultVocabulary,
166 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetVocabulary> obc)
167 throws com.liferay.portal.kernel.exception.PortalException {
168 return _assetVocabularyService.getGroupVocabulariesDisplay(groupId,
169 name, start, end, addDefaultVocabulary, obc);
170 }
171
172 @Override
173 public com.liferay.portlet.asset.model.AssetVocabularyDisplay getGroupVocabulariesDisplay(
174 long groupId, java.lang.String name, int start, int end,
175 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetVocabulary> obc)
176 throws com.liferay.portal.kernel.exception.PortalException {
177 return _assetVocabularyService.getGroupVocabulariesDisplay(groupId,
178 name, start, end, obc);
179 }
180
181 @Override
182 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
183 long[] groupIds) {
184 return _assetVocabularyService.getGroupsVocabularies(groupIds);
185 }
186
187 @Override
188 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
189 long[] groupIds, java.lang.String className) {
190 return _assetVocabularyService.getGroupsVocabularies(groupIds, className);
191 }
192
193 @Override
194 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
195 long[] groupIds, java.lang.String className, long classTypePK) {
196 return _assetVocabularyService.getGroupsVocabularies(groupIds,
197 className, classTypePK);
198 }
199
200
203 @Deprecated
204 @Override
205 public com.liferay.portal.kernel.json.JSONObject getJSONGroupVocabularies(
206 long groupId, java.lang.String name, int start, int end,
207 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetVocabulary> obc)
208 throws com.liferay.portal.kernel.exception.PortalException {
209 return _assetVocabularyService.getJSONGroupVocabularies(groupId, name,
210 start, end, obc);
211 }
212
213
218 @Override
219 public java.lang.String getOSGiServiceIdentifier() {
220 return _assetVocabularyService.getOSGiServiceIdentifier();
221 }
222
223
227 @Deprecated
228 @Override
229 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getVocabularies(
230 long[] vocabularyIds)
231 throws com.liferay.portal.kernel.exception.PortalException {
232 return _assetVocabularyService.getVocabularies(vocabularyIds);
233 }
234
235 @Override
236 public com.liferay.portlet.asset.model.AssetVocabulary getVocabulary(
237 long vocabularyId)
238 throws com.liferay.portal.kernel.exception.PortalException {
239 return _assetVocabularyService.getVocabulary(vocabularyId);
240 }
241
242 @Override
243 public com.liferay.portlet.asset.model.AssetVocabularyDisplay searchVocabulariesDisplay(
244 long groupId, java.lang.String title, boolean addDefaultVocabulary,
245 int start, int end)
246 throws com.liferay.portal.kernel.exception.PortalException {
247 return _assetVocabularyService.searchVocabulariesDisplay(groupId,
248 title, addDefaultVocabulary, start, end);
249 }
250
251 @Override
252 public com.liferay.portlet.asset.model.AssetVocabularyDisplay searchVocabulariesDisplay(
253 long groupId, java.lang.String title, boolean addDefaultVocabulary,
254 int start, int end, com.liferay.portal.kernel.search.Sort sort)
255 throws com.liferay.portal.kernel.exception.PortalException {
256 return _assetVocabularyService.searchVocabulariesDisplay(groupId,
257 title, addDefaultVocabulary, start, end, sort);
258 }
259
260 @Override
261 public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
262 long vocabularyId, java.lang.String title,
263 java.util.Map<java.util.Locale, java.lang.String> titleMap,
264 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
265 java.lang.String settings,
266 com.liferay.portal.service.ServiceContext serviceContext)
267 throws com.liferay.portal.kernel.exception.PortalException {
268 return _assetVocabularyService.updateVocabulary(vocabularyId, title,
269 titleMap, descriptionMap, settings, serviceContext);
270 }
271
272 @Override
273 public AssetVocabularyService getWrappedService() {
274 return _assetVocabularyService;
275 }
276
277 @Override
278 public void setWrappedService(AssetVocabularyService assetVocabularyService) {
279 _assetVocabularyService = assetVocabularyService;
280 }
281
282 private AssetVocabularyService _assetVocabularyService;
283 }