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