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