001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.asset.service;
016    
017    import com.liferay.portal.kernel.exception.PortalException;
018    import com.liferay.portal.kernel.exception.SystemException;
019    import com.liferay.portal.kernel.transaction.Isolation;
020    import com.liferay.portal.kernel.transaction.Propagation;
021    import com.liferay.portal.kernel.transaction.Transactional;
022    import com.liferay.portal.service.BaseLocalService;
023    import com.liferay.portal.service.PersistedModelLocalService;
024    
025    /**
026     * Provides the local service interface for AssetTag. Methods of this
027     * service will not have security checks based on the propagated JAAS
028     * credentials because this service can only be accessed from within the same
029     * VM.
030     *
031     * @author Brian Wing Shun Chan
032     * @see AssetTagLocalServiceUtil
033     * @see com.liferay.portlet.asset.service.base.AssetTagLocalServiceBaseImpl
034     * @see com.liferay.portlet.asset.service.impl.AssetTagLocalServiceImpl
035     * @generated
036     */
037    @Transactional(isolation = Isolation.PORTAL, rollbackFor =  {
038            PortalException.class, SystemException.class})
039    public interface AssetTagLocalService extends BaseLocalService,
040            PersistedModelLocalService {
041            /*
042             * NOTE FOR DEVELOPERS:
043             *
044             * Never modify or reference this interface directly. Always use {@link AssetTagLocalServiceUtil} to access the asset tag local service. Add custom service methods to {@link com.liferay.portlet.asset.service.impl.AssetTagLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
045             */
046    
047            /**
048            * Adds the asset tag to the database. Also notifies the appropriate model listeners.
049            *
050            * @param assetTag the asset tag
051            * @return the asset tag that was added
052            * @throws SystemException if a system exception occurred
053            */
054            public com.liferay.portlet.asset.model.AssetTag addAssetTag(
055                    com.liferay.portlet.asset.model.AssetTag assetTag)
056                    throws com.liferay.portal.kernel.exception.SystemException;
057    
058            /**
059            * Creates a new asset tag with the primary key. Does not add the asset tag to the database.
060            *
061            * @param tagId the primary key for the new asset tag
062            * @return the new asset tag
063            */
064            public com.liferay.portlet.asset.model.AssetTag createAssetTag(long tagId);
065    
066            /**
067            * Deletes the asset tag with the primary key from the database. Also notifies the appropriate model listeners.
068            *
069            * @param tagId the primary key of the asset tag
070            * @return the asset tag that was removed
071            * @throws PortalException if a asset tag with the primary key could not be found
072            * @throws SystemException if a system exception occurred
073            */
074            public com.liferay.portlet.asset.model.AssetTag deleteAssetTag(long tagId)
075                    throws com.liferay.portal.kernel.exception.PortalException,
076                            com.liferay.portal.kernel.exception.SystemException;
077    
078            /**
079            * Deletes the asset tag from the database. Also notifies the appropriate model listeners.
080            *
081            * @param assetTag the asset tag
082            * @return the asset tag that was removed
083            * @throws SystemException if a system exception occurred
084            */
085            public com.liferay.portlet.asset.model.AssetTag deleteAssetTag(
086                    com.liferay.portlet.asset.model.AssetTag assetTag)
087                    throws com.liferay.portal.kernel.exception.SystemException;
088    
089            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
090    
091            /**
092            * Performs a dynamic query on the database and returns the matching rows.
093            *
094            * @param dynamicQuery the dynamic query
095            * @return the matching rows
096            * @throws SystemException if a system exception occurred
097            */
098            @SuppressWarnings("rawtypes")
099            public java.util.List dynamicQuery(
100                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
101                    throws com.liferay.portal.kernel.exception.SystemException;
102    
103            /**
104            * Performs a dynamic query on the database and returns a range of the matching rows.
105            *
106            * <p>
107            * 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.
108            * </p>
109            *
110            * @param dynamicQuery the dynamic query
111            * @param start the lower bound of the range of model instances
112            * @param end the upper bound of the range of model instances (not inclusive)
113            * @return the range of matching rows
114            * @throws SystemException if a system exception occurred
115            */
116            @SuppressWarnings("rawtypes")
117            public java.util.List dynamicQuery(
118                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
119                    int end) throws com.liferay.portal.kernel.exception.SystemException;
120    
121            /**
122            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
123            *
124            * <p>
125            * 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.
126            * </p>
127            *
128            * @param dynamicQuery the dynamic query
129            * @param start the lower bound of the range of model instances
130            * @param end the upper bound of the range of model instances (not inclusive)
131            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
132            * @return the ordered range of matching rows
133            * @throws SystemException if a system exception occurred
134            */
135            @SuppressWarnings("rawtypes")
136            public java.util.List dynamicQuery(
137                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
138                    int end,
139                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
140                    throws com.liferay.portal.kernel.exception.SystemException;
141    
142            /**
143            * Returns the number of rows that match the dynamic query.
144            *
145            * @param dynamicQuery the dynamic query
146            * @return the number of rows that match the dynamic query
147            * @throws SystemException if a system exception occurred
148            */
149            public long dynamicQueryCount(
150                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
151                    throws com.liferay.portal.kernel.exception.SystemException;
152    
153            /**
154            * Returns the number of rows that match the dynamic query.
155            *
156            * @param dynamicQuery the dynamic query
157            * @param projection the projection to apply to the query
158            * @return the number of rows that match the dynamic query
159            * @throws SystemException if a system exception occurred
160            */
161            public long dynamicQueryCount(
162                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
163                    com.liferay.portal.kernel.dao.orm.Projection projection)
164                    throws com.liferay.portal.kernel.exception.SystemException;
165    
166            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
167            public com.liferay.portlet.asset.model.AssetTag fetchAssetTag(long tagId)
168                    throws com.liferay.portal.kernel.exception.SystemException;
169    
170            /**
171            * Returns the asset tag with the primary key.
172            *
173            * @param tagId the primary key of the asset tag
174            * @return the asset tag
175            * @throws PortalException if a asset tag with the primary key could not be found
176            * @throws SystemException if a system exception occurred
177            */
178            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
179            public com.liferay.portlet.asset.model.AssetTag getAssetTag(long tagId)
180                    throws com.liferay.portal.kernel.exception.PortalException,
181                            com.liferay.portal.kernel.exception.SystemException;
182    
183            @Override
184            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
185            public com.liferay.portal.model.PersistedModel getPersistedModel(
186                    java.io.Serializable primaryKeyObj)
187                    throws com.liferay.portal.kernel.exception.PortalException,
188                            com.liferay.portal.kernel.exception.SystemException;
189    
190            /**
191            * Returns a range of all the asset tags.
192            *
193            * <p>
194            * 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.
195            * </p>
196            *
197            * @param start the lower bound of the range of asset tags
198            * @param end the upper bound of the range of asset tags (not inclusive)
199            * @return the range of asset tags
200            * @throws SystemException if a system exception occurred
201            */
202            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
203            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getAssetTags(
204                    int start, int end)
205                    throws com.liferay.portal.kernel.exception.SystemException;
206    
207            /**
208            * Returns the number of asset tags.
209            *
210            * @return the number of asset tags
211            * @throws SystemException if a system exception occurred
212            */
213            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
214            public int getAssetTagsCount()
215                    throws com.liferay.portal.kernel.exception.SystemException;
216    
217            /**
218            * Updates the asset tag in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
219            *
220            * @param assetTag the asset tag
221            * @return the asset tag that was updated
222            * @throws SystemException if a system exception occurred
223            */
224            public com.liferay.portlet.asset.model.AssetTag updateAssetTag(
225                    com.liferay.portlet.asset.model.AssetTag assetTag)
226                    throws com.liferay.portal.kernel.exception.SystemException;
227    
228            /**
229            * @throws SystemException if a system exception occurred
230            */
231            public void addAssetEntryAssetTag(long entryId, long tagId)
232                    throws com.liferay.portal.kernel.exception.SystemException;
233    
234            /**
235            * @throws SystemException if a system exception occurred
236            */
237            public void addAssetEntryAssetTag(long entryId,
238                    com.liferay.portlet.asset.model.AssetTag assetTag)
239                    throws com.liferay.portal.kernel.exception.SystemException;
240    
241            /**
242            * @throws SystemException if a system exception occurred
243            */
244            public void addAssetEntryAssetTags(long entryId, long[] tagIds)
245                    throws com.liferay.portal.kernel.exception.SystemException;
246    
247            /**
248            * @throws SystemException if a system exception occurred
249            */
250            public void addAssetEntryAssetTags(long entryId,
251                    java.util.List<com.liferay.portlet.asset.model.AssetTag> AssetTags)
252                    throws com.liferay.portal.kernel.exception.SystemException;
253    
254            /**
255            * @throws SystemException if a system exception occurred
256            */
257            public void clearAssetEntryAssetTags(long entryId)
258                    throws com.liferay.portal.kernel.exception.SystemException;
259    
260            /**
261            * @throws SystemException if a system exception occurred
262            */
263            public void deleteAssetEntryAssetTag(long entryId, long tagId)
264                    throws com.liferay.portal.kernel.exception.SystemException;
265    
266            /**
267            * @throws SystemException if a system exception occurred
268            */
269            public void deleteAssetEntryAssetTag(long entryId,
270                    com.liferay.portlet.asset.model.AssetTag assetTag)
271                    throws com.liferay.portal.kernel.exception.SystemException;
272    
273            /**
274            * @throws SystemException if a system exception occurred
275            */
276            public void deleteAssetEntryAssetTags(long entryId, long[] tagIds)
277                    throws com.liferay.portal.kernel.exception.SystemException;
278    
279            /**
280            * @throws SystemException if a system exception occurred
281            */
282            public void deleteAssetEntryAssetTags(long entryId,
283                    java.util.List<com.liferay.portlet.asset.model.AssetTag> AssetTags)
284                    throws com.liferay.portal.kernel.exception.SystemException;
285    
286            /**
287            * @throws SystemException if a system exception occurred
288            */
289            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
290            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getAssetEntryAssetTags(
291                    long entryId)
292                    throws com.liferay.portal.kernel.exception.SystemException;
293    
294            /**
295            * @throws SystemException if a system exception occurred
296            */
297            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
298            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getAssetEntryAssetTags(
299                    long entryId, int start, int end)
300                    throws com.liferay.portal.kernel.exception.SystemException;
301    
302            /**
303            * @throws SystemException if a system exception occurred
304            */
305            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
306            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getAssetEntryAssetTags(
307                    long entryId, int start, int end,
308                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
309                    throws com.liferay.portal.kernel.exception.SystemException;
310    
311            /**
312            * @throws SystemException if a system exception occurred
313            */
314            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
315            public int getAssetEntryAssetTagsCount(long entryId)
316                    throws com.liferay.portal.kernel.exception.SystemException;
317    
318            /**
319            * @throws SystemException if a system exception occurred
320            */
321            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
322            public boolean hasAssetEntryAssetTag(long entryId, long tagId)
323                    throws com.liferay.portal.kernel.exception.SystemException;
324    
325            /**
326            * @throws SystemException if a system exception occurred
327            */
328            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
329            public boolean hasAssetEntryAssetTags(long entryId)
330                    throws com.liferay.portal.kernel.exception.SystemException;
331    
332            /**
333            * @throws SystemException if a system exception occurred
334            */
335            public void setAssetEntryAssetTags(long entryId, long[] tagIds)
336                    throws com.liferay.portal.kernel.exception.SystemException;
337    
338            /**
339            * Returns the Spring bean ID for this bean.
340            *
341            * @return the Spring bean ID for this bean
342            */
343            public java.lang.String getBeanIdentifier();
344    
345            /**
346            * Sets the Spring bean ID for this bean.
347            *
348            * @param beanIdentifier the Spring bean ID for this bean
349            */
350            public void setBeanIdentifier(java.lang.String beanIdentifier);
351    
352            public com.liferay.portlet.asset.model.AssetTag addTag(long userId,
353                    java.lang.String name, java.lang.String[] tagProperties,
354                    com.liferay.portal.service.ServiceContext serviceContext)
355                    throws com.liferay.portal.kernel.exception.PortalException,
356                            com.liferay.portal.kernel.exception.SystemException;
357    
358            public void addTagResources(com.liferay.portlet.asset.model.AssetTag tag,
359                    boolean addGroupPermissions, boolean addGuestPermissions)
360                    throws com.liferay.portal.kernel.exception.PortalException,
361                            com.liferay.portal.kernel.exception.SystemException;
362    
363            public void addTagResources(com.liferay.portlet.asset.model.AssetTag tag,
364                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
365                    throws com.liferay.portal.kernel.exception.PortalException,
366                            com.liferay.portal.kernel.exception.SystemException;
367    
368            public void checkTags(long userId, long groupId, java.lang.String[] names)
369                    throws com.liferay.portal.kernel.exception.PortalException,
370                            com.liferay.portal.kernel.exception.SystemException;
371    
372            public com.liferay.portlet.asset.model.AssetTag decrementAssetCount(
373                    long tagId, long classNameId)
374                    throws com.liferay.portal.kernel.exception.PortalException,
375                            com.liferay.portal.kernel.exception.SystemException;
376    
377            public void deleteGroupTags(long groupId)
378                    throws com.liferay.portal.kernel.exception.PortalException,
379                            com.liferay.portal.kernel.exception.SystemException;
380    
381            public void deleteTag(com.liferay.portlet.asset.model.AssetTag tag)
382                    throws com.liferay.portal.kernel.exception.PortalException,
383                            com.liferay.portal.kernel.exception.SystemException;
384    
385            public void deleteTag(long tagId)
386                    throws com.liferay.portal.kernel.exception.PortalException,
387                            com.liferay.portal.kernel.exception.SystemException;
388    
389            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
390            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getEntryTags(
391                    long entryId)
392                    throws com.liferay.portal.kernel.exception.SystemException;
393    
394            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
395            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupsTags(
396                    long[] groupIds)
397                    throws com.liferay.portal.kernel.exception.SystemException;
398    
399            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
400            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupTags(
401                    long groupId)
402                    throws com.liferay.portal.kernel.exception.SystemException;
403    
404            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
405            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupTags(
406                    long groupId, int start, int end)
407                    throws com.liferay.portal.kernel.exception.SystemException;
408    
409            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
410            public int getGroupTagsCount(long groupId)
411                    throws com.liferay.portal.kernel.exception.SystemException;
412    
413            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
414            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getSocialActivityCounterOffsetTags(
415                    long groupId, java.lang.String socialActivityCounterName,
416                    int startOffset, int endOffset)
417                    throws com.liferay.portal.kernel.exception.SystemException;
418    
419            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
420            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getSocialActivityCounterPeriodTags(
421                    long groupId, java.lang.String socialActivityCounterName,
422                    int startPeriod, int endPeriod)
423                    throws com.liferay.portal.kernel.exception.SystemException;
424    
425            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
426            public com.liferay.portlet.asset.model.AssetTag getTag(long tagId)
427                    throws com.liferay.portal.kernel.exception.PortalException,
428                            com.liferay.portal.kernel.exception.SystemException;
429    
430            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
431            public com.liferay.portlet.asset.model.AssetTag getTag(long groupId,
432                    java.lang.String name)
433                    throws com.liferay.portal.kernel.exception.PortalException,
434                            com.liferay.portal.kernel.exception.SystemException;
435    
436            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
437            public long[] getTagIds(long groupId, java.lang.String[] names)
438                    throws com.liferay.portal.kernel.exception.PortalException,
439                            com.liferay.portal.kernel.exception.SystemException;
440    
441            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
442            public long[] getTagIds(long[] groupIds, java.lang.String name)
443                    throws com.liferay.portal.kernel.exception.PortalException,
444                            com.liferay.portal.kernel.exception.SystemException;
445    
446            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
447            public long[] getTagIds(long[] groupIds, java.lang.String[] names)
448                    throws com.liferay.portal.kernel.exception.PortalException,
449                            com.liferay.portal.kernel.exception.SystemException;
450    
451            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
452            public java.lang.String[] getTagNames()
453                    throws com.liferay.portal.kernel.exception.SystemException;
454    
455            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
456            public java.lang.String[] getTagNames(long classNameId, long classPK)
457                    throws com.liferay.portal.kernel.exception.SystemException;
458    
459            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
460            public java.lang.String[] getTagNames(java.lang.String className,
461                    long classPK)
462                    throws com.liferay.portal.kernel.exception.SystemException;
463    
464            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
465            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags()
466                    throws com.liferay.portal.kernel.exception.SystemException;
467    
468            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
469            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
470                    long classNameId, long classPK)
471                    throws com.liferay.portal.kernel.exception.SystemException;
472    
473            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
474            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
475                    long groupId, long classNameId, java.lang.String name)
476                    throws com.liferay.portal.kernel.exception.SystemException;
477    
478            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
479            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
480                    long groupId, long classNameId, java.lang.String name, int start,
481                    int end) throws com.liferay.portal.kernel.exception.SystemException;
482    
483            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
484            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
485                    java.lang.String className, long classPK)
486                    throws com.liferay.portal.kernel.exception.SystemException;
487    
488            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
489            public int getTagsSize(long groupId, long classNameId, java.lang.String name)
490                    throws com.liferay.portal.kernel.exception.SystemException;
491    
492            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
493            public boolean hasTag(long groupId, java.lang.String name)
494                    throws com.liferay.portal.kernel.exception.PortalException,
495                            com.liferay.portal.kernel.exception.SystemException;
496    
497            public com.liferay.portlet.asset.model.AssetTag incrementAssetCount(
498                    long tagId, long classNameId)
499                    throws com.liferay.portal.kernel.exception.PortalException,
500                            com.liferay.portal.kernel.exception.SystemException;
501    
502            public void mergeTags(long fromTagId, long toTagId,
503                    boolean overrideProperties)
504                    throws com.liferay.portal.kernel.exception.PortalException,
505                            com.liferay.portal.kernel.exception.SystemException;
506    
507            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
508            public java.util.List<com.liferay.portlet.asset.model.AssetTag> search(
509                    long groupId, java.lang.String name, java.lang.String[] tagProperties,
510                    int start, int end)
511                    throws com.liferay.portal.kernel.exception.SystemException;
512    
513            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
514            public java.util.List<com.liferay.portlet.asset.model.AssetTag> search(
515                    long[] groupIds, java.lang.String name,
516                    java.lang.String[] tagProperties, int start, int end)
517                    throws com.liferay.portal.kernel.exception.SystemException;
518    
519            public com.liferay.portlet.asset.model.AssetTag updateTag(long userId,
520                    long tagId, java.lang.String name, java.lang.String[] tagProperties,
521                    com.liferay.portal.service.ServiceContext serviceContext)
522                    throws com.liferay.portal.kernel.exception.PortalException,
523                            com.liferay.portal.kernel.exception.SystemException;
524    }