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