1
22
23 package com.liferay.portlet.blogs.service.persistence;
24
25
26
39 public class BlogsStatsUserUtil {
40 public static void cacheResult(
41 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser) {
42 getPersistence().cacheResult(blogsStatsUser);
43 }
44
45 public static void cacheResult(
46 java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> blogsStatsUsers) {
47 getPersistence().cacheResult(blogsStatsUsers);
48 }
49
50 public static void clearCache() {
51 getPersistence().clearCache();
52 }
53
54 public static com.liferay.portlet.blogs.model.BlogsStatsUser create(
55 long statsUserId) {
56 return getPersistence().create(statsUserId);
57 }
58
59 public static com.liferay.portlet.blogs.model.BlogsStatsUser remove(
60 long statsUserId)
61 throws com.liferay.portal.SystemException,
62 com.liferay.portlet.blogs.NoSuchStatsUserException {
63 return getPersistence().remove(statsUserId);
64 }
65
66 public static com.liferay.portlet.blogs.model.BlogsStatsUser remove(
67 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
68 throws com.liferay.portal.SystemException {
69 return getPersistence().remove(blogsStatsUser);
70 }
71
72
75 public static com.liferay.portlet.blogs.model.BlogsStatsUser update(
76 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
77 throws com.liferay.portal.SystemException {
78 return getPersistence().update(blogsStatsUser);
79 }
80
81
93 public static com.liferay.portlet.blogs.model.BlogsStatsUser update(
94 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser,
95 boolean merge) throws com.liferay.portal.SystemException {
96 return getPersistence().update(blogsStatsUser, merge);
97 }
98
99 public static com.liferay.portlet.blogs.model.BlogsStatsUser updateImpl(
100 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser,
101 boolean merge) throws com.liferay.portal.SystemException {
102 return getPersistence().updateImpl(blogsStatsUser, merge);
103 }
104
105 public static com.liferay.portlet.blogs.model.BlogsStatsUser findByPrimaryKey(
106 long statsUserId)
107 throws com.liferay.portal.SystemException,
108 com.liferay.portlet.blogs.NoSuchStatsUserException {
109 return getPersistence().findByPrimaryKey(statsUserId);
110 }
111
112 public static com.liferay.portlet.blogs.model.BlogsStatsUser fetchByPrimaryKey(
113 long statsUserId) throws com.liferay.portal.SystemException {
114 return getPersistence().fetchByPrimaryKey(statsUserId);
115 }
116
117 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByGroupId(
118 long groupId) throws com.liferay.portal.SystemException {
119 return getPersistence().findByGroupId(groupId);
120 }
121
122 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByGroupId(
123 long groupId, int start, int end)
124 throws com.liferay.portal.SystemException {
125 return getPersistence().findByGroupId(groupId, start, end);
126 }
127
128 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByGroupId(
129 long groupId, int start, int end,
130 com.liferay.portal.kernel.util.OrderByComparator obc)
131 throws com.liferay.portal.SystemException {
132 return getPersistence().findByGroupId(groupId, start, end, obc);
133 }
134
135 public static com.liferay.portlet.blogs.model.BlogsStatsUser findByGroupId_First(
136 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
137 throws com.liferay.portal.SystemException,
138 com.liferay.portlet.blogs.NoSuchStatsUserException {
139 return getPersistence().findByGroupId_First(groupId, obc);
140 }
141
142 public static com.liferay.portlet.blogs.model.BlogsStatsUser findByGroupId_Last(
143 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
144 throws com.liferay.portal.SystemException,
145 com.liferay.portlet.blogs.NoSuchStatsUserException {
146 return getPersistence().findByGroupId_Last(groupId, obc);
147 }
148
149 public static com.liferay.portlet.blogs.model.BlogsStatsUser[] findByGroupId_PrevAndNext(
150 long statsUserId, long groupId,
151 com.liferay.portal.kernel.util.OrderByComparator obc)
152 throws com.liferay.portal.SystemException,
153 com.liferay.portlet.blogs.NoSuchStatsUserException {
154 return getPersistence()
155 .findByGroupId_PrevAndNext(statsUserId, groupId, obc);
156 }
157
158 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByUserId(
159 long userId) throws com.liferay.portal.SystemException {
160 return getPersistence().findByUserId(userId);
161 }
162
163 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> 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.portlet.blogs.model.BlogsStatsUser> 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.portlet.blogs.model.BlogsStatsUser findByUserId_First(
177 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
178 throws com.liferay.portal.SystemException,
179 com.liferay.portlet.blogs.NoSuchStatsUserException {
180 return getPersistence().findByUserId_First(userId, obc);
181 }
182
183 public static com.liferay.portlet.blogs.model.BlogsStatsUser findByUserId_Last(
184 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
185 throws com.liferay.portal.SystemException,
186 com.liferay.portlet.blogs.NoSuchStatsUserException {
187 return getPersistence().findByUserId_Last(userId, obc);
188 }
189
190 public static com.liferay.portlet.blogs.model.BlogsStatsUser[] findByUserId_PrevAndNext(
191 long statsUserId, long userId,
192 com.liferay.portal.kernel.util.OrderByComparator obc)
193 throws com.liferay.portal.SystemException,
194 com.liferay.portlet.blogs.NoSuchStatsUserException {
195 return getPersistence()
196 .findByUserId_PrevAndNext(statsUserId, userId, obc);
197 }
198
199 public static com.liferay.portlet.blogs.model.BlogsStatsUser findByG_U(
200 long groupId, long userId)
201 throws com.liferay.portal.SystemException,
202 com.liferay.portlet.blogs.NoSuchStatsUserException {
203 return getPersistence().findByG_U(groupId, userId);
204 }
205
206 public static com.liferay.portlet.blogs.model.BlogsStatsUser fetchByG_U(
207 long groupId, long userId) throws com.liferay.portal.SystemException {
208 return getPersistence().fetchByG_U(groupId, userId);
209 }
210
211 public static com.liferay.portlet.blogs.model.BlogsStatsUser fetchByG_U(
212 long groupId, long userId, boolean retrieveFromCache)
213 throws com.liferay.portal.SystemException {
214 return getPersistence().fetchByG_U(groupId, userId, retrieveFromCache);
215 }
216
217 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByG_E(
218 long groupId, int entryCount) throws com.liferay.portal.SystemException {
219 return getPersistence().findByG_E(groupId, entryCount);
220 }
221
222 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByG_E(
223 long groupId, int entryCount, int start, int end)
224 throws com.liferay.portal.SystemException {
225 return getPersistence().findByG_E(groupId, entryCount, start, end);
226 }
227
228 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByG_E(
229 long groupId, int entryCount, int start, int end,
230 com.liferay.portal.kernel.util.OrderByComparator obc)
231 throws com.liferay.portal.SystemException {
232 return getPersistence().findByG_E(groupId, entryCount, start, end, obc);
233 }
234
235 public static com.liferay.portlet.blogs.model.BlogsStatsUser findByG_E_First(
236 long groupId, int entryCount,
237 com.liferay.portal.kernel.util.OrderByComparator obc)
238 throws com.liferay.portal.SystemException,
239 com.liferay.portlet.blogs.NoSuchStatsUserException {
240 return getPersistence().findByG_E_First(groupId, entryCount, obc);
241 }
242
243 public static com.liferay.portlet.blogs.model.BlogsStatsUser findByG_E_Last(
244 long groupId, int entryCount,
245 com.liferay.portal.kernel.util.OrderByComparator obc)
246 throws com.liferay.portal.SystemException,
247 com.liferay.portlet.blogs.NoSuchStatsUserException {
248 return getPersistence().findByG_E_Last(groupId, entryCount, obc);
249 }
250
251 public static com.liferay.portlet.blogs.model.BlogsStatsUser[] findByG_E_PrevAndNext(
252 long statsUserId, long groupId, int entryCount,
253 com.liferay.portal.kernel.util.OrderByComparator obc)
254 throws com.liferay.portal.SystemException,
255 com.liferay.portlet.blogs.NoSuchStatsUserException {
256 return getPersistence()
257 .findByG_E_PrevAndNext(statsUserId, groupId, entryCount, obc);
258 }
259
260 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByC_E(
261 long companyId, int entryCount)
262 throws com.liferay.portal.SystemException {
263 return getPersistence().findByC_E(companyId, entryCount);
264 }
265
266 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByC_E(
267 long companyId, int entryCount, int start, int end)
268 throws com.liferay.portal.SystemException {
269 return getPersistence().findByC_E(companyId, entryCount, start, end);
270 }
271
272 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByC_E(
273 long companyId, int entryCount, int start, int end,
274 com.liferay.portal.kernel.util.OrderByComparator obc)
275 throws com.liferay.portal.SystemException {
276 return getPersistence().findByC_E(companyId, entryCount, start, end, obc);
277 }
278
279 public static com.liferay.portlet.blogs.model.BlogsStatsUser findByC_E_First(
280 long companyId, int entryCount,
281 com.liferay.portal.kernel.util.OrderByComparator obc)
282 throws com.liferay.portal.SystemException,
283 com.liferay.portlet.blogs.NoSuchStatsUserException {
284 return getPersistence().findByC_E_First(companyId, entryCount, obc);
285 }
286
287 public static com.liferay.portlet.blogs.model.BlogsStatsUser findByC_E_Last(
288 long companyId, int entryCount,
289 com.liferay.portal.kernel.util.OrderByComparator obc)
290 throws com.liferay.portal.SystemException,
291 com.liferay.portlet.blogs.NoSuchStatsUserException {
292 return getPersistence().findByC_E_Last(companyId, entryCount, obc);
293 }
294
295 public static com.liferay.portlet.blogs.model.BlogsStatsUser[] findByC_E_PrevAndNext(
296 long statsUserId, long companyId, int entryCount,
297 com.liferay.portal.kernel.util.OrderByComparator obc)
298 throws com.liferay.portal.SystemException,
299 com.liferay.portlet.blogs.NoSuchStatsUserException {
300 return getPersistence()
301 .findByC_E_PrevAndNext(statsUserId, companyId, entryCount,
302 obc);
303 }
304
305 public static java.util.List<Object> findWithDynamicQuery(
306 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
307 throws com.liferay.portal.SystemException {
308 return getPersistence().findWithDynamicQuery(dynamicQuery);
309 }
310
311 public static java.util.List<Object> findWithDynamicQuery(
312 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
313 int end) throws com.liferay.portal.SystemException {
314 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
315 }
316
317 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findAll()
318 throws com.liferay.portal.SystemException {
319 return getPersistence().findAll();
320 }
321
322 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findAll(
323 int start, int end) throws com.liferay.portal.SystemException {
324 return getPersistence().findAll(start, end);
325 }
326
327 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findAll(
328 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
329 throws com.liferay.portal.SystemException {
330 return getPersistence().findAll(start, end, obc);
331 }
332
333 public static void removeByGroupId(long groupId)
334 throws com.liferay.portal.SystemException {
335 getPersistence().removeByGroupId(groupId);
336 }
337
338 public static void removeByUserId(long userId)
339 throws com.liferay.portal.SystemException {
340 getPersistence().removeByUserId(userId);
341 }
342
343 public static void removeByG_U(long groupId, long userId)
344 throws com.liferay.portal.SystemException,
345 com.liferay.portlet.blogs.NoSuchStatsUserException {
346 getPersistence().removeByG_U(groupId, userId);
347 }
348
349 public static void removeByG_E(long groupId, int entryCount)
350 throws com.liferay.portal.SystemException {
351 getPersistence().removeByG_E(groupId, entryCount);
352 }
353
354 public static void removeByC_E(long companyId, int entryCount)
355 throws com.liferay.portal.SystemException {
356 getPersistence().removeByC_E(companyId, entryCount);
357 }
358
359 public static void removeAll() throws com.liferay.portal.SystemException {
360 getPersistence().removeAll();
361 }
362
363 public static int countByGroupId(long groupId)
364 throws com.liferay.portal.SystemException {
365 return getPersistence().countByGroupId(groupId);
366 }
367
368 public static int countByUserId(long userId)
369 throws com.liferay.portal.SystemException {
370 return getPersistence().countByUserId(userId);
371 }
372
373 public static int countByG_U(long groupId, long userId)
374 throws com.liferay.portal.SystemException {
375 return getPersistence().countByG_U(groupId, userId);
376 }
377
378 public static int countByG_E(long groupId, int entryCount)
379 throws com.liferay.portal.SystemException {
380 return getPersistence().countByG_E(groupId, entryCount);
381 }
382
383 public static int countByC_E(long companyId, int entryCount)
384 throws com.liferay.portal.SystemException {
385 return getPersistence().countByC_E(companyId, entryCount);
386 }
387
388 public static int countAll() throws com.liferay.portal.SystemException {
389 return getPersistence().countAll();
390 }
391
392 public static BlogsStatsUserPersistence getPersistence() {
393 return _persistence;
394 }
395
396 public void setPersistence(BlogsStatsUserPersistence persistence) {
397 _persistence = persistence;
398 }
399
400 private static BlogsStatsUserPersistence _persistence;
401 }