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