1
22
23 package com.liferay.portal.service.persistence;
24
25
26
39 public class UserTrackerUtil {
40 public static void cacheResult(
41 com.liferay.portal.model.UserTracker userTracker) {
42 getPersistence().cacheResult(userTracker);
43 }
44
45 public static void cacheResult(
46 java.util.List<com.liferay.portal.model.UserTracker> userTrackers) {
47 getPersistence().cacheResult(userTrackers);
48 }
49
50 public static void clearCache() {
51 getPersistence().clearCache();
52 }
53
54 public static com.liferay.portal.model.UserTracker create(
55 long userTrackerId) {
56 return getPersistence().create(userTrackerId);
57 }
58
59 public static com.liferay.portal.model.UserTracker remove(
60 long userTrackerId)
61 throws com.liferay.portal.NoSuchUserTrackerException,
62 com.liferay.portal.SystemException {
63 return getPersistence().remove(userTrackerId);
64 }
65
66 public static com.liferay.portal.model.UserTracker remove(
67 com.liferay.portal.model.UserTracker userTracker)
68 throws com.liferay.portal.SystemException {
69 return getPersistence().remove(userTracker);
70 }
71
72
75 public static com.liferay.portal.model.UserTracker update(
76 com.liferay.portal.model.UserTracker userTracker)
77 throws com.liferay.portal.SystemException {
78 return getPersistence().update(userTracker);
79 }
80
81
93 public static com.liferay.portal.model.UserTracker update(
94 com.liferay.portal.model.UserTracker userTracker, boolean merge)
95 throws com.liferay.portal.SystemException {
96 return getPersistence().update(userTracker, merge);
97 }
98
99 public static com.liferay.portal.model.UserTracker updateImpl(
100 com.liferay.portal.model.UserTracker userTracker, boolean merge)
101 throws com.liferay.portal.SystemException {
102 return getPersistence().updateImpl(userTracker, merge);
103 }
104
105 public static com.liferay.portal.model.UserTracker findByPrimaryKey(
106 long userTrackerId)
107 throws com.liferay.portal.NoSuchUserTrackerException,
108 com.liferay.portal.SystemException {
109 return getPersistence().findByPrimaryKey(userTrackerId);
110 }
111
112 public static com.liferay.portal.model.UserTracker fetchByPrimaryKey(
113 long userTrackerId) throws com.liferay.portal.SystemException {
114 return getPersistence().fetchByPrimaryKey(userTrackerId);
115 }
116
117 public static java.util.List<com.liferay.portal.model.UserTracker> findByCompanyId(
118 long companyId) throws com.liferay.portal.SystemException {
119 return getPersistence().findByCompanyId(companyId);
120 }
121
122 public static java.util.List<com.liferay.portal.model.UserTracker> findByCompanyId(
123 long companyId, int start, int end)
124 throws com.liferay.portal.SystemException {
125 return getPersistence().findByCompanyId(companyId, start, end);
126 }
127
128 public static java.util.List<com.liferay.portal.model.UserTracker> findByCompanyId(
129 long companyId, int start, int end,
130 com.liferay.portal.kernel.util.OrderByComparator obc)
131 throws com.liferay.portal.SystemException {
132 return getPersistence().findByCompanyId(companyId, start, end, obc);
133 }
134
135 public static com.liferay.portal.model.UserTracker findByCompanyId_First(
136 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
137 throws com.liferay.portal.NoSuchUserTrackerException,
138 com.liferay.portal.SystemException {
139 return getPersistence().findByCompanyId_First(companyId, obc);
140 }
141
142 public static com.liferay.portal.model.UserTracker findByCompanyId_Last(
143 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
144 throws com.liferay.portal.NoSuchUserTrackerException,
145 com.liferay.portal.SystemException {
146 return getPersistence().findByCompanyId_Last(companyId, obc);
147 }
148
149 public static com.liferay.portal.model.UserTracker[] findByCompanyId_PrevAndNext(
150 long userTrackerId, long companyId,
151 com.liferay.portal.kernel.util.OrderByComparator obc)
152 throws com.liferay.portal.NoSuchUserTrackerException,
153 com.liferay.portal.SystemException {
154 return getPersistence()
155 .findByCompanyId_PrevAndNext(userTrackerId, companyId, obc);
156 }
157
158 public static java.util.List<com.liferay.portal.model.UserTracker> findByUserId(
159 long userId) throws com.liferay.portal.SystemException {
160 return getPersistence().findByUserId(userId);
161 }
162
163 public static java.util.List<com.liferay.portal.model.UserTracker> findByUserId(
164 long userId, int start, int end)
165 throws com.liferay.portal.SystemException {
166 return getPersistence().findByUserId(userId, start, end);
167 }
168
169 public static java.util.List<com.liferay.portal.model.UserTracker> findByUserId(
170 long userId, int start, int end,
171 com.liferay.portal.kernel.util.OrderByComparator obc)
172 throws com.liferay.portal.SystemException {
173 return getPersistence().findByUserId(userId, start, end, obc);
174 }
175
176 public static com.liferay.portal.model.UserTracker findByUserId_First(
177 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
178 throws com.liferay.portal.NoSuchUserTrackerException,
179 com.liferay.portal.SystemException {
180 return getPersistence().findByUserId_First(userId, obc);
181 }
182
183 public static com.liferay.portal.model.UserTracker findByUserId_Last(
184 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
185 throws com.liferay.portal.NoSuchUserTrackerException,
186 com.liferay.portal.SystemException {
187 return getPersistence().findByUserId_Last(userId, obc);
188 }
189
190 public static com.liferay.portal.model.UserTracker[] findByUserId_PrevAndNext(
191 long userTrackerId, long userId,
192 com.liferay.portal.kernel.util.OrderByComparator obc)
193 throws com.liferay.portal.NoSuchUserTrackerException,
194 com.liferay.portal.SystemException {
195 return getPersistence()
196 .findByUserId_PrevAndNext(userTrackerId, userId, obc);
197 }
198
199 public static java.util.List<com.liferay.portal.model.UserTracker> findBySessionId(
200 java.lang.String sessionId) throws com.liferay.portal.SystemException {
201 return getPersistence().findBySessionId(sessionId);
202 }
203
204 public static java.util.List<com.liferay.portal.model.UserTracker> findBySessionId(
205 java.lang.String sessionId, int start, int end)
206 throws com.liferay.portal.SystemException {
207 return getPersistence().findBySessionId(sessionId, start, end);
208 }
209
210 public static java.util.List<com.liferay.portal.model.UserTracker> findBySessionId(
211 java.lang.String sessionId, int start, int end,
212 com.liferay.portal.kernel.util.OrderByComparator obc)
213 throws com.liferay.portal.SystemException {
214 return getPersistence().findBySessionId(sessionId, start, end, obc);
215 }
216
217 public static com.liferay.portal.model.UserTracker findBySessionId_First(
218 java.lang.String sessionId,
219 com.liferay.portal.kernel.util.OrderByComparator obc)
220 throws com.liferay.portal.NoSuchUserTrackerException,
221 com.liferay.portal.SystemException {
222 return getPersistence().findBySessionId_First(sessionId, obc);
223 }
224
225 public static com.liferay.portal.model.UserTracker findBySessionId_Last(
226 java.lang.String sessionId,
227 com.liferay.portal.kernel.util.OrderByComparator obc)
228 throws com.liferay.portal.NoSuchUserTrackerException,
229 com.liferay.portal.SystemException {
230 return getPersistence().findBySessionId_Last(sessionId, obc);
231 }
232
233 public static com.liferay.portal.model.UserTracker[] findBySessionId_PrevAndNext(
234 long userTrackerId, java.lang.String sessionId,
235 com.liferay.portal.kernel.util.OrderByComparator obc)
236 throws com.liferay.portal.NoSuchUserTrackerException,
237 com.liferay.portal.SystemException {
238 return getPersistence()
239 .findBySessionId_PrevAndNext(userTrackerId, sessionId, obc);
240 }
241
242 public static java.util.List<Object> findWithDynamicQuery(
243 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
244 throws com.liferay.portal.SystemException {
245 return getPersistence().findWithDynamicQuery(dynamicQuery);
246 }
247
248 public static java.util.List<Object> findWithDynamicQuery(
249 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
250 int end) throws com.liferay.portal.SystemException {
251 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
252 }
253
254 public static java.util.List<com.liferay.portal.model.UserTracker> findAll()
255 throws com.liferay.portal.SystemException {
256 return getPersistence().findAll();
257 }
258
259 public static java.util.List<com.liferay.portal.model.UserTracker> findAll(
260 int start, int end) throws com.liferay.portal.SystemException {
261 return getPersistence().findAll(start, end);
262 }
263
264 public static java.util.List<com.liferay.portal.model.UserTracker> findAll(
265 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
266 throws com.liferay.portal.SystemException {
267 return getPersistence().findAll(start, end, obc);
268 }
269
270 public static void removeByCompanyId(long companyId)
271 throws com.liferay.portal.SystemException {
272 getPersistence().removeByCompanyId(companyId);
273 }
274
275 public static void removeByUserId(long userId)
276 throws com.liferay.portal.SystemException {
277 getPersistence().removeByUserId(userId);
278 }
279
280 public static void removeBySessionId(java.lang.String sessionId)
281 throws com.liferay.portal.SystemException {
282 getPersistence().removeBySessionId(sessionId);
283 }
284
285 public static void removeAll() throws com.liferay.portal.SystemException {
286 getPersistence().removeAll();
287 }
288
289 public static int countByCompanyId(long companyId)
290 throws com.liferay.portal.SystemException {
291 return getPersistence().countByCompanyId(companyId);
292 }
293
294 public static int countByUserId(long userId)
295 throws com.liferay.portal.SystemException {
296 return getPersistence().countByUserId(userId);
297 }
298
299 public static int countBySessionId(java.lang.String sessionId)
300 throws com.liferay.portal.SystemException {
301 return getPersistence().countBySessionId(sessionId);
302 }
303
304 public static int countAll() throws com.liferay.portal.SystemException {
305 return getPersistence().countAll();
306 }
307
308 public static UserTrackerPersistence getPersistence() {
309 return _persistence;
310 }
311
312 public void setPersistence(UserTrackerPersistence persistence) {
313 _persistence = persistence;
314 }
315
316 private static UserTrackerPersistence _persistence;
317 }