1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.service.persistence;
16  
17  import com.liferay.portal.model.UserTracker;
18  
19  /**
20   * <a href="UserTrackerPersistence.java.html"><b><i>View Source</i></b></a>
21   *
22   * <p>
23   * ServiceBuilder generated this class. Modifications in this class will be
24   * overwritten the next time is generated.
25   * </p>
26   *
27   * @author    Brian Wing Shun Chan
28   * @see       UserTrackerPersistenceImpl
29   * @see       UserTrackerUtil
30   * @generated
31   */
32  public interface UserTrackerPersistence extends BasePersistence<UserTracker> {
33      public void cacheResult(com.liferay.portal.model.UserTracker userTracker);
34  
35      public void cacheResult(
36          java.util.List<com.liferay.portal.model.UserTracker> userTrackers);
37  
38      public com.liferay.portal.model.UserTracker create(long userTrackerId);
39  
40      public com.liferay.portal.model.UserTracker remove(long userTrackerId)
41          throws com.liferay.portal.NoSuchUserTrackerException,
42              com.liferay.portal.kernel.exception.SystemException;
43  
44      public com.liferay.portal.model.UserTracker updateImpl(
45          com.liferay.portal.model.UserTracker userTracker, boolean merge)
46          throws com.liferay.portal.kernel.exception.SystemException;
47  
48      public com.liferay.portal.model.UserTracker findByPrimaryKey(
49          long userTrackerId)
50          throws com.liferay.portal.NoSuchUserTrackerException,
51              com.liferay.portal.kernel.exception.SystemException;
52  
53      public com.liferay.portal.model.UserTracker fetchByPrimaryKey(
54          long userTrackerId)
55          throws com.liferay.portal.kernel.exception.SystemException;
56  
57      public java.util.List<com.liferay.portal.model.UserTracker> findByCompanyId(
58          long companyId)
59          throws com.liferay.portal.kernel.exception.SystemException;
60  
61      public java.util.List<com.liferay.portal.model.UserTracker> findByCompanyId(
62          long companyId, int start, int end)
63          throws com.liferay.portal.kernel.exception.SystemException;
64  
65      public java.util.List<com.liferay.portal.model.UserTracker> findByCompanyId(
66          long companyId, int start, int end,
67          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
68          throws com.liferay.portal.kernel.exception.SystemException;
69  
70      public com.liferay.portal.model.UserTracker findByCompanyId_First(
71          long companyId,
72          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
73          throws com.liferay.portal.NoSuchUserTrackerException,
74              com.liferay.portal.kernel.exception.SystemException;
75  
76      public com.liferay.portal.model.UserTracker findByCompanyId_Last(
77          long companyId,
78          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79          throws com.liferay.portal.NoSuchUserTrackerException,
80              com.liferay.portal.kernel.exception.SystemException;
81  
82      public com.liferay.portal.model.UserTracker[] findByCompanyId_PrevAndNext(
83          long userTrackerId, long companyId,
84          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
85          throws com.liferay.portal.NoSuchUserTrackerException,
86              com.liferay.portal.kernel.exception.SystemException;
87  
88      public java.util.List<com.liferay.portal.model.UserTracker> findByUserId(
89          long userId) throws com.liferay.portal.kernel.exception.SystemException;
90  
91      public java.util.List<com.liferay.portal.model.UserTracker> findByUserId(
92          long userId, int start, int end)
93          throws com.liferay.portal.kernel.exception.SystemException;
94  
95      public java.util.List<com.liferay.portal.model.UserTracker> findByUserId(
96          long userId, int start, int end,
97          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
98          throws com.liferay.portal.kernel.exception.SystemException;
99  
100     public com.liferay.portal.model.UserTracker findByUserId_First(
101         long userId,
102         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
103         throws com.liferay.portal.NoSuchUserTrackerException,
104             com.liferay.portal.kernel.exception.SystemException;
105 
106     public com.liferay.portal.model.UserTracker findByUserId_Last(long userId,
107         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
108         throws com.liferay.portal.NoSuchUserTrackerException,
109             com.liferay.portal.kernel.exception.SystemException;
110 
111     public com.liferay.portal.model.UserTracker[] findByUserId_PrevAndNext(
112         long userTrackerId, long userId,
113         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
114         throws com.liferay.portal.NoSuchUserTrackerException,
115             com.liferay.portal.kernel.exception.SystemException;
116 
117     public java.util.List<com.liferay.portal.model.UserTracker> findBySessionId(
118         java.lang.String sessionId)
119         throws com.liferay.portal.kernel.exception.SystemException;
120 
121     public java.util.List<com.liferay.portal.model.UserTracker> findBySessionId(
122         java.lang.String sessionId, int start, int end)
123         throws com.liferay.portal.kernel.exception.SystemException;
124 
125     public java.util.List<com.liferay.portal.model.UserTracker> findBySessionId(
126         java.lang.String sessionId, int start, int end,
127         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
128         throws com.liferay.portal.kernel.exception.SystemException;
129 
130     public com.liferay.portal.model.UserTracker findBySessionId_First(
131         java.lang.String sessionId,
132         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
133         throws com.liferay.portal.NoSuchUserTrackerException,
134             com.liferay.portal.kernel.exception.SystemException;
135 
136     public com.liferay.portal.model.UserTracker findBySessionId_Last(
137         java.lang.String sessionId,
138         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
139         throws com.liferay.portal.NoSuchUserTrackerException,
140             com.liferay.portal.kernel.exception.SystemException;
141 
142     public com.liferay.portal.model.UserTracker[] findBySessionId_PrevAndNext(
143         long userTrackerId, java.lang.String sessionId,
144         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
145         throws com.liferay.portal.NoSuchUserTrackerException,
146             com.liferay.portal.kernel.exception.SystemException;
147 
148     public java.util.List<com.liferay.portal.model.UserTracker> findAll()
149         throws com.liferay.portal.kernel.exception.SystemException;
150 
151     public java.util.List<com.liferay.portal.model.UserTracker> findAll(
152         int start, int end)
153         throws com.liferay.portal.kernel.exception.SystemException;
154 
155     public java.util.List<com.liferay.portal.model.UserTracker> findAll(
156         int start, int end,
157         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
158         throws com.liferay.portal.kernel.exception.SystemException;
159 
160     public void removeByCompanyId(long companyId)
161         throws com.liferay.portal.kernel.exception.SystemException;
162 
163     public void removeByUserId(long userId)
164         throws com.liferay.portal.kernel.exception.SystemException;
165 
166     public void removeBySessionId(java.lang.String sessionId)
167         throws com.liferay.portal.kernel.exception.SystemException;
168 
169     public void removeAll()
170         throws com.liferay.portal.kernel.exception.SystemException;
171 
172     public int countByCompanyId(long companyId)
173         throws com.liferay.portal.kernel.exception.SystemException;
174 
175     public int countByUserId(long userId)
176         throws com.liferay.portal.kernel.exception.SystemException;
177 
178     public int countBySessionId(java.lang.String sessionId)
179         throws com.liferay.portal.kernel.exception.SystemException;
180 
181     public int countAll()
182         throws com.liferay.portal.kernel.exception.SystemException;
183 }