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