1
22
23 package com.liferay.portlet.blogs.service.persistence;
24
25
31 public class BlogsEntryUtil {
32 public static void cacheResult(
33 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry) {
34 getPersistence().cacheResult(blogsEntry);
35 }
36
37 public static void cacheResult(
38 java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> blogsEntries) {
39 getPersistence().cacheResult(blogsEntries);
40 }
41
42 public static void clearCache() {
43 getPersistence().clearCache();
44 }
45
46 public static com.liferay.portlet.blogs.model.BlogsEntry create(
47 long entryId) {
48 return getPersistence().create(entryId);
49 }
50
51 public static com.liferay.portlet.blogs.model.BlogsEntry remove(
52 long entryId)
53 throws com.liferay.portal.SystemException,
54 com.liferay.portlet.blogs.NoSuchEntryException {
55 return getPersistence().remove(entryId);
56 }
57
58 public static com.liferay.portlet.blogs.model.BlogsEntry remove(
59 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
60 throws com.liferay.portal.SystemException {
61 return getPersistence().remove(blogsEntry);
62 }
63
64
67 public static com.liferay.portlet.blogs.model.BlogsEntry update(
68 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
69 throws com.liferay.portal.SystemException {
70 return getPersistence().update(blogsEntry);
71 }
72
73
86 public static com.liferay.portlet.blogs.model.BlogsEntry update(
87 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry, boolean merge)
88 throws com.liferay.portal.SystemException {
89 return getPersistence().update(blogsEntry, merge);
90 }
91
92 public static com.liferay.portlet.blogs.model.BlogsEntry updateImpl(
93 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry, boolean merge)
94 throws com.liferay.portal.SystemException {
95 return getPersistence().updateImpl(blogsEntry, merge);
96 }
97
98 public static com.liferay.portlet.blogs.model.BlogsEntry findByPrimaryKey(
99 long entryId)
100 throws com.liferay.portal.SystemException,
101 com.liferay.portlet.blogs.NoSuchEntryException {
102 return getPersistence().findByPrimaryKey(entryId);
103 }
104
105 public static com.liferay.portlet.blogs.model.BlogsEntry fetchByPrimaryKey(
106 long entryId) throws com.liferay.portal.SystemException {
107 return getPersistence().fetchByPrimaryKey(entryId);
108 }
109
110 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByUuid(
111 java.lang.String uuid) throws com.liferay.portal.SystemException {
112 return getPersistence().findByUuid(uuid);
113 }
114
115 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByUuid(
116 java.lang.String uuid, int start, int end)
117 throws com.liferay.portal.SystemException {
118 return getPersistence().findByUuid(uuid, start, end);
119 }
120
121 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByUuid(
122 java.lang.String uuid, int start, int end,
123 com.liferay.portal.kernel.util.OrderByComparator obc)
124 throws com.liferay.portal.SystemException {
125 return getPersistence().findByUuid(uuid, start, end, obc);
126 }
127
128 public static com.liferay.portlet.blogs.model.BlogsEntry findByUuid_First(
129 java.lang.String uuid,
130 com.liferay.portal.kernel.util.OrderByComparator obc)
131 throws com.liferay.portal.SystemException,
132 com.liferay.portlet.blogs.NoSuchEntryException {
133 return getPersistence().findByUuid_First(uuid, obc);
134 }
135
136 public static com.liferay.portlet.blogs.model.BlogsEntry findByUuid_Last(
137 java.lang.String uuid,
138 com.liferay.portal.kernel.util.OrderByComparator obc)
139 throws com.liferay.portal.SystemException,
140 com.liferay.portlet.blogs.NoSuchEntryException {
141 return getPersistence().findByUuid_Last(uuid, obc);
142 }
143
144 public static com.liferay.portlet.blogs.model.BlogsEntry[] findByUuid_PrevAndNext(
145 long entryId, java.lang.String uuid,
146 com.liferay.portal.kernel.util.OrderByComparator obc)
147 throws com.liferay.portal.SystemException,
148 com.liferay.portlet.blogs.NoSuchEntryException {
149 return getPersistence().findByUuid_PrevAndNext(entryId, uuid, obc);
150 }
151
152 public static com.liferay.portlet.blogs.model.BlogsEntry findByUUID_G(
153 java.lang.String uuid, long groupId)
154 throws com.liferay.portal.SystemException,
155 com.liferay.portlet.blogs.NoSuchEntryException {
156 return getPersistence().findByUUID_G(uuid, groupId);
157 }
158
159 public static com.liferay.portlet.blogs.model.BlogsEntry fetchByUUID_G(
160 java.lang.String uuid, long groupId)
161 throws com.liferay.portal.SystemException {
162 return getPersistence().fetchByUUID_G(uuid, groupId);
163 }
164
165 public static com.liferay.portlet.blogs.model.BlogsEntry fetchByUUID_G(
166 java.lang.String uuid, long groupId, boolean retrieveFromCache)
167 throws com.liferay.portal.SystemException {
168 return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
169 }
170
171 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByGroupId(
172 long groupId) throws com.liferay.portal.SystemException {
173 return getPersistence().findByGroupId(groupId);
174 }
175
176 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByGroupId(
177 long groupId, int start, int end)
178 throws com.liferay.portal.SystemException {
179 return getPersistence().findByGroupId(groupId, start, end);
180 }
181
182 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByGroupId(
183 long groupId, int start, int end,
184 com.liferay.portal.kernel.util.OrderByComparator obc)
185 throws com.liferay.portal.SystemException {
186 return getPersistence().findByGroupId(groupId, start, end, obc);
187 }
188
189 public static com.liferay.portlet.blogs.model.BlogsEntry findByGroupId_First(
190 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
191 throws com.liferay.portal.SystemException,
192 com.liferay.portlet.blogs.NoSuchEntryException {
193 return getPersistence().findByGroupId_First(groupId, obc);
194 }
195
196 public static com.liferay.portlet.blogs.model.BlogsEntry findByGroupId_Last(
197 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
198 throws com.liferay.portal.SystemException,
199 com.liferay.portlet.blogs.NoSuchEntryException {
200 return getPersistence().findByGroupId_Last(groupId, obc);
201 }
202
203 public static com.liferay.portlet.blogs.model.BlogsEntry[] findByGroupId_PrevAndNext(
204 long entryId, long groupId,
205 com.liferay.portal.kernel.util.OrderByComparator obc)
206 throws com.liferay.portal.SystemException,
207 com.liferay.portlet.blogs.NoSuchEntryException {
208 return getPersistence().findByGroupId_PrevAndNext(entryId, groupId, obc);
209 }
210
211 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByCompanyId(
212 long companyId) throws com.liferay.portal.SystemException {
213 return getPersistence().findByCompanyId(companyId);
214 }
215
216 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByCompanyId(
217 long companyId, int start, int end)
218 throws com.liferay.portal.SystemException {
219 return getPersistence().findByCompanyId(companyId, start, end);
220 }
221
222 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByCompanyId(
223 long companyId, int start, int end,
224 com.liferay.portal.kernel.util.OrderByComparator obc)
225 throws com.liferay.portal.SystemException {
226 return getPersistence().findByCompanyId(companyId, start, end, obc);
227 }
228
229 public static com.liferay.portlet.blogs.model.BlogsEntry findByCompanyId_First(
230 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
231 throws com.liferay.portal.SystemException,
232 com.liferay.portlet.blogs.NoSuchEntryException {
233 return getPersistence().findByCompanyId_First(companyId, obc);
234 }
235
236 public static com.liferay.portlet.blogs.model.BlogsEntry findByCompanyId_Last(
237 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
238 throws com.liferay.portal.SystemException,
239 com.liferay.portlet.blogs.NoSuchEntryException {
240 return getPersistence().findByCompanyId_Last(companyId, obc);
241 }
242
243 public static com.liferay.portlet.blogs.model.BlogsEntry[] findByCompanyId_PrevAndNext(
244 long entryId, long companyId,
245 com.liferay.portal.kernel.util.OrderByComparator obc)
246 throws com.liferay.portal.SystemException,
247 com.liferay.portlet.blogs.NoSuchEntryException {
248 return getPersistence()
249 .findByCompanyId_PrevAndNext(entryId, companyId, obc);
250 }
251
252 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U(
253 long groupId, long userId) throws com.liferay.portal.SystemException {
254 return getPersistence().findByG_U(groupId, userId);
255 }
256
257 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U(
258 long groupId, long userId, int start, int end)
259 throws com.liferay.portal.SystemException {
260 return getPersistence().findByG_U(groupId, userId, start, end);
261 }
262
263 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U(
264 long groupId, long userId, int start, int end,
265 com.liferay.portal.kernel.util.OrderByComparator obc)
266 throws com.liferay.portal.SystemException {
267 return getPersistence().findByG_U(groupId, userId, start, end, obc);
268 }
269
270 public static com.liferay.portlet.blogs.model.BlogsEntry findByG_U_First(
271 long groupId, long userId,
272 com.liferay.portal.kernel.util.OrderByComparator obc)
273 throws com.liferay.portal.SystemException,
274 com.liferay.portlet.blogs.NoSuchEntryException {
275 return getPersistence().findByG_U_First(groupId, userId, obc);
276 }
277
278 public static com.liferay.portlet.blogs.model.BlogsEntry findByG_U_Last(
279 long groupId, long userId,
280 com.liferay.portal.kernel.util.OrderByComparator obc)
281 throws com.liferay.portal.SystemException,
282 com.liferay.portlet.blogs.NoSuchEntryException {
283 return getPersistence().findByG_U_Last(groupId, userId, obc);
284 }
285
286 public static com.liferay.portlet.blogs.model.BlogsEntry[] findByG_U_PrevAndNext(
287 long entryId, long groupId, long userId,
288 com.liferay.portal.kernel.util.OrderByComparator obc)
289 throws com.liferay.portal.SystemException,
290 com.liferay.portlet.blogs.NoSuchEntryException {
291 return getPersistence()
292 .findByG_U_PrevAndNext(entryId, groupId, userId, obc);
293 }
294
295 public static com.liferay.portlet.blogs.model.BlogsEntry findByG_UT(
296 long groupId, java.lang.String urlTitle)
297 throws com.liferay.portal.SystemException,
298 com.liferay.portlet.blogs.NoSuchEntryException {
299 return getPersistence().findByG_UT(groupId, urlTitle);
300 }
301
302 public static com.liferay.portlet.blogs.model.BlogsEntry fetchByG_UT(
303 long groupId, java.lang.String urlTitle)
304 throws com.liferay.portal.SystemException {
305 return getPersistence().fetchByG_UT(groupId, urlTitle);
306 }
307
308 public static com.liferay.portlet.blogs.model.BlogsEntry fetchByG_UT(
309 long groupId, java.lang.String urlTitle, boolean retrieveFromCache)
310 throws com.liferay.portal.SystemException {
311 return getPersistence().fetchByG_UT(groupId, urlTitle, retrieveFromCache);
312 }
313
314 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_D_D(
315 long groupId, java.util.Date displayDate, boolean draft)
316 throws com.liferay.portal.SystemException {
317 return getPersistence().findByG_D_D(groupId, displayDate, draft);
318 }
319
320 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_D_D(
321 long groupId, java.util.Date displayDate, boolean draft, int start,
322 int end) throws com.liferay.portal.SystemException {
323 return getPersistence()
324 .findByG_D_D(groupId, displayDate, draft, start, end);
325 }
326
327 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_D_D(
328 long groupId, java.util.Date displayDate, boolean draft, int start,
329 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
330 throws com.liferay.portal.SystemException {
331 return getPersistence()
332 .findByG_D_D(groupId, displayDate, draft, start, end, obc);
333 }
334
335 public static com.liferay.portlet.blogs.model.BlogsEntry findByG_D_D_First(
336 long groupId, java.util.Date displayDate, boolean draft,
337 com.liferay.portal.kernel.util.OrderByComparator obc)
338 throws com.liferay.portal.SystemException,
339 com.liferay.portlet.blogs.NoSuchEntryException {
340 return getPersistence()
341 .findByG_D_D_First(groupId, displayDate, draft, obc);
342 }
343
344 public static com.liferay.portlet.blogs.model.BlogsEntry findByG_D_D_Last(
345 long groupId, java.util.Date displayDate, boolean draft,
346 com.liferay.portal.kernel.util.OrderByComparator obc)
347 throws com.liferay.portal.SystemException,
348 com.liferay.portlet.blogs.NoSuchEntryException {
349 return getPersistence()
350 .findByG_D_D_Last(groupId, displayDate, draft, obc);
351 }
352
353 public static com.liferay.portlet.blogs.model.BlogsEntry[] findByG_D_D_PrevAndNext(
354 long entryId, long groupId, java.util.Date displayDate, boolean draft,
355 com.liferay.portal.kernel.util.OrderByComparator obc)
356 throws com.liferay.portal.SystemException,
357 com.liferay.portlet.blogs.NoSuchEntryException {
358 return getPersistence()
359 .findByG_D_D_PrevAndNext(entryId, groupId, displayDate,
360 draft, obc);
361 }
362
363 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_D_D(
364 long companyId, java.util.Date displayDate, boolean draft)
365 throws com.liferay.portal.SystemException {
366 return getPersistence().findByC_D_D(companyId, displayDate, draft);
367 }
368
369 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_D_D(
370 long companyId, java.util.Date displayDate, boolean draft, int start,
371 int end) throws com.liferay.portal.SystemException {
372 return getPersistence()
373 .findByC_D_D(companyId, displayDate, draft, start, end);
374 }
375
376 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_D_D(
377 long companyId, java.util.Date displayDate, boolean draft, int start,
378 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
379 throws com.liferay.portal.SystemException {
380 return getPersistence()
381 .findByC_D_D(companyId, displayDate, draft, start, end, obc);
382 }
383
384 public static com.liferay.portlet.blogs.model.BlogsEntry findByC_D_D_First(
385 long companyId, java.util.Date displayDate, boolean draft,
386 com.liferay.portal.kernel.util.OrderByComparator obc)
387 throws com.liferay.portal.SystemException,
388 com.liferay.portlet.blogs.NoSuchEntryException {
389 return getPersistence()
390 .findByC_D_D_First(companyId, displayDate, draft, obc);
391 }
392
393 public static com.liferay.portlet.blogs.model.BlogsEntry findByC_D_D_Last(
394 long companyId, java.util.Date displayDate, boolean draft,
395 com.liferay.portal.kernel.util.OrderByComparator obc)
396 throws com.liferay.portal.SystemException,
397 com.liferay.portlet.blogs.NoSuchEntryException {
398 return getPersistence()
399 .findByC_D_D_Last(companyId, displayDate, draft, obc);
400 }
401
402 public static com.liferay.portlet.blogs.model.BlogsEntry[] findByC_D_D_PrevAndNext(
403 long entryId, long companyId, java.util.Date displayDate,
404 boolean draft, com.liferay.portal.kernel.util.OrderByComparator obc)
405 throws com.liferay.portal.SystemException,
406 com.liferay.portlet.blogs.NoSuchEntryException {
407 return getPersistence()
408 .findByC_D_D_PrevAndNext(entryId, companyId, displayDate,
409 draft, obc);
410 }
411
412 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_D_D(
413 long groupId, long userId, java.util.Date displayDate, boolean draft)
414 throws com.liferay.portal.SystemException {
415 return getPersistence()
416 .findByG_U_D_D(groupId, userId, displayDate, draft);
417 }
418
419 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_D_D(
420 long groupId, long userId, java.util.Date displayDate, boolean draft,
421 int start, int end) throws com.liferay.portal.SystemException {
422 return getPersistence()
423 .findByG_U_D_D(groupId, userId, displayDate, draft, start,
424 end);
425 }
426
427 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_D_D(
428 long groupId, long userId, java.util.Date displayDate, boolean draft,
429 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
430 throws com.liferay.portal.SystemException {
431 return getPersistence()
432 .findByG_U_D_D(groupId, userId, displayDate, draft, start,
433 end, obc);
434 }
435
436 public static com.liferay.portlet.blogs.model.BlogsEntry findByG_U_D_D_First(
437 long groupId, long userId, java.util.Date displayDate, boolean draft,
438 com.liferay.portal.kernel.util.OrderByComparator obc)
439 throws com.liferay.portal.SystemException,
440 com.liferay.portlet.blogs.NoSuchEntryException {
441 return getPersistence()
442 .findByG_U_D_D_First(groupId, userId, displayDate, draft, obc);
443 }
444
445 public static com.liferay.portlet.blogs.model.BlogsEntry findByG_U_D_D_Last(
446 long groupId, long userId, java.util.Date displayDate, boolean draft,
447 com.liferay.portal.kernel.util.OrderByComparator obc)
448 throws com.liferay.portal.SystemException,
449 com.liferay.portlet.blogs.NoSuchEntryException {
450 return getPersistence()
451 .findByG_U_D_D_Last(groupId, userId, displayDate, draft, obc);
452 }
453
454 public static com.liferay.portlet.blogs.model.BlogsEntry[] findByG_U_D_D_PrevAndNext(
455 long entryId, long groupId, long userId, java.util.Date displayDate,
456 boolean draft, com.liferay.portal.kernel.util.OrderByComparator obc)
457 throws com.liferay.portal.SystemException,
458 com.liferay.portlet.blogs.NoSuchEntryException {
459 return getPersistence()
460 .findByG_U_D_D_PrevAndNext(entryId, groupId, userId,
461 displayDate, draft, obc);
462 }
463
464 public static java.util.List<Object> findWithDynamicQuery(
465 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
466 throws com.liferay.portal.SystemException {
467 return getPersistence().findWithDynamicQuery(dynamicQuery);
468 }
469
470 public static java.util.List<Object> findWithDynamicQuery(
471 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
472 int end) throws com.liferay.portal.SystemException {
473 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
474 }
475
476 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findAll()
477 throws com.liferay.portal.SystemException {
478 return getPersistence().findAll();
479 }
480
481 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findAll(
482 int start, int end) throws com.liferay.portal.SystemException {
483 return getPersistence().findAll(start, end);
484 }
485
486 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findAll(
487 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
488 throws com.liferay.portal.SystemException {
489 return getPersistence().findAll(start, end, obc);
490 }
491
492 public static void removeByUuid(java.lang.String uuid)
493 throws com.liferay.portal.SystemException {
494 getPersistence().removeByUuid(uuid);
495 }
496
497 public static void removeByUUID_G(java.lang.String uuid, long groupId)
498 throws com.liferay.portal.SystemException,
499 com.liferay.portlet.blogs.NoSuchEntryException {
500 getPersistence().removeByUUID_G(uuid, groupId);
501 }
502
503 public static void removeByGroupId(long groupId)
504 throws com.liferay.portal.SystemException {
505 getPersistence().removeByGroupId(groupId);
506 }
507
508 public static void removeByCompanyId(long companyId)
509 throws com.liferay.portal.SystemException {
510 getPersistence().removeByCompanyId(companyId);
511 }
512
513 public static void removeByG_U(long groupId, long userId)
514 throws com.liferay.portal.SystemException {
515 getPersistence().removeByG_U(groupId, userId);
516 }
517
518 public static void removeByG_UT(long groupId, java.lang.String urlTitle)
519 throws com.liferay.portal.SystemException,
520 com.liferay.portlet.blogs.NoSuchEntryException {
521 getPersistence().removeByG_UT(groupId, urlTitle);
522 }
523
524 public static void removeByG_D_D(long groupId, java.util.Date displayDate,
525 boolean draft) throws com.liferay.portal.SystemException {
526 getPersistence().removeByG_D_D(groupId, displayDate, draft);
527 }
528
529 public static void removeByC_D_D(long companyId,
530 java.util.Date displayDate, boolean draft)
531 throws com.liferay.portal.SystemException {
532 getPersistence().removeByC_D_D(companyId, displayDate, draft);
533 }
534
535 public static void removeByG_U_D_D(long groupId, long userId,
536 java.util.Date displayDate, boolean draft)
537 throws com.liferay.portal.SystemException {
538 getPersistence().removeByG_U_D_D(groupId, userId, displayDate, draft);
539 }
540
541 public static void removeAll() throws com.liferay.portal.SystemException {
542 getPersistence().removeAll();
543 }
544
545 public static int countByUuid(java.lang.String uuid)
546 throws com.liferay.portal.SystemException {
547 return getPersistence().countByUuid(uuid);
548 }
549
550 public static int countByUUID_G(java.lang.String uuid, long groupId)
551 throws com.liferay.portal.SystemException {
552 return getPersistence().countByUUID_G(uuid, groupId);
553 }
554
555 public static int countByGroupId(long groupId)
556 throws com.liferay.portal.SystemException {
557 return getPersistence().countByGroupId(groupId);
558 }
559
560 public static int countByCompanyId(long companyId)
561 throws com.liferay.portal.SystemException {
562 return getPersistence().countByCompanyId(companyId);
563 }
564
565 public static int countByG_U(long groupId, long userId)
566 throws com.liferay.portal.SystemException {
567 return getPersistence().countByG_U(groupId, userId);
568 }
569
570 public static int countByG_UT(long groupId, java.lang.String urlTitle)
571 throws com.liferay.portal.SystemException {
572 return getPersistence().countByG_UT(groupId, urlTitle);
573 }
574
575 public static int countByG_D_D(long groupId, java.util.Date displayDate,
576 boolean draft) throws com.liferay.portal.SystemException {
577 return getPersistence().countByG_D_D(groupId, displayDate, draft);
578 }
579
580 public static int countByC_D_D(long companyId, java.util.Date displayDate,
581 boolean draft) throws com.liferay.portal.SystemException {
582 return getPersistence().countByC_D_D(companyId, displayDate, draft);
583 }
584
585 public static int countByG_U_D_D(long groupId, long userId,
586 java.util.Date displayDate, boolean draft)
587 throws com.liferay.portal.SystemException {
588 return getPersistence()
589 .countByG_U_D_D(groupId, userId, displayDate, draft);
590 }
591
592 public static int countAll() throws com.liferay.portal.SystemException {
593 return getPersistence().countAll();
594 }
595
596 public static BlogsEntryPersistence getPersistence() {
597 return _persistence;
598 }
599
600 public void setPersistence(BlogsEntryPersistence persistence) {
601 _persistence = persistence;
602 }
603
604 private static BlogsEntryPersistence _persistence;
605 }