001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.asset.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link 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            /**
037            * Adds the asset tag to the database. Also notifies the appropriate model listeners.
038            *
039            * @param assetTag the asset tag
040            * @return the asset tag that was added
041            * @throws SystemException if a system exception occurred
042            */
043            @Override
044            public com.liferay.portlet.asset.model.AssetTag addAssetTag(
045                    com.liferay.portlet.asset.model.AssetTag assetTag)
046                    throws com.liferay.portal.kernel.exception.SystemException {
047                    return _assetTagLocalService.addAssetTag(assetTag);
048            }
049    
050            /**
051            * Creates a new asset tag with the primary key. Does not add the asset tag to the database.
052            *
053            * @param tagId the primary key for the new asset tag
054            * @return the new asset tag
055            */
056            @Override
057            public com.liferay.portlet.asset.model.AssetTag createAssetTag(long tagId) {
058                    return _assetTagLocalService.createAssetTag(tagId);
059            }
060    
061            /**
062            * Deletes the asset tag with the primary key from the database. Also notifies the appropriate model listeners.
063            *
064            * @param tagId the primary key of the asset tag
065            * @return the asset tag that was removed
066            * @throws PortalException if a asset tag with the primary key could not be found
067            * @throws SystemException if a system exception occurred
068            */
069            @Override
070            public com.liferay.portlet.asset.model.AssetTag deleteAssetTag(long tagId)
071                    throws com.liferay.portal.kernel.exception.PortalException,
072                            com.liferay.portal.kernel.exception.SystemException {
073                    return _assetTagLocalService.deleteAssetTag(tagId);
074            }
075    
076            /**
077            * Deletes the asset tag from the database. Also notifies the appropriate model listeners.
078            *
079            * @param assetTag the asset tag
080            * @return the asset tag that was removed
081            * @throws SystemException if a system exception occurred
082            */
083            @Override
084            public com.liferay.portlet.asset.model.AssetTag deleteAssetTag(
085                    com.liferay.portlet.asset.model.AssetTag assetTag)
086                    throws com.liferay.portal.kernel.exception.SystemException {
087                    return _assetTagLocalService.deleteAssetTag(assetTag);
088            }
089    
090            @Override
091            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
092                    return _assetTagLocalService.dynamicQuery();
093            }
094    
095            /**
096            * Performs a dynamic query on the database and returns the matching rows.
097            *
098            * @param dynamicQuery the dynamic query
099            * @return the matching rows
100            * @throws SystemException if a system exception occurred
101            */
102            @Override
103            @SuppressWarnings("rawtypes")
104            public java.util.List dynamicQuery(
105                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
106                    throws com.liferay.portal.kernel.exception.SystemException {
107                    return _assetTagLocalService.dynamicQuery(dynamicQuery);
108            }
109    
110            /**
111            * Performs a dynamic query on the database and returns a range of the matching rows.
112            *
113            * <p>
114            * 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.
115            * </p>
116            *
117            * @param dynamicQuery the dynamic query
118            * @param start the lower bound of the range of model instances
119            * @param end the upper bound of the range of model instances (not inclusive)
120            * @return the range of matching rows
121            * @throws SystemException if a system exception occurred
122            */
123            @Override
124            @SuppressWarnings("rawtypes")
125            public java.util.List dynamicQuery(
126                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
127                    int end) throws com.liferay.portal.kernel.exception.SystemException {
128                    return _assetTagLocalService.dynamicQuery(dynamicQuery, start, end);
129            }
130    
131            /**
132            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
133            *
134            * <p>
135            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.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.
136            * </p>
137            *
138            * @param dynamicQuery the dynamic query
139            * @param start the lower bound of the range of model instances
140            * @param end the upper bound of the range of model instances (not inclusive)
141            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
142            * @return the ordered range of matching rows
143            * @throws SystemException if a system exception occurred
144            */
145            @Override
146            @SuppressWarnings("rawtypes")
147            public java.util.List dynamicQuery(
148                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
149                    int end,
150                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
151                    throws com.liferay.portal.kernel.exception.SystemException {
152                    return _assetTagLocalService.dynamicQuery(dynamicQuery, start, end,
153                            orderByComparator);
154            }
155    
156            /**
157            * Returns the number of rows that match the dynamic query.
158            *
159            * @param dynamicQuery the dynamic query
160            * @return the number of rows that match the dynamic query
161            * @throws SystemException if a system exception occurred
162            */
163            @Override
164            public long dynamicQueryCount(
165                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
166                    throws com.liferay.portal.kernel.exception.SystemException {
167                    return _assetTagLocalService.dynamicQueryCount(dynamicQuery);
168            }
169    
170            /**
171            * Returns the number of rows that match the dynamic query.
172            *
173            * @param dynamicQuery the dynamic query
174            * @param projection the projection to apply to the query
175            * @return the number of rows that match the dynamic query
176            * @throws SystemException if a system exception occurred
177            */
178            @Override
179            public long dynamicQueryCount(
180                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
181                    com.liferay.portal.kernel.dao.orm.Projection projection)
182                    throws com.liferay.portal.kernel.exception.SystemException {
183                    return _assetTagLocalService.dynamicQueryCount(dynamicQuery, projection);
184            }
185    
186            @Override
187            public com.liferay.portlet.asset.model.AssetTag fetchAssetTag(long tagId)
188                    throws com.liferay.portal.kernel.exception.SystemException {
189                    return _assetTagLocalService.fetchAssetTag(tagId);
190            }
191    
192            /**
193            * Returns the asset tag with the primary key.
194            *
195            * @param tagId the primary key of the asset tag
196            * @return the asset tag
197            * @throws PortalException if a asset tag with the primary key could not be found
198            * @throws SystemException if a system exception occurred
199            */
200            @Override
201            public com.liferay.portlet.asset.model.AssetTag getAssetTag(long tagId)
202                    throws com.liferay.portal.kernel.exception.PortalException,
203                            com.liferay.portal.kernel.exception.SystemException {
204                    return _assetTagLocalService.getAssetTag(tagId);
205            }
206    
207            @Override
208            public com.liferay.portal.model.PersistedModel getPersistedModel(
209                    java.io.Serializable primaryKeyObj)
210                    throws com.liferay.portal.kernel.exception.PortalException,
211                            com.liferay.portal.kernel.exception.SystemException {
212                    return _assetTagLocalService.getPersistedModel(primaryKeyObj);
213            }
214    
215            /**
216            * Returns a range of all the asset tags.
217            *
218            * <p>
219            * 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.
220            * </p>
221            *
222            * @param start the lower bound of the range of asset tags
223            * @param end the upper bound of the range of asset tags (not inclusive)
224            * @return the range of asset tags
225            * @throws SystemException if a system exception occurred
226            */
227            @Override
228            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getAssetTags(
229                    int start, int end)
230                    throws com.liferay.portal.kernel.exception.SystemException {
231                    return _assetTagLocalService.getAssetTags(start, end);
232            }
233    
234            /**
235            * Returns the number of asset tags.
236            *
237            * @return the number of asset tags
238            * @throws SystemException if a system exception occurred
239            */
240            @Override
241            public int getAssetTagsCount()
242                    throws com.liferay.portal.kernel.exception.SystemException {
243                    return _assetTagLocalService.getAssetTagsCount();
244            }
245    
246            /**
247            * Updates the asset tag in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
248            *
249            * @param assetTag the asset tag
250            * @return the asset tag that was updated
251            * @throws SystemException if a system exception occurred
252            */
253            @Override
254            public com.liferay.portlet.asset.model.AssetTag updateAssetTag(
255                    com.liferay.portlet.asset.model.AssetTag assetTag)
256                    throws com.liferay.portal.kernel.exception.SystemException {
257                    return _assetTagLocalService.updateAssetTag(assetTag);
258            }
259    
260            /**
261            * @throws SystemException if a system exception occurred
262            */
263            @Override
264            public void addAssetEntryAssetTag(long entryId, long tagId)
265                    throws com.liferay.portal.kernel.exception.SystemException {
266                    _assetTagLocalService.addAssetEntryAssetTag(entryId, tagId);
267            }
268    
269            /**
270            * @throws SystemException if a system exception occurred
271            */
272            @Override
273            public void addAssetEntryAssetTag(long entryId,
274                    com.liferay.portlet.asset.model.AssetTag assetTag)
275                    throws com.liferay.portal.kernel.exception.SystemException {
276                    _assetTagLocalService.addAssetEntryAssetTag(entryId, assetTag);
277            }
278    
279            /**
280            * @throws SystemException if a system exception occurred
281            */
282            @Override
283            public void addAssetEntryAssetTags(long entryId, long[] tagIds)
284                    throws com.liferay.portal.kernel.exception.SystemException {
285                    _assetTagLocalService.addAssetEntryAssetTags(entryId, tagIds);
286            }
287    
288            /**
289            * @throws SystemException if a system exception occurred
290            */
291            @Override
292            public void addAssetEntryAssetTags(long entryId,
293                    java.util.List<com.liferay.portlet.asset.model.AssetTag> AssetTags)
294                    throws com.liferay.portal.kernel.exception.SystemException {
295                    _assetTagLocalService.addAssetEntryAssetTags(entryId, AssetTags);
296            }
297    
298            /**
299            * @throws SystemException if a system exception occurred
300            */
301            @Override
302            public void clearAssetEntryAssetTags(long entryId)
303                    throws com.liferay.portal.kernel.exception.SystemException {
304                    _assetTagLocalService.clearAssetEntryAssetTags(entryId);
305            }
306    
307            /**
308            * @throws SystemException if a system exception occurred
309            */
310            @Override
311            public void deleteAssetEntryAssetTag(long entryId, long tagId)
312                    throws com.liferay.portal.kernel.exception.SystemException {
313                    _assetTagLocalService.deleteAssetEntryAssetTag(entryId, tagId);
314            }
315    
316            /**
317            * @throws SystemException if a system exception occurred
318            */
319            @Override
320            public void deleteAssetEntryAssetTag(long entryId,
321                    com.liferay.portlet.asset.model.AssetTag assetTag)
322                    throws com.liferay.portal.kernel.exception.SystemException {
323                    _assetTagLocalService.deleteAssetEntryAssetTag(entryId, assetTag);
324            }
325    
326            /**
327            * @throws SystemException if a system exception occurred
328            */
329            @Override
330            public void deleteAssetEntryAssetTags(long entryId, long[] tagIds)
331                    throws com.liferay.portal.kernel.exception.SystemException {
332                    _assetTagLocalService.deleteAssetEntryAssetTags(entryId, tagIds);
333            }
334    
335            /**
336            * @throws SystemException if a system exception occurred
337            */
338            @Override
339            public void deleteAssetEntryAssetTags(long entryId,
340                    java.util.List<com.liferay.portlet.asset.model.AssetTag> AssetTags)
341                    throws com.liferay.portal.kernel.exception.SystemException {
342                    _assetTagLocalService.deleteAssetEntryAssetTags(entryId, AssetTags);
343            }
344    
345            /**
346            * @throws SystemException if a system exception occurred
347            */
348            @Override
349            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getAssetEntryAssetTags(
350                    long entryId)
351                    throws com.liferay.portal.kernel.exception.SystemException {
352                    return _assetTagLocalService.getAssetEntryAssetTags(entryId);
353            }
354    
355            /**
356            * @throws SystemException if a system exception occurred
357            */
358            @Override
359            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getAssetEntryAssetTags(
360                    long entryId, int start, int end)
361                    throws com.liferay.portal.kernel.exception.SystemException {
362                    return _assetTagLocalService.getAssetEntryAssetTags(entryId, start, end);
363            }
364    
365            /**
366            * @throws SystemException if a system exception occurred
367            */
368            @Override
369            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getAssetEntryAssetTags(
370                    long entryId, int start, int end,
371                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
372                    throws com.liferay.portal.kernel.exception.SystemException {
373                    return _assetTagLocalService.getAssetEntryAssetTags(entryId, start,
374                            end, orderByComparator);
375            }
376    
377            /**
378            * @throws SystemException if a system exception occurred
379            */
380            @Override
381            public int getAssetEntryAssetTagsCount(long entryId)
382                    throws com.liferay.portal.kernel.exception.SystemException {
383                    return _assetTagLocalService.getAssetEntryAssetTagsCount(entryId);
384            }
385    
386            /**
387            * @throws SystemException if a system exception occurred
388            */
389            @Override
390            public boolean hasAssetEntryAssetTag(long entryId, long tagId)
391                    throws com.liferay.portal.kernel.exception.SystemException {
392                    return _assetTagLocalService.hasAssetEntryAssetTag(entryId, tagId);
393            }
394    
395            /**
396            * @throws SystemException if a system exception occurred
397            */
398            @Override
399            public boolean hasAssetEntryAssetTags(long entryId)
400                    throws com.liferay.portal.kernel.exception.SystemException {
401                    return _assetTagLocalService.hasAssetEntryAssetTags(entryId);
402            }
403    
404            /**
405            * @throws SystemException if a system exception occurred
406            */
407            @Override
408            public void setAssetEntryAssetTags(long entryId, long[] tagIds)
409                    throws com.liferay.portal.kernel.exception.SystemException {
410                    _assetTagLocalService.setAssetEntryAssetTags(entryId, tagIds);
411            }
412    
413            /**
414            * Returns the Spring bean ID for this bean.
415            *
416            * @return the Spring bean ID for this bean
417            */
418            @Override
419            public java.lang.String getBeanIdentifier() {
420                    return _assetTagLocalService.getBeanIdentifier();
421            }
422    
423            /**
424            * Sets the Spring bean ID for this bean.
425            *
426            * @param beanIdentifier the Spring bean ID for this bean
427            */
428            @Override
429            public void setBeanIdentifier(java.lang.String beanIdentifier) {
430                    _assetTagLocalService.setBeanIdentifier(beanIdentifier);
431            }
432    
433            /**
434            * Adds an asset tag.
435            *
436            * @param userId the primary key of the user adding the asset tag
437            * @param name the asset tag's name
438            * @param tagProperties the tag's properties
439            * @param serviceContext the service context
440            * @return the asset tag that was added
441            * @throws PortalException if a user with the primary key could not be
442            found, if an asset tag already exists with the name, or if a
443            portal exception occurred
444            * @throws SystemException if a system exception occurred
445            */
446            @Override
447            public com.liferay.portlet.asset.model.AssetTag addTag(long userId,
448                    java.lang.String name, java.lang.String[] tagProperties,
449                    com.liferay.portal.service.ServiceContext serviceContext)
450                    throws com.liferay.portal.kernel.exception.PortalException,
451                            com.liferay.portal.kernel.exception.SystemException {
452                    return _assetTagLocalService.addTag(userId, name, tagProperties,
453                            serviceContext);
454            }
455    
456            /**
457            * Adds resources for the asset tag.
458            *
459            * @param tag the asset tag for which to add resources
460            * @param addGroupPermissions whether to add group permissions
461            * @param addGuestPermissions whether to add guest permissions
462            * @throws PortalException if resources could not be added for the asset tag
463            or if a portal exception occurred
464            * @throws SystemException if a system exception occurred
465            */
466            @Override
467            public void addTagResources(com.liferay.portlet.asset.model.AssetTag tag,
468                    boolean addGroupPermissions, boolean addGuestPermissions)
469                    throws com.liferay.portal.kernel.exception.PortalException,
470                            com.liferay.portal.kernel.exception.SystemException {
471                    _assetTagLocalService.addTagResources(tag, addGroupPermissions,
472                            addGuestPermissions);
473            }
474    
475            /**
476            * Adds resources for the asset tag using the group and guest permissions.
477            *
478            * @param tag the asset tag for which to add resources
479            * @param groupPermissions the group permissions to be applied
480            * @param guestPermissions the guest permissions to be applied
481            * @throws PortalException if resources could not be added for the asset tag
482            or if a portal exception occurred
483            * @throws SystemException if a system exception occurred
484            */
485            @Override
486            public void addTagResources(com.liferay.portlet.asset.model.AssetTag tag,
487                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
488                    throws com.liferay.portal.kernel.exception.PortalException,
489                            com.liferay.portal.kernel.exception.SystemException {
490                    _assetTagLocalService.addTagResources(tag, groupPermissions,
491                            guestPermissions);
492            }
493    
494            /**
495            * Returns the asset tags matching the group and names, creating new asset
496            * tags matching the names if the group doesn't already have them.
497            *
498            * <p>
499            * For each name, if an asset tag with the name doesn't already exist in the
500            * group, this method creates a new asset tag with the name in the group.
501            * </p>
502            *
503            * @param userId the primary key of the user checking the asset tags
504            * @param group the group in which to check the asset tags
505            * @param names the asset tag names
506            * @return the asset tags matching the group and names and new asset tags
507            matching the names that don't already exist in the group
508            * @throws PortalException if a matching group could not be found or if a
509            portal exception occurred
510            * @throws SystemException if a system exception occurred
511            */
512            @Override
513            public java.util.List<com.liferay.portlet.asset.model.AssetTag> checkTags(
514                    long userId, com.liferay.portal.model.Group group,
515                    java.lang.String[] names)
516                    throws com.liferay.portal.kernel.exception.PortalException,
517                            com.liferay.portal.kernel.exception.SystemException {
518                    return _assetTagLocalService.checkTags(userId, group, names);
519            }
520    
521            /**
522            * Returns the asset tags matching the group and names, creating new asset
523            * tags matching the names if the group doesn't already have them.
524            *
525            * @param userId the primary key of the user checking the asset tags
526            * @param groupId the primary key of the group in which check the asset
527            tags
528            * @param names the asset tag names
529            * @throws PortalException if a matching group could not be found or if a
530            portal exception occurred
531            * @throws SystemException if a system exception occurred
532            */
533            @Override
534            public void checkTags(long userId, long groupId, java.lang.String[] names)
535                    throws com.liferay.portal.kernel.exception.PortalException,
536                            com.liferay.portal.kernel.exception.SystemException {
537                    _assetTagLocalService.checkTags(userId, groupId, names);
538            }
539    
540            /**
541            * Decrements the number of assets to which the asset tag has been applied.
542            *
543            * @param tagId the primary key of the asset tag
544            * @param classNameId the class name ID of the entity to which the asset
545            tag had been applied
546            * @return the asset tag
547            * @throws PortalException if an asset tag with the primary key could not be
548            found or if a portal exception occurred
549            * @throws SystemException if a system exception occurred
550            */
551            @Override
552            public com.liferay.portlet.asset.model.AssetTag decrementAssetCount(
553                    long tagId, long classNameId)
554                    throws com.liferay.portal.kernel.exception.PortalException,
555                            com.liferay.portal.kernel.exception.SystemException {
556                    return _assetTagLocalService.decrementAssetCount(tagId, classNameId);
557            }
558    
559            /**
560            * Deletes all asset tags in the group.
561            *
562            * @param groupId the primary key of the group in which to delete all asset
563            tags
564            * @throws PortalException if a portal exception occurred
565            * @throws SystemException if a system exception occurred
566            */
567            @Override
568            public void deleteGroupTags(long groupId)
569                    throws com.liferay.portal.kernel.exception.PortalException,
570                            com.liferay.portal.kernel.exception.SystemException {
571                    _assetTagLocalService.deleteGroupTags(groupId);
572            }
573    
574            /**
575            * Deletes the asset tag.
576            *
577            * @param tag the asset tag to be deleted
578            * @throws PortalException if a portal exception occurred
579            * @throws SystemException if a system exception occurred
580            */
581            @Override
582            public void deleteTag(com.liferay.portlet.asset.model.AssetTag tag)
583                    throws com.liferay.portal.kernel.exception.PortalException,
584                            com.liferay.portal.kernel.exception.SystemException {
585                    _assetTagLocalService.deleteTag(tag);
586            }
587    
588            /**
589            * Deletes the asset tag.
590            *
591            * @param tagId the primary key of the asset tag
592            * @throws PortalException if no asset tag could be found with the primary
593            key or if a portal exception occurred
594            * @throws SystemException if a system exception occurred
595            */
596            @Override
597            public void deleteTag(long tagId)
598                    throws com.liferay.portal.kernel.exception.PortalException,
599                            com.liferay.portal.kernel.exception.SystemException {
600                    _assetTagLocalService.deleteTag(tagId);
601            }
602    
603            /**
604            * Returns the asset tags of the asset entry.
605            *
606            * @param entryId the primary key of the asset entry
607            * @return the asset tags of the asset entry
608            * @throws SystemException if a system exception occurred
609            */
610            @Override
611            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getEntryTags(
612                    long entryId)
613                    throws com.liferay.portal.kernel.exception.SystemException {
614                    return _assetTagLocalService.getEntryTags(entryId);
615            }
616    
617            /**
618            * Returns the asset tags in the groups.
619            *
620            * @param groupIds the primary keys of the groups
621            * @return the asset tags in the groups
622            * @throws SystemException if a system exception occurred
623            */
624            @Override
625            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupsTags(
626                    long[] groupIds)
627                    throws com.liferay.portal.kernel.exception.SystemException {
628                    return _assetTagLocalService.getGroupsTags(groupIds);
629            }
630    
631            /**
632            * Returns the asset tags in the group.
633            *
634            * @param groupId the primary key of the group
635            * @return the asset tags in the group
636            * @throws SystemException if a system exception occurred
637            */
638            @Override
639            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupTags(
640                    long groupId)
641                    throws com.liferay.portal.kernel.exception.SystemException {
642                    return _assetTagLocalService.getGroupTags(groupId);
643            }
644    
645            /**
646            * Returns a range of all the asset tags in the group.
647            *
648            * @param groupId the primary key of the group
649            * @param start the lower bound of the range of asset tags
650            * @param end the upper bound of the range of asset tags (not inclusive)
651            * @return the range of matching asset tags
652            * @throws SystemException if a system exception occurred
653            */
654            @Override
655            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupTags(
656                    long groupId, int start, int end)
657                    throws com.liferay.portal.kernel.exception.SystemException {
658                    return _assetTagLocalService.getGroupTags(groupId, start, end);
659            }
660    
661            /**
662            * Returns the number of asset tags in the group.
663            *
664            * @param groupId the primary key of the group
665            * @return the number of asset tags in the group
666            * @throws SystemException if a system exception occurred
667            */
668            @Override
669            public int getGroupTagsCount(long groupId)
670                    throws com.liferay.portal.kernel.exception.SystemException {
671                    return _assetTagLocalService.getGroupTagsCount(groupId);
672            }
673    
674            @Override
675            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getSocialActivityCounterOffsetTags(
676                    long groupId, java.lang.String socialActivityCounterName,
677                    int startOffset, int endOffset)
678                    throws com.liferay.portal.kernel.exception.SystemException {
679                    return _assetTagLocalService.getSocialActivityCounterOffsetTags(groupId,
680                            socialActivityCounterName, startOffset, endOffset);
681            }
682    
683            @Override
684            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getSocialActivityCounterPeriodTags(
685                    long groupId, java.lang.String socialActivityCounterName,
686                    int startPeriod, int endPeriod)
687                    throws com.liferay.portal.kernel.exception.SystemException {
688                    return _assetTagLocalService.getSocialActivityCounterPeriodTags(groupId,
689                            socialActivityCounterName, startPeriod, endPeriod);
690            }
691    
692            /**
693            * Returns the asset tag with the primary key.
694            *
695            * @param tagId the primary key of the asset tag
696            * @return the asset tag with the primary key
697            * @throws PortalException if an asset tag with the primary key could not be
698            found
699            * @throws SystemException if a system exception occurred
700            */
701            @Override
702            public com.liferay.portlet.asset.model.AssetTag getTag(long tagId)
703                    throws com.liferay.portal.kernel.exception.PortalException,
704                            com.liferay.portal.kernel.exception.SystemException {
705                    return _assetTagLocalService.getTag(tagId);
706            }
707    
708            /**
709            * Returns the asset tag with the name in the group.
710            *
711            * @param groupId the primary key of the group
712            * @param name the name of the asset tag
713            * @return the asset tag with the name in the group
714            * @throws PortalException if a matching asset tag could not be found
715            * @throws SystemException if a system exception occurred
716            */
717            @Override
718            public com.liferay.portlet.asset.model.AssetTag getTag(long groupId,
719                    java.lang.String name)
720                    throws com.liferay.portal.kernel.exception.PortalException,
721                            com.liferay.portal.kernel.exception.SystemException {
722                    return _assetTagLocalService.getTag(groupId, name);
723            }
724    
725            /**
726            * Returns the primary keys of the asset tags with the names in the group.
727            *
728            * @param groupId the primary key of the group
729            * @param names the names of the asset tags
730            * @return the primary keys of the asset tags with the names in the group
731            * @throws PortalException if a portal exception occurred
732            * @throws SystemException if a system exception occurred
733            */
734            @Override
735            public long[] getTagIds(long groupId, java.lang.String[] names)
736                    throws com.liferay.portal.kernel.exception.PortalException,
737                            com.liferay.portal.kernel.exception.SystemException {
738                    return _assetTagLocalService.getTagIds(groupId, names);
739            }
740    
741            /**
742            * Returns the primary keys of the asset tags with the name in the groups.
743            *
744            * @param groupIds the primary keys of the groups
745            * @param name the name of the asset tags
746            * @return the primary keys of the asset tags with the name in the groups
747            * @throws PortalException if a portal exception occurred
748            * @throws SystemException if a system exception occurred
749            */
750            @Override
751            public long[] getTagIds(long[] groupIds, java.lang.String name)
752                    throws com.liferay.portal.kernel.exception.PortalException,
753                            com.liferay.portal.kernel.exception.SystemException {
754                    return _assetTagLocalService.getTagIds(groupIds, name);
755            }
756    
757            /**
758            * Returns the primary keys of the asset tags with the names in the groups.
759            *
760            * @param groupIds the primary keys of the groups
761            * @param names the names of the asset tags
762            * @return the primary keys of the asset tags with the names in the groups
763            * @throws PortalException if a portal exception occurred
764            * @throws SystemException if a system exception occurred
765            */
766            @Override
767            public long[] getTagIds(long[] groupIds, java.lang.String[] names)
768                    throws com.liferay.portal.kernel.exception.PortalException,
769                            com.liferay.portal.kernel.exception.SystemException {
770                    return _assetTagLocalService.getTagIds(groupIds, names);
771            }
772    
773            /**
774            * Returns the names of all the asset tags.
775            *
776            * @return the names of all the asset tags
777            * @throws SystemException if a system exception occurred
778            */
779            @Override
780            public java.lang.String[] getTagNames()
781                    throws com.liferay.portal.kernel.exception.SystemException {
782                    return _assetTagLocalService.getTagNames();
783            }
784    
785            /**
786            * Returns the names of the asset tags of the entity.
787            *
788            * @param classNameId the class name ID of the entity
789            * @param classPK the primary key of the entity
790            * @return the names of the asset tags of the entity
791            * @throws SystemException if a system exception occurred
792            */
793            @Override
794            public java.lang.String[] getTagNames(long classNameId, long classPK)
795                    throws com.liferay.portal.kernel.exception.SystemException {
796                    return _assetTagLocalService.getTagNames(classNameId, classPK);
797            }
798    
799            /**
800            * Returns the names of the asset tags of the entity
801            *
802            * @param className the class name of the entity
803            * @param classPK the primary key of the entity
804            * @return the names of the asset tags of the entity
805            * @throws SystemException if a system exception occurred
806            */
807            @Override
808            public java.lang.String[] getTagNames(java.lang.String className,
809                    long classPK)
810                    throws com.liferay.portal.kernel.exception.SystemException {
811                    return _assetTagLocalService.getTagNames(className, classPK);
812            }
813    
814            /**
815            * Returns all the asset tags.
816            *
817            * @return the asset tags
818            * @throws SystemException if a system exception occurred
819            */
820            @Override
821            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags()
822                    throws com.liferay.portal.kernel.exception.SystemException {
823                    return _assetTagLocalService.getTags();
824            }
825    
826            /**
827            * Returns the asset tags of the entity.
828            *
829            * @param classNameId the class name ID of the entity
830            * @param classPK the primary key of the entity
831            * @return the asset tags of the entity
832            * @throws SystemException if a system exception occurred
833            */
834            @Override
835            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
836                    long classNameId, long classPK)
837                    throws com.liferay.portal.kernel.exception.SystemException {
838                    return _assetTagLocalService.getTags(classNameId, classPK);
839            }
840    
841            @Override
842            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
843                    long groupId, long classNameId, java.lang.String name)
844                    throws com.liferay.portal.kernel.exception.SystemException {
845                    return _assetTagLocalService.getTags(groupId, classNameId, name);
846            }
847    
848            @Override
849            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
850                    long groupId, long classNameId, java.lang.String name, int start,
851                    int end) throws com.liferay.portal.kernel.exception.SystemException {
852                    return _assetTagLocalService.getTags(groupId, classNameId, name, start,
853                            end);
854            }
855    
856            /**
857            * Returns the asset tags of the entity.
858            *
859            * @param className the class name of the entity
860            * @param classPK the primary key of the entity
861            * @return the asset tags of the entity
862            * @throws SystemException if a system exception occurred
863            */
864            @Override
865            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
866                    java.lang.String className, long classPK)
867                    throws com.liferay.portal.kernel.exception.SystemException {
868                    return _assetTagLocalService.getTags(className, classPK);
869            }
870    
871            @Override
872            public int getTagsSize(long groupId, long classNameId, java.lang.String name)
873                    throws com.liferay.portal.kernel.exception.SystemException {
874                    return _assetTagLocalService.getTagsSize(groupId, classNameId, name);
875            }
876    
877            /**
878            * Returns <code>true</code> if the group contains an asset tag with the
879            * name.
880            *
881            * @param groupId the primary key of the group
882            * @param name the name of the asset tag
883            * @return <code>true</code> if the group contains an asset tag with the
884            name; <code>false</code> otherwise.
885            * @throws PortalException if a portal exception occurred
886            * @throws SystemException if a system exception occurred
887            */
888            @Override
889            public boolean hasTag(long groupId, java.lang.String name)
890                    throws com.liferay.portal.kernel.exception.PortalException,
891                            com.liferay.portal.kernel.exception.SystemException {
892                    return _assetTagLocalService.hasTag(groupId, name);
893            }
894    
895            /**
896            * Increments the number of assets to which the asset tag has been applied.
897            *
898            * @param tagId the primary key of the asset tag
899            * @param classNameId the class name ID of the entity to which the asset
900            tag is being applied
901            * @return the asset tag
902            * @throws PortalException if a asset tag with the primary key could not be
903            found or if a portal exception occurred
904            * @throws SystemException if a system exception occurred
905            */
906            @Override
907            public com.liferay.portlet.asset.model.AssetTag incrementAssetCount(
908                    long tagId, long classNameId)
909                    throws com.liferay.portal.kernel.exception.PortalException,
910                            com.liferay.portal.kernel.exception.SystemException {
911                    return _assetTagLocalService.incrementAssetCount(tagId, classNameId);
912            }
913    
914            /**
915            * Replaces all occurrences of the first asset tag with the second asset tag
916            * and deletes the first asset tag.
917            *
918            * @param fromTagId the primary key of the asset tag to be replaced
919            * @param toTagId the primary key of the asset tag to apply to the asset
920            entries of the other asset tag
921            * @param overrideProperties whether to override the properties of the
922            second asset tag with the properties of the first asset tag
923            * @throws PortalException if a portal exception occurred
924            * @throws SystemException if a system exception occurred
925            */
926            @Override
927            public void mergeTags(long fromTagId, long toTagId,
928                    boolean overrideProperties)
929                    throws com.liferay.portal.kernel.exception.PortalException,
930                            com.liferay.portal.kernel.exception.SystemException {
931                    _assetTagLocalService.mergeTags(fromTagId, toTagId, overrideProperties);
932            }
933    
934            /**
935            * Returns the asset tags in the group whose names match the pattern and the
936            * properties.
937            *
938            * @param groupId the primary key of the group
939            * @param name the pattern to match
940            * @param tagProperties the properties to match
941            * @param start the lower bound of the range of asset tags
942            * @param end the upper bound of the range of asset tags (not inclusive)
943            * @return the asset tags in the group whose names match the pattern
944            * @throws SystemException if a system exception occurred
945            */
946            @Override
947            public java.util.List<com.liferay.portlet.asset.model.AssetTag> search(
948                    long groupId, java.lang.String name, java.lang.String[] tagProperties,
949                    int start, int end)
950                    throws com.liferay.portal.kernel.exception.SystemException {
951                    return _assetTagLocalService.search(groupId, name, tagProperties,
952                            start, end);
953            }
954    
955            /**
956            * Returns the asset tags in the groups whose names match the pattern and
957            * the properties.
958            *
959            * @param groupIds the primary keys of the groups
960            * @param name the pattern to match
961            * @param tagProperties the properties to match
962            * @param start the lower bound of the range of asset tags
963            * @param end the upper bound of the range of asset tags (not inclusive)
964            * @return the asset tags in the groups whose names match the pattern
965            * @throws SystemException if a system exception occurred
966            */
967            @Override
968            public java.util.List<com.liferay.portlet.asset.model.AssetTag> search(
969                    long[] groupIds, java.lang.String name,
970                    java.lang.String[] tagProperties, int start, int end)
971                    throws com.liferay.portal.kernel.exception.SystemException {
972                    return _assetTagLocalService.search(groupIds, name, tagProperties,
973                            start, end);
974            }
975    
976            @Override
977            public com.liferay.portlet.asset.model.AssetTag updateTag(long userId,
978                    long tagId, java.lang.String name, java.lang.String[] tagProperties,
979                    com.liferay.portal.service.ServiceContext serviceContext)
980                    throws com.liferay.portal.kernel.exception.PortalException,
981                            com.liferay.portal.kernel.exception.SystemException {
982                    return _assetTagLocalService.updateTag(userId, tagId, name,
983                            tagProperties, serviceContext);
984            }
985    
986            /**
987             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
988             */
989            public AssetTagLocalService getWrappedAssetTagLocalService() {
990                    return _assetTagLocalService;
991            }
992    
993            /**
994             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
995             */
996            public void setWrappedAssetTagLocalService(
997                    AssetTagLocalService assetTagLocalService) {
998                    _assetTagLocalService = assetTagLocalService;
999            }
1000    
1001            @Override
1002            public AssetTagLocalService getWrappedService() {
1003                    return _assetTagLocalService;
1004            }
1005    
1006            @Override
1007            public void setWrappedService(AssetTagLocalService assetTagLocalService) {
1008                    _assetTagLocalService = assetTagLocalService;
1009            }
1010    
1011            private AssetTagLocalService _assetTagLocalService;
1012    }