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 AssetEntry. 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 AssetEntryLocalServiceUtil
035     * @see com.liferay.portlet.asset.service.base.AssetEntryLocalServiceBaseImpl
036     * @see com.liferay.portlet.asset.service.impl.AssetEntryLocalServiceImpl
037     * @generated
038     */
039    @ProviderType
040    @Transactional(isolation = Isolation.PORTAL, rollbackFor =  {
041            PortalException.class, SystemException.class})
042    public interface AssetEntryLocalService extends BaseLocalService,
043            PersistedModelLocalService {
044            /*
045             * NOTE FOR DEVELOPERS:
046             *
047             * Never modify or reference this interface directly. Always use {@link AssetEntryLocalServiceUtil} to access the asset entry local service. Add custom service methods to {@link com.liferay.portlet.asset.service.impl.AssetEntryLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
048             */
049    
050            /**
051            * Adds the asset entry to the database. Also notifies the appropriate model listeners.
052            *
053            * @param assetEntry the asset entry
054            * @return the asset entry that was added
055            * @throws SystemException if a system exception occurred
056            */
057            public com.liferay.portlet.asset.model.AssetEntry addAssetEntry(
058                    com.liferay.portlet.asset.model.AssetEntry assetEntry)
059                    throws com.liferay.portal.kernel.exception.SystemException;
060    
061            /**
062            * Creates a new asset entry with the primary key. Does not add the asset entry to the database.
063            *
064            * @param entryId the primary key for the new asset entry
065            * @return the new asset entry
066            */
067            public com.liferay.portlet.asset.model.AssetEntry createAssetEntry(
068                    long entryId);
069    
070            /**
071            * Deletes the asset entry with the primary key from the database. Also notifies the appropriate model listeners.
072            *
073            * @param entryId the primary key of the asset entry
074            * @return the asset entry that was removed
075            * @throws PortalException if a asset entry with the primary key could not be found
076            * @throws SystemException if a system exception occurred
077            */
078            public com.liferay.portlet.asset.model.AssetEntry deleteAssetEntry(
079                    long entryId)
080                    throws com.liferay.portal.kernel.exception.PortalException,
081                            com.liferay.portal.kernel.exception.SystemException;
082    
083            /**
084            * Deletes the asset entry from the database. Also notifies the appropriate model listeners.
085            *
086            * @param assetEntry the asset entry
087            * @return the asset entry that was removed
088            * @throws SystemException if a system exception occurred
089            */
090            public com.liferay.portlet.asset.model.AssetEntry deleteAssetEntry(
091                    com.liferay.portlet.asset.model.AssetEntry assetEntry)
092                    throws com.liferay.portal.kernel.exception.SystemException;
093    
094            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
095    
096            /**
097            * Performs a dynamic query on the database and returns the matching rows.
098            *
099            * @param dynamicQuery the dynamic query
100            * @return the matching rows
101            * @throws SystemException if a system exception occurred
102            */
103            @SuppressWarnings("rawtypes")
104            public java.util.List dynamicQuery(
105                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
106                    throws com.liferay.portal.kernel.exception.SystemException;
107    
108            /**
109            * Performs a dynamic query on the database and returns a range of the matching rows.
110            *
111            * <p>
112            * 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.AssetEntryModelImpl}. 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.
113            * </p>
114            *
115            * @param dynamicQuery the dynamic query
116            * @param start the lower bound of the range of model instances
117            * @param end the upper bound of the range of model instances (not inclusive)
118            * @return the range of matching rows
119            * @throws SystemException if a system exception occurred
120            */
121            @SuppressWarnings("rawtypes")
122            public java.util.List dynamicQuery(
123                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
124                    int end) throws com.liferay.portal.kernel.exception.SystemException;
125    
126            /**
127            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
128            *
129            * <p>
130            * 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.AssetEntryModelImpl}. 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.
131            * </p>
132            *
133            * @param dynamicQuery the dynamic query
134            * @param start the lower bound of the range of model instances
135            * @param end the upper bound of the range of model instances (not inclusive)
136            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
137            * @return the ordered range of matching rows
138            * @throws SystemException if a system exception occurred
139            */
140            @SuppressWarnings("rawtypes")
141            public java.util.List dynamicQuery(
142                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
143                    int end,
144                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
145                    throws com.liferay.portal.kernel.exception.SystemException;
146    
147            /**
148            * Returns the number of rows that match the dynamic query.
149            *
150            * @param dynamicQuery the dynamic query
151            * @return the number of rows that match the dynamic query
152            * @throws SystemException if a system exception occurred
153            */
154            public long dynamicQueryCount(
155                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
156                    throws com.liferay.portal.kernel.exception.SystemException;
157    
158            /**
159            * Returns the number of rows that match the dynamic query.
160            *
161            * @param dynamicQuery the dynamic query
162            * @param projection the projection to apply to the query
163            * @return the number of rows that match the dynamic query
164            * @throws SystemException if a system exception occurred
165            */
166            public long dynamicQueryCount(
167                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
168                    com.liferay.portal.kernel.dao.orm.Projection projection)
169                    throws com.liferay.portal.kernel.exception.SystemException;
170    
171            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
172            public com.liferay.portlet.asset.model.AssetEntry fetchAssetEntry(
173                    long entryId)
174                    throws com.liferay.portal.kernel.exception.SystemException;
175    
176            /**
177            * Returns the asset entry with the primary key.
178            *
179            * @param entryId the primary key of the asset entry
180            * @return the asset entry
181            * @throws PortalException if a asset entry with the primary key could not be found
182            * @throws SystemException if a system exception occurred
183            */
184            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
185            public com.liferay.portlet.asset.model.AssetEntry getAssetEntry(
186                    long entryId)
187                    throws com.liferay.portal.kernel.exception.PortalException,
188                            com.liferay.portal.kernel.exception.SystemException;
189    
190            @Override
191            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
192            public com.liferay.portal.model.PersistedModel getPersistedModel(
193                    java.io.Serializable primaryKeyObj)
194                    throws com.liferay.portal.kernel.exception.PortalException,
195                            com.liferay.portal.kernel.exception.SystemException;
196    
197            /**
198            * Returns a range of all the asset entries.
199            *
200            * <p>
201            * 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.AssetEntryModelImpl}. 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.
202            * </p>
203            *
204            * @param start the lower bound of the range of asset entries
205            * @param end the upper bound of the range of asset entries (not inclusive)
206            * @return the range of asset entries
207            * @throws SystemException if a system exception occurred
208            */
209            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
210            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
211                    int start, int end)
212                    throws com.liferay.portal.kernel.exception.SystemException;
213    
214            /**
215            * Returns the number of asset entries.
216            *
217            * @return the number of asset entries
218            * @throws SystemException if a system exception occurred
219            */
220            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
221            public int getAssetEntriesCount()
222                    throws com.liferay.portal.kernel.exception.SystemException;
223    
224            /**
225            * Updates the asset entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
226            *
227            * @param assetEntry the asset entry
228            * @return the asset entry that was updated
229            * @throws SystemException if a system exception occurred
230            */
231            public com.liferay.portlet.asset.model.AssetEntry updateAssetEntry(
232                    com.liferay.portlet.asset.model.AssetEntry assetEntry)
233                    throws com.liferay.portal.kernel.exception.SystemException;
234    
235            /**
236            * @throws SystemException if a system exception occurred
237            */
238            public void addAssetCategoryAssetEntry(long categoryId, long entryId)
239                    throws com.liferay.portal.kernel.exception.SystemException;
240    
241            /**
242            * @throws SystemException if a system exception occurred
243            */
244            public void addAssetCategoryAssetEntry(long categoryId,
245                    com.liferay.portlet.asset.model.AssetEntry assetEntry)
246                    throws com.liferay.portal.kernel.exception.SystemException;
247    
248            /**
249            * @throws SystemException if a system exception occurred
250            */
251            public void addAssetCategoryAssetEntries(long categoryId, long[] entryIds)
252                    throws com.liferay.portal.kernel.exception.SystemException;
253    
254            /**
255            * @throws SystemException if a system exception occurred
256            */
257            public void addAssetCategoryAssetEntries(long categoryId,
258                    java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries)
259                    throws com.liferay.portal.kernel.exception.SystemException;
260    
261            /**
262            * @throws SystemException if a system exception occurred
263            */
264            public void clearAssetCategoryAssetEntries(long categoryId)
265                    throws com.liferay.portal.kernel.exception.SystemException;
266    
267            /**
268            * @throws SystemException if a system exception occurred
269            */
270            public void deleteAssetCategoryAssetEntry(long categoryId, long entryId)
271                    throws com.liferay.portal.kernel.exception.SystemException;
272    
273            /**
274            * @throws SystemException if a system exception occurred
275            */
276            public void deleteAssetCategoryAssetEntry(long categoryId,
277                    com.liferay.portlet.asset.model.AssetEntry assetEntry)
278                    throws com.liferay.portal.kernel.exception.SystemException;
279    
280            /**
281            * @throws SystemException if a system exception occurred
282            */
283            public void deleteAssetCategoryAssetEntries(long categoryId, long[] entryIds)
284                    throws com.liferay.portal.kernel.exception.SystemException;
285    
286            /**
287            * @throws SystemException if a system exception occurred
288            */
289            public void deleteAssetCategoryAssetEntries(long categoryId,
290                    java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries)
291                    throws com.liferay.portal.kernel.exception.SystemException;
292    
293            /**
294            * @throws SystemException if a system exception occurred
295            */
296            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
297            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetCategoryAssetEntries(
298                    long categoryId)
299                    throws com.liferay.portal.kernel.exception.SystemException;
300    
301            /**
302            * @throws SystemException if a system exception occurred
303            */
304            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
305            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetCategoryAssetEntries(
306                    long categoryId, int start, int end)
307                    throws com.liferay.portal.kernel.exception.SystemException;
308    
309            /**
310            * @throws SystemException if a system exception occurred
311            */
312            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
313            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetCategoryAssetEntries(
314                    long categoryId, int start, int end,
315                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
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 int getAssetCategoryAssetEntriesCount(long categoryId)
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 hasAssetCategoryAssetEntry(long categoryId, long entryId)
330                    throws com.liferay.portal.kernel.exception.SystemException;
331    
332            /**
333            * @throws SystemException if a system exception occurred
334            */
335            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
336            public boolean hasAssetCategoryAssetEntries(long categoryId)
337                    throws com.liferay.portal.kernel.exception.SystemException;
338    
339            /**
340            * @throws SystemException if a system exception occurred
341            */
342            public void setAssetCategoryAssetEntries(long categoryId, long[] entryIds)
343                    throws com.liferay.portal.kernel.exception.SystemException;
344    
345            /**
346            * @throws SystemException if a system exception occurred
347            */
348            public void addAssetTagAssetEntry(long tagId, long entryId)
349                    throws com.liferay.portal.kernel.exception.SystemException;
350    
351            /**
352            * @throws SystemException if a system exception occurred
353            */
354            public void addAssetTagAssetEntry(long tagId,
355                    com.liferay.portlet.asset.model.AssetEntry assetEntry)
356                    throws com.liferay.portal.kernel.exception.SystemException;
357    
358            /**
359            * @throws SystemException if a system exception occurred
360            */
361            public void addAssetTagAssetEntries(long tagId, long[] entryIds)
362                    throws com.liferay.portal.kernel.exception.SystemException;
363    
364            /**
365            * @throws SystemException if a system exception occurred
366            */
367            public void addAssetTagAssetEntries(long tagId,
368                    java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries)
369                    throws com.liferay.portal.kernel.exception.SystemException;
370    
371            /**
372            * @throws SystemException if a system exception occurred
373            */
374            public void clearAssetTagAssetEntries(long tagId)
375                    throws com.liferay.portal.kernel.exception.SystemException;
376    
377            /**
378            * @throws SystemException if a system exception occurred
379            */
380            public void deleteAssetTagAssetEntry(long tagId, long entryId)
381                    throws com.liferay.portal.kernel.exception.SystemException;
382    
383            /**
384            * @throws SystemException if a system exception occurred
385            */
386            public void deleteAssetTagAssetEntry(long tagId,
387                    com.liferay.portlet.asset.model.AssetEntry assetEntry)
388                    throws com.liferay.portal.kernel.exception.SystemException;
389    
390            /**
391            * @throws SystemException if a system exception occurred
392            */
393            public void deleteAssetTagAssetEntries(long tagId, long[] entryIds)
394                    throws com.liferay.portal.kernel.exception.SystemException;
395    
396            /**
397            * @throws SystemException if a system exception occurred
398            */
399            public void deleteAssetTagAssetEntries(long tagId,
400                    java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries)
401                    throws com.liferay.portal.kernel.exception.SystemException;
402    
403            /**
404            * @throws SystemException if a system exception occurred
405            */
406            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
407            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetTagAssetEntries(
408                    long tagId) throws com.liferay.portal.kernel.exception.SystemException;
409    
410            /**
411            * @throws SystemException if a system exception occurred
412            */
413            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
414            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetTagAssetEntries(
415                    long tagId, int start, int end)
416                    throws com.liferay.portal.kernel.exception.SystemException;
417    
418            /**
419            * @throws SystemException if a system exception occurred
420            */
421            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
422            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetTagAssetEntries(
423                    long tagId, int start, int end,
424                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
425                    throws com.liferay.portal.kernel.exception.SystemException;
426    
427            /**
428            * @throws SystemException if a system exception occurred
429            */
430            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
431            public int getAssetTagAssetEntriesCount(long tagId)
432                    throws com.liferay.portal.kernel.exception.SystemException;
433    
434            /**
435            * @throws SystemException if a system exception occurred
436            */
437            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
438            public boolean hasAssetTagAssetEntry(long tagId, long entryId)
439                    throws com.liferay.portal.kernel.exception.SystemException;
440    
441            /**
442            * @throws SystemException if a system exception occurred
443            */
444            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
445            public boolean hasAssetTagAssetEntries(long tagId)
446                    throws com.liferay.portal.kernel.exception.SystemException;
447    
448            /**
449            * @throws SystemException if a system exception occurred
450            */
451            public void setAssetTagAssetEntries(long tagId, long[] entryIds)
452                    throws com.liferay.portal.kernel.exception.SystemException;
453    
454            /**
455            * Returns the Spring bean ID for this bean.
456            *
457            * @return the Spring bean ID for this bean
458            */
459            public java.lang.String getBeanIdentifier();
460    
461            /**
462            * Sets the Spring bean ID for this bean.
463            *
464            * @param beanIdentifier the Spring bean ID for this bean
465            */
466            public void setBeanIdentifier(java.lang.String beanIdentifier);
467    
468            public void deleteEntry(com.liferay.portlet.asset.model.AssetEntry entry)
469                    throws com.liferay.portal.kernel.exception.PortalException,
470                            com.liferay.portal.kernel.exception.SystemException;
471    
472            public void deleteEntry(long entryId)
473                    throws com.liferay.portal.kernel.exception.PortalException,
474                            com.liferay.portal.kernel.exception.SystemException;
475    
476            public void deleteEntry(java.lang.String className, long classPK)
477                    throws com.liferay.portal.kernel.exception.PortalException,
478                            com.liferay.portal.kernel.exception.SystemException;
479    
480            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
481            public com.liferay.portlet.asset.model.AssetEntry fetchEntry(long entryId)
482                    throws com.liferay.portal.kernel.exception.SystemException;
483    
484            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
485            public com.liferay.portlet.asset.model.AssetEntry fetchEntry(long groupId,
486                    java.lang.String classUuid)
487                    throws com.liferay.portal.kernel.exception.SystemException;
488    
489            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
490            public com.liferay.portlet.asset.model.AssetEntry fetchEntry(
491                    java.lang.String className, 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.AssetEntry> getAncestorEntries(
496                    long entryId)
497                    throws com.liferay.portal.kernel.exception.PortalException,
498                            com.liferay.portal.kernel.exception.SystemException;
499    
500            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
501            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getChildEntries(
502                    long entryId)
503                    throws com.liferay.portal.kernel.exception.PortalException,
504                            com.liferay.portal.kernel.exception.SystemException;
505    
506            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
507            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getCompanyEntries(
508                    long companyId, int start, int end)
509                    throws com.liferay.portal.kernel.exception.SystemException;
510    
511            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
512            public int getCompanyEntriesCount(long companyId)
513                    throws com.liferay.portal.kernel.exception.SystemException;
514    
515            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
516            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getEntries(
517                    com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
518                    throws com.liferay.portal.kernel.exception.SystemException;
519    
520            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
521            public int getEntriesCount(
522                    com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
523                    throws com.liferay.portal.kernel.exception.SystemException;
524    
525            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
526            public com.liferay.portlet.asset.model.AssetEntry getEntry(long entryId)
527                    throws com.liferay.portal.kernel.exception.PortalException,
528                            com.liferay.portal.kernel.exception.SystemException;
529    
530            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
531            public com.liferay.portlet.asset.model.AssetEntry getEntry(long groupId,
532                    java.lang.String classUuid)
533                    throws com.liferay.portal.kernel.exception.PortalException,
534                            com.liferay.portal.kernel.exception.SystemException;
535    
536            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
537            public com.liferay.portlet.asset.model.AssetEntry getEntry(
538                    java.lang.String className, long classPK)
539                    throws com.liferay.portal.kernel.exception.PortalException,
540                            com.liferay.portal.kernel.exception.SystemException;
541    
542            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
543            public com.liferay.portlet.asset.model.AssetEntry getNextEntry(long entryId)
544                    throws com.liferay.portal.kernel.exception.PortalException,
545                            com.liferay.portal.kernel.exception.SystemException;
546    
547            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
548            public com.liferay.portlet.asset.model.AssetEntry getParentEntry(
549                    long entryId)
550                    throws com.liferay.portal.kernel.exception.PortalException,
551                            com.liferay.portal.kernel.exception.SystemException;
552    
553            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
554            public com.liferay.portlet.asset.model.AssetEntry getPreviousEntry(
555                    long entryId)
556                    throws com.liferay.portal.kernel.exception.PortalException,
557                            com.liferay.portal.kernel.exception.SystemException;
558    
559            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
560            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(
561                    java.lang.String className, boolean asc, int start, int end)
562                    throws com.liferay.portal.kernel.exception.SystemException;
563    
564            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
565            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(
566                    java.lang.String[] className, boolean asc, int start, int end)
567                    throws com.liferay.portal.kernel.exception.SystemException;
568    
569            public com.liferay.portlet.asset.model.AssetEntry incrementViewCounter(
570                    long userId, java.lang.String className, long classPK)
571                    throws com.liferay.portal.kernel.exception.PortalException,
572                            com.liferay.portal.kernel.exception.SystemException;
573    
574            public com.liferay.portlet.asset.model.AssetEntry incrementViewCounter(
575                    long userId, java.lang.String className, long classPK, int increment)
576                    throws com.liferay.portal.kernel.exception.SystemException;
577    
578            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
579            public void reindex(
580                    java.util.List<com.liferay.portlet.asset.model.AssetEntry> entries)
581                    throws com.liferay.portal.kernel.exception.PortalException;
582    
583            /**
584            * @deprecated As of 6.2.0, replaced by {@link #search(long, long[], long,
585            String, String, int, int, int)}
586            */
587            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
588            public com.liferay.portal.kernel.search.Hits search(long companyId,
589                    long[] groupIds, long userId, java.lang.String className,
590                    java.lang.String keywords, int start, int end)
591                    throws com.liferay.portal.kernel.exception.SystemException;
592    
593            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
594            public com.liferay.portal.kernel.search.Hits search(long companyId,
595                    long[] groupIds, long userId, java.lang.String className,
596                    java.lang.String keywords, int status, int start, int end)
597                    throws com.liferay.portal.kernel.exception.SystemException;
598    
599            /**
600            * @deprecated As of 6.2.0, replaced by {@link #search(long, long[], long,
601            String, String, String, String, String, String, int, boolean,
602            int, int)}
603            */
604            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
605            public com.liferay.portal.kernel.search.Hits search(long companyId,
606                    long[] groupIds, long userId, java.lang.String className,
607                    java.lang.String userName, java.lang.String title,
608                    java.lang.String description, java.lang.String assetCategoryIds,
609                    java.lang.String assetTagNames, boolean andSearch, int start, int end)
610                    throws com.liferay.portal.kernel.exception.SystemException;
611    
612            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
613            public com.liferay.portal.kernel.search.Hits search(long companyId,
614                    long[] groupIds, long userId, java.lang.String className,
615                    java.lang.String userName, java.lang.String title,
616                    java.lang.String description, java.lang.String assetCategoryIds,
617                    java.lang.String assetTagNames, int status, boolean andSearch,
618                    int start, int end)
619                    throws com.liferay.portal.kernel.exception.SystemException;
620    
621            /**
622            * @deprecated As of 6.2.0, replaced by {@link #search(long, long[], long,
623            String, String, int, int, int)}
624            */
625            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
626            public com.liferay.portal.kernel.search.Hits search(long companyId,
627                    long[] groupIds, java.lang.String className, java.lang.String keywords,
628                    int start, int end)
629                    throws com.liferay.portal.kernel.exception.SystemException;
630    
631            public com.liferay.portlet.asset.model.AssetEntry updateEntry(long userId,
632                    long groupId, java.util.Date createDate, java.util.Date modifiedDate,
633                    java.lang.String className, long classPK, java.lang.String classUuid,
634                    long classTypeId, long[] categoryIds, java.lang.String[] tagNames,
635                    boolean visible, java.util.Date startDate, java.util.Date endDate,
636                    java.util.Date expirationDate, java.lang.String mimeType,
637                    java.lang.String title, java.lang.String description,
638                    java.lang.String summary, java.lang.String url,
639                    java.lang.String layoutUuid, int height, int width,
640                    java.lang.Integer priority, boolean sync)
641                    throws com.liferay.portal.kernel.exception.PortalException,
642                            com.liferay.portal.kernel.exception.SystemException;
643    
644            public com.liferay.portlet.asset.model.AssetEntry updateEntry(long userId,
645                    long groupId, java.lang.String className, long classPK,
646                    long[] categoryIds, java.lang.String[] tagNames)
647                    throws com.liferay.portal.kernel.exception.PortalException,
648                            com.liferay.portal.kernel.exception.SystemException;
649    
650            /**
651            * @deprecated As of 6.2.0, replaced by {@link #updateEntry(long, long,
652            String, long, String, long, long[], String[], boolean, Date,
653            Date, Date, String, String, String, String, String, String,
654            int, int, Integer, boolean)}
655            */
656            public com.liferay.portlet.asset.model.AssetEntry updateEntry(long userId,
657                    long groupId, java.lang.String className, long classPK,
658                    java.lang.String classUuid, long classTypeId, long[] categoryIds,
659                    java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
660                    java.util.Date endDate, java.util.Date publishDate,
661                    java.util.Date expirationDate, java.lang.String mimeType,
662                    java.lang.String title, java.lang.String description,
663                    java.lang.String summary, java.lang.String url,
664                    java.lang.String layoutUuid, int height, int width,
665                    java.lang.Integer priority, boolean sync)
666                    throws com.liferay.portal.kernel.exception.PortalException,
667                            com.liferay.portal.kernel.exception.SystemException;
668    
669            /**
670            * @deprecated As of 6.2.0, replaced by {@link #updateEntry(long, long,
671            Date, Date, String, long, String, long, long[], String[],
672            boolean, Date, Date, Date, String, String, String, String,
673            String, String, int, int, Integer, boolean)}
674            */
675            public com.liferay.portlet.asset.model.AssetEntry updateEntry(long userId,
676                    long groupId, java.lang.String className, long classPK,
677                    java.lang.String classUuid, long classTypeId, long[] categoryIds,
678                    java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
679                    java.util.Date endDate, java.util.Date expirationDate,
680                    java.lang.String mimeType, java.lang.String title,
681                    java.lang.String description, java.lang.String summary,
682                    java.lang.String url, java.lang.String layoutUuid, int height,
683                    int width, java.lang.Integer priority, boolean sync)
684                    throws com.liferay.portal.kernel.exception.PortalException,
685                            com.liferay.portal.kernel.exception.SystemException;
686    
687            public com.liferay.portlet.asset.model.AssetEntry updateEntry(
688                    java.lang.String className, long classPK, java.util.Date publishDate,
689                    boolean visible)
690                    throws com.liferay.portal.kernel.exception.PortalException,
691                            com.liferay.portal.kernel.exception.SystemException;
692    
693            public com.liferay.portlet.asset.model.AssetEntry updateEntry(
694                    java.lang.String className, long classPK, java.util.Date publishDate,
695                    java.util.Date expirationDate, boolean visible)
696                    throws com.liferay.portal.kernel.exception.PortalException,
697                            com.liferay.portal.kernel.exception.SystemException;
698    
699            public com.liferay.portlet.asset.model.AssetEntry updateVisible(
700                    java.lang.String className, long classPK, boolean visible)
701                    throws com.liferay.portal.kernel.exception.PortalException,
702                            com.liferay.portal.kernel.exception.SystemException;
703    
704            public void validate(long groupId, java.lang.String className,
705                    long[] categoryIds, java.lang.String[] tagNames)
706                    throws com.liferay.portal.kernel.exception.PortalException,
707                            com.liferay.portal.kernel.exception.SystemException;
708    }