001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
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    /**
022     * Provides a wrapper for {@link AssetVocabularyLocalService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see AssetVocabularyLocalService
026     * @generated
027     */
028    @ProviderType
029    public class AssetVocabularyLocalServiceWrapper
030            implements AssetVocabularyLocalService,
031                    ServiceWrapper<AssetVocabularyLocalService> {
032            public AssetVocabularyLocalServiceWrapper(
033                    AssetVocabularyLocalService assetVocabularyLocalService) {
034                    _assetVocabularyLocalService = assetVocabularyLocalService;
035            }
036    
037            /**
038            * Adds the asset vocabulary to the database. Also notifies the appropriate model listeners.
039            *
040            * @param assetVocabulary the asset vocabulary
041            * @return the asset vocabulary that was added
042            * @throws SystemException if a system exception occurred
043            */
044            @Override
045            public com.liferay.portlet.asset.model.AssetVocabulary addAssetVocabulary(
046                    com.liferay.portlet.asset.model.AssetVocabulary assetVocabulary)
047                    throws com.liferay.portal.kernel.exception.SystemException {
048                    return _assetVocabularyLocalService.addAssetVocabulary(assetVocabulary);
049            }
050    
051            /**
052            * Creates a new asset vocabulary with the primary key. Does not add the asset vocabulary to the database.
053            *
054            * @param vocabularyId the primary key for the new asset vocabulary
055            * @return the new asset vocabulary
056            */
057            @Override
058            public com.liferay.portlet.asset.model.AssetVocabulary createAssetVocabulary(
059                    long vocabularyId) {
060                    return _assetVocabularyLocalService.createAssetVocabulary(vocabularyId);
061            }
062    
063            /**
064            * Deletes the asset vocabulary with the primary key from the database. Also notifies the appropriate model listeners.
065            *
066            * @param vocabularyId the primary key of the asset vocabulary
067            * @return the asset vocabulary that was removed
068            * @throws PortalException if a asset vocabulary with the primary key could not be found
069            * @throws SystemException if a system exception occurred
070            */
071            @Override
072            public com.liferay.portlet.asset.model.AssetVocabulary deleteAssetVocabulary(
073                    long vocabularyId)
074                    throws com.liferay.portal.kernel.exception.PortalException,
075                            com.liferay.portal.kernel.exception.SystemException {
076                    return _assetVocabularyLocalService.deleteAssetVocabulary(vocabularyId);
077            }
078    
079            /**
080            * Deletes the asset vocabulary from the database. Also notifies the appropriate model listeners.
081            *
082            * @param assetVocabulary the asset vocabulary
083            * @return the asset vocabulary that was removed
084            * @throws SystemException if a system exception occurred
085            */
086            @Override
087            public com.liferay.portlet.asset.model.AssetVocabulary deleteAssetVocabulary(
088                    com.liferay.portlet.asset.model.AssetVocabulary assetVocabulary)
089                    throws com.liferay.portal.kernel.exception.SystemException {
090                    return _assetVocabularyLocalService.deleteAssetVocabulary(assetVocabulary);
091            }
092    
093            @Override
094            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
095                    return _assetVocabularyLocalService.dynamicQuery();
096            }
097    
098            /**
099            * Performs a dynamic query on the database and returns the matching rows.
100            *
101            * @param dynamicQuery the dynamic query
102            * @return the matching rows
103            * @throws SystemException if a system exception occurred
104            */
105            @Override
106            @SuppressWarnings("rawtypes")
107            public java.util.List dynamicQuery(
108                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
109                    throws com.liferay.portal.kernel.exception.SystemException {
110                    return _assetVocabularyLocalService.dynamicQuery(dynamicQuery);
111            }
112    
113            /**
114            * Performs a dynamic query on the database and returns a range of the matching rows.
115            *
116            * <p>
117            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetVocabularyModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
118            * </p>
119            *
120            * @param dynamicQuery the dynamic query
121            * @param start the lower bound of the range of model instances
122            * @param end the upper bound of the range of model instances (not inclusive)
123            * @return the range of matching rows
124            * @throws SystemException if a system exception occurred
125            */
126            @Override
127            @SuppressWarnings("rawtypes")
128            public java.util.List dynamicQuery(
129                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
130                    int end) throws com.liferay.portal.kernel.exception.SystemException {
131                    return _assetVocabularyLocalService.dynamicQuery(dynamicQuery, start,
132                            end);
133            }
134    
135            /**
136            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
137            *
138            * <p>
139            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetVocabularyModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
140            * </p>
141            *
142            * @param dynamicQuery the dynamic query
143            * @param start the lower bound of the range of model instances
144            * @param end the upper bound of the range of model instances (not inclusive)
145            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
146            * @return the ordered range of matching rows
147            * @throws SystemException if a system exception occurred
148            */
149            @Override
150            @SuppressWarnings("rawtypes")
151            public java.util.List dynamicQuery(
152                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
153                    int end,
154                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
155                    throws com.liferay.portal.kernel.exception.SystemException {
156                    return _assetVocabularyLocalService.dynamicQuery(dynamicQuery, start,
157                            end, orderByComparator);
158            }
159    
160            /**
161            * Returns the number of rows that match the dynamic query.
162            *
163            * @param dynamicQuery the dynamic query
164            * @return the number of rows that match the dynamic query
165            * @throws SystemException if a system exception occurred
166            */
167            @Override
168            public long dynamicQueryCount(
169                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
170                    throws com.liferay.portal.kernel.exception.SystemException {
171                    return _assetVocabularyLocalService.dynamicQueryCount(dynamicQuery);
172            }
173    
174            /**
175            * Returns the number of rows that match the dynamic query.
176            *
177            * @param dynamicQuery the dynamic query
178            * @param projection the projection to apply to the query
179            * @return the number of rows that match the dynamic query
180            * @throws SystemException if a system exception occurred
181            */
182            @Override
183            public long dynamicQueryCount(
184                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
185                    com.liferay.portal.kernel.dao.orm.Projection projection)
186                    throws com.liferay.portal.kernel.exception.SystemException {
187                    return _assetVocabularyLocalService.dynamicQueryCount(dynamicQuery,
188                            projection);
189            }
190    
191            @Override
192            public com.liferay.portlet.asset.model.AssetVocabulary fetchAssetVocabulary(
193                    long vocabularyId)
194                    throws com.liferay.portal.kernel.exception.SystemException {
195                    return _assetVocabularyLocalService.fetchAssetVocabulary(vocabularyId);
196            }
197    
198            /**
199            * Returns the asset vocabulary with the matching UUID and company.
200            *
201            * @param uuid the asset vocabulary's UUID
202            * @param companyId the primary key of the company
203            * @return the matching asset vocabulary, or <code>null</code> if a matching asset vocabulary could not be found
204            * @throws SystemException if a system exception occurred
205            */
206            @Override
207            public com.liferay.portlet.asset.model.AssetVocabulary fetchAssetVocabularyByUuidAndCompanyId(
208                    java.lang.String uuid, long companyId)
209                    throws com.liferay.portal.kernel.exception.SystemException {
210                    return _assetVocabularyLocalService.fetchAssetVocabularyByUuidAndCompanyId(uuid,
211                            companyId);
212            }
213    
214            /**
215            * Returns the asset vocabulary matching the UUID and group.
216            *
217            * @param uuid the asset vocabulary's UUID
218            * @param groupId the primary key of the group
219            * @return the matching asset vocabulary, or <code>null</code> if a matching asset vocabulary could not be found
220            * @throws SystemException if a system exception occurred
221            */
222            @Override
223            public com.liferay.portlet.asset.model.AssetVocabulary fetchAssetVocabularyByUuidAndGroupId(
224                    java.lang.String uuid, long groupId)
225                    throws com.liferay.portal.kernel.exception.SystemException {
226                    return _assetVocabularyLocalService.fetchAssetVocabularyByUuidAndGroupId(uuid,
227                            groupId);
228            }
229    
230            /**
231            * Returns the asset vocabulary with the primary key.
232            *
233            * @param vocabularyId the primary key of the asset vocabulary
234            * @return the asset vocabulary
235            * @throws PortalException if a asset vocabulary with the primary key could not be found
236            * @throws SystemException if a system exception occurred
237            */
238            @Override
239            public com.liferay.portlet.asset.model.AssetVocabulary getAssetVocabulary(
240                    long vocabularyId)
241                    throws com.liferay.portal.kernel.exception.PortalException,
242                            com.liferay.portal.kernel.exception.SystemException {
243                    return _assetVocabularyLocalService.getAssetVocabulary(vocabularyId);
244            }
245    
246            @Override
247            public com.liferay.portal.model.PersistedModel getPersistedModel(
248                    java.io.Serializable primaryKeyObj)
249                    throws com.liferay.portal.kernel.exception.PortalException,
250                            com.liferay.portal.kernel.exception.SystemException {
251                    return _assetVocabularyLocalService.getPersistedModel(primaryKeyObj);
252            }
253    
254            /**
255            * Returns the asset vocabulary with the matching UUID and company.
256            *
257            * @param uuid the asset vocabulary's UUID
258            * @param companyId the primary key of the company
259            * @return the matching asset vocabulary
260            * @throws PortalException if a matching asset vocabulary could not be found
261            * @throws SystemException if a system exception occurred
262            */
263            @Override
264            public com.liferay.portlet.asset.model.AssetVocabulary getAssetVocabularyByUuidAndCompanyId(
265                    java.lang.String uuid, long companyId)
266                    throws com.liferay.portal.kernel.exception.PortalException,
267                            com.liferay.portal.kernel.exception.SystemException {
268                    return _assetVocabularyLocalService.getAssetVocabularyByUuidAndCompanyId(uuid,
269                            companyId);
270            }
271    
272            /**
273            * Returns the asset vocabulary matching the UUID and group.
274            *
275            * @param uuid the asset vocabulary's UUID
276            * @param groupId the primary key of the group
277            * @return the matching asset vocabulary
278            * @throws PortalException if a matching asset vocabulary could not be found
279            * @throws SystemException if a system exception occurred
280            */
281            @Override
282            public com.liferay.portlet.asset.model.AssetVocabulary getAssetVocabularyByUuidAndGroupId(
283                    java.lang.String uuid, long groupId)
284                    throws com.liferay.portal.kernel.exception.PortalException,
285                            com.liferay.portal.kernel.exception.SystemException {
286                    return _assetVocabularyLocalService.getAssetVocabularyByUuidAndGroupId(uuid,
287                            groupId);
288            }
289    
290            /**
291            * Returns a range of all the asset vocabularies.
292            *
293            * <p>
294            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetVocabularyModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
295            * </p>
296            *
297            * @param start the lower bound of the range of asset vocabularies
298            * @param end the upper bound of the range of asset vocabularies (not inclusive)
299            * @return the range of asset vocabularies
300            * @throws SystemException if a system exception occurred
301            */
302            @Override
303            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getAssetVocabularies(
304                    int start, int end)
305                    throws com.liferay.portal.kernel.exception.SystemException {
306                    return _assetVocabularyLocalService.getAssetVocabularies(start, end);
307            }
308    
309            /**
310            * Returns the number of asset vocabularies.
311            *
312            * @return the number of asset vocabularies
313            * @throws SystemException if a system exception occurred
314            */
315            @Override
316            public int getAssetVocabulariesCount()
317                    throws com.liferay.portal.kernel.exception.SystemException {
318                    return _assetVocabularyLocalService.getAssetVocabulariesCount();
319            }
320    
321            /**
322            * Updates the asset vocabulary in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
323            *
324            * @param assetVocabulary the asset vocabulary
325            * @return the asset vocabulary that was updated
326            * @throws SystemException if a system exception occurred
327            */
328            @Override
329            public com.liferay.portlet.asset.model.AssetVocabulary updateAssetVocabulary(
330                    com.liferay.portlet.asset.model.AssetVocabulary assetVocabulary)
331                    throws com.liferay.portal.kernel.exception.SystemException {
332                    return _assetVocabularyLocalService.updateAssetVocabulary(assetVocabulary);
333            }
334    
335            /**
336            * Returns the Spring bean ID for this bean.
337            *
338            * @return the Spring bean ID for this bean
339            */
340            @Override
341            public java.lang.String getBeanIdentifier() {
342                    return _assetVocabularyLocalService.getBeanIdentifier();
343            }
344    
345            /**
346            * Sets the Spring bean ID for this bean.
347            *
348            * @param beanIdentifier the Spring bean ID for this bean
349            */
350            @Override
351            public void setBeanIdentifier(java.lang.String beanIdentifier) {
352                    _assetVocabularyLocalService.setBeanIdentifier(beanIdentifier);
353            }
354    
355            @Override
356            public com.liferay.portlet.asset.model.AssetVocabulary addDefaultVocabulary(
357                    long groupId)
358                    throws com.liferay.portal.kernel.exception.PortalException,
359                            com.liferay.portal.kernel.exception.SystemException {
360                    return _assetVocabularyLocalService.addDefaultVocabulary(groupId);
361            }
362    
363            /**
364            * @deprecated As of 6.1.0
365            */
366            @Override
367            public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
368                    long userId,
369                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
370                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
371                    java.lang.String settings,
372                    com.liferay.portal.service.ServiceContext serviceContext)
373                    throws com.liferay.portal.kernel.exception.PortalException,
374                            com.liferay.portal.kernel.exception.SystemException {
375                    return _assetVocabularyLocalService.addVocabulary(userId, titleMap,
376                            descriptionMap, settings, serviceContext);
377            }
378    
379            @Override
380            public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
381                    long userId, java.lang.String title,
382                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
383                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
384                    java.lang.String settings,
385                    com.liferay.portal.service.ServiceContext serviceContext)
386                    throws com.liferay.portal.kernel.exception.PortalException,
387                            com.liferay.portal.kernel.exception.SystemException {
388                    return _assetVocabularyLocalService.addVocabulary(userId, title,
389                            titleMap, descriptionMap, settings, serviceContext);
390            }
391    
392            @Override
393            public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
394                    long userId, java.lang.String title,
395                    com.liferay.portal.service.ServiceContext serviceContext)
396                    throws com.liferay.portal.kernel.exception.PortalException,
397                            com.liferay.portal.kernel.exception.SystemException {
398                    return _assetVocabularyLocalService.addVocabulary(userId, title,
399                            serviceContext);
400            }
401    
402            @Override
403            public void addVocabularyResources(
404                    com.liferay.portlet.asset.model.AssetVocabulary vocabulary,
405                    boolean addGroupPermissions, boolean addGuestPermissions)
406                    throws com.liferay.portal.kernel.exception.PortalException,
407                            com.liferay.portal.kernel.exception.SystemException {
408                    _assetVocabularyLocalService.addVocabularyResources(vocabulary,
409                            addGroupPermissions, addGuestPermissions);
410            }
411    
412            @Override
413            public void addVocabularyResources(
414                    com.liferay.portlet.asset.model.AssetVocabulary vocabulary,
415                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
416                    throws com.liferay.portal.kernel.exception.PortalException,
417                            com.liferay.portal.kernel.exception.SystemException {
418                    _assetVocabularyLocalService.addVocabularyResources(vocabulary,
419                            groupPermissions, guestPermissions);
420            }
421    
422            @Override
423            public void deleteVocabularies(long groupId)
424                    throws com.liferay.portal.kernel.exception.PortalException,
425                            com.liferay.portal.kernel.exception.SystemException {
426                    _assetVocabularyLocalService.deleteVocabularies(groupId);
427            }
428    
429            @Override
430            public void deleteVocabulary(
431                    com.liferay.portlet.asset.model.AssetVocabulary vocabulary)
432                    throws com.liferay.portal.kernel.exception.PortalException,
433                            com.liferay.portal.kernel.exception.SystemException {
434                    _assetVocabularyLocalService.deleteVocabulary(vocabulary);
435            }
436    
437            @Override
438            public void deleteVocabulary(long vocabularyId)
439                    throws com.liferay.portal.kernel.exception.PortalException,
440                            com.liferay.portal.kernel.exception.SystemException {
441                    _assetVocabularyLocalService.deleteVocabulary(vocabularyId);
442            }
443    
444            @Override
445            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getCompanyVocabularies(
446                    long companyId)
447                    throws com.liferay.portal.kernel.exception.SystemException {
448                    return _assetVocabularyLocalService.getCompanyVocabularies(companyId);
449            }
450    
451            @Override
452            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
453                    long[] groupIds)
454                    throws com.liferay.portal.kernel.exception.PortalException,
455                            com.liferay.portal.kernel.exception.SystemException {
456                    return _assetVocabularyLocalService.getGroupsVocabularies(groupIds);
457            }
458    
459            @Override
460            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
461                    long[] groupIds, java.lang.String className)
462                    throws com.liferay.portal.kernel.exception.PortalException,
463                            com.liferay.portal.kernel.exception.SystemException {
464                    return _assetVocabularyLocalService.getGroupsVocabularies(groupIds,
465                            className);
466            }
467    
468            @Override
469            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
470                    long groupId)
471                    throws com.liferay.portal.kernel.exception.PortalException,
472                            com.liferay.portal.kernel.exception.SystemException {
473                    return _assetVocabularyLocalService.getGroupVocabularies(groupId);
474            }
475    
476            @Override
477            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
478                    long groupId, boolean addDefaultVocabulary)
479                    throws com.liferay.portal.kernel.exception.PortalException,
480                            com.liferay.portal.kernel.exception.SystemException {
481                    return _assetVocabularyLocalService.getGroupVocabularies(groupId,
482                            addDefaultVocabulary);
483            }
484    
485            @Override
486            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
487                    long groupId, java.lang.String name, int start, int end,
488                    com.liferay.portal.kernel.util.OrderByComparator obc)
489                    throws com.liferay.portal.kernel.exception.SystemException {
490                    return _assetVocabularyLocalService.getGroupVocabularies(groupId, name,
491                            start, end, obc);
492            }
493    
494            @Override
495            public com.liferay.portlet.asset.model.AssetVocabulary getGroupVocabulary(
496                    long groupId, java.lang.String name)
497                    throws com.liferay.portal.kernel.exception.PortalException,
498                            com.liferay.portal.kernel.exception.SystemException {
499                    return _assetVocabularyLocalService.getGroupVocabulary(groupId, name);
500            }
501    
502            @Override
503            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getVocabularies(
504                    long[] vocabularyIds)
505                    throws com.liferay.portal.kernel.exception.PortalException,
506                            com.liferay.portal.kernel.exception.SystemException {
507                    return _assetVocabularyLocalService.getVocabularies(vocabularyIds);
508            }
509    
510            @Override
511            public com.liferay.portlet.asset.model.AssetVocabulary getVocabulary(
512                    long vocabularyId)
513                    throws com.liferay.portal.kernel.exception.PortalException,
514                            com.liferay.portal.kernel.exception.SystemException {
515                    return _assetVocabularyLocalService.getVocabulary(vocabularyId);
516            }
517    
518            /**
519            * @deprecated As of 6.1.0
520            */
521            @Override
522            public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
523                    long vocabularyId,
524                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
525                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
526                    java.lang.String settings,
527                    com.liferay.portal.service.ServiceContext serviceContext)
528                    throws com.liferay.portal.kernel.exception.PortalException,
529                            com.liferay.portal.kernel.exception.SystemException {
530                    return _assetVocabularyLocalService.updateVocabulary(vocabularyId,
531                            titleMap, descriptionMap, settings, serviceContext);
532            }
533    
534            @Override
535            public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
536                    long vocabularyId, java.lang.String title,
537                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
538                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
539                    java.lang.String settings,
540                    com.liferay.portal.service.ServiceContext serviceContext)
541                    throws com.liferay.portal.kernel.exception.PortalException,
542                            com.liferay.portal.kernel.exception.SystemException {
543                    return _assetVocabularyLocalService.updateVocabulary(vocabularyId,
544                            title, titleMap, descriptionMap, settings, serviceContext);
545            }
546    
547            /**
548             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
549             */
550            public AssetVocabularyLocalService getWrappedAssetVocabularyLocalService() {
551                    return _assetVocabularyLocalService;
552            }
553    
554            /**
555             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
556             */
557            public void setWrappedAssetVocabularyLocalService(
558                    AssetVocabularyLocalService assetVocabularyLocalService) {
559                    _assetVocabularyLocalService = assetVocabularyLocalService;
560            }
561    
562            @Override
563            public AssetVocabularyLocalService getWrappedService() {
564                    return _assetVocabularyLocalService;
565            }
566    
567            @Override
568            public void setWrappedService(
569                    AssetVocabularyLocalService assetVocabularyLocalService) {
570                    _assetVocabularyLocalService = assetVocabularyLocalService;
571            }
572    
573            private AssetVocabularyLocalService _assetVocabularyLocalService;
574    }