1
22
23 package com.liferay.portal.service.persistence;
24
25
26
39 public interface UserTrackerPersistence extends BasePersistence {
40 public void cacheResult(com.liferay.portal.model.UserTracker userTracker);
41
42 public void cacheResult(
43 java.util.List<com.liferay.portal.model.UserTracker> userTrackers);
44
45 public void clearCache();
46
47 public com.liferay.portal.model.UserTracker create(long userTrackerId);
48
49 public com.liferay.portal.model.UserTracker remove(long userTrackerId)
50 throws com.liferay.portal.NoSuchUserTrackerException,
51 com.liferay.portal.SystemException;
52
53 public com.liferay.portal.model.UserTracker remove(
54 com.liferay.portal.model.UserTracker userTracker)
55 throws com.liferay.portal.SystemException;
56
57
60 public com.liferay.portal.model.UserTracker update(
61 com.liferay.portal.model.UserTracker userTracker)
62 throws com.liferay.portal.SystemException;
63
64
76 public com.liferay.portal.model.UserTracker update(
77 com.liferay.portal.model.UserTracker userTracker, boolean merge)
78 throws com.liferay.portal.SystemException;
79
80 public com.liferay.portal.model.UserTracker updateImpl(
81 com.liferay.portal.model.UserTracker userTracker, boolean merge)
82 throws com.liferay.portal.SystemException;
83
84 public com.liferay.portal.model.UserTracker findByPrimaryKey(
85 long userTrackerId)
86 throws com.liferay.portal.NoSuchUserTrackerException,
87 com.liferay.portal.SystemException;
88
89 public com.liferay.portal.model.UserTracker fetchByPrimaryKey(
90 long userTrackerId) throws com.liferay.portal.SystemException;
91
92 public java.util.List<com.liferay.portal.model.UserTracker> findByCompanyId(
93 long companyId) throws com.liferay.portal.SystemException;
94
95 public java.util.List<com.liferay.portal.model.UserTracker> findByCompanyId(
96 long companyId, int start, int end)
97 throws com.liferay.portal.SystemException;
98
99 public java.util.List<com.liferay.portal.model.UserTracker> findByCompanyId(
100 long companyId, int start, int end,
101 com.liferay.portal.kernel.util.OrderByComparator obc)
102 throws com.liferay.portal.SystemException;
103
104 public com.liferay.portal.model.UserTracker findByCompanyId_First(
105 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
106 throws com.liferay.portal.NoSuchUserTrackerException,
107 com.liferay.portal.SystemException;
108
109 public com.liferay.portal.model.UserTracker findByCompanyId_Last(
110 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
111 throws com.liferay.portal.NoSuchUserTrackerException,
112 com.liferay.portal.SystemException;
113
114 public com.liferay.portal.model.UserTracker[] findByCompanyId_PrevAndNext(
115 long userTrackerId, long companyId,
116 com.liferay.portal.kernel.util.OrderByComparator obc)
117 throws com.liferay.portal.NoSuchUserTrackerException,
118 com.liferay.portal.SystemException;
119
120 public java.util.List<com.liferay.portal.model.UserTracker> findByUserId(
121 long userId) throws com.liferay.portal.SystemException;
122
123 public java.util.List<com.liferay.portal.model.UserTracker> findByUserId(
124 long userId, int start, int end)
125 throws com.liferay.portal.SystemException;
126
127 public java.util.List<com.liferay.portal.model.UserTracker> findByUserId(
128 long userId, int start, int end,
129 com.liferay.portal.kernel.util.OrderByComparator obc)
130 throws com.liferay.portal.SystemException;
131
132 public com.liferay.portal.model.UserTracker findByUserId_First(
133 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
134 throws com.liferay.portal.NoSuchUserTrackerException,
135 com.liferay.portal.SystemException;
136
137 public com.liferay.portal.model.UserTracker findByUserId_Last(long userId,
138 com.liferay.portal.kernel.util.OrderByComparator obc)
139 throws com.liferay.portal.NoSuchUserTrackerException,
140 com.liferay.portal.SystemException;
141
142 public com.liferay.portal.model.UserTracker[] findByUserId_PrevAndNext(
143 long userTrackerId, long userId,
144 com.liferay.portal.kernel.util.OrderByComparator obc)
145 throws com.liferay.portal.NoSuchUserTrackerException,
146 com.liferay.portal.SystemException;
147
148 public java.util.List<com.liferay.portal.model.UserTracker> findBySessionId(
149 java.lang.String sessionId) throws com.liferay.portal.SystemException;
150
151 public java.util.List<com.liferay.portal.model.UserTracker> findBySessionId(
152 java.lang.String sessionId, int start, int end)
153 throws com.liferay.portal.SystemException;
154
155 public java.util.List<com.liferay.portal.model.UserTracker> findBySessionId(
156 java.lang.String sessionId, int start, int end,
157 com.liferay.portal.kernel.util.OrderByComparator obc)
158 throws com.liferay.portal.SystemException;
159
160 public com.liferay.portal.model.UserTracker findBySessionId_First(
161 java.lang.String sessionId,
162 com.liferay.portal.kernel.util.OrderByComparator obc)
163 throws com.liferay.portal.NoSuchUserTrackerException,
164 com.liferay.portal.SystemException;
165
166 public com.liferay.portal.model.UserTracker findBySessionId_Last(
167 java.lang.String sessionId,
168 com.liferay.portal.kernel.util.OrderByComparator obc)
169 throws com.liferay.portal.NoSuchUserTrackerException,
170 com.liferay.portal.SystemException;
171
172 public com.liferay.portal.model.UserTracker[] findBySessionId_PrevAndNext(
173 long userTrackerId, java.lang.String sessionId,
174 com.liferay.portal.kernel.util.OrderByComparator obc)
175 throws com.liferay.portal.NoSuchUserTrackerException,
176 com.liferay.portal.SystemException;
177
178 public java.util.List<Object> findWithDynamicQuery(
179 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
180 throws com.liferay.portal.SystemException;
181
182 public java.util.List<Object> findWithDynamicQuery(
183 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
184 int end) throws com.liferay.portal.SystemException;
185
186 public java.util.List<com.liferay.portal.model.UserTracker> findAll()
187 throws com.liferay.portal.SystemException;
188
189 public java.util.List<com.liferay.portal.model.UserTracker> findAll(
190 int start, int end) throws com.liferay.portal.SystemException;
191
192 public java.util.List<com.liferay.portal.model.UserTracker> findAll(
193 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
194 throws com.liferay.portal.SystemException;
195
196 public void removeByCompanyId(long companyId)
197 throws com.liferay.portal.SystemException;
198
199 public void removeByUserId(long userId)
200 throws com.liferay.portal.SystemException;
201
202 public void removeBySessionId(java.lang.String sessionId)
203 throws com.liferay.portal.SystemException;
204
205 public void removeAll() throws com.liferay.portal.SystemException;
206
207 public int countByCompanyId(long companyId)
208 throws com.liferay.portal.SystemException;
209
210 public int countByUserId(long userId)
211 throws com.liferay.portal.SystemException;
212
213 public int countBySessionId(java.lang.String sessionId)
214 throws com.liferay.portal.SystemException;
215
216 public int countAll() throws com.liferay.portal.SystemException;
217 }