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