001    /**
002     * Copyright (c) 2000-present 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.kernel.bean.PortalBeanLocatorUtil;
020    import com.liferay.portal.kernel.util.ReferenceRegistry;
021    
022    /**
023     * Provides the local service utility for AssetTag. This utility wraps
024     * {@link com.liferay.portlet.asset.service.impl.AssetTagLocalServiceImpl} and is the
025     * primary access point for service operations in application layer code running
026     * on the local server. Methods of this service will not have security checks
027     * based on the propagated JAAS credentials because this service can only be
028     * accessed from within the same VM.
029     *
030     * @author Brian Wing Shun Chan
031     * @see AssetTagLocalService
032     * @see com.liferay.portlet.asset.service.base.AssetTagLocalServiceBaseImpl
033     * @see com.liferay.portlet.asset.service.impl.AssetTagLocalServiceImpl
034     * @generated
035     */
036    @ProviderType
037    public class AssetTagLocalServiceUtil {
038            /*
039             * NOTE FOR DEVELOPERS:
040             *
041             * Never modify this class directly. Add custom service methods to {@link com.liferay.portlet.asset.service.impl.AssetTagLocalServiceImpl} and rerun ServiceBuilder to regenerate this class.
042             */
043            public static void addAssetEntryAssetTag(long entryId,
044                    com.liferay.portlet.asset.model.AssetTag assetTag) {
045                    getService().addAssetEntryAssetTag(entryId, assetTag);
046            }
047    
048            public static void addAssetEntryAssetTag(long entryId, long tagId) {
049                    getService().addAssetEntryAssetTag(entryId, tagId);
050            }
051    
052            public static void addAssetEntryAssetTags(long entryId,
053                    java.util.List<com.liferay.portlet.asset.model.AssetTag> AssetTags) {
054                    getService().addAssetEntryAssetTags(entryId, AssetTags);
055            }
056    
057            public static void addAssetEntryAssetTags(long entryId, long[] tagIds) {
058                    getService().addAssetEntryAssetTags(entryId, tagIds);
059            }
060    
061            /**
062            * Adds the asset tag to the database. Also notifies the appropriate model listeners.
063            *
064            * @param assetTag the asset tag
065            * @return the asset tag that was added
066            */
067            public static com.liferay.portlet.asset.model.AssetTag addAssetTag(
068                    com.liferay.portlet.asset.model.AssetTag assetTag) {
069                    return getService().addAssetTag(assetTag);
070            }
071    
072            public static com.liferay.portlet.asset.model.AssetTag addTag(long userId,
073                    java.lang.String name, java.lang.String[] tagProperties,
074                    com.liferay.portal.service.ServiceContext serviceContext)
075                    throws com.liferay.portal.kernel.exception.PortalException {
076                    return getService().addTag(userId, name, tagProperties, serviceContext);
077            }
078    
079            public static void addTagResources(
080                    com.liferay.portlet.asset.model.AssetTag tag,
081                    boolean addGroupPermissions, boolean addGuestPermissions)
082                    throws com.liferay.portal.kernel.exception.PortalException {
083                    getService()
084                            .addTagResources(tag, addGroupPermissions, addGuestPermissions);
085            }
086    
087            public static void addTagResources(
088                    com.liferay.portlet.asset.model.AssetTag tag,
089                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
090                    throws com.liferay.portal.kernel.exception.PortalException {
091                    getService().addTagResources(tag, groupPermissions, guestPermissions);
092            }
093    
094            /**
095            * Returns the tags matching the group and names, creating new tags with the
096            * names if the group doesn't already have them.
097            *
098            * <p>
099            * For each name, if a tag with that name doesn't already exist for the
100            * group, this method creates a new tag with that name for the group. If a
101            * tag with that name already exists in the company group, this method
102            * copies that company group's tag's properties to the group's new tag.
103            * </p>
104            *
105            * @param userId the primary key of the user
106            * @param group ID the primary key of the tag's group
107            * @param names the tag names
108            * @return the tags matching the group and names and new tags matching the
109            names that don't already exist for the group
110            * @throws PortalException if a matching group could not be found, if the
111            tag's key or value were invalid, or if a portal exception
112            occurred
113            */
114            public static java.util.List<com.liferay.portlet.asset.model.AssetTag> checkTags(
115                    long userId, com.liferay.portal.model.Group group,
116                    java.lang.String[] names)
117                    throws com.liferay.portal.kernel.exception.PortalException {
118                    return getService().checkTags(userId, group, names);
119            }
120    
121            public static void checkTags(long userId, long groupId,
122                    java.lang.String[] names)
123                    throws com.liferay.portal.kernel.exception.PortalException {
124                    getService().checkTags(userId, groupId, names);
125            }
126    
127            public static void clearAssetEntryAssetTags(long entryId) {
128                    getService().clearAssetEntryAssetTags(entryId);
129            }
130    
131            /**
132            * Creates a new asset tag with the primary key. Does not add the asset tag to the database.
133            *
134            * @param tagId the primary key for the new asset tag
135            * @return the new asset tag
136            */
137            public static com.liferay.portlet.asset.model.AssetTag createAssetTag(
138                    long tagId) {
139                    return getService().createAssetTag(tagId);
140            }
141    
142            public static com.liferay.portlet.asset.model.AssetTag decrementAssetCount(
143                    long tagId, long classNameId)
144                    throws com.liferay.portal.kernel.exception.PortalException {
145                    return getService().decrementAssetCount(tagId, classNameId);
146            }
147    
148            public static void deleteAssetEntryAssetTag(long entryId,
149                    com.liferay.portlet.asset.model.AssetTag assetTag) {
150                    getService().deleteAssetEntryAssetTag(entryId, assetTag);
151            }
152    
153            public static void deleteAssetEntryAssetTag(long entryId, long tagId) {
154                    getService().deleteAssetEntryAssetTag(entryId, tagId);
155            }
156    
157            public static void deleteAssetEntryAssetTags(long entryId,
158                    java.util.List<com.liferay.portlet.asset.model.AssetTag> AssetTags) {
159                    getService().deleteAssetEntryAssetTags(entryId, AssetTags);
160            }
161    
162            public static void deleteAssetEntryAssetTags(long entryId, long[] tagIds) {
163                    getService().deleteAssetEntryAssetTags(entryId, tagIds);
164            }
165    
166            /**
167            * Deletes the asset tag from the database. Also notifies the appropriate model listeners.
168            *
169            * @param assetTag the asset tag
170            * @return the asset tag that was removed
171            */
172            public static com.liferay.portlet.asset.model.AssetTag deleteAssetTag(
173                    com.liferay.portlet.asset.model.AssetTag assetTag) {
174                    return getService().deleteAssetTag(assetTag);
175            }
176    
177            /**
178            * Deletes the asset tag with the primary key from the database. Also notifies the appropriate model listeners.
179            *
180            * @param tagId the primary key of the asset tag
181            * @return the asset tag that was removed
182            * @throws PortalException if a asset tag with the primary key could not be found
183            */
184            public static com.liferay.portlet.asset.model.AssetTag deleteAssetTag(
185                    long tagId) throws com.liferay.portal.kernel.exception.PortalException {
186                    return getService().deleteAssetTag(tagId);
187            }
188    
189            public static void deleteGroupTags(long groupId)
190                    throws com.liferay.portal.kernel.exception.PortalException {
191                    getService().deleteGroupTags(groupId);
192            }
193    
194            /**
195            * @throws PortalException
196            */
197            public static com.liferay.portal.model.PersistedModel deletePersistedModel(
198                    com.liferay.portal.model.PersistedModel persistedModel)
199                    throws com.liferay.portal.kernel.exception.PortalException {
200                    return getService().deletePersistedModel(persistedModel);
201            }
202    
203            public static void deleteTag(com.liferay.portlet.asset.model.AssetTag tag)
204                    throws com.liferay.portal.kernel.exception.PortalException {
205                    getService().deleteTag(tag);
206            }
207    
208            public static void deleteTag(long tagId)
209                    throws com.liferay.portal.kernel.exception.PortalException {
210                    getService().deleteTag(tagId);
211            }
212    
213            public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
214                    return getService().dynamicQuery();
215            }
216    
217            /**
218            * Performs a dynamic query on the database and returns the matching rows.
219            *
220            * @param dynamicQuery the dynamic query
221            * @return the matching rows
222            */
223            public static <T> java.util.List<T> dynamicQuery(
224                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
225                    return getService().dynamicQuery(dynamicQuery);
226            }
227    
228            /**
229            * Performs a dynamic query on the database and returns a range of the matching rows.
230            *
231            * <p>
232            * 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.AssetTagModelImpl}. 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.
233            * </p>
234            *
235            * @param dynamicQuery the dynamic query
236            * @param start the lower bound of the range of model instances
237            * @param end the upper bound of the range of model instances (not inclusive)
238            * @return the range of matching rows
239            */
240            public static <T> java.util.List<T> dynamicQuery(
241                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
242                    int end) {
243                    return getService().dynamicQuery(dynamicQuery, start, end);
244            }
245    
246            /**
247            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
248            *
249            * <p>
250            * 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.AssetTagModelImpl}. 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.
251            * </p>
252            *
253            * @param dynamicQuery the dynamic query
254            * @param start the lower bound of the range of model instances
255            * @param end the upper bound of the range of model instances (not inclusive)
256            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
257            * @return the ordered range of matching rows
258            */
259            public static <T> java.util.List<T> dynamicQuery(
260                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
261                    int end,
262                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
263                    return getService()
264                                       .dynamicQuery(dynamicQuery, start, end, orderByComparator);
265            }
266    
267            /**
268            * Returns the number of rows matching the dynamic query.
269            *
270            * @param dynamicQuery the dynamic query
271            * @return the number of rows matching the dynamic query
272            */
273            public static long dynamicQueryCount(
274                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
275                    return getService().dynamicQueryCount(dynamicQuery);
276            }
277    
278            /**
279            * Returns the number of rows matching the dynamic query.
280            *
281            * @param dynamicQuery the dynamic query
282            * @param projection the projection to apply to the query
283            * @return the number of rows matching the dynamic query
284            */
285            public static long dynamicQueryCount(
286                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
287                    com.liferay.portal.kernel.dao.orm.Projection projection) {
288                    return getService().dynamicQueryCount(dynamicQuery, projection);
289            }
290    
291            public static com.liferay.portlet.asset.model.AssetTag fetchAssetTag(
292                    long tagId) {
293                    return getService().fetchAssetTag(tagId);
294            }
295    
296            public static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
297                    return getService().getActionableDynamicQuery();
298            }
299    
300            public static java.util.List<com.liferay.portlet.asset.model.AssetTag> getAssetEntryAssetTags(
301                    long entryId) {
302                    return getService().getAssetEntryAssetTags(entryId);
303            }
304    
305            public static java.util.List<com.liferay.portlet.asset.model.AssetTag> getAssetEntryAssetTags(
306                    long entryId, int start, int end) {
307                    return getService().getAssetEntryAssetTags(entryId, start, end);
308            }
309    
310            public static java.util.List<com.liferay.portlet.asset.model.AssetTag> getAssetEntryAssetTags(
311                    long entryId, int start, int end,
312                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetTag> orderByComparator) {
313                    return getService()
314                                       .getAssetEntryAssetTags(entryId, start, end,
315                            orderByComparator);
316            }
317    
318            public static int getAssetEntryAssetTagsCount(long entryId) {
319                    return getService().getAssetEntryAssetTagsCount(entryId);
320            }
321    
322            /**
323            * Returns the entryIds of the asset entries associated with the asset tag.
324            *
325            * @param tagId the tagId of the asset tag
326            * @return long[] the entryIds of asset entries associated with the asset tag
327            */
328            public static long[] getAssetEntryPrimaryKeys(long tagId) {
329                    return getService().getAssetEntryPrimaryKeys(tagId);
330            }
331    
332            /**
333            * Returns the asset tag with the primary key.
334            *
335            * @param tagId the primary key of the asset tag
336            * @return the asset tag
337            * @throws PortalException if a asset tag with the primary key could not be found
338            */
339            public static com.liferay.portlet.asset.model.AssetTag getAssetTag(
340                    long tagId) throws com.liferay.portal.kernel.exception.PortalException {
341                    return getService().getAssetTag(tagId);
342            }
343    
344            /**
345            * Returns a range of all the asset tags.
346            *
347            * <p>
348            * 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.AssetTagModelImpl}. 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.
349            * </p>
350            *
351            * @param start the lower bound of the range of asset tags
352            * @param end the upper bound of the range of asset tags (not inclusive)
353            * @return the range of asset tags
354            */
355            public static java.util.List<com.liferay.portlet.asset.model.AssetTag> getAssetTags(
356                    int start, int end) {
357                    return getService().getAssetTags(start, end);
358            }
359    
360            /**
361            * Returns the number of asset tags.
362            *
363            * @return the number of asset tags
364            */
365            public static int getAssetTagsCount() {
366                    return getService().getAssetTagsCount();
367            }
368    
369            /**
370            * Returns the Spring bean ID for this bean.
371            *
372            * @return the Spring bean ID for this bean
373            */
374            public static java.lang.String getBeanIdentifier() {
375                    return getService().getBeanIdentifier();
376            }
377    
378            public static java.util.List<com.liferay.portlet.asset.model.AssetTag> getEntryTags(
379                    long entryId) {
380                    return getService().getEntryTags(entryId);
381            }
382    
383            public static java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupTags(
384                    long groupId) {
385                    return getService().getGroupTags(groupId);
386            }
387    
388            public static java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupTags(
389                    long groupId, int start, int end) {
390                    return getService().getGroupTags(groupId, start, end);
391            }
392    
393            public static int getGroupTagsCount(long groupId) {
394                    return getService().getGroupTagsCount(groupId);
395            }
396    
397            public static java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupsTags(
398                    long[] groupIds) {
399                    return getService().getGroupsTags(groupIds);
400            }
401    
402            public static com.liferay.portal.model.PersistedModel getPersistedModel(
403                    java.io.Serializable primaryKeyObj)
404                    throws com.liferay.portal.kernel.exception.PortalException {
405                    return getService().getPersistedModel(primaryKeyObj);
406            }
407    
408            public static java.util.List<com.liferay.portlet.asset.model.AssetTag> getSocialActivityCounterOffsetTags(
409                    long groupId, java.lang.String socialActivityCounterName,
410                    int startOffset, int endOffset) {
411                    return getService()
412                                       .getSocialActivityCounterOffsetTags(groupId,
413                            socialActivityCounterName, startOffset, endOffset);
414            }
415    
416            public static java.util.List<com.liferay.portlet.asset.model.AssetTag> getSocialActivityCounterPeriodTags(
417                    long groupId, java.lang.String socialActivityCounterName,
418                    int startPeriod, int endPeriod) {
419                    return getService()
420                                       .getSocialActivityCounterPeriodTags(groupId,
421                            socialActivityCounterName, startPeriod, endPeriod);
422            }
423    
424            public static com.liferay.portlet.asset.model.AssetTag getTag(
425                    long groupId, java.lang.String name)
426                    throws com.liferay.portal.kernel.exception.PortalException {
427                    return getService().getTag(groupId, name);
428            }
429    
430            public static com.liferay.portlet.asset.model.AssetTag getTag(long tagId)
431                    throws com.liferay.portal.kernel.exception.PortalException {
432                    return getService().getTag(tagId);
433            }
434    
435            public static long[] getTagIds(long groupId, java.lang.String[] names)
436                    throws com.liferay.portal.kernel.exception.PortalException {
437                    return getService().getTagIds(groupId, names);
438            }
439    
440            public static long[] getTagIds(long[] groupIds, java.lang.String name)
441                    throws com.liferay.portal.kernel.exception.PortalException {
442                    return getService().getTagIds(groupIds, name);
443            }
444    
445            public static long[] getTagIds(long[] groupIds, java.lang.String[] names)
446                    throws com.liferay.portal.kernel.exception.PortalException {
447                    return getService().getTagIds(groupIds, names);
448            }
449    
450            public static java.lang.String[] getTagNames() {
451                    return getService().getTagNames();
452            }
453    
454            public static java.lang.String[] getTagNames(java.lang.String className,
455                    long classPK) {
456                    return getService().getTagNames(className, classPK);
457            }
458    
459            public static java.lang.String[] getTagNames(long classNameId, long classPK) {
460                    return getService().getTagNames(classNameId, classPK);
461            }
462    
463            public static java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags() {
464                    return getService().getTags();
465            }
466    
467            public static java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
468                    java.lang.String className, long classPK) {
469                    return getService().getTags(className, classPK);
470            }
471    
472            public static java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
473                    long classNameId, long classPK) {
474                    return getService().getTags(classNameId, classPK);
475            }
476    
477            public static java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
478                    long groupId, long classNameId, java.lang.String name) {
479                    return getService().getTags(groupId, classNameId, name);
480            }
481    
482            public static java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
483                    long groupId, long classNameId, java.lang.String name, int start,
484                    int end) {
485                    return getService().getTags(groupId, classNameId, name, start, end);
486            }
487    
488            public static int getTagsSize(long groupId, long classNameId,
489                    java.lang.String name) {
490                    return getService().getTagsSize(groupId, classNameId, name);
491            }
492    
493            public static boolean hasAssetEntryAssetTag(long entryId, long tagId) {
494                    return getService().hasAssetEntryAssetTag(entryId, tagId);
495            }
496    
497            public static boolean hasAssetEntryAssetTags(long entryId) {
498                    return getService().hasAssetEntryAssetTags(entryId);
499            }
500    
501            public static boolean hasTag(long groupId, java.lang.String name)
502                    throws com.liferay.portal.kernel.exception.PortalException {
503                    return getService().hasTag(groupId, name);
504            }
505    
506            public static com.liferay.portlet.asset.model.AssetTag incrementAssetCount(
507                    long tagId, long classNameId)
508                    throws com.liferay.portal.kernel.exception.PortalException {
509                    return getService().incrementAssetCount(tagId, classNameId);
510            }
511    
512            public static void mergeTags(long fromTagId, long toTagId,
513                    boolean overrideProperties)
514                    throws com.liferay.portal.kernel.exception.PortalException {
515                    getService().mergeTags(fromTagId, toTagId, overrideProperties);
516            }
517    
518            public static java.util.List<com.liferay.portlet.asset.model.AssetTag> search(
519                    long groupId, java.lang.String name, java.lang.String[] tagProperties,
520                    int start, int end) {
521                    return getService().search(groupId, name, tagProperties, start, end);
522            }
523    
524            public static java.util.List<com.liferay.portlet.asset.model.AssetTag> search(
525                    long[] groupIds, java.lang.String name,
526                    java.lang.String[] tagProperties, int start, int end) {
527                    return getService().search(groupIds, name, tagProperties, start, end);
528            }
529    
530            public static void setAssetEntryAssetTags(long entryId, long[] tagIds) {
531                    getService().setAssetEntryAssetTags(entryId, tagIds);
532            }
533    
534            /**
535            * Sets the Spring bean ID for this bean.
536            *
537            * @param beanIdentifier the Spring bean ID for this bean
538            */
539            public static void setBeanIdentifier(java.lang.String beanIdentifier) {
540                    getService().setBeanIdentifier(beanIdentifier);
541            }
542    
543            /**
544            * Updates the asset tag in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
545            *
546            * @param assetTag the asset tag
547            * @return the asset tag that was updated
548            */
549            public static com.liferay.portlet.asset.model.AssetTag updateAssetTag(
550                    com.liferay.portlet.asset.model.AssetTag assetTag) {
551                    return getService().updateAssetTag(assetTag);
552            }
553    
554            public static com.liferay.portlet.asset.model.AssetTag updateTag(
555                    long userId, long tagId, java.lang.String name,
556                    java.lang.String[] tagProperties,
557                    com.liferay.portal.service.ServiceContext serviceContext)
558                    throws com.liferay.portal.kernel.exception.PortalException {
559                    return getService()
560                                       .updateTag(userId, tagId, name, tagProperties, serviceContext);
561            }
562    
563            public static AssetTagLocalService getService() {
564                    if (_service == null) {
565                            _service = (AssetTagLocalService)PortalBeanLocatorUtil.locate(AssetTagLocalService.class.getName());
566    
567                            ReferenceRegistry.registerReference(AssetTagLocalServiceUtil.class,
568                                    "_service");
569                    }
570    
571                    return _service;
572            }
573    
574            /**
575             * @deprecated As of 6.2.0
576             */
577            @Deprecated
578            public void setService(AssetTagLocalService service) {
579            }
580    
581            private static AssetTagLocalService _service;
582    }