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 com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018    import com.liferay.portal.kernel.util.ReferenceRegistry;
019    
020    /**
021     * Provides the local service utility for AssetVocabulary. This utility wraps
022     * {@link com.liferay.portlet.asset.service.impl.AssetVocabularyLocalServiceImpl} and is the
023     * primary access point for service operations in application layer code running
024     * on the local server. Methods of this service will not have security checks
025     * based on the propagated JAAS credentials because this service can only be
026     * accessed from within the same VM.
027     *
028     * @author Brian Wing Shun Chan
029     * @see AssetVocabularyLocalService
030     * @see com.liferay.portlet.asset.service.base.AssetVocabularyLocalServiceBaseImpl
031     * @see com.liferay.portlet.asset.service.impl.AssetVocabularyLocalServiceImpl
032     * @generated
033     */
034    public class AssetVocabularyLocalServiceUtil {
035            /*
036             * NOTE FOR DEVELOPERS:
037             *
038             * Never modify this class directly. Add custom service methods to {@link com.liferay.portlet.asset.service.impl.AssetVocabularyLocalServiceImpl} and rerun ServiceBuilder to regenerate this class.
039             */
040    
041            /**
042            * Adds the asset vocabulary to the database. Also notifies the appropriate model listeners.
043            *
044            * @param assetVocabulary the asset vocabulary
045            * @return the asset vocabulary that was added
046            * @throws SystemException if a system exception occurred
047            */
048            public static com.liferay.portlet.asset.model.AssetVocabulary addAssetVocabulary(
049                    com.liferay.portlet.asset.model.AssetVocabulary assetVocabulary)
050                    throws com.liferay.portal.kernel.exception.SystemException {
051                    return getService().addAssetVocabulary(assetVocabulary);
052            }
053    
054            /**
055            * Creates a new asset vocabulary with the primary key. Does not add the asset vocabulary to the database.
056            *
057            * @param vocabularyId the primary key for the new asset vocabulary
058            * @return the new asset vocabulary
059            */
060            public static com.liferay.portlet.asset.model.AssetVocabulary createAssetVocabulary(
061                    long vocabularyId) {
062                    return getService().createAssetVocabulary(vocabularyId);
063            }
064    
065            /**
066            * Deletes the asset vocabulary with the primary key from the database. Also notifies the appropriate model listeners.
067            *
068            * @param vocabularyId the primary key of the asset vocabulary
069            * @return the asset vocabulary that was removed
070            * @throws PortalException if a asset vocabulary with the primary key could not be found
071            * @throws SystemException if a system exception occurred
072            */
073            public static com.liferay.portlet.asset.model.AssetVocabulary deleteAssetVocabulary(
074                    long vocabularyId)
075                    throws com.liferay.portal.kernel.exception.PortalException,
076                            com.liferay.portal.kernel.exception.SystemException {
077                    return getService().deleteAssetVocabulary(vocabularyId);
078            }
079    
080            /**
081            * Deletes the asset vocabulary from the database. Also notifies the appropriate model listeners.
082            *
083            * @param assetVocabulary the asset vocabulary
084            * @return the asset vocabulary that was removed
085            * @throws SystemException if a system exception occurred
086            */
087            public static 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 getService().deleteAssetVocabulary(assetVocabulary);
091            }
092    
093            public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
094                    return getService().dynamicQuery();
095            }
096    
097            /**
098            * Performs a dynamic query on the database and returns the matching rows.
099            *
100            * @param dynamicQuery the dynamic query
101            * @return the matching rows
102            * @throws SystemException if a system exception occurred
103            */
104            @SuppressWarnings("rawtypes")
105            public static java.util.List dynamicQuery(
106                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
107                    throws com.liferay.portal.kernel.exception.SystemException {
108                    return getService().dynamicQuery(dynamicQuery);
109            }
110    
111            /**
112            * Performs a dynamic query on the database and returns a range of the matching rows.
113            *
114            * <p>
115            * 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.
116            * </p>
117            *
118            * @param dynamicQuery the dynamic query
119            * @param start the lower bound of the range of model instances
120            * @param end the upper bound of the range of model instances (not inclusive)
121            * @return the range of matching rows
122            * @throws SystemException if a system exception occurred
123            */
124            @SuppressWarnings("rawtypes")
125            public static java.util.List dynamicQuery(
126                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
127                    int end) throws com.liferay.portal.kernel.exception.SystemException {
128                    return getService().dynamicQuery(dynamicQuery, start, end);
129            }
130    
131            /**
132            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
133            *
134            * <p>
135            * 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.
136            * </p>
137            *
138            * @param dynamicQuery the dynamic query
139            * @param start the lower bound of the range of model instances
140            * @param end the upper bound of the range of model instances (not inclusive)
141            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
142            * @return the ordered range of matching rows
143            * @throws SystemException if a system exception occurred
144            */
145            @SuppressWarnings("rawtypes")
146            public static java.util.List dynamicQuery(
147                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
148                    int end,
149                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
150                    throws com.liferay.portal.kernel.exception.SystemException {
151                    return getService()
152                                       .dynamicQuery(dynamicQuery, start, end, orderByComparator);
153            }
154    
155            /**
156            * Returns the number of rows that match the dynamic query.
157            *
158            * @param dynamicQuery the dynamic query
159            * @return the number of rows that match the dynamic query
160            * @throws SystemException if a system exception occurred
161            */
162            public static long dynamicQueryCount(
163                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
164                    throws com.liferay.portal.kernel.exception.SystemException {
165                    return getService().dynamicQueryCount(dynamicQuery);
166            }
167    
168            /**
169            * Returns the number of rows that match the dynamic query.
170            *
171            * @param dynamicQuery the dynamic query
172            * @param projection the projection to apply to the query
173            * @return the number of rows that match the dynamic query
174            * @throws SystemException if a system exception occurred
175            */
176            public static long dynamicQueryCount(
177                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
178                    com.liferay.portal.kernel.dao.orm.Projection projection)
179                    throws com.liferay.portal.kernel.exception.SystemException {
180                    return getService().dynamicQueryCount(dynamicQuery, projection);
181            }
182    
183            public static com.liferay.portlet.asset.model.AssetVocabulary fetchAssetVocabulary(
184                    long vocabularyId)
185                    throws com.liferay.portal.kernel.exception.SystemException {
186                    return getService().fetchAssetVocabulary(vocabularyId);
187            }
188    
189            /**
190            * Returns the asset vocabulary with the matching UUID and company.
191            *
192            * @param uuid the asset vocabulary's UUID
193            * @param companyId the primary key of the company
194            * @return the matching asset vocabulary, or <code>null</code> if a matching asset vocabulary could not be found
195            * @throws SystemException if a system exception occurred
196            */
197            public static com.liferay.portlet.asset.model.AssetVocabulary fetchAssetVocabularyByUuidAndCompanyId(
198                    java.lang.String uuid, long companyId)
199                    throws com.liferay.portal.kernel.exception.SystemException {
200                    return getService()
201                                       .fetchAssetVocabularyByUuidAndCompanyId(uuid, companyId);
202            }
203    
204            /**
205            * Returns the asset vocabulary matching the UUID and group.
206            *
207            * @param uuid the asset vocabulary's UUID
208            * @param groupId the primary key of the group
209            * @return the matching asset vocabulary, or <code>null</code> if a matching asset vocabulary could not be found
210            * @throws SystemException if a system exception occurred
211            */
212            public static com.liferay.portlet.asset.model.AssetVocabulary fetchAssetVocabularyByUuidAndGroupId(
213                    java.lang.String uuid, long groupId)
214                    throws com.liferay.portal.kernel.exception.SystemException {
215                    return getService().fetchAssetVocabularyByUuidAndGroupId(uuid, groupId);
216            }
217    
218            /**
219            * Returns the asset vocabulary with the primary key.
220            *
221            * @param vocabularyId the primary key of the asset vocabulary
222            * @return the asset vocabulary
223            * @throws PortalException if a asset vocabulary with the primary key could not be found
224            * @throws SystemException if a system exception occurred
225            */
226            public static com.liferay.portlet.asset.model.AssetVocabulary getAssetVocabulary(
227                    long vocabularyId)
228                    throws com.liferay.portal.kernel.exception.PortalException,
229                            com.liferay.portal.kernel.exception.SystemException {
230                    return getService().getAssetVocabulary(vocabularyId);
231            }
232    
233            public static com.liferay.portal.model.PersistedModel getPersistedModel(
234                    java.io.Serializable primaryKeyObj)
235                    throws com.liferay.portal.kernel.exception.PortalException,
236                            com.liferay.portal.kernel.exception.SystemException {
237                    return getService().getPersistedModel(primaryKeyObj);
238            }
239    
240            /**
241            * Returns the asset vocabulary with the matching UUID and company.
242            *
243            * @param uuid the asset vocabulary's UUID
244            * @param companyId the primary key of the company
245            * @return the matching asset vocabulary
246            * @throws PortalException if a matching asset vocabulary could not be found
247            * @throws SystemException if a system exception occurred
248            */
249            public static com.liferay.portlet.asset.model.AssetVocabulary getAssetVocabularyByUuidAndCompanyId(
250                    java.lang.String uuid, long companyId)
251                    throws com.liferay.portal.kernel.exception.PortalException,
252                            com.liferay.portal.kernel.exception.SystemException {
253                    return getService().getAssetVocabularyByUuidAndCompanyId(uuid, companyId);
254            }
255    
256            /**
257            * Returns the asset vocabulary matching the UUID and group.
258            *
259            * @param uuid the asset vocabulary's UUID
260            * @param groupId the primary key of the group
261            * @return the matching asset vocabulary
262            * @throws PortalException if a matching asset vocabulary could not be found
263            * @throws SystemException if a system exception occurred
264            */
265            public static com.liferay.portlet.asset.model.AssetVocabulary getAssetVocabularyByUuidAndGroupId(
266                    java.lang.String uuid, long groupId)
267                    throws com.liferay.portal.kernel.exception.PortalException,
268                            com.liferay.portal.kernel.exception.SystemException {
269                    return getService().getAssetVocabularyByUuidAndGroupId(uuid, groupId);
270            }
271    
272            /**
273            * Returns a range of all the asset vocabularies.
274            *
275            * <p>
276            * 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.
277            * </p>
278            *
279            * @param start the lower bound of the range of asset vocabularies
280            * @param end the upper bound of the range of asset vocabularies (not inclusive)
281            * @return the range of asset vocabularies
282            * @throws SystemException if a system exception occurred
283            */
284            public static java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getAssetVocabularies(
285                    int start, int end)
286                    throws com.liferay.portal.kernel.exception.SystemException {
287                    return getService().getAssetVocabularies(start, end);
288            }
289    
290            /**
291            * Returns the number of asset vocabularies.
292            *
293            * @return the number of asset vocabularies
294            * @throws SystemException if a system exception occurred
295            */
296            public static int getAssetVocabulariesCount()
297                    throws com.liferay.portal.kernel.exception.SystemException {
298                    return getService().getAssetVocabulariesCount();
299            }
300    
301            /**
302            * Updates the asset vocabulary in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
303            *
304            * @param assetVocabulary the asset vocabulary
305            * @return the asset vocabulary that was updated
306            * @throws SystemException if a system exception occurred
307            */
308            public static com.liferay.portlet.asset.model.AssetVocabulary updateAssetVocabulary(
309                    com.liferay.portlet.asset.model.AssetVocabulary assetVocabulary)
310                    throws com.liferay.portal.kernel.exception.SystemException {
311                    return getService().updateAssetVocabulary(assetVocabulary);
312            }
313    
314            /**
315            * Returns the Spring bean ID for this bean.
316            *
317            * @return the Spring bean ID for this bean
318            */
319            public static java.lang.String getBeanIdentifier() {
320                    return getService().getBeanIdentifier();
321            }
322    
323            /**
324            * Sets the Spring bean ID for this bean.
325            *
326            * @param beanIdentifier the Spring bean ID for this bean
327            */
328            public static void setBeanIdentifier(java.lang.String beanIdentifier) {
329                    getService().setBeanIdentifier(beanIdentifier);
330            }
331    
332            public static com.liferay.portlet.asset.model.AssetVocabulary addDefaultVocabulary(
333                    long groupId)
334                    throws com.liferay.portal.kernel.exception.PortalException,
335                            com.liferay.portal.kernel.exception.SystemException {
336                    return getService().addDefaultVocabulary(groupId);
337            }
338    
339            /**
340            * @deprecated As of 6.1.0
341            */
342            public static com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
343                    long userId,
344                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
345                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
346                    java.lang.String settings,
347                    com.liferay.portal.service.ServiceContext serviceContext)
348                    throws com.liferay.portal.kernel.exception.PortalException,
349                            com.liferay.portal.kernel.exception.SystemException {
350                    return getService()
351                                       .addVocabulary(userId, titleMap, descriptionMap, settings,
352                            serviceContext);
353            }
354    
355            public static com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
356                    long userId, java.lang.String title,
357                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
358                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
359                    java.lang.String settings,
360                    com.liferay.portal.service.ServiceContext serviceContext)
361                    throws com.liferay.portal.kernel.exception.PortalException,
362                            com.liferay.portal.kernel.exception.SystemException {
363                    return getService()
364                                       .addVocabulary(userId, title, titleMap, descriptionMap,
365                            settings, serviceContext);
366            }
367    
368            public static com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
369                    long userId, java.lang.String title,
370                    com.liferay.portal.service.ServiceContext serviceContext)
371                    throws com.liferay.portal.kernel.exception.PortalException,
372                            com.liferay.portal.kernel.exception.SystemException {
373                    return getService().addVocabulary(userId, title, serviceContext);
374            }
375    
376            public static void addVocabularyResources(
377                    com.liferay.portlet.asset.model.AssetVocabulary vocabulary,
378                    boolean addGroupPermissions, boolean addGuestPermissions)
379                    throws com.liferay.portal.kernel.exception.PortalException,
380                            com.liferay.portal.kernel.exception.SystemException {
381                    getService()
382                            .addVocabularyResources(vocabulary, addGroupPermissions,
383                            addGuestPermissions);
384            }
385    
386            public static void addVocabularyResources(
387                    com.liferay.portlet.asset.model.AssetVocabulary vocabulary,
388                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
389                    throws com.liferay.portal.kernel.exception.PortalException,
390                            com.liferay.portal.kernel.exception.SystemException {
391                    getService()
392                            .addVocabularyResources(vocabulary, groupPermissions,
393                            guestPermissions);
394            }
395    
396            public static void deleteVocabularies(long groupId)
397                    throws com.liferay.portal.kernel.exception.PortalException,
398                            com.liferay.portal.kernel.exception.SystemException {
399                    getService().deleteVocabularies(groupId);
400            }
401    
402            public static void deleteVocabulary(
403                    com.liferay.portlet.asset.model.AssetVocabulary vocabulary)
404                    throws com.liferay.portal.kernel.exception.PortalException,
405                            com.liferay.portal.kernel.exception.SystemException {
406                    getService().deleteVocabulary(vocabulary);
407            }
408    
409            public static void deleteVocabulary(long vocabularyId)
410                    throws com.liferay.portal.kernel.exception.PortalException,
411                            com.liferay.portal.kernel.exception.SystemException {
412                    getService().deleteVocabulary(vocabularyId);
413            }
414    
415            public static java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getCompanyVocabularies(
416                    long companyId)
417                    throws com.liferay.portal.kernel.exception.SystemException {
418                    return getService().getCompanyVocabularies(companyId);
419            }
420    
421            public static java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
422                    long[] groupIds)
423                    throws com.liferay.portal.kernel.exception.PortalException,
424                            com.liferay.portal.kernel.exception.SystemException {
425                    return getService().getGroupsVocabularies(groupIds);
426            }
427    
428            public static java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
429                    long[] groupIds, java.lang.String className)
430                    throws com.liferay.portal.kernel.exception.PortalException,
431                            com.liferay.portal.kernel.exception.SystemException {
432                    return getService().getGroupsVocabularies(groupIds, className);
433            }
434    
435            public static java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
436                    long groupId)
437                    throws com.liferay.portal.kernel.exception.PortalException,
438                            com.liferay.portal.kernel.exception.SystemException {
439                    return getService().getGroupVocabularies(groupId);
440            }
441    
442            public static java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
443                    long groupId, boolean addDefaultVocabulary)
444                    throws com.liferay.portal.kernel.exception.PortalException,
445                            com.liferay.portal.kernel.exception.SystemException {
446                    return getService().getGroupVocabularies(groupId, addDefaultVocabulary);
447            }
448    
449            public static java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
450                    long groupId, java.lang.String name, int start, int end,
451                    com.liferay.portal.kernel.util.OrderByComparator obc)
452                    throws com.liferay.portal.kernel.exception.SystemException {
453                    return getService().getGroupVocabularies(groupId, name, start, end, obc);
454            }
455    
456            public static com.liferay.portlet.asset.model.AssetVocabulary getGroupVocabulary(
457                    long groupId, java.lang.String name)
458                    throws com.liferay.portal.kernel.exception.PortalException,
459                            com.liferay.portal.kernel.exception.SystemException {
460                    return getService().getGroupVocabulary(groupId, name);
461            }
462    
463            public static java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getVocabularies(
464                    long[] vocabularyIds)
465                    throws com.liferay.portal.kernel.exception.PortalException,
466                            com.liferay.portal.kernel.exception.SystemException {
467                    return getService().getVocabularies(vocabularyIds);
468            }
469    
470            public static com.liferay.portlet.asset.model.AssetVocabulary getVocabulary(
471                    long vocabularyId)
472                    throws com.liferay.portal.kernel.exception.PortalException,
473                            com.liferay.portal.kernel.exception.SystemException {
474                    return getService().getVocabulary(vocabularyId);
475            }
476    
477            /**
478            * @deprecated As of 6.1.0
479            */
480            public static com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
481                    long vocabularyId,
482                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
483                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
484                    java.lang.String settings,
485                    com.liferay.portal.service.ServiceContext serviceContext)
486                    throws com.liferay.portal.kernel.exception.PortalException,
487                            com.liferay.portal.kernel.exception.SystemException {
488                    return getService()
489                                       .updateVocabulary(vocabularyId, titleMap, descriptionMap,
490                            settings, serviceContext);
491            }
492    
493            public static com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
494                    long vocabularyId, java.lang.String title,
495                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
496                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
497                    java.lang.String settings,
498                    com.liferay.portal.service.ServiceContext serviceContext)
499                    throws com.liferay.portal.kernel.exception.PortalException,
500                            com.liferay.portal.kernel.exception.SystemException {
501                    return getService()
502                                       .updateVocabulary(vocabularyId, title, titleMap,
503                            descriptionMap, settings, serviceContext);
504            }
505    
506            public static AssetVocabularyLocalService getService() {
507                    if (_service == null) {
508                            _service = (AssetVocabularyLocalService)PortalBeanLocatorUtil.locate(AssetVocabularyLocalService.class.getName());
509    
510                            ReferenceRegistry.registerReference(AssetVocabularyLocalServiceUtil.class,
511                                    "_service");
512                    }
513    
514                    return _service;
515            }
516    
517            /**
518             * @deprecated As of 6.2.0
519             */
520            public void setService(AssetVocabularyLocalService service) {
521            }
522    
523            private static AssetVocabularyLocalService _service;
524    }