001    /**
002     * Copyright (c) 2000-present 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.asset.kernel.service.persistence;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.asset.kernel.exception.NoSuchTagStatsException;
020    import com.liferay.asset.kernel.model.AssetTagStats;
021    
022    import com.liferay.portal.kernel.service.persistence.BasePersistence;
023    
024    /**
025     * The persistence interface for the asset tag stats service.
026     *
027     * <p>
028     * Caching information and settings can be found in <code>portal.properties</code>
029     * </p>
030     *
031     * @author Brian Wing Shun Chan
032     * @see com.liferay.portlet.asset.service.persistence.impl.AssetTagStatsPersistenceImpl
033     * @see AssetTagStatsUtil
034     * @generated
035     */
036    @ProviderType
037    public interface AssetTagStatsPersistence extends BasePersistence<AssetTagStats> {
038            /*
039             * NOTE FOR DEVELOPERS:
040             *
041             * Never modify or reference this interface directly. Always use {@link AssetTagStatsUtil} to access the asset tag stats persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
042             */
043    
044            /**
045            * Returns all the asset tag statses where tagId = &#63;.
046            *
047            * @param tagId the tag ID
048            * @return the matching asset tag statses
049            */
050            public java.util.List<AssetTagStats> findByTagId(long tagId);
051    
052            /**
053            * Returns a range of all the asset tag statses where tagId = &#63;.
054            *
055            * <p>
056            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link AssetTagStatsModelImpl}. 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.
057            * </p>
058            *
059            * @param tagId the tag ID
060            * @param start the lower bound of the range of asset tag statses
061            * @param end the upper bound of the range of asset tag statses (not inclusive)
062            * @return the range of matching asset tag statses
063            */
064            public java.util.List<AssetTagStats> findByTagId(long tagId, int start,
065                    int end);
066    
067            /**
068            * Returns an ordered range of all the asset tag statses where tagId = &#63;.
069            *
070            * <p>
071            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link AssetTagStatsModelImpl}. 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.
072            * </p>
073            *
074            * @param tagId the tag ID
075            * @param start the lower bound of the range of asset tag statses
076            * @param end the upper bound of the range of asset tag statses (not inclusive)
077            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
078            * @return the ordered range of matching asset tag statses
079            */
080            public java.util.List<AssetTagStats> findByTagId(long tagId, int start,
081                    int end,
082                    com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator);
083    
084            /**
085            * Returns an ordered range of all the asset tag statses where tagId = &#63;.
086            *
087            * <p>
088            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link AssetTagStatsModelImpl}. 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.
089            * </p>
090            *
091            * @param tagId the tag ID
092            * @param start the lower bound of the range of asset tag statses
093            * @param end the upper bound of the range of asset tag statses (not inclusive)
094            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
095            * @param retrieveFromCache whether to retrieve from the finder cache
096            * @return the ordered range of matching asset tag statses
097            */
098            public java.util.List<AssetTagStats> findByTagId(long tagId, int start,
099                    int end,
100                    com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator,
101                    boolean retrieveFromCache);
102    
103            /**
104            * Returns the first asset tag stats in the ordered set where tagId = &#63;.
105            *
106            * @param tagId the tag ID
107            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
108            * @return the first matching asset tag stats
109            * @throws NoSuchTagStatsException if a matching asset tag stats could not be found
110            */
111            public AssetTagStats findByTagId_First(long tagId,
112                    com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator)
113                    throws NoSuchTagStatsException;
114    
115            /**
116            * Returns the first asset tag stats in the ordered set where tagId = &#63;.
117            *
118            * @param tagId the tag ID
119            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
120            * @return the first matching asset tag stats, or <code>null</code> if a matching asset tag stats could not be found
121            */
122            public AssetTagStats fetchByTagId_First(long tagId,
123                    com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator);
124    
125            /**
126            * Returns the last asset tag stats in the ordered set where tagId = &#63;.
127            *
128            * @param tagId the tag ID
129            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
130            * @return the last matching asset tag stats
131            * @throws NoSuchTagStatsException if a matching asset tag stats could not be found
132            */
133            public AssetTagStats findByTagId_Last(long tagId,
134                    com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator)
135                    throws NoSuchTagStatsException;
136    
137            /**
138            * Returns the last asset tag stats in the ordered set where tagId = &#63;.
139            *
140            * @param tagId the tag ID
141            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
142            * @return the last matching asset tag stats, or <code>null</code> if a matching asset tag stats could not be found
143            */
144            public AssetTagStats fetchByTagId_Last(long tagId,
145                    com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator);
146    
147            /**
148            * Returns the asset tag statses before and after the current asset tag stats in the ordered set where tagId = &#63;.
149            *
150            * @param tagStatsId the primary key of the current asset tag stats
151            * @param tagId the tag ID
152            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
153            * @return the previous, current, and next asset tag stats
154            * @throws NoSuchTagStatsException if a asset tag stats with the primary key could not be found
155            */
156            public AssetTagStats[] findByTagId_PrevAndNext(long tagStatsId, long tagId,
157                    com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator)
158                    throws NoSuchTagStatsException;
159    
160            /**
161            * Removes all the asset tag statses where tagId = &#63; from the database.
162            *
163            * @param tagId the tag ID
164            */
165            public void removeByTagId(long tagId);
166    
167            /**
168            * Returns the number of asset tag statses where tagId = &#63;.
169            *
170            * @param tagId the tag ID
171            * @return the number of matching asset tag statses
172            */
173            public int countByTagId(long tagId);
174    
175            /**
176            * Returns all the asset tag statses where classNameId = &#63;.
177            *
178            * @param classNameId the class name ID
179            * @return the matching asset tag statses
180            */
181            public java.util.List<AssetTagStats> findByClassNameId(long classNameId);
182    
183            /**
184            * Returns a range of all the asset tag statses where classNameId = &#63;.
185            *
186            * <p>
187            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link AssetTagStatsModelImpl}. 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.
188            * </p>
189            *
190            * @param classNameId the class name ID
191            * @param start the lower bound of the range of asset tag statses
192            * @param end the upper bound of the range of asset tag statses (not inclusive)
193            * @return the range of matching asset tag statses
194            */
195            public java.util.List<AssetTagStats> findByClassNameId(long classNameId,
196                    int start, int end);
197    
198            /**
199            * Returns an ordered range of all the asset tag statses where classNameId = &#63;.
200            *
201            * <p>
202            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link AssetTagStatsModelImpl}. 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.
203            * </p>
204            *
205            * @param classNameId the class name ID
206            * @param start the lower bound of the range of asset tag statses
207            * @param end the upper bound of the range of asset tag statses (not inclusive)
208            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
209            * @return the ordered range of matching asset tag statses
210            */
211            public java.util.List<AssetTagStats> findByClassNameId(long classNameId,
212                    int start, int end,
213                    com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator);
214    
215            /**
216            * Returns an ordered range of all the asset tag statses where classNameId = &#63;.
217            *
218            * <p>
219            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link AssetTagStatsModelImpl}. 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.
220            * </p>
221            *
222            * @param classNameId the class name ID
223            * @param start the lower bound of the range of asset tag statses
224            * @param end the upper bound of the range of asset tag statses (not inclusive)
225            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
226            * @param retrieveFromCache whether to retrieve from the finder cache
227            * @return the ordered range of matching asset tag statses
228            */
229            public java.util.List<AssetTagStats> findByClassNameId(long classNameId,
230                    int start, int end,
231                    com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator,
232                    boolean retrieveFromCache);
233    
234            /**
235            * Returns the first asset tag stats in the ordered set where classNameId = &#63;.
236            *
237            * @param classNameId the class name ID
238            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
239            * @return the first matching asset tag stats
240            * @throws NoSuchTagStatsException if a matching asset tag stats could not be found
241            */
242            public AssetTagStats findByClassNameId_First(long classNameId,
243                    com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator)
244                    throws NoSuchTagStatsException;
245    
246            /**
247            * Returns the first asset tag stats in the ordered set where classNameId = &#63;.
248            *
249            * @param classNameId the class name ID
250            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
251            * @return the first matching asset tag stats, or <code>null</code> if a matching asset tag stats could not be found
252            */
253            public AssetTagStats fetchByClassNameId_First(long classNameId,
254                    com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator);
255    
256            /**
257            * Returns the last asset tag stats in the ordered set where classNameId = &#63;.
258            *
259            * @param classNameId the class name ID
260            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
261            * @return the last matching asset tag stats
262            * @throws NoSuchTagStatsException if a matching asset tag stats could not be found
263            */
264            public AssetTagStats findByClassNameId_Last(long classNameId,
265                    com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator)
266                    throws NoSuchTagStatsException;
267    
268            /**
269            * Returns the last asset tag stats in the ordered set where classNameId = &#63;.
270            *
271            * @param classNameId the class name ID
272            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
273            * @return the last matching asset tag stats, or <code>null</code> if a matching asset tag stats could not be found
274            */
275            public AssetTagStats fetchByClassNameId_Last(long classNameId,
276                    com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator);
277    
278            /**
279            * Returns the asset tag statses before and after the current asset tag stats in the ordered set where classNameId = &#63;.
280            *
281            * @param tagStatsId the primary key of the current asset tag stats
282            * @param classNameId the class name ID
283            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
284            * @return the previous, current, and next asset tag stats
285            * @throws NoSuchTagStatsException if a asset tag stats with the primary key could not be found
286            */
287            public AssetTagStats[] findByClassNameId_PrevAndNext(long tagStatsId,
288                    long classNameId,
289                    com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator)
290                    throws NoSuchTagStatsException;
291    
292            /**
293            * Removes all the asset tag statses where classNameId = &#63; from the database.
294            *
295            * @param classNameId the class name ID
296            */
297            public void removeByClassNameId(long classNameId);
298    
299            /**
300            * Returns the number of asset tag statses where classNameId = &#63;.
301            *
302            * @param classNameId the class name ID
303            * @return the number of matching asset tag statses
304            */
305            public int countByClassNameId(long classNameId);
306    
307            /**
308            * Returns the asset tag stats where tagId = &#63; and classNameId = &#63; or throws a {@link NoSuchTagStatsException} if it could not be found.
309            *
310            * @param tagId the tag ID
311            * @param classNameId the class name ID
312            * @return the matching asset tag stats
313            * @throws NoSuchTagStatsException if a matching asset tag stats could not be found
314            */
315            public AssetTagStats findByT_C(long tagId, long classNameId)
316                    throws NoSuchTagStatsException;
317    
318            /**
319            * Returns the asset tag stats where tagId = &#63; and classNameId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
320            *
321            * @param tagId the tag ID
322            * @param classNameId the class name ID
323            * @return the matching asset tag stats, or <code>null</code> if a matching asset tag stats could not be found
324            */
325            public AssetTagStats fetchByT_C(long tagId, long classNameId);
326    
327            /**
328            * Returns the asset tag stats where tagId = &#63; and classNameId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
329            *
330            * @param tagId the tag ID
331            * @param classNameId the class name ID
332            * @param retrieveFromCache whether to retrieve from the finder cache
333            * @return the matching asset tag stats, or <code>null</code> if a matching asset tag stats could not be found
334            */
335            public AssetTagStats fetchByT_C(long tagId, long classNameId,
336                    boolean retrieveFromCache);
337    
338            /**
339            * Removes the asset tag stats where tagId = &#63; and classNameId = &#63; from the database.
340            *
341            * @param tagId the tag ID
342            * @param classNameId the class name ID
343            * @return the asset tag stats that was removed
344            */
345            public AssetTagStats removeByT_C(long tagId, long classNameId)
346                    throws NoSuchTagStatsException;
347    
348            /**
349            * Returns the number of asset tag statses where tagId = &#63; and classNameId = &#63;.
350            *
351            * @param tagId the tag ID
352            * @param classNameId the class name ID
353            * @return the number of matching asset tag statses
354            */
355            public int countByT_C(long tagId, long classNameId);
356    
357            /**
358            * Caches the asset tag stats in the entity cache if it is enabled.
359            *
360            * @param assetTagStats the asset tag stats
361            */
362            public void cacheResult(AssetTagStats assetTagStats);
363    
364            /**
365            * Caches the asset tag statses in the entity cache if it is enabled.
366            *
367            * @param assetTagStatses the asset tag statses
368            */
369            public void cacheResult(java.util.List<AssetTagStats> assetTagStatses);
370    
371            /**
372            * Creates a new asset tag stats with the primary key. Does not add the asset tag stats to the database.
373            *
374            * @param tagStatsId the primary key for the new asset tag stats
375            * @return the new asset tag stats
376            */
377            public AssetTagStats create(long tagStatsId);
378    
379            /**
380            * Removes the asset tag stats with the primary key from the database. Also notifies the appropriate model listeners.
381            *
382            * @param tagStatsId the primary key of the asset tag stats
383            * @return the asset tag stats that was removed
384            * @throws NoSuchTagStatsException if a asset tag stats with the primary key could not be found
385            */
386            public AssetTagStats remove(long tagStatsId) throws NoSuchTagStatsException;
387    
388            public AssetTagStats updateImpl(AssetTagStats assetTagStats);
389    
390            /**
391            * Returns the asset tag stats with the primary key or throws a {@link NoSuchTagStatsException} if it could not be found.
392            *
393            * @param tagStatsId the primary key of the asset tag stats
394            * @return the asset tag stats
395            * @throws NoSuchTagStatsException if a asset tag stats with the primary key could not be found
396            */
397            public AssetTagStats findByPrimaryKey(long tagStatsId)
398                    throws NoSuchTagStatsException;
399    
400            /**
401            * Returns the asset tag stats with the primary key or returns <code>null</code> if it could not be found.
402            *
403            * @param tagStatsId the primary key of the asset tag stats
404            * @return the asset tag stats, or <code>null</code> if a asset tag stats with the primary key could not be found
405            */
406            public AssetTagStats fetchByPrimaryKey(long tagStatsId);
407    
408            @Override
409            public java.util.Map<java.io.Serializable, AssetTagStats> fetchByPrimaryKeys(
410                    java.util.Set<java.io.Serializable> primaryKeys);
411    
412            /**
413            * Returns all the asset tag statses.
414            *
415            * @return the asset tag statses
416            */
417            public java.util.List<AssetTagStats> findAll();
418    
419            /**
420            * Returns a range of all the asset tag statses.
421            *
422            * <p>
423            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link AssetTagStatsModelImpl}. 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.
424            * </p>
425            *
426            * @param start the lower bound of the range of asset tag statses
427            * @param end the upper bound of the range of asset tag statses (not inclusive)
428            * @return the range of asset tag statses
429            */
430            public java.util.List<AssetTagStats> findAll(int start, int end);
431    
432            /**
433            * Returns an ordered range of all the asset tag statses.
434            *
435            * <p>
436            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link AssetTagStatsModelImpl}. 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.
437            * </p>
438            *
439            * @param start the lower bound of the range of asset tag statses
440            * @param end the upper bound of the range of asset tag statses (not inclusive)
441            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
442            * @return the ordered range of asset tag statses
443            */
444            public java.util.List<AssetTagStats> findAll(int start, int end,
445                    com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator);
446    
447            /**
448            * Returns an ordered range of all the asset tag statses.
449            *
450            * <p>
451            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link AssetTagStatsModelImpl}. 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.
452            * </p>
453            *
454            * @param start the lower bound of the range of asset tag statses
455            * @param end the upper bound of the range of asset tag statses (not inclusive)
456            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
457            * @param retrieveFromCache whether to retrieve from the finder cache
458            * @return the ordered range of asset tag statses
459            */
460            public java.util.List<AssetTagStats> findAll(int start, int end,
461                    com.liferay.portal.kernel.util.OrderByComparator<AssetTagStats> orderByComparator,
462                    boolean retrieveFromCache);
463    
464            /**
465            * Removes all the asset tag statses from the database.
466            */
467            public void removeAll();
468    
469            /**
470            * Returns the number of asset tag statses.
471            *
472            * @return the number of asset tag statses
473            */
474            public int countAll();
475    }