001    /**
002     * Copyright (c) 2000-2012 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.blogs.service.persistence;
016    
017    import com.liferay.portal.service.persistence.BasePersistence;
018    
019    import com.liferay.portlet.blogs.model.BlogsStatsUser;
020    
021    /**
022     * The persistence interface for the blogs stats user service.
023     *
024     * <p>
025     * Caching information and settings can be found in <code>portal.properties</code>
026     * </p>
027     *
028     * @author Brian Wing Shun Chan
029     * @see BlogsStatsUserPersistenceImpl
030     * @see BlogsStatsUserUtil
031     * @generated
032     */
033    public interface BlogsStatsUserPersistence extends BasePersistence<BlogsStatsUser> {
034            /*
035             * NOTE FOR DEVELOPERS:
036             *
037             * Never modify or reference this interface directly. Always use {@link BlogsStatsUserUtil} to access the blogs stats user persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
038             */
039    
040            /**
041            * Returns all the blogs stats users where groupId = &#63;.
042            *
043            * @param groupId the group ID
044            * @return the matching blogs stats users
045            * @throws SystemException if a system exception occurred
046            */
047            public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByGroupId(
048                    long groupId)
049                    throws com.liferay.portal.kernel.exception.SystemException;
050    
051            /**
052            * Returns a range of all the blogs stats users where groupId = &#63;.
053            *
054            * <p>
055            * 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.blogs.model.impl.BlogsStatsUserModelImpl}. 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.
056            * </p>
057            *
058            * @param groupId the group ID
059            * @param start the lower bound of the range of blogs stats users
060            * @param end the upper bound of the range of blogs stats users (not inclusive)
061            * @return the range of matching blogs stats users
062            * @throws SystemException if a system exception occurred
063            */
064            public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByGroupId(
065                    long groupId, int start, int end)
066                    throws com.liferay.portal.kernel.exception.SystemException;
067    
068            /**
069            * Returns an ordered range of all the blogs stats users where groupId = &#63;.
070            *
071            * <p>
072            * 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.blogs.model.impl.BlogsStatsUserModelImpl}. 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.
073            * </p>
074            *
075            * @param groupId the group ID
076            * @param start the lower bound of the range of blogs stats users
077            * @param end the upper bound of the range of blogs stats users (not inclusive)
078            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
079            * @return the ordered range of matching blogs stats users
080            * @throws SystemException if a system exception occurred
081            */
082            public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByGroupId(
083                    long groupId, int start, int end,
084                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
085                    throws com.liferay.portal.kernel.exception.SystemException;
086    
087            /**
088            * Returns the first blogs stats user in the ordered set where groupId = &#63;.
089            *
090            * @param groupId the group ID
091            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
092            * @return the first matching blogs stats user
093            * @throws com.liferay.portlet.blogs.NoSuchStatsUserException if a matching blogs stats user could not be found
094            * @throws SystemException if a system exception occurred
095            */
096            public com.liferay.portlet.blogs.model.BlogsStatsUser findByGroupId_First(
097                    long groupId,
098                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
099                    throws com.liferay.portal.kernel.exception.SystemException,
100                            com.liferay.portlet.blogs.NoSuchStatsUserException;
101    
102            /**
103            * Returns the first blogs stats user in the ordered set where groupId = &#63;.
104            *
105            * @param groupId the group ID
106            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
107            * @return the first matching blogs stats user, or <code>null</code> if a matching blogs stats user could not be found
108            * @throws SystemException if a system exception occurred
109            */
110            public com.liferay.portlet.blogs.model.BlogsStatsUser fetchByGroupId_First(
111                    long groupId,
112                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
113                    throws com.liferay.portal.kernel.exception.SystemException;
114    
115            /**
116            * Returns the last blogs stats user in the ordered set where groupId = &#63;.
117            *
118            * @param groupId the group ID
119            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
120            * @return the last matching blogs stats user
121            * @throws com.liferay.portlet.blogs.NoSuchStatsUserException if a matching blogs stats user could not be found
122            * @throws SystemException if a system exception occurred
123            */
124            public com.liferay.portlet.blogs.model.BlogsStatsUser findByGroupId_Last(
125                    long groupId,
126                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
127                    throws com.liferay.portal.kernel.exception.SystemException,
128                            com.liferay.portlet.blogs.NoSuchStatsUserException;
129    
130            /**
131            * Returns the last blogs stats user in the ordered set where groupId = &#63;.
132            *
133            * @param groupId the group ID
134            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
135            * @return the last matching blogs stats user, or <code>null</code> if a matching blogs stats user could not be found
136            * @throws SystemException if a system exception occurred
137            */
138            public com.liferay.portlet.blogs.model.BlogsStatsUser fetchByGroupId_Last(
139                    long groupId,
140                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
141                    throws com.liferay.portal.kernel.exception.SystemException;
142    
143            /**
144            * Returns the blogs stats users before and after the current blogs stats user in the ordered set where groupId = &#63;.
145            *
146            * @param statsUserId the primary key of the current blogs stats user
147            * @param groupId the group ID
148            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
149            * @return the previous, current, and next blogs stats user
150            * @throws com.liferay.portlet.blogs.NoSuchStatsUserException if a blogs stats user with the primary key could not be found
151            * @throws SystemException if a system exception occurred
152            */
153            public com.liferay.portlet.blogs.model.BlogsStatsUser[] findByGroupId_PrevAndNext(
154                    long statsUserId, long groupId,
155                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
156                    throws com.liferay.portal.kernel.exception.SystemException,
157                            com.liferay.portlet.blogs.NoSuchStatsUserException;
158    
159            /**
160            * Removes all the blogs stats users where groupId = &#63; from the database.
161            *
162            * @param groupId the group ID
163            * @throws SystemException if a system exception occurred
164            */
165            public void removeByGroupId(long groupId)
166                    throws com.liferay.portal.kernel.exception.SystemException;
167    
168            /**
169            * Returns the number of blogs stats users where groupId = &#63;.
170            *
171            * @param groupId the group ID
172            * @return the number of matching blogs stats users
173            * @throws SystemException if a system exception occurred
174            */
175            public int countByGroupId(long groupId)
176                    throws com.liferay.portal.kernel.exception.SystemException;
177    
178            /**
179            * Returns all the blogs stats users where userId = &#63;.
180            *
181            * @param userId the user ID
182            * @return the matching blogs stats users
183            * @throws SystemException if a system exception occurred
184            */
185            public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByUserId(
186                    long userId) throws com.liferay.portal.kernel.exception.SystemException;
187    
188            /**
189            * Returns a range of all the blogs stats users where userId = &#63;.
190            *
191            * <p>
192            * 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.blogs.model.impl.BlogsStatsUserModelImpl}. 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.
193            * </p>
194            *
195            * @param userId the user ID
196            * @param start the lower bound of the range of blogs stats users
197            * @param end the upper bound of the range of blogs stats users (not inclusive)
198            * @return the range of matching blogs stats users
199            * @throws SystemException if a system exception occurred
200            */
201            public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByUserId(
202                    long userId, int start, int end)
203                    throws com.liferay.portal.kernel.exception.SystemException;
204    
205            /**
206            * Returns an ordered range of all the blogs stats users where userId = &#63;.
207            *
208            * <p>
209            * 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.blogs.model.impl.BlogsStatsUserModelImpl}. 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.
210            * </p>
211            *
212            * @param userId the user ID
213            * @param start the lower bound of the range of blogs stats users
214            * @param end the upper bound of the range of blogs stats users (not inclusive)
215            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
216            * @return the ordered range of matching blogs stats users
217            * @throws SystemException if a system exception occurred
218            */
219            public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByUserId(
220                    long userId, int start, int end,
221                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
222                    throws com.liferay.portal.kernel.exception.SystemException;
223    
224            /**
225            * Returns the first blogs stats user in the ordered set where userId = &#63;.
226            *
227            * @param userId the user ID
228            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
229            * @return the first matching blogs stats user
230            * @throws com.liferay.portlet.blogs.NoSuchStatsUserException if a matching blogs stats user could not be found
231            * @throws SystemException if a system exception occurred
232            */
233            public com.liferay.portlet.blogs.model.BlogsStatsUser findByUserId_First(
234                    long userId,
235                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
236                    throws com.liferay.portal.kernel.exception.SystemException,
237                            com.liferay.portlet.blogs.NoSuchStatsUserException;
238    
239            /**
240            * Returns the first blogs stats user in the ordered set where userId = &#63;.
241            *
242            * @param userId the user ID
243            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
244            * @return the first matching blogs stats user, or <code>null</code> if a matching blogs stats user could not be found
245            * @throws SystemException if a system exception occurred
246            */
247            public com.liferay.portlet.blogs.model.BlogsStatsUser fetchByUserId_First(
248                    long userId,
249                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
250                    throws com.liferay.portal.kernel.exception.SystemException;
251    
252            /**
253            * Returns the last blogs stats user in the ordered set where userId = &#63;.
254            *
255            * @param userId the user ID
256            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
257            * @return the last matching blogs stats user
258            * @throws com.liferay.portlet.blogs.NoSuchStatsUserException if a matching blogs stats user could not be found
259            * @throws SystemException if a system exception occurred
260            */
261            public com.liferay.portlet.blogs.model.BlogsStatsUser findByUserId_Last(
262                    long userId,
263                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
264                    throws com.liferay.portal.kernel.exception.SystemException,
265                            com.liferay.portlet.blogs.NoSuchStatsUserException;
266    
267            /**
268            * Returns the last blogs stats user in the ordered set where userId = &#63;.
269            *
270            * @param userId the user ID
271            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
272            * @return the last matching blogs stats user, or <code>null</code> if a matching blogs stats user could not be found
273            * @throws SystemException if a system exception occurred
274            */
275            public com.liferay.portlet.blogs.model.BlogsStatsUser fetchByUserId_Last(
276                    long userId,
277                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
278                    throws com.liferay.portal.kernel.exception.SystemException;
279    
280            /**
281            * Returns the blogs stats users before and after the current blogs stats user in the ordered set where userId = &#63;.
282            *
283            * @param statsUserId the primary key of the current blogs stats user
284            * @param userId the user ID
285            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
286            * @return the previous, current, and next blogs stats user
287            * @throws com.liferay.portlet.blogs.NoSuchStatsUserException if a blogs stats user with the primary key could not be found
288            * @throws SystemException if a system exception occurred
289            */
290            public com.liferay.portlet.blogs.model.BlogsStatsUser[] findByUserId_PrevAndNext(
291                    long statsUserId, long userId,
292                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
293                    throws com.liferay.portal.kernel.exception.SystemException,
294                            com.liferay.portlet.blogs.NoSuchStatsUserException;
295    
296            /**
297            * Removes all the blogs stats users where userId = &#63; from the database.
298            *
299            * @param userId the user ID
300            * @throws SystemException if a system exception occurred
301            */
302            public void removeByUserId(long userId)
303                    throws com.liferay.portal.kernel.exception.SystemException;
304    
305            /**
306            * Returns the number of blogs stats users where userId = &#63;.
307            *
308            * @param userId the user ID
309            * @return the number of matching blogs stats users
310            * @throws SystemException if a system exception occurred
311            */
312            public int countByUserId(long userId)
313                    throws com.liferay.portal.kernel.exception.SystemException;
314    
315            /**
316            * Returns the blogs stats user where groupId = &#63; and userId = &#63; or throws a {@link com.liferay.portlet.blogs.NoSuchStatsUserException} if it could not be found.
317            *
318            * @param groupId the group ID
319            * @param userId the user ID
320            * @return the matching blogs stats user
321            * @throws com.liferay.portlet.blogs.NoSuchStatsUserException if a matching blogs stats user could not be found
322            * @throws SystemException if a system exception occurred
323            */
324            public com.liferay.portlet.blogs.model.BlogsStatsUser findByG_U(
325                    long groupId, long userId)
326                    throws com.liferay.portal.kernel.exception.SystemException,
327                            com.liferay.portlet.blogs.NoSuchStatsUserException;
328    
329            /**
330            * Returns the blogs stats user where groupId = &#63; and userId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
331            *
332            * @param groupId the group ID
333            * @param userId the user ID
334            * @return the matching blogs stats user, or <code>null</code> if a matching blogs stats user could not be found
335            * @throws SystemException if a system exception occurred
336            */
337            public com.liferay.portlet.blogs.model.BlogsStatsUser fetchByG_U(
338                    long groupId, long userId)
339                    throws com.liferay.portal.kernel.exception.SystemException;
340    
341            /**
342            * Returns the blogs stats user where groupId = &#63; and userId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
343            *
344            * @param groupId the group ID
345            * @param userId the user ID
346            * @param retrieveFromCache whether to use the finder cache
347            * @return the matching blogs stats user, or <code>null</code> if a matching blogs stats user could not be found
348            * @throws SystemException if a system exception occurred
349            */
350            public com.liferay.portlet.blogs.model.BlogsStatsUser fetchByG_U(
351                    long groupId, long userId, boolean retrieveFromCache)
352                    throws com.liferay.portal.kernel.exception.SystemException;
353    
354            /**
355            * Removes the blogs stats user where groupId = &#63; and userId = &#63; from the database.
356            *
357            * @param groupId the group ID
358            * @param userId the user ID
359            * @return the blogs stats user that was removed
360            * @throws SystemException if a system exception occurred
361            */
362            public com.liferay.portlet.blogs.model.BlogsStatsUser removeByG_U(
363                    long groupId, long userId)
364                    throws com.liferay.portal.kernel.exception.SystemException,
365                            com.liferay.portlet.blogs.NoSuchStatsUserException;
366    
367            /**
368            * Returns the number of blogs stats users where groupId = &#63; and userId = &#63;.
369            *
370            * @param groupId the group ID
371            * @param userId the user ID
372            * @return the number of matching blogs stats users
373            * @throws SystemException if a system exception occurred
374            */
375            public int countByG_U(long groupId, long userId)
376                    throws com.liferay.portal.kernel.exception.SystemException;
377    
378            /**
379            * Returns all the blogs stats users where groupId = &#63; and entryCount &ne; &#63;.
380            *
381            * @param groupId the group ID
382            * @param entryCount the entry count
383            * @return the matching blogs stats users
384            * @throws SystemException if a system exception occurred
385            */
386            public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByG_NotE(
387                    long groupId, int entryCount)
388                    throws com.liferay.portal.kernel.exception.SystemException;
389    
390            /**
391            * Returns a range of all the blogs stats users where groupId = &#63; and entryCount &ne; &#63;.
392            *
393            * <p>
394            * 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.blogs.model.impl.BlogsStatsUserModelImpl}. 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.
395            * </p>
396            *
397            * @param groupId the group ID
398            * @param entryCount the entry count
399            * @param start the lower bound of the range of blogs stats users
400            * @param end the upper bound of the range of blogs stats users (not inclusive)
401            * @return the range of matching blogs stats users
402            * @throws SystemException if a system exception occurred
403            */
404            public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByG_NotE(
405                    long groupId, int entryCount, int start, int end)
406                    throws com.liferay.portal.kernel.exception.SystemException;
407    
408            /**
409            * Returns an ordered range of all the blogs stats users where groupId = &#63; and entryCount &ne; &#63;.
410            *
411            * <p>
412            * 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.blogs.model.impl.BlogsStatsUserModelImpl}. 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.
413            * </p>
414            *
415            * @param groupId the group ID
416            * @param entryCount the entry count
417            * @param start the lower bound of the range of blogs stats users
418            * @param end the upper bound of the range of blogs stats users (not inclusive)
419            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
420            * @return the ordered range of matching blogs stats users
421            * @throws SystemException if a system exception occurred
422            */
423            public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByG_NotE(
424                    long groupId, int entryCount, int start, int end,
425                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
426                    throws com.liferay.portal.kernel.exception.SystemException;
427    
428            /**
429            * Returns the first blogs stats user in the ordered set where groupId = &#63; and entryCount &ne; &#63;.
430            *
431            * @param groupId the group ID
432            * @param entryCount the entry count
433            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
434            * @return the first matching blogs stats user
435            * @throws com.liferay.portlet.blogs.NoSuchStatsUserException if a matching blogs stats user could not be found
436            * @throws SystemException if a system exception occurred
437            */
438            public com.liferay.portlet.blogs.model.BlogsStatsUser findByG_NotE_First(
439                    long groupId, int entryCount,
440                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
441                    throws com.liferay.portal.kernel.exception.SystemException,
442                            com.liferay.portlet.blogs.NoSuchStatsUserException;
443    
444            /**
445            * Returns the first blogs stats user in the ordered set where groupId = &#63; and entryCount &ne; &#63;.
446            *
447            * @param groupId the group ID
448            * @param entryCount the entry count
449            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
450            * @return the first matching blogs stats user, or <code>null</code> if a matching blogs stats user could not be found
451            * @throws SystemException if a system exception occurred
452            */
453            public com.liferay.portlet.blogs.model.BlogsStatsUser fetchByG_NotE_First(
454                    long groupId, int entryCount,
455                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
456                    throws com.liferay.portal.kernel.exception.SystemException;
457    
458            /**
459            * Returns the last blogs stats user in the ordered set where groupId = &#63; and entryCount &ne; &#63;.
460            *
461            * @param groupId the group ID
462            * @param entryCount the entry count
463            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
464            * @return the last matching blogs stats user
465            * @throws com.liferay.portlet.blogs.NoSuchStatsUserException if a matching blogs stats user could not be found
466            * @throws SystemException if a system exception occurred
467            */
468            public com.liferay.portlet.blogs.model.BlogsStatsUser findByG_NotE_Last(
469                    long groupId, int entryCount,
470                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
471                    throws com.liferay.portal.kernel.exception.SystemException,
472                            com.liferay.portlet.blogs.NoSuchStatsUserException;
473    
474            /**
475            * Returns the last blogs stats user in the ordered set where groupId = &#63; and entryCount &ne; &#63;.
476            *
477            * @param groupId the group ID
478            * @param entryCount the entry count
479            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
480            * @return the last matching blogs stats user, or <code>null</code> if a matching blogs stats user could not be found
481            * @throws SystemException if a system exception occurred
482            */
483            public com.liferay.portlet.blogs.model.BlogsStatsUser fetchByG_NotE_Last(
484                    long groupId, int entryCount,
485                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
486                    throws com.liferay.portal.kernel.exception.SystemException;
487    
488            /**
489            * Returns the blogs stats users before and after the current blogs stats user in the ordered set where groupId = &#63; and entryCount &ne; &#63;.
490            *
491            * @param statsUserId the primary key of the current blogs stats user
492            * @param groupId the group ID
493            * @param entryCount the entry count
494            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
495            * @return the previous, current, and next blogs stats user
496            * @throws com.liferay.portlet.blogs.NoSuchStatsUserException if a blogs stats user with the primary key could not be found
497            * @throws SystemException if a system exception occurred
498            */
499            public com.liferay.portlet.blogs.model.BlogsStatsUser[] findByG_NotE_PrevAndNext(
500                    long statsUserId, long groupId, int entryCount,
501                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
502                    throws com.liferay.portal.kernel.exception.SystemException,
503                            com.liferay.portlet.blogs.NoSuchStatsUserException;
504    
505            /**
506            * Removes all the blogs stats users where groupId = &#63; and entryCount &ne; &#63; from the database.
507            *
508            * @param groupId the group ID
509            * @param entryCount the entry count
510            * @throws SystemException if a system exception occurred
511            */
512            public void removeByG_NotE(long groupId, int entryCount)
513                    throws com.liferay.portal.kernel.exception.SystemException;
514    
515            /**
516            * Returns the number of blogs stats users where groupId = &#63; and entryCount &ne; &#63;.
517            *
518            * @param groupId the group ID
519            * @param entryCount the entry count
520            * @return the number of matching blogs stats users
521            * @throws SystemException if a system exception occurred
522            */
523            public int countByG_NotE(long groupId, int entryCount)
524                    throws com.liferay.portal.kernel.exception.SystemException;
525    
526            /**
527            * Returns all the blogs stats users where companyId = &#63; and entryCount &ne; &#63;.
528            *
529            * @param companyId the company ID
530            * @param entryCount the entry count
531            * @return the matching blogs stats users
532            * @throws SystemException if a system exception occurred
533            */
534            public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByC_NotE(
535                    long companyId, int entryCount)
536                    throws com.liferay.portal.kernel.exception.SystemException;
537    
538            /**
539            * Returns a range of all the blogs stats users where companyId = &#63; and entryCount &ne; &#63;.
540            *
541            * <p>
542            * 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.blogs.model.impl.BlogsStatsUserModelImpl}. 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.
543            * </p>
544            *
545            * @param companyId the company ID
546            * @param entryCount the entry count
547            * @param start the lower bound of the range of blogs stats users
548            * @param end the upper bound of the range of blogs stats users (not inclusive)
549            * @return the range of matching blogs stats users
550            * @throws SystemException if a system exception occurred
551            */
552            public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByC_NotE(
553                    long companyId, int entryCount, int start, int end)
554                    throws com.liferay.portal.kernel.exception.SystemException;
555    
556            /**
557            * Returns an ordered range of all the blogs stats users where companyId = &#63; and entryCount &ne; &#63;.
558            *
559            * <p>
560            * 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.blogs.model.impl.BlogsStatsUserModelImpl}. 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.
561            * </p>
562            *
563            * @param companyId the company ID
564            * @param entryCount the entry count
565            * @param start the lower bound of the range of blogs stats users
566            * @param end the upper bound of the range of blogs stats users (not inclusive)
567            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
568            * @return the ordered range of matching blogs stats users
569            * @throws SystemException if a system exception occurred
570            */
571            public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByC_NotE(
572                    long companyId, int entryCount, int start, int end,
573                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
574                    throws com.liferay.portal.kernel.exception.SystemException;
575    
576            /**
577            * Returns the first blogs stats user in the ordered set where companyId = &#63; and entryCount &ne; &#63;.
578            *
579            * @param companyId the company ID
580            * @param entryCount the entry count
581            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
582            * @return the first matching blogs stats user
583            * @throws com.liferay.portlet.blogs.NoSuchStatsUserException if a matching blogs stats user could not be found
584            * @throws SystemException if a system exception occurred
585            */
586            public com.liferay.portlet.blogs.model.BlogsStatsUser findByC_NotE_First(
587                    long companyId, int entryCount,
588                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
589                    throws com.liferay.portal.kernel.exception.SystemException,
590                            com.liferay.portlet.blogs.NoSuchStatsUserException;
591    
592            /**
593            * Returns the first blogs stats user in the ordered set where companyId = &#63; and entryCount &ne; &#63;.
594            *
595            * @param companyId the company ID
596            * @param entryCount the entry count
597            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
598            * @return the first matching blogs stats user, or <code>null</code> if a matching blogs stats user could not be found
599            * @throws SystemException if a system exception occurred
600            */
601            public com.liferay.portlet.blogs.model.BlogsStatsUser fetchByC_NotE_First(
602                    long companyId, int entryCount,
603                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
604                    throws com.liferay.portal.kernel.exception.SystemException;
605    
606            /**
607            * Returns the last blogs stats user in the ordered set where companyId = &#63; and entryCount &ne; &#63;.
608            *
609            * @param companyId the company ID
610            * @param entryCount the entry count
611            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
612            * @return the last matching blogs stats user
613            * @throws com.liferay.portlet.blogs.NoSuchStatsUserException if a matching blogs stats user could not be found
614            * @throws SystemException if a system exception occurred
615            */
616            public com.liferay.portlet.blogs.model.BlogsStatsUser findByC_NotE_Last(
617                    long companyId, int entryCount,
618                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
619                    throws com.liferay.portal.kernel.exception.SystemException,
620                            com.liferay.portlet.blogs.NoSuchStatsUserException;
621    
622            /**
623            * Returns the last blogs stats user in the ordered set where companyId = &#63; and entryCount &ne; &#63;.
624            *
625            * @param companyId the company ID
626            * @param entryCount the entry count
627            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
628            * @return the last matching blogs stats user, or <code>null</code> if a matching blogs stats user could not be found
629            * @throws SystemException if a system exception occurred
630            */
631            public com.liferay.portlet.blogs.model.BlogsStatsUser fetchByC_NotE_Last(
632                    long companyId, int entryCount,
633                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
634                    throws com.liferay.portal.kernel.exception.SystemException;
635    
636            /**
637            * Returns the blogs stats users before and after the current blogs stats user in the ordered set where companyId = &#63; and entryCount &ne; &#63;.
638            *
639            * @param statsUserId the primary key of the current blogs stats user
640            * @param companyId the company ID
641            * @param entryCount the entry count
642            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
643            * @return the previous, current, and next blogs stats user
644            * @throws com.liferay.portlet.blogs.NoSuchStatsUserException if a blogs stats user with the primary key could not be found
645            * @throws SystemException if a system exception occurred
646            */
647            public com.liferay.portlet.blogs.model.BlogsStatsUser[] findByC_NotE_PrevAndNext(
648                    long statsUserId, long companyId, int entryCount,
649                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
650                    throws com.liferay.portal.kernel.exception.SystemException,
651                            com.liferay.portlet.blogs.NoSuchStatsUserException;
652    
653            /**
654            * Removes all the blogs stats users where companyId = &#63; and entryCount &ne; &#63; from the database.
655            *
656            * @param companyId the company ID
657            * @param entryCount the entry count
658            * @throws SystemException if a system exception occurred
659            */
660            public void removeByC_NotE(long companyId, int entryCount)
661                    throws com.liferay.portal.kernel.exception.SystemException;
662    
663            /**
664            * Returns the number of blogs stats users where companyId = &#63; and entryCount &ne; &#63;.
665            *
666            * @param companyId the company ID
667            * @param entryCount the entry count
668            * @return the number of matching blogs stats users
669            * @throws SystemException if a system exception occurred
670            */
671            public int countByC_NotE(long companyId, int entryCount)
672                    throws com.liferay.portal.kernel.exception.SystemException;
673    
674            /**
675            * Returns all the blogs stats users where userId = &#63; and lastPostDate = &#63;.
676            *
677            * @param userId the user ID
678            * @param lastPostDate the last post date
679            * @return the matching blogs stats users
680            * @throws SystemException if a system exception occurred
681            */
682            public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByU_L(
683                    long userId, java.util.Date lastPostDate)
684                    throws com.liferay.portal.kernel.exception.SystemException;
685    
686            /**
687            * Returns a range of all the blogs stats users where userId = &#63; and lastPostDate = &#63;.
688            *
689            * <p>
690            * 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.blogs.model.impl.BlogsStatsUserModelImpl}. 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.
691            * </p>
692            *
693            * @param userId the user ID
694            * @param lastPostDate the last post date
695            * @param start the lower bound of the range of blogs stats users
696            * @param end the upper bound of the range of blogs stats users (not inclusive)
697            * @return the range of matching blogs stats users
698            * @throws SystemException if a system exception occurred
699            */
700            public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByU_L(
701                    long userId, java.util.Date lastPostDate, int start, int end)
702                    throws com.liferay.portal.kernel.exception.SystemException;
703    
704            /**
705            * Returns an ordered range of all the blogs stats users where userId = &#63; and lastPostDate = &#63;.
706            *
707            * <p>
708            * 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.blogs.model.impl.BlogsStatsUserModelImpl}. 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.
709            * </p>
710            *
711            * @param userId the user ID
712            * @param lastPostDate the last post date
713            * @param start the lower bound of the range of blogs stats users
714            * @param end the upper bound of the range of blogs stats users (not inclusive)
715            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
716            * @return the ordered range of matching blogs stats users
717            * @throws SystemException if a system exception occurred
718            */
719            public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByU_L(
720                    long userId, java.util.Date lastPostDate, int start, int end,
721                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
722                    throws com.liferay.portal.kernel.exception.SystemException;
723    
724            /**
725            * Returns the first blogs stats user in the ordered set where userId = &#63; and lastPostDate = &#63;.
726            *
727            * @param userId the user ID
728            * @param lastPostDate the last post date
729            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
730            * @return the first matching blogs stats user
731            * @throws com.liferay.portlet.blogs.NoSuchStatsUserException if a matching blogs stats user could not be found
732            * @throws SystemException if a system exception occurred
733            */
734            public com.liferay.portlet.blogs.model.BlogsStatsUser findByU_L_First(
735                    long userId, java.util.Date lastPostDate,
736                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
737                    throws com.liferay.portal.kernel.exception.SystemException,
738                            com.liferay.portlet.blogs.NoSuchStatsUserException;
739    
740            /**
741            * Returns the first blogs stats user in the ordered set where userId = &#63; and lastPostDate = &#63;.
742            *
743            * @param userId the user ID
744            * @param lastPostDate the last post date
745            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
746            * @return the first matching blogs stats user, or <code>null</code> if a matching blogs stats user could not be found
747            * @throws SystemException if a system exception occurred
748            */
749            public com.liferay.portlet.blogs.model.BlogsStatsUser fetchByU_L_First(
750                    long userId, java.util.Date lastPostDate,
751                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
752                    throws com.liferay.portal.kernel.exception.SystemException;
753    
754            /**
755            * Returns the last blogs stats user in the ordered set where userId = &#63; and lastPostDate = &#63;.
756            *
757            * @param userId the user ID
758            * @param lastPostDate the last post date
759            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
760            * @return the last matching blogs stats user
761            * @throws com.liferay.portlet.blogs.NoSuchStatsUserException if a matching blogs stats user could not be found
762            * @throws SystemException if a system exception occurred
763            */
764            public com.liferay.portlet.blogs.model.BlogsStatsUser findByU_L_Last(
765                    long userId, java.util.Date lastPostDate,
766                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
767                    throws com.liferay.portal.kernel.exception.SystemException,
768                            com.liferay.portlet.blogs.NoSuchStatsUserException;
769    
770            /**
771            * Returns the last blogs stats user in the ordered set where userId = &#63; and lastPostDate = &#63;.
772            *
773            * @param userId the user ID
774            * @param lastPostDate the last post date
775            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
776            * @return the last matching blogs stats user, or <code>null</code> if a matching blogs stats user could not be found
777            * @throws SystemException if a system exception occurred
778            */
779            public com.liferay.portlet.blogs.model.BlogsStatsUser fetchByU_L_Last(
780                    long userId, java.util.Date lastPostDate,
781                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
782                    throws com.liferay.portal.kernel.exception.SystemException;
783    
784            /**
785            * Returns the blogs stats users before and after the current blogs stats user in the ordered set where userId = &#63; and lastPostDate = &#63;.
786            *
787            * @param statsUserId the primary key of the current blogs stats user
788            * @param userId the user ID
789            * @param lastPostDate the last post date
790            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
791            * @return the previous, current, and next blogs stats user
792            * @throws com.liferay.portlet.blogs.NoSuchStatsUserException if a blogs stats user with the primary key could not be found
793            * @throws SystemException if a system exception occurred
794            */
795            public com.liferay.portlet.blogs.model.BlogsStatsUser[] findByU_L_PrevAndNext(
796                    long statsUserId, long userId, java.util.Date lastPostDate,
797                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
798                    throws com.liferay.portal.kernel.exception.SystemException,
799                            com.liferay.portlet.blogs.NoSuchStatsUserException;
800    
801            /**
802            * Removes all the blogs stats users where userId = &#63; and lastPostDate = &#63; from the database.
803            *
804            * @param userId the user ID
805            * @param lastPostDate the last post date
806            * @throws SystemException if a system exception occurred
807            */
808            public void removeByU_L(long userId, java.util.Date lastPostDate)
809                    throws com.liferay.portal.kernel.exception.SystemException;
810    
811            /**
812            * Returns the number of blogs stats users where userId = &#63; and lastPostDate = &#63;.
813            *
814            * @param userId the user ID
815            * @param lastPostDate the last post date
816            * @return the number of matching blogs stats users
817            * @throws SystemException if a system exception occurred
818            */
819            public int countByU_L(long userId, java.util.Date lastPostDate)
820                    throws com.liferay.portal.kernel.exception.SystemException;
821    
822            /**
823            * Caches the blogs stats user in the entity cache if it is enabled.
824            *
825            * @param blogsStatsUser the blogs stats user
826            */
827            public void cacheResult(
828                    com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser);
829    
830            /**
831            * Caches the blogs stats users in the entity cache if it is enabled.
832            *
833            * @param blogsStatsUsers the blogs stats users
834            */
835            public void cacheResult(
836                    java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> blogsStatsUsers);
837    
838            /**
839            * Creates a new blogs stats user with the primary key. Does not add the blogs stats user to the database.
840            *
841            * @param statsUserId the primary key for the new blogs stats user
842            * @return the new blogs stats user
843            */
844            public com.liferay.portlet.blogs.model.BlogsStatsUser create(
845                    long statsUserId);
846    
847            /**
848            * Removes the blogs stats user with the primary key from the database. Also notifies the appropriate model listeners.
849            *
850            * @param statsUserId the primary key of the blogs stats user
851            * @return the blogs stats user that was removed
852            * @throws com.liferay.portlet.blogs.NoSuchStatsUserException if a blogs stats user with the primary key could not be found
853            * @throws SystemException if a system exception occurred
854            */
855            public com.liferay.portlet.blogs.model.BlogsStatsUser remove(
856                    long statsUserId)
857                    throws com.liferay.portal.kernel.exception.SystemException,
858                            com.liferay.portlet.blogs.NoSuchStatsUserException;
859    
860            public com.liferay.portlet.blogs.model.BlogsStatsUser updateImpl(
861                    com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
862                    throws com.liferay.portal.kernel.exception.SystemException;
863    
864            /**
865            * Returns the blogs stats user with the primary key or throws a {@link com.liferay.portlet.blogs.NoSuchStatsUserException} if it could not be found.
866            *
867            * @param statsUserId the primary key of the blogs stats user
868            * @return the blogs stats user
869            * @throws com.liferay.portlet.blogs.NoSuchStatsUserException if a blogs stats user with the primary key could not be found
870            * @throws SystemException if a system exception occurred
871            */
872            public com.liferay.portlet.blogs.model.BlogsStatsUser findByPrimaryKey(
873                    long statsUserId)
874                    throws com.liferay.portal.kernel.exception.SystemException,
875                            com.liferay.portlet.blogs.NoSuchStatsUserException;
876    
877            /**
878            * Returns the blogs stats user with the primary key or returns <code>null</code> if it could not be found.
879            *
880            * @param statsUserId the primary key of the blogs stats user
881            * @return the blogs stats user, or <code>null</code> if a blogs stats user with the primary key could not be found
882            * @throws SystemException if a system exception occurred
883            */
884            public com.liferay.portlet.blogs.model.BlogsStatsUser fetchByPrimaryKey(
885                    long statsUserId)
886                    throws com.liferay.portal.kernel.exception.SystemException;
887    
888            /**
889            * Returns all the blogs stats users.
890            *
891            * @return the blogs stats users
892            * @throws SystemException if a system exception occurred
893            */
894            public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findAll()
895                    throws com.liferay.portal.kernel.exception.SystemException;
896    
897            /**
898            * Returns a range of all the blogs stats users.
899            *
900            * <p>
901            * 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.blogs.model.impl.BlogsStatsUserModelImpl}. 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.
902            * </p>
903            *
904            * @param start the lower bound of the range of blogs stats users
905            * @param end the upper bound of the range of blogs stats users (not inclusive)
906            * @return the range of blogs stats users
907            * @throws SystemException if a system exception occurred
908            */
909            public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findAll(
910                    int start, int end)
911                    throws com.liferay.portal.kernel.exception.SystemException;
912    
913            /**
914            * Returns an ordered range of all the blogs stats users.
915            *
916            * <p>
917            * 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.blogs.model.impl.BlogsStatsUserModelImpl}. 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.
918            * </p>
919            *
920            * @param start the lower bound of the range of blogs stats users
921            * @param end the upper bound of the range of blogs stats users (not inclusive)
922            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
923            * @return the ordered range of blogs stats users
924            * @throws SystemException if a system exception occurred
925            */
926            public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findAll(
927                    int start, int end,
928                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
929                    throws com.liferay.portal.kernel.exception.SystemException;
930    
931            /**
932            * Removes all the blogs stats users from the database.
933            *
934            * @throws SystemException if a system exception occurred
935            */
936            public void removeAll()
937                    throws com.liferay.portal.kernel.exception.SystemException;
938    
939            /**
940            * Returns the number of blogs stats users.
941            *
942            * @return the number of blogs stats users
943            * @throws SystemException if a system exception occurred
944            */
945            public int countAll()
946                    throws com.liferay.portal.kernel.exception.SystemException;
947    }