001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.service.persistence;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.model.UserTracker;
020    
021    /**
022     * The persistence interface for the user tracker 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 UserTrackerPersistenceImpl
030     * @see UserTrackerUtil
031     * @generated
032     */
033    @ProviderType
034    public interface UserTrackerPersistence extends BasePersistence<UserTracker> {
035            /*
036             * NOTE FOR DEVELOPERS:
037             *
038             * Never modify or reference this interface directly. Always use {@link UserTrackerUtil} to access the user tracker persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
039             */
040    
041            /**
042            * Returns all the user trackers where companyId = &#63;.
043            *
044            * @param companyId the company ID
045            * @return the matching user trackers
046            */
047            public java.util.List<com.liferay.portal.model.UserTracker> findByCompanyId(
048                    long companyId);
049    
050            /**
051            * Returns a range of all the user trackers where companyId = &#63;.
052            *
053            * <p>
054            * 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.portal.model.impl.UserTrackerModelImpl}. 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.
055            * </p>
056            *
057            * @param companyId the company ID
058            * @param start the lower bound of the range of user trackers
059            * @param end the upper bound of the range of user trackers (not inclusive)
060            * @return the range of matching user trackers
061            */
062            public java.util.List<com.liferay.portal.model.UserTracker> findByCompanyId(
063                    long companyId, int start, int end);
064    
065            /**
066            * Returns an ordered range of all the user trackers where companyId = &#63;.
067            *
068            * <p>
069            * 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.portal.model.impl.UserTrackerModelImpl}. 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.
070            * </p>
071            *
072            * @param companyId the company ID
073            * @param start the lower bound of the range of user trackers
074            * @param end the upper bound of the range of user trackers (not inclusive)
075            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
076            * @return the ordered range of matching user trackers
077            */
078            public java.util.List<com.liferay.portal.model.UserTracker> findByCompanyId(
079                    long companyId, int start, int end,
080                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.UserTracker> orderByComparator);
081    
082            /**
083            * Returns the first user tracker in the ordered set where companyId = &#63;.
084            *
085            * @param companyId the company ID
086            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
087            * @return the first matching user tracker
088            * @throws com.liferay.portal.NoSuchUserTrackerException if a matching user tracker could not be found
089            */
090            public com.liferay.portal.model.UserTracker findByCompanyId_First(
091                    long companyId,
092                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.UserTracker> orderByComparator)
093                    throws com.liferay.portal.NoSuchUserTrackerException;
094    
095            /**
096            * Returns the first user tracker in the ordered set where companyId = &#63;.
097            *
098            * @param companyId the company ID
099            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
100            * @return the first matching user tracker, or <code>null</code> if a matching user tracker could not be found
101            */
102            public com.liferay.portal.model.UserTracker fetchByCompanyId_First(
103                    long companyId,
104                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.UserTracker> orderByComparator);
105    
106            /**
107            * Returns the last user tracker in the ordered set where companyId = &#63;.
108            *
109            * @param companyId the company ID
110            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
111            * @return the last matching user tracker
112            * @throws com.liferay.portal.NoSuchUserTrackerException if a matching user tracker could not be found
113            */
114            public com.liferay.portal.model.UserTracker findByCompanyId_Last(
115                    long companyId,
116                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.UserTracker> orderByComparator)
117                    throws com.liferay.portal.NoSuchUserTrackerException;
118    
119            /**
120            * Returns the last user tracker in the ordered set where companyId = &#63;.
121            *
122            * @param companyId the company ID
123            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
124            * @return the last matching user tracker, or <code>null</code> if a matching user tracker could not be found
125            */
126            public com.liferay.portal.model.UserTracker fetchByCompanyId_Last(
127                    long companyId,
128                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.UserTracker> orderByComparator);
129    
130            /**
131            * Returns the user trackers before and after the current user tracker in the ordered set where companyId = &#63;.
132            *
133            * @param userTrackerId the primary key of the current user tracker
134            * @param companyId the company ID
135            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
136            * @return the previous, current, and next user tracker
137            * @throws com.liferay.portal.NoSuchUserTrackerException if a user tracker with the primary key could not be found
138            */
139            public com.liferay.portal.model.UserTracker[] findByCompanyId_PrevAndNext(
140                    long userTrackerId, long companyId,
141                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.UserTracker> orderByComparator)
142                    throws com.liferay.portal.NoSuchUserTrackerException;
143    
144            /**
145            * Removes all the user trackers where companyId = &#63; from the database.
146            *
147            * @param companyId the company ID
148            */
149            public void removeByCompanyId(long companyId);
150    
151            /**
152            * Returns the number of user trackers where companyId = &#63;.
153            *
154            * @param companyId the company ID
155            * @return the number of matching user trackers
156            */
157            public int countByCompanyId(long companyId);
158    
159            /**
160            * Returns all the user trackers where userId = &#63;.
161            *
162            * @param userId the user ID
163            * @return the matching user trackers
164            */
165            public java.util.List<com.liferay.portal.model.UserTracker> findByUserId(
166                    long userId);
167    
168            /**
169            * Returns a range of all the user trackers where userId = &#63;.
170            *
171            * <p>
172            * 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.portal.model.impl.UserTrackerModelImpl}. 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.
173            * </p>
174            *
175            * @param userId the user ID
176            * @param start the lower bound of the range of user trackers
177            * @param end the upper bound of the range of user trackers (not inclusive)
178            * @return the range of matching user trackers
179            */
180            public java.util.List<com.liferay.portal.model.UserTracker> findByUserId(
181                    long userId, int start, int end);
182    
183            /**
184            * Returns an ordered range of all the user trackers where userId = &#63;.
185            *
186            * <p>
187            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link 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.portal.model.impl.UserTrackerModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
188            * </p>
189            *
190            * @param userId the user ID
191            * @param start the lower bound of the range of user trackers
192            * @param end the upper bound of the range of user trackers (not inclusive)
193            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
194            * @return the ordered range of matching user trackers
195            */
196            public java.util.List<com.liferay.portal.model.UserTracker> findByUserId(
197                    long userId, int start, int end,
198                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.UserTracker> orderByComparator);
199    
200            /**
201            * Returns the first user tracker in the ordered set where userId = &#63;.
202            *
203            * @param userId the user ID
204            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
205            * @return the first matching user tracker
206            * @throws com.liferay.portal.NoSuchUserTrackerException if a matching user tracker could not be found
207            */
208            public com.liferay.portal.model.UserTracker findByUserId_First(
209                    long userId,
210                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.UserTracker> orderByComparator)
211                    throws com.liferay.portal.NoSuchUserTrackerException;
212    
213            /**
214            * Returns the first user tracker in the ordered set where userId = &#63;.
215            *
216            * @param userId the user ID
217            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
218            * @return the first matching user tracker, or <code>null</code> if a matching user tracker could not be found
219            */
220            public com.liferay.portal.model.UserTracker fetchByUserId_First(
221                    long userId,
222                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.UserTracker> orderByComparator);
223    
224            /**
225            * Returns the last user tracker in the ordered set where userId = &#63;.
226            *
227            * @param userId the user ID
228            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
229            * @return the last matching user tracker
230            * @throws com.liferay.portal.NoSuchUserTrackerException if a matching user tracker could not be found
231            */
232            public com.liferay.portal.model.UserTracker findByUserId_Last(long userId,
233                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.UserTracker> orderByComparator)
234                    throws com.liferay.portal.NoSuchUserTrackerException;
235    
236            /**
237            * Returns the last user tracker in the ordered set where userId = &#63;.
238            *
239            * @param userId the user ID
240            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
241            * @return the last matching user tracker, or <code>null</code> if a matching user tracker could not be found
242            */
243            public com.liferay.portal.model.UserTracker fetchByUserId_Last(
244                    long userId,
245                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.UserTracker> orderByComparator);
246    
247            /**
248            * Returns the user trackers before and after the current user tracker in the ordered set where userId = &#63;.
249            *
250            * @param userTrackerId the primary key of the current user tracker
251            * @param userId the user ID
252            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
253            * @return the previous, current, and next user tracker
254            * @throws com.liferay.portal.NoSuchUserTrackerException if a user tracker with the primary key could not be found
255            */
256            public com.liferay.portal.model.UserTracker[] findByUserId_PrevAndNext(
257                    long userTrackerId, long userId,
258                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.UserTracker> orderByComparator)
259                    throws com.liferay.portal.NoSuchUserTrackerException;
260    
261            /**
262            * Removes all the user trackers where userId = &#63; from the database.
263            *
264            * @param userId the user ID
265            */
266            public void removeByUserId(long userId);
267    
268            /**
269            * Returns the number of user trackers where userId = &#63;.
270            *
271            * @param userId the user ID
272            * @return the number of matching user trackers
273            */
274            public int countByUserId(long userId);
275    
276            /**
277            * Returns all the user trackers where sessionId = &#63;.
278            *
279            * @param sessionId the session ID
280            * @return the matching user trackers
281            */
282            public java.util.List<com.liferay.portal.model.UserTracker> findBySessionId(
283                    java.lang.String sessionId);
284    
285            /**
286            * Returns a range of all the user trackers where sessionId = &#63;.
287            *
288            * <p>
289            * 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.portal.model.impl.UserTrackerModelImpl}. 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.
290            * </p>
291            *
292            * @param sessionId the session ID
293            * @param start the lower bound of the range of user trackers
294            * @param end the upper bound of the range of user trackers (not inclusive)
295            * @return the range of matching user trackers
296            */
297            public java.util.List<com.liferay.portal.model.UserTracker> findBySessionId(
298                    java.lang.String sessionId, int start, int end);
299    
300            /**
301            * Returns an ordered range of all the user trackers where sessionId = &#63;.
302            *
303            * <p>
304            * 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.portal.model.impl.UserTrackerModelImpl}. 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.
305            * </p>
306            *
307            * @param sessionId the session ID
308            * @param start the lower bound of the range of user trackers
309            * @param end the upper bound of the range of user trackers (not inclusive)
310            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
311            * @return the ordered range of matching user trackers
312            */
313            public java.util.List<com.liferay.portal.model.UserTracker> findBySessionId(
314                    java.lang.String sessionId, int start, int end,
315                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.UserTracker> orderByComparator);
316    
317            /**
318            * Returns the first user tracker in the ordered set where sessionId = &#63;.
319            *
320            * @param sessionId the session ID
321            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
322            * @return the first matching user tracker
323            * @throws com.liferay.portal.NoSuchUserTrackerException if a matching user tracker could not be found
324            */
325            public com.liferay.portal.model.UserTracker findBySessionId_First(
326                    java.lang.String sessionId,
327                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.UserTracker> orderByComparator)
328                    throws com.liferay.portal.NoSuchUserTrackerException;
329    
330            /**
331            * Returns the first user tracker in the ordered set where sessionId = &#63;.
332            *
333            * @param sessionId the session ID
334            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
335            * @return the first matching user tracker, or <code>null</code> if a matching user tracker could not be found
336            */
337            public com.liferay.portal.model.UserTracker fetchBySessionId_First(
338                    java.lang.String sessionId,
339                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.UserTracker> orderByComparator);
340    
341            /**
342            * Returns the last user tracker in the ordered set where sessionId = &#63;.
343            *
344            * @param sessionId the session ID
345            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
346            * @return the last matching user tracker
347            * @throws com.liferay.portal.NoSuchUserTrackerException if a matching user tracker could not be found
348            */
349            public com.liferay.portal.model.UserTracker findBySessionId_Last(
350                    java.lang.String sessionId,
351                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.UserTracker> orderByComparator)
352                    throws com.liferay.portal.NoSuchUserTrackerException;
353    
354            /**
355            * Returns the last user tracker in the ordered set where sessionId = &#63;.
356            *
357            * @param sessionId the session ID
358            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
359            * @return the last matching user tracker, or <code>null</code> if a matching user tracker could not be found
360            */
361            public com.liferay.portal.model.UserTracker fetchBySessionId_Last(
362                    java.lang.String sessionId,
363                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.UserTracker> orderByComparator);
364    
365            /**
366            * Returns the user trackers before and after the current user tracker in the ordered set where sessionId = &#63;.
367            *
368            * @param userTrackerId the primary key of the current user tracker
369            * @param sessionId the session ID
370            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
371            * @return the previous, current, and next user tracker
372            * @throws com.liferay.portal.NoSuchUserTrackerException if a user tracker with the primary key could not be found
373            */
374            public com.liferay.portal.model.UserTracker[] findBySessionId_PrevAndNext(
375                    long userTrackerId, java.lang.String sessionId,
376                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.UserTracker> orderByComparator)
377                    throws com.liferay.portal.NoSuchUserTrackerException;
378    
379            /**
380            * Removes all the user trackers where sessionId = &#63; from the database.
381            *
382            * @param sessionId the session ID
383            */
384            public void removeBySessionId(java.lang.String sessionId);
385    
386            /**
387            * Returns the number of user trackers where sessionId = &#63;.
388            *
389            * @param sessionId the session ID
390            * @return the number of matching user trackers
391            */
392            public int countBySessionId(java.lang.String sessionId);
393    
394            /**
395            * Caches the user tracker in the entity cache if it is enabled.
396            *
397            * @param userTracker the user tracker
398            */
399            public void cacheResult(com.liferay.portal.model.UserTracker userTracker);
400    
401            /**
402            * Caches the user trackers in the entity cache if it is enabled.
403            *
404            * @param userTrackers the user trackers
405            */
406            public void cacheResult(
407                    java.util.List<com.liferay.portal.model.UserTracker> userTrackers);
408    
409            /**
410            * Creates a new user tracker with the primary key. Does not add the user tracker to the database.
411            *
412            * @param userTrackerId the primary key for the new user tracker
413            * @return the new user tracker
414            */
415            public com.liferay.portal.model.UserTracker create(long userTrackerId);
416    
417            /**
418            * Removes the user tracker with the primary key from the database. Also notifies the appropriate model listeners.
419            *
420            * @param userTrackerId the primary key of the user tracker
421            * @return the user tracker that was removed
422            * @throws com.liferay.portal.NoSuchUserTrackerException if a user tracker with the primary key could not be found
423            */
424            public com.liferay.portal.model.UserTracker remove(long userTrackerId)
425                    throws com.liferay.portal.NoSuchUserTrackerException;
426    
427            public com.liferay.portal.model.UserTracker updateImpl(
428                    com.liferay.portal.model.UserTracker userTracker);
429    
430            /**
431            * Returns the user tracker with the primary key or throws a {@link com.liferay.portal.NoSuchUserTrackerException} if it could not be found.
432            *
433            * @param userTrackerId the primary key of the user tracker
434            * @return the user tracker
435            * @throws com.liferay.portal.NoSuchUserTrackerException if a user tracker with the primary key could not be found
436            */
437            public com.liferay.portal.model.UserTracker findByPrimaryKey(
438                    long userTrackerId)
439                    throws com.liferay.portal.NoSuchUserTrackerException;
440    
441            /**
442            * Returns the user tracker with the primary key or returns <code>null</code> if it could not be found.
443            *
444            * @param userTrackerId the primary key of the user tracker
445            * @return the user tracker, or <code>null</code> if a user tracker with the primary key could not be found
446            */
447            public com.liferay.portal.model.UserTracker fetchByPrimaryKey(
448                    long userTrackerId);
449    
450            @Override
451            public java.util.Map<java.io.Serializable, com.liferay.portal.model.UserTracker> fetchByPrimaryKeys(
452                    java.util.Set<java.io.Serializable> primaryKeys);
453    
454            /**
455            * Returns all the user trackers.
456            *
457            * @return the user trackers
458            */
459            public java.util.List<com.liferay.portal.model.UserTracker> findAll();
460    
461            /**
462            * Returns a range of all the user trackers.
463            *
464            * <p>
465            * 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.portal.model.impl.UserTrackerModelImpl}. 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.
466            * </p>
467            *
468            * @param start the lower bound of the range of user trackers
469            * @param end the upper bound of the range of user trackers (not inclusive)
470            * @return the range of user trackers
471            */
472            public java.util.List<com.liferay.portal.model.UserTracker> findAll(
473                    int start, int end);
474    
475            /**
476            * Returns an ordered range of all the user trackers.
477            *
478            * <p>
479            * 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.portal.model.impl.UserTrackerModelImpl}. 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.
480            * </p>
481            *
482            * @param start the lower bound of the range of user trackers
483            * @param end the upper bound of the range of user trackers (not inclusive)
484            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
485            * @return the ordered range of user trackers
486            */
487            public java.util.List<com.liferay.portal.model.UserTracker> findAll(
488                    int start, int end,
489                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.UserTracker> orderByComparator);
490    
491            /**
492            * Removes all the user trackers from the database.
493            */
494            public void removeAll();
495    
496            /**
497            * Returns the number of user trackers.
498            *
499            * @return the number of user trackers
500            */
501            public int countAll();
502    }