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