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