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.asset.kernel.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link AssetTagLocalService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see AssetTagLocalService
026     * @generated
027     */
028    @ProviderType
029    public class AssetTagLocalServiceWrapper implements AssetTagLocalService,
030            ServiceWrapper<AssetTagLocalService> {
031            public AssetTagLocalServiceWrapper(
032                    AssetTagLocalService assetTagLocalService) {
033                    _assetTagLocalService = assetTagLocalService;
034            }
035    
036            @Override
037            public boolean hasAssetEntryAssetTag(long entryId, long tagId) {
038                    return _assetTagLocalService.hasAssetEntryAssetTag(entryId, tagId);
039            }
040    
041            @Override
042            public boolean hasAssetEntryAssetTags(long entryId) {
043                    return _assetTagLocalService.hasAssetEntryAssetTags(entryId);
044            }
045    
046            /**
047            * Returns <code>true</code> if the group contains an asset tag with the
048            * name.
049            *
050            * @param groupId the primary key of the group
051            * @param name the name of the asset tag
052            * @return <code>true</code> if the group contains an asset tag with the
053            name; <code>false</code> otherwise.
054            */
055            @Override
056            public boolean hasTag(long groupId, java.lang.String name) {
057                    return _assetTagLocalService.hasTag(groupId, name);
058            }
059    
060            /**
061            * Adds the asset tag to the database. Also notifies the appropriate model listeners.
062            *
063            * @param assetTag the asset tag
064            * @return the asset tag that was added
065            */
066            @Override
067            public com.liferay.asset.kernel.model.AssetTag addAssetTag(
068                    com.liferay.asset.kernel.model.AssetTag assetTag) {
069                    return _assetTagLocalService.addAssetTag(assetTag);
070            }
071    
072            /**
073            * Adds an asset tag.
074            *
075            * @param userId the primary key of the user adding the asset tag
076            * @param groupId the primary key of the group in which the asset tag is to
077            be added
078            * @param name the asset tag's name
079            * @param serviceContext the service context to be applied
080            * @return the asset tag that was added
081            */
082            @Override
083            public com.liferay.asset.kernel.model.AssetTag addTag(long userId,
084                    long groupId, java.lang.String name,
085                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
086                    throws com.liferay.portal.kernel.exception.PortalException {
087                    return _assetTagLocalService.addTag(userId, groupId, name,
088                            serviceContext);
089            }
090    
091            /**
092            * Creates a new asset tag with the primary key. Does not add the asset tag to the database.
093            *
094            * @param tagId the primary key for the new asset tag
095            * @return the new asset tag
096            */
097            @Override
098            public com.liferay.asset.kernel.model.AssetTag createAssetTag(long tagId) {
099                    return _assetTagLocalService.createAssetTag(tagId);
100            }
101    
102            /**
103            * Decrements the number of assets to which the asset tag has been applied.
104            *
105            * @param tagId the primary key of the asset tag
106            * @param classNameId the class name ID of the entity to which the asset
107            tag had been applied
108            * @return the asset tag
109            */
110            @Override
111            public com.liferay.asset.kernel.model.AssetTag decrementAssetCount(
112                    long tagId, long classNameId)
113                    throws com.liferay.portal.kernel.exception.PortalException {
114                    return _assetTagLocalService.decrementAssetCount(tagId, classNameId);
115            }
116    
117            /**
118            * Deletes the asset tag from the database. Also notifies the appropriate model listeners.
119            *
120            * @param assetTag the asset tag
121            * @return the asset tag that was removed
122            */
123            @Override
124            public com.liferay.asset.kernel.model.AssetTag deleteAssetTag(
125                    com.liferay.asset.kernel.model.AssetTag assetTag) {
126                    return _assetTagLocalService.deleteAssetTag(assetTag);
127            }
128    
129            /**
130            * Deletes the asset tag with the primary key from the database. Also notifies the appropriate model listeners.
131            *
132            * @param tagId the primary key of the asset tag
133            * @return the asset tag that was removed
134            * @throws PortalException if a asset tag with the primary key could not be found
135            */
136            @Override
137            public com.liferay.asset.kernel.model.AssetTag deleteAssetTag(long tagId)
138                    throws com.liferay.portal.kernel.exception.PortalException {
139                    return _assetTagLocalService.deleteAssetTag(tagId);
140            }
141    
142            @Override
143            public com.liferay.asset.kernel.model.AssetTag fetchAssetTag(long tagId) {
144                    return _assetTagLocalService.fetchAssetTag(tagId);
145            }
146    
147            /**
148            * Returns the asset tag matching the UUID and group.
149            *
150            * @param uuid the asset tag's UUID
151            * @param groupId the primary key of the group
152            * @return the matching asset tag, or <code>null</code> if a matching asset tag could not be found
153            */
154            @Override
155            public com.liferay.asset.kernel.model.AssetTag fetchAssetTagByUuidAndGroupId(
156                    java.lang.String uuid, long groupId) {
157                    return _assetTagLocalService.fetchAssetTagByUuidAndGroupId(uuid, groupId);
158            }
159    
160            /**
161            * Returns the asset tag with the name in the group.
162            *
163            * @param groupId the primary key of the group
164            * @param name the asset tag's name
165            * @return the asset tag with the name in the group or <code>null</code> if
166            it could not be found
167            */
168            @Override
169            public com.liferay.asset.kernel.model.AssetTag fetchTag(long groupId,
170                    java.lang.String name) {
171                    return _assetTagLocalService.fetchTag(groupId, name);
172            }
173    
174            /**
175            * Returns the asset tag with the primary key.
176            *
177            * @param tagId the primary key of the asset tag
178            * @return the asset tag
179            * @throws PortalException if a asset tag with the primary key could not be found
180            */
181            @Override
182            public com.liferay.asset.kernel.model.AssetTag getAssetTag(long tagId)
183                    throws com.liferay.portal.kernel.exception.PortalException {
184                    return _assetTagLocalService.getAssetTag(tagId);
185            }
186    
187            /**
188            * Returns the asset tag matching the UUID and group.
189            *
190            * @param uuid the asset tag's UUID
191            * @param groupId the primary key of the group
192            * @return the matching asset tag
193            * @throws PortalException if a matching asset tag could not be found
194            */
195            @Override
196            public com.liferay.asset.kernel.model.AssetTag getAssetTagByUuidAndGroupId(
197                    java.lang.String uuid, long groupId)
198                    throws com.liferay.portal.kernel.exception.PortalException {
199                    return _assetTagLocalService.getAssetTagByUuidAndGroupId(uuid, groupId);
200            }
201    
202            /**
203            * Returns the asset tag with the name in the group.
204            *
205            * @param groupId the primary key of the group
206            * @param name the name of the asset tag
207            * @return the asset tag with the name in the group
208            */
209            @Override
210            public com.liferay.asset.kernel.model.AssetTag getTag(long groupId,
211                    java.lang.String name)
212                    throws com.liferay.portal.kernel.exception.PortalException {
213                    return _assetTagLocalService.getTag(groupId, name);
214            }
215    
216            /**
217            * Returns the asset tag with the primary key.
218            *
219            * @param tagId the primary key of the asset tag
220            * @return the asset tag with the primary key
221            */
222            @Override
223            public com.liferay.asset.kernel.model.AssetTag getTag(long tagId)
224                    throws com.liferay.portal.kernel.exception.PortalException {
225                    return _assetTagLocalService.getTag(tagId);
226            }
227    
228            /**
229            * Increments the number of assets to which the asset tag has been applied.
230            *
231            * @param tagId the primary key of the asset tag
232            * @param classNameId the class name ID of the entity to which the asset
233            tag is being applied
234            * @return the asset tag
235            */
236            @Override
237            public com.liferay.asset.kernel.model.AssetTag incrementAssetCount(
238                    long tagId, long classNameId)
239                    throws com.liferay.portal.kernel.exception.PortalException {
240                    return _assetTagLocalService.incrementAssetCount(tagId, classNameId);
241            }
242    
243            /**
244            * Updates the asset tag in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
245            *
246            * @param assetTag the asset tag
247            * @return the asset tag that was updated
248            */
249            @Override
250            public com.liferay.asset.kernel.model.AssetTag updateAssetTag(
251                    com.liferay.asset.kernel.model.AssetTag assetTag) {
252                    return _assetTagLocalService.updateAssetTag(assetTag);
253            }
254    
255            @Override
256            public com.liferay.asset.kernel.model.AssetTag updateTag(long userId,
257                    long tagId, java.lang.String name,
258                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
259                    throws com.liferay.portal.kernel.exception.PortalException {
260                    return _assetTagLocalService.updateTag(userId, tagId, name,
261                            serviceContext);
262            }
263    
264            @Override
265            public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
266                    return _assetTagLocalService.getActionableDynamicQuery();
267            }
268    
269            @Override
270            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
271                    return _assetTagLocalService.dynamicQuery();
272            }
273    
274            @Override
275            public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
276                    com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) {
277                    return _assetTagLocalService.getExportActionableDynamicQuery(portletDataContext);
278            }
279    
280            @Override
281            public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() {
282                    return _assetTagLocalService.getIndexableActionableDynamicQuery();
283            }
284    
285            /**
286            * @throws PortalException
287            */
288            @Override
289            public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(
290                    com.liferay.portal.kernel.model.PersistedModel persistedModel)
291                    throws com.liferay.portal.kernel.exception.PortalException {
292                    return _assetTagLocalService.deletePersistedModel(persistedModel);
293            }
294    
295            @Override
296            public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(
297                    java.io.Serializable primaryKeyObj)
298                    throws com.liferay.portal.kernel.exception.PortalException {
299                    return _assetTagLocalService.getPersistedModel(primaryKeyObj);
300            }
301    
302            @Override
303            public int getAssetEntryAssetTagsCount(long entryId) {
304                    return _assetTagLocalService.getAssetEntryAssetTagsCount(entryId);
305            }
306    
307            /**
308            * Returns the number of asset tags.
309            *
310            * @return the number of asset tags
311            */
312            @Override
313            public int getAssetTagsCount() {
314                    return _assetTagLocalService.getAssetTagsCount();
315            }
316    
317            /**
318            * Returns the number of asset tags in the group.
319            *
320            * @param groupId the primary key of the group
321            * @return the number of asset tags in the group
322            */
323            @Override
324            public int getGroupTagsCount(long groupId) {
325                    return _assetTagLocalService.getGroupTagsCount(groupId);
326            }
327    
328            @Override
329            public int getTagsSize(long groupId, long classNameId, java.lang.String name) {
330                    return _assetTagLocalService.getTagsSize(groupId, classNameId, name);
331            }
332    
333            /**
334            * Returns the OSGi service identifier.
335            *
336            * @return the OSGi service identifier
337            */
338            @Override
339            public java.lang.String getOSGiServiceIdentifier() {
340                    return _assetTagLocalService.getOSGiServiceIdentifier();
341            }
342    
343            /**
344            * Returns the names of all the asset tags.
345            *
346            * @return the names of all the asset tags
347            */
348            @Override
349            public java.lang.String[] getTagNames() {
350                    return _assetTagLocalService.getTagNames();
351            }
352    
353            /**
354            * Returns the names of the asset tags of the entity
355            *
356            * @param className the class name of the entity
357            * @param classPK the primary key of the entity
358            * @return the names of the asset tags of the entity
359            */
360            @Override
361            public java.lang.String[] getTagNames(java.lang.String className,
362                    long classPK) {
363                    return _assetTagLocalService.getTagNames(className, classPK);
364            }
365    
366            /**
367            * Returns the names of the asset tags of the entity.
368            *
369            * @param classNameId the class name ID of the entity
370            * @param classPK the primary key of the entity
371            * @return the names of the asset tags of the entity
372            */
373            @Override
374            public java.lang.String[] getTagNames(long classNameId, long classPK) {
375                    return _assetTagLocalService.getTagNames(classNameId, classPK);
376            }
377    
378            /**
379            * Returns the asset tags matching the group and names, creating new asset
380            * tags matching the names if the group doesn't already have them.
381            *
382            * <p>
383            * For each name, if an asset tag with the name doesn't already exist in the
384            * group, this method creates a new asset tag with the name in the group.
385            * </p>
386            *
387            * @param userId the primary key of the user checking the asset tags
388            * @param group the group in which to check the asset tags
389            * @param names the asset tag names
390            * @return the asset tags matching the group and names and new asset tags
391            matching the names that don't already exist in the group
392            */
393            @Override
394            public java.util.List<com.liferay.asset.kernel.model.AssetTag> checkTags(
395                    long userId, com.liferay.portal.kernel.model.Group group,
396                    java.lang.String[] names)
397                    throws com.liferay.portal.kernel.exception.PortalException {
398                    return _assetTagLocalService.checkTags(userId, group, names);
399            }
400    
401            /**
402            * Returns the asset tags matching the group and names, creating new asset
403            * tags matching the names if the group doesn't already have them.
404            *
405            * @param userId the primary key of the user checking the asset tags
406            * @param groupId the primary key of the group in which check the asset
407            tags
408            * @param names the asset tag names
409            * @return the asset tags matching the group and names and new asset tags
410            matching the names that don't already exist in the group
411            */
412            @Override
413            public java.util.List<com.liferay.asset.kernel.model.AssetTag> checkTags(
414                    long userId, long groupId, java.lang.String[] names)
415                    throws com.liferay.portal.kernel.exception.PortalException {
416                    return _assetTagLocalService.checkTags(userId, groupId, names);
417            }
418    
419            /**
420            * Performs a dynamic query on the database and returns the matching rows.
421            *
422            * @param dynamicQuery the dynamic query
423            * @return the matching rows
424            */
425            @Override
426            public <T> java.util.List<T> dynamicQuery(
427                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
428                    return _assetTagLocalService.dynamicQuery(dynamicQuery);
429            }
430    
431            /**
432            * Performs a dynamic query on the database and returns a range of the matching rows.
433            *
434            * <p>
435            * 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.
436            * </p>
437            *
438            * @param dynamicQuery the dynamic query
439            * @param start the lower bound of the range of model instances
440            * @param end the upper bound of the range of model instances (not inclusive)
441            * @return the range of matching rows
442            */
443            @Override
444            public <T> java.util.List<T> dynamicQuery(
445                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
446                    int end) {
447                    return _assetTagLocalService.dynamicQuery(dynamicQuery, start, end);
448            }
449    
450            /**
451            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
452            *
453            * <p>
454            * 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.
455            * </p>
456            *
457            * @param dynamicQuery the dynamic query
458            * @param start the lower bound of the range of model instances
459            * @param end the upper bound of the range of model instances (not inclusive)
460            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
461            * @return the ordered range of matching rows
462            */
463            @Override
464            public <T> java.util.List<T> dynamicQuery(
465                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
466                    int end,
467                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
468                    return _assetTagLocalService.dynamicQuery(dynamicQuery, start, end,
469                            orderByComparator);
470            }
471    
472            @Override
473            public java.util.List<com.liferay.asset.kernel.model.AssetTag> getAssetEntryAssetTags(
474                    long entryId) {
475                    return _assetTagLocalService.getAssetEntryAssetTags(entryId);
476            }
477    
478            @Override
479            public java.util.List<com.liferay.asset.kernel.model.AssetTag> getAssetEntryAssetTags(
480                    long entryId, int start, int end) {
481                    return _assetTagLocalService.getAssetEntryAssetTags(entryId, start, end);
482            }
483    
484            @Override
485            public java.util.List<com.liferay.asset.kernel.model.AssetTag> getAssetEntryAssetTags(
486                    long entryId, int start, int end,
487                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) {
488                    return _assetTagLocalService.getAssetEntryAssetTags(entryId, start,
489                            end, orderByComparator);
490            }
491    
492            /**
493            * Returns a range of all the asset tags.
494            *
495            * <p>
496            * 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.
497            * </p>
498            *
499            * @param start the lower bound of the range of asset tags
500            * @param end the upper bound of the range of asset tags (not inclusive)
501            * @return the range of asset tags
502            */
503            @Override
504            public java.util.List<com.liferay.asset.kernel.model.AssetTag> getAssetTags(
505                    int start, int end) {
506                    return _assetTagLocalService.getAssetTags(start, end);
507            }
508    
509            /**
510            * Returns all the asset tags matching the UUID and company.
511            *
512            * @param uuid the UUID of the asset tags
513            * @param companyId the primary key of the company
514            * @return the matching asset tags, or an empty list if no matches were found
515            */
516            @Override
517            public java.util.List<com.liferay.asset.kernel.model.AssetTag> getAssetTagsByUuidAndCompanyId(
518                    java.lang.String uuid, long companyId) {
519                    return _assetTagLocalService.getAssetTagsByUuidAndCompanyId(uuid,
520                            companyId);
521            }
522    
523            /**
524            * Returns a range of asset tags matching the UUID and company.
525            *
526            * @param uuid the UUID of the asset tags
527            * @param companyId the primary key of the company
528            * @param start the lower bound of the range of asset tags
529            * @param end the upper bound of the range of asset tags (not inclusive)
530            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
531            * @return the range of matching asset tags, or an empty list if no matches were found
532            */
533            @Override
534            public java.util.List<com.liferay.asset.kernel.model.AssetTag> getAssetTagsByUuidAndCompanyId(
535                    java.lang.String uuid, long companyId, int start, int end,
536                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) {
537                    return _assetTagLocalService.getAssetTagsByUuidAndCompanyId(uuid,
538                            companyId, start, end, orderByComparator);
539            }
540    
541            /**
542            * Returns the asset tags of the asset entry.
543            *
544            * @param entryId the primary key of the asset entry
545            * @return the asset tags of the asset entry
546            */
547            @Override
548            public java.util.List<com.liferay.asset.kernel.model.AssetTag> getEntryTags(
549                    long entryId) {
550                    return _assetTagLocalService.getEntryTags(entryId);
551            }
552    
553            /**
554            * Returns the asset tags in the group.
555            *
556            * @param groupId the primary key of the group
557            * @return the asset tags in the group
558            */
559            @Override
560            public java.util.List<com.liferay.asset.kernel.model.AssetTag> getGroupTags(
561                    long groupId) {
562                    return _assetTagLocalService.getGroupTags(groupId);
563            }
564    
565            /**
566            * Returns a range of all the asset tags in the group.
567            *
568            * @param groupId the primary key of the group
569            * @param start the lower bound of the range of asset tags
570            * @param end the upper bound of the range of asset tags (not inclusive)
571            * @return the range of matching asset tags
572            */
573            @Override
574            public java.util.List<com.liferay.asset.kernel.model.AssetTag> getGroupTags(
575                    long groupId, int start, int end) {
576                    return _assetTagLocalService.getGroupTags(groupId, start, end);
577            }
578    
579            /**
580            * Returns the asset tags in the groups.
581            *
582            * @param groupIds the primary keys of the groups
583            * @return the asset tags in the groups
584            */
585            @Override
586            public java.util.List<com.liferay.asset.kernel.model.AssetTag> getGroupsTags(
587                    long[] groupIds) {
588                    return _assetTagLocalService.getGroupsTags(groupIds);
589            }
590    
591            @Override
592            public java.util.List<com.liferay.asset.kernel.model.AssetTag> getSocialActivityCounterOffsetTags(
593                    long groupId, java.lang.String socialActivityCounterName,
594                    int startOffset, int endOffset) {
595                    return _assetTagLocalService.getSocialActivityCounterOffsetTags(groupId,
596                            socialActivityCounterName, startOffset, endOffset);
597            }
598    
599            @Override
600            public java.util.List<com.liferay.asset.kernel.model.AssetTag> getSocialActivityCounterPeriodTags(
601                    long groupId, java.lang.String socialActivityCounterName,
602                    int startPeriod, int endPeriod) {
603                    return _assetTagLocalService.getSocialActivityCounterPeriodTags(groupId,
604                            socialActivityCounterName, startPeriod, endPeriod);
605            }
606    
607            /**
608            * Returns all the asset tags.
609            *
610            * @return the asset tags
611            */
612            @Override
613            public java.util.List<com.liferay.asset.kernel.model.AssetTag> getTags() {
614                    return _assetTagLocalService.getTags();
615            }
616    
617            /**
618            * Returns the asset tags of the entity.
619            *
620            * @param className the class name of the entity
621            * @param classPK the primary key of the entity
622            * @return the asset tags of the entity
623            */
624            @Override
625            public java.util.List<com.liferay.asset.kernel.model.AssetTag> getTags(
626                    java.lang.String className, long classPK) {
627                    return _assetTagLocalService.getTags(className, classPK);
628            }
629    
630            /**
631            * Returns the asset tags of the entity.
632            *
633            * @param classNameId the class name ID of the entity
634            * @param classPK the primary key of the entity
635            * @return the asset tags of the entity
636            */
637            @Override
638            public java.util.List<com.liferay.asset.kernel.model.AssetTag> getTags(
639                    long classNameId, long classPK) {
640                    return _assetTagLocalService.getTags(classNameId, classPK);
641            }
642    
643            @Override
644            public java.util.List<com.liferay.asset.kernel.model.AssetTag> getTags(
645                    long groupId, long classNameId, java.lang.String name) {
646                    return _assetTagLocalService.getTags(groupId, classNameId, name);
647            }
648    
649            @Override
650            public java.util.List<com.liferay.asset.kernel.model.AssetTag> getTags(
651                    long groupId, long classNameId, java.lang.String name, int start,
652                    int end) {
653                    return _assetTagLocalService.getTags(groupId, classNameId, name, start,
654                            end);
655            }
656    
657            /**
658            * Returns the asset tags in the group whose names match the pattern.
659            *
660            * @param groupId the primary key of the group
661            * @param name the pattern to match
662            * @param start the lower bound of the range of asset tags
663            * @param end the upper bound of the range of asset tags (not inclusive)
664            * @return the asset tags in the group whose names match the pattern
665            */
666            @Override
667            public java.util.List<com.liferay.asset.kernel.model.AssetTag> search(
668                    long groupId, java.lang.String name, int start, int end) {
669                    return _assetTagLocalService.search(groupId, name, start, end);
670            }
671    
672            /**
673            * Returns the asset tags in the groups whose names match the pattern.
674            *
675            * @param groupIds the primary keys of the groups
676            * @param name the pattern to match
677            * @param start the lower bound of the range of asset tags
678            * @param end the upper bound of the range of asset tags (not inclusive)
679            * @return the asset tags in the groups whose names match the pattern
680            */
681            @Override
682            public java.util.List<com.liferay.asset.kernel.model.AssetTag> search(
683                    long[] groupIds, java.lang.String name, int start, int end) {
684                    return _assetTagLocalService.search(groupIds, name, start, end);
685            }
686    
687            /**
688            * Returns the number of rows matching the dynamic query.
689            *
690            * @param dynamicQuery the dynamic query
691            * @return the number of rows matching the dynamic query
692            */
693            @Override
694            public long dynamicQueryCount(
695                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
696                    return _assetTagLocalService.dynamicQueryCount(dynamicQuery);
697            }
698    
699            /**
700            * Returns the number of rows matching the dynamic query.
701            *
702            * @param dynamicQuery the dynamic query
703            * @param projection the projection to apply to the query
704            * @return the number of rows matching the dynamic query
705            */
706            @Override
707            public long dynamicQueryCount(
708                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
709                    com.liferay.portal.kernel.dao.orm.Projection projection) {
710                    return _assetTagLocalService.dynamicQueryCount(dynamicQuery, projection);
711            }
712    
713            /**
714            * Returns the entryIds of the asset entries associated with the asset tag.
715            *
716            * @param tagId the tagId of the asset tag
717            * @return long[] the entryIds of asset entries associated with the asset tag
718            */
719            @Override
720            public long[] getAssetEntryPrimaryKeys(long tagId) {
721                    return _assetTagLocalService.getAssetEntryPrimaryKeys(tagId);
722            }
723    
724            /**
725            * Returns the primary keys of the asset tags with the names in the group.
726            *
727            * @param groupId the primary key of the group
728            * @param names the names of the asset tags
729            * @return the primary keys of the asset tags with the names in the group
730            */
731            @Override
732            public long[] getTagIds(long groupId, java.lang.String[] names) {
733                    return _assetTagLocalService.getTagIds(groupId, names);
734            }
735    
736            /**
737            * Returns the primary keys of the asset tags with the name in the groups.
738            *
739            * @param groupIds the primary keys of the groups
740            * @param name the name of the asset tags
741            * @return the primary keys of the asset tags with the name in the groups
742            */
743            @Override
744            public long[] getTagIds(long[] groupIds, java.lang.String name) {
745                    return _assetTagLocalService.getTagIds(groupIds, name);
746            }
747    
748            /**
749            * Returns the primary keys of the asset tags with the names in the groups.
750            *
751            * @param groupIds the primary keys of the groups
752            * @param names the names of the asset tags
753            * @return the primary keys of the asset tags with the names in the groups
754            */
755            @Override
756            public long[] getTagIds(long[] groupIds, java.lang.String[] names) {
757                    return _assetTagLocalService.getTagIds(groupIds, names);
758            }
759    
760            @Override
761            public void addAssetEntryAssetTag(long entryId,
762                    com.liferay.asset.kernel.model.AssetTag assetTag) {
763                    _assetTagLocalService.addAssetEntryAssetTag(entryId, assetTag);
764            }
765    
766            @Override
767            public void addAssetEntryAssetTag(long entryId, long tagId) {
768                    _assetTagLocalService.addAssetEntryAssetTag(entryId, tagId);
769            }
770    
771            @Override
772            public void addAssetEntryAssetTags(long entryId,
773                    java.util.List<com.liferay.asset.kernel.model.AssetTag> assetTags) {
774                    _assetTagLocalService.addAssetEntryAssetTags(entryId, assetTags);
775            }
776    
777            @Override
778            public void addAssetEntryAssetTags(long entryId, long[] tagIds) {
779                    _assetTagLocalService.addAssetEntryAssetTags(entryId, tagIds);
780            }
781    
782            @Override
783            public void clearAssetEntryAssetTags(long entryId) {
784                    _assetTagLocalService.clearAssetEntryAssetTags(entryId);
785            }
786    
787            @Override
788            public void deleteAssetEntryAssetTag(long entryId,
789                    com.liferay.asset.kernel.model.AssetTag assetTag) {
790                    _assetTagLocalService.deleteAssetEntryAssetTag(entryId, assetTag);
791            }
792    
793            @Override
794            public void deleteAssetEntryAssetTag(long entryId, long tagId) {
795                    _assetTagLocalService.deleteAssetEntryAssetTag(entryId, tagId);
796            }
797    
798            @Override
799            public void deleteAssetEntryAssetTags(long entryId,
800                    java.util.List<com.liferay.asset.kernel.model.AssetTag> assetTags) {
801                    _assetTagLocalService.deleteAssetEntryAssetTags(entryId, assetTags);
802            }
803    
804            @Override
805            public void deleteAssetEntryAssetTags(long entryId, long[] tagIds) {
806                    _assetTagLocalService.deleteAssetEntryAssetTags(entryId, tagIds);
807            }
808    
809            /**
810            * Deletes all asset tags in the group.
811            *
812            * @param groupId the primary key of the group in which to delete all asset
813            tags
814            */
815            @Override
816            public void deleteGroupTags(long groupId)
817                    throws com.liferay.portal.kernel.exception.PortalException {
818                    _assetTagLocalService.deleteGroupTags(groupId);
819            }
820    
821            /**
822            * Deletes the asset tag.
823            *
824            * @param tag the asset tag to be deleted
825            */
826            @Override
827            public void deleteTag(com.liferay.asset.kernel.model.AssetTag tag)
828                    throws com.liferay.portal.kernel.exception.PortalException {
829                    _assetTagLocalService.deleteTag(tag);
830            }
831    
832            /**
833            * Deletes the asset tag.
834            *
835            * @param tagId the primary key of the asset tag
836            */
837            @Override
838            public void deleteTag(long tagId)
839                    throws com.liferay.portal.kernel.exception.PortalException {
840                    _assetTagLocalService.deleteTag(tagId);
841            }
842    
843            /**
844            * Replaces all occurrences of the first asset tag with the second asset tag
845            * and deletes the first asset tag.
846            *
847            * @param fromTagId the primary key of the asset tag to be replaced
848            * @param toTagId the primary key of the asset tag to apply to the asset
849            entries of the other asset tag
850            */
851            @Override
852            public void mergeTags(long fromTagId, long toTagId)
853                    throws com.liferay.portal.kernel.exception.PortalException {
854                    _assetTagLocalService.mergeTags(fromTagId, toTagId);
855            }
856    
857            @Override
858            public void setAssetEntryAssetTags(long entryId, long[] tagIds) {
859                    _assetTagLocalService.setAssetEntryAssetTags(entryId, tagIds);
860            }
861    
862            @Override
863            public AssetTagLocalService getWrappedService() {
864                    return _assetTagLocalService;
865            }
866    
867            @Override
868            public void setWrappedService(AssetTagLocalService assetTagLocalService) {
869                    _assetTagLocalService = assetTagLocalService;
870            }
871    
872            private AssetTagLocalService _assetTagLocalService;
873    }