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