1
14
15 package com.liferay.portlet.blogs.service.persistence;
16
17 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
18 import com.liferay.portal.kernel.dao.orm.DynamicQuery;
19 import com.liferay.portal.kernel.exception.SystemException;
20
21 import com.liferay.portlet.blogs.model.BlogsEntry;
22
23 import java.util.List;
24
25
38 public class BlogsEntryUtil {
39
42 public static void clearCache() {
43 getPersistence().clearCache();
44 }
45
46
49 public static List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery)
50 throws SystemException {
51 return getPersistence().findWithDynamicQuery(dynamicQuery);
52 }
53
54
57 public static List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery,
58 int start, int end) throws SystemException {
59 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
60 }
61
62
65 public static BlogsEntry remove(BlogsEntry blogsEntry)
66 throws SystemException {
67 return getPersistence().remove(blogsEntry);
68 }
69
70
73 public static BlogsEntry update(BlogsEntry blogsEntry, boolean merge)
74 throws SystemException {
75 return getPersistence().update(blogsEntry, merge);
76 }
77
78 public static void cacheResult(
79 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry) {
80 getPersistence().cacheResult(blogsEntry);
81 }
82
83 public static void cacheResult(
84 java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> blogsEntries) {
85 getPersistence().cacheResult(blogsEntries);
86 }
87
88 public static com.liferay.portlet.blogs.model.BlogsEntry create(
89 long entryId) {
90 return getPersistence().create(entryId);
91 }
92
93 public static com.liferay.portlet.blogs.model.BlogsEntry remove(
94 long entryId)
95 throws com.liferay.portal.kernel.exception.SystemException,
96 com.liferay.portlet.blogs.NoSuchEntryException {
97 return getPersistence().remove(entryId);
98 }
99
100 public static com.liferay.portlet.blogs.model.BlogsEntry updateImpl(
101 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry, boolean merge)
102 throws com.liferay.portal.kernel.exception.SystemException {
103 return getPersistence().updateImpl(blogsEntry, merge);
104 }
105
106 public static com.liferay.portlet.blogs.model.BlogsEntry findByPrimaryKey(
107 long entryId)
108 throws com.liferay.portal.kernel.exception.SystemException,
109 com.liferay.portlet.blogs.NoSuchEntryException {
110 return getPersistence().findByPrimaryKey(entryId);
111 }
112
113 public static com.liferay.portlet.blogs.model.BlogsEntry fetchByPrimaryKey(
114 long entryId)
115 throws com.liferay.portal.kernel.exception.SystemException {
116 return getPersistence().fetchByPrimaryKey(entryId);
117 }
118
119 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByUuid(
120 java.lang.String uuid)
121 throws com.liferay.portal.kernel.exception.SystemException {
122 return getPersistence().findByUuid(uuid);
123 }
124
125 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByUuid(
126 java.lang.String uuid, int start, int end)
127 throws com.liferay.portal.kernel.exception.SystemException {
128 return getPersistence().findByUuid(uuid, start, end);
129 }
130
131 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByUuid(
132 java.lang.String uuid, int start, int end,
133 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
134 throws com.liferay.portal.kernel.exception.SystemException {
135 return getPersistence().findByUuid(uuid, start, end, orderByComparator);
136 }
137
138 public static com.liferay.portlet.blogs.model.BlogsEntry findByUuid_First(
139 java.lang.String uuid,
140 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
141 throws com.liferay.portal.kernel.exception.SystemException,
142 com.liferay.portlet.blogs.NoSuchEntryException {
143 return getPersistence().findByUuid_First(uuid, orderByComparator);
144 }
145
146 public static com.liferay.portlet.blogs.model.BlogsEntry findByUuid_Last(
147 java.lang.String uuid,
148 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
149 throws com.liferay.portal.kernel.exception.SystemException,
150 com.liferay.portlet.blogs.NoSuchEntryException {
151 return getPersistence().findByUuid_Last(uuid, orderByComparator);
152 }
153
154 public static com.liferay.portlet.blogs.model.BlogsEntry[] findByUuid_PrevAndNext(
155 long entryId, java.lang.String uuid,
156 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
157 throws com.liferay.portal.kernel.exception.SystemException,
158 com.liferay.portlet.blogs.NoSuchEntryException {
159 return getPersistence()
160 .findByUuid_PrevAndNext(entryId, uuid, orderByComparator);
161 }
162
163 public static com.liferay.portlet.blogs.model.BlogsEntry findByUUID_G(
164 java.lang.String uuid, long groupId)
165 throws com.liferay.portal.kernel.exception.SystemException,
166 com.liferay.portlet.blogs.NoSuchEntryException {
167 return getPersistence().findByUUID_G(uuid, groupId);
168 }
169
170 public static com.liferay.portlet.blogs.model.BlogsEntry fetchByUUID_G(
171 java.lang.String uuid, long groupId)
172 throws com.liferay.portal.kernel.exception.SystemException {
173 return getPersistence().fetchByUUID_G(uuid, groupId);
174 }
175
176 public static com.liferay.portlet.blogs.model.BlogsEntry fetchByUUID_G(
177 java.lang.String uuid, long groupId, boolean retrieveFromCache)
178 throws com.liferay.portal.kernel.exception.SystemException {
179 return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
180 }
181
182 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByGroupId(
183 long groupId)
184 throws com.liferay.portal.kernel.exception.SystemException {
185 return getPersistence().findByGroupId(groupId);
186 }
187
188 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByGroupId(
189 long groupId, int start, int end)
190 throws com.liferay.portal.kernel.exception.SystemException {
191 return getPersistence().findByGroupId(groupId, start, end);
192 }
193
194 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByGroupId(
195 long groupId, int start, int end,
196 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
197 throws com.liferay.portal.kernel.exception.SystemException {
198 return getPersistence()
199 .findByGroupId(groupId, start, end, orderByComparator);
200 }
201
202 public static com.liferay.portlet.blogs.model.BlogsEntry findByGroupId_First(
203 long groupId,
204 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
205 throws com.liferay.portal.kernel.exception.SystemException,
206 com.liferay.portlet.blogs.NoSuchEntryException {
207 return getPersistence().findByGroupId_First(groupId, orderByComparator);
208 }
209
210 public static com.liferay.portlet.blogs.model.BlogsEntry findByGroupId_Last(
211 long groupId,
212 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
213 throws com.liferay.portal.kernel.exception.SystemException,
214 com.liferay.portlet.blogs.NoSuchEntryException {
215 return getPersistence().findByGroupId_Last(groupId, orderByComparator);
216 }
217
218 public static com.liferay.portlet.blogs.model.BlogsEntry[] findByGroupId_PrevAndNext(
219 long entryId, long groupId,
220 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
221 throws com.liferay.portal.kernel.exception.SystemException,
222 com.liferay.portlet.blogs.NoSuchEntryException {
223 return getPersistence()
224 .findByGroupId_PrevAndNext(entryId, groupId,
225 orderByComparator);
226 }
227
228 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByCompanyId(
229 long companyId)
230 throws com.liferay.portal.kernel.exception.SystemException {
231 return getPersistence().findByCompanyId(companyId);
232 }
233
234 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByCompanyId(
235 long companyId, int start, int end)
236 throws com.liferay.portal.kernel.exception.SystemException {
237 return getPersistence().findByCompanyId(companyId, start, end);
238 }
239
240 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByCompanyId(
241 long companyId, int start, int end,
242 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
243 throws com.liferay.portal.kernel.exception.SystemException {
244 return getPersistence()
245 .findByCompanyId(companyId, start, end, orderByComparator);
246 }
247
248 public static com.liferay.portlet.blogs.model.BlogsEntry findByCompanyId_First(
249 long companyId,
250 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
251 throws com.liferay.portal.kernel.exception.SystemException,
252 com.liferay.portlet.blogs.NoSuchEntryException {
253 return getPersistence()
254 .findByCompanyId_First(companyId, orderByComparator);
255 }
256
257 public static com.liferay.portlet.blogs.model.BlogsEntry findByCompanyId_Last(
258 long companyId,
259 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
260 throws com.liferay.portal.kernel.exception.SystemException,
261 com.liferay.portlet.blogs.NoSuchEntryException {
262 return getPersistence()
263 .findByCompanyId_Last(companyId, orderByComparator);
264 }
265
266 public static com.liferay.portlet.blogs.model.BlogsEntry[] findByCompanyId_PrevAndNext(
267 long entryId, long companyId,
268 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
269 throws com.liferay.portal.kernel.exception.SystemException,
270 com.liferay.portlet.blogs.NoSuchEntryException {
271 return getPersistence()
272 .findByCompanyId_PrevAndNext(entryId, companyId,
273 orderByComparator);
274 }
275
276 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_U(
277 long companyId, long userId)
278 throws com.liferay.portal.kernel.exception.SystemException {
279 return getPersistence().findByC_U(companyId, userId);
280 }
281
282 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_U(
283 long companyId, long userId, int start, int end)
284 throws com.liferay.portal.kernel.exception.SystemException {
285 return getPersistence().findByC_U(companyId, userId, start, end);
286 }
287
288 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_U(
289 long companyId, long userId, int start, int end,
290 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
291 throws com.liferay.portal.kernel.exception.SystemException {
292 return getPersistence()
293 .findByC_U(companyId, userId, start, end, orderByComparator);
294 }
295
296 public static com.liferay.portlet.blogs.model.BlogsEntry findByC_U_First(
297 long companyId, long userId,
298 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
299 throws com.liferay.portal.kernel.exception.SystemException,
300 com.liferay.portlet.blogs.NoSuchEntryException {
301 return getPersistence()
302 .findByC_U_First(companyId, userId, orderByComparator);
303 }
304
305 public static com.liferay.portlet.blogs.model.BlogsEntry findByC_U_Last(
306 long companyId, long userId,
307 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
308 throws com.liferay.portal.kernel.exception.SystemException,
309 com.liferay.portlet.blogs.NoSuchEntryException {
310 return getPersistence()
311 .findByC_U_Last(companyId, userId, orderByComparator);
312 }
313
314 public static com.liferay.portlet.blogs.model.BlogsEntry[] findByC_U_PrevAndNext(
315 long entryId, long companyId, long userId,
316 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
317 throws com.liferay.portal.kernel.exception.SystemException,
318 com.liferay.portlet.blogs.NoSuchEntryException {
319 return getPersistence()
320 .findByC_U_PrevAndNext(entryId, companyId, userId,
321 orderByComparator);
322 }
323
324 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_D(
325 long companyId, java.util.Date displayDate)
326 throws com.liferay.portal.kernel.exception.SystemException {
327 return getPersistence().findByC_D(companyId, displayDate);
328 }
329
330 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_D(
331 long companyId, java.util.Date displayDate, int start, int end)
332 throws com.liferay.portal.kernel.exception.SystemException {
333 return getPersistence().findByC_D(companyId, displayDate, start, end);
334 }
335
336 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_D(
337 long companyId, java.util.Date displayDate, int start, int end,
338 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
339 throws com.liferay.portal.kernel.exception.SystemException {
340 return getPersistence()
341 .findByC_D(companyId, displayDate, start, end,
342 orderByComparator);
343 }
344
345 public static com.liferay.portlet.blogs.model.BlogsEntry findByC_D_First(
346 long companyId, java.util.Date displayDate,
347 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
348 throws com.liferay.portal.kernel.exception.SystemException,
349 com.liferay.portlet.blogs.NoSuchEntryException {
350 return getPersistence()
351 .findByC_D_First(companyId, displayDate, orderByComparator);
352 }
353
354 public static com.liferay.portlet.blogs.model.BlogsEntry findByC_D_Last(
355 long companyId, java.util.Date displayDate,
356 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
357 throws com.liferay.portal.kernel.exception.SystemException,
358 com.liferay.portlet.blogs.NoSuchEntryException {
359 return getPersistence()
360 .findByC_D_Last(companyId, displayDate, orderByComparator);
361 }
362
363 public static com.liferay.portlet.blogs.model.BlogsEntry[] findByC_D_PrevAndNext(
364 long entryId, long companyId, java.util.Date displayDate,
365 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
366 throws com.liferay.portal.kernel.exception.SystemException,
367 com.liferay.portlet.blogs.NoSuchEntryException {
368 return getPersistence()
369 .findByC_D_PrevAndNext(entryId, companyId, displayDate,
370 orderByComparator);
371 }
372
373 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_S(
374 long companyId, int status)
375 throws com.liferay.portal.kernel.exception.SystemException {
376 return getPersistence().findByC_S(companyId, status);
377 }
378
379 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_S(
380 long companyId, int status, int start, int end)
381 throws com.liferay.portal.kernel.exception.SystemException {
382 return getPersistence().findByC_S(companyId, status, start, end);
383 }
384
385 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_S(
386 long companyId, int status, int start, int end,
387 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
388 throws com.liferay.portal.kernel.exception.SystemException {
389 return getPersistence()
390 .findByC_S(companyId, status, start, end, orderByComparator);
391 }
392
393 public static com.liferay.portlet.blogs.model.BlogsEntry findByC_S_First(
394 long companyId, int status,
395 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
396 throws com.liferay.portal.kernel.exception.SystemException,
397 com.liferay.portlet.blogs.NoSuchEntryException {
398 return getPersistence()
399 .findByC_S_First(companyId, status, orderByComparator);
400 }
401
402 public static com.liferay.portlet.blogs.model.BlogsEntry findByC_S_Last(
403 long companyId, int status,
404 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
405 throws com.liferay.portal.kernel.exception.SystemException,
406 com.liferay.portlet.blogs.NoSuchEntryException {
407 return getPersistence()
408 .findByC_S_Last(companyId, status, orderByComparator);
409 }
410
411 public static com.liferay.portlet.blogs.model.BlogsEntry[] findByC_S_PrevAndNext(
412 long entryId, long companyId, int status,
413 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
414 throws com.liferay.portal.kernel.exception.SystemException,
415 com.liferay.portlet.blogs.NoSuchEntryException {
416 return getPersistence()
417 .findByC_S_PrevAndNext(entryId, companyId, status,
418 orderByComparator);
419 }
420
421 public static com.liferay.portlet.blogs.model.BlogsEntry findByG_UT(
422 long groupId, java.lang.String urlTitle)
423 throws com.liferay.portal.kernel.exception.SystemException,
424 com.liferay.portlet.blogs.NoSuchEntryException {
425 return getPersistence().findByG_UT(groupId, urlTitle);
426 }
427
428 public static com.liferay.portlet.blogs.model.BlogsEntry fetchByG_UT(
429 long groupId, java.lang.String urlTitle)
430 throws com.liferay.portal.kernel.exception.SystemException {
431 return getPersistence().fetchByG_UT(groupId, urlTitle);
432 }
433
434 public static com.liferay.portlet.blogs.model.BlogsEntry fetchByG_UT(
435 long groupId, java.lang.String urlTitle, boolean retrieveFromCache)
436 throws com.liferay.portal.kernel.exception.SystemException {
437 return getPersistence().fetchByG_UT(groupId, urlTitle, retrieveFromCache);
438 }
439
440 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_D(
441 long groupId, java.util.Date displayDate)
442 throws com.liferay.portal.kernel.exception.SystemException {
443 return getPersistence().findByG_D(groupId, displayDate);
444 }
445
446 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_D(
447 long groupId, java.util.Date displayDate, int start, int end)
448 throws com.liferay.portal.kernel.exception.SystemException {
449 return getPersistence().findByG_D(groupId, displayDate, start, end);
450 }
451
452 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_D(
453 long groupId, java.util.Date displayDate, int start, int end,
454 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
455 throws com.liferay.portal.kernel.exception.SystemException {
456 return getPersistence()
457 .findByG_D(groupId, displayDate, start, end,
458 orderByComparator);
459 }
460
461 public static com.liferay.portlet.blogs.model.BlogsEntry findByG_D_First(
462 long groupId, java.util.Date displayDate,
463 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
464 throws com.liferay.portal.kernel.exception.SystemException,
465 com.liferay.portlet.blogs.NoSuchEntryException {
466 return getPersistence()
467 .findByG_D_First(groupId, displayDate, orderByComparator);
468 }
469
470 public static com.liferay.portlet.blogs.model.BlogsEntry findByG_D_Last(
471 long groupId, java.util.Date displayDate,
472 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
473 throws com.liferay.portal.kernel.exception.SystemException,
474 com.liferay.portlet.blogs.NoSuchEntryException {
475 return getPersistence()
476 .findByG_D_Last(groupId, displayDate, orderByComparator);
477 }
478
479 public static com.liferay.portlet.blogs.model.BlogsEntry[] findByG_D_PrevAndNext(
480 long entryId, long groupId, java.util.Date displayDate,
481 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
482 throws com.liferay.portal.kernel.exception.SystemException,
483 com.liferay.portlet.blogs.NoSuchEntryException {
484 return getPersistence()
485 .findByG_D_PrevAndNext(entryId, groupId, displayDate,
486 orderByComparator);
487 }
488
489 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_S(
490 long groupId, int status)
491 throws com.liferay.portal.kernel.exception.SystemException {
492 return getPersistence().findByG_S(groupId, status);
493 }
494
495 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_S(
496 long groupId, int status, int start, int end)
497 throws com.liferay.portal.kernel.exception.SystemException {
498 return getPersistence().findByG_S(groupId, status, start, end);
499 }
500
501 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_S(
502 long groupId, int status, int start, int end,
503 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
504 throws com.liferay.portal.kernel.exception.SystemException {
505 return getPersistence()
506 .findByG_S(groupId, status, start, end, orderByComparator);
507 }
508
509 public static com.liferay.portlet.blogs.model.BlogsEntry findByG_S_First(
510 long groupId, int status,
511 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
512 throws com.liferay.portal.kernel.exception.SystemException,
513 com.liferay.portlet.blogs.NoSuchEntryException {
514 return getPersistence()
515 .findByG_S_First(groupId, status, orderByComparator);
516 }
517
518 public static com.liferay.portlet.blogs.model.BlogsEntry findByG_S_Last(
519 long groupId, int status,
520 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
521 throws com.liferay.portal.kernel.exception.SystemException,
522 com.liferay.portlet.blogs.NoSuchEntryException {
523 return getPersistence()
524 .findByG_S_Last(groupId, status, orderByComparator);
525 }
526
527 public static com.liferay.portlet.blogs.model.BlogsEntry[] findByG_S_PrevAndNext(
528 long entryId, long groupId, int status,
529 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
530 throws com.liferay.portal.kernel.exception.SystemException,
531 com.liferay.portlet.blogs.NoSuchEntryException {
532 return getPersistence()
533 .findByG_S_PrevAndNext(entryId, groupId, status,
534 orderByComparator);
535 }
536
537 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_U_S(
538 long companyId, long userId, int status)
539 throws com.liferay.portal.kernel.exception.SystemException {
540 return getPersistence().findByC_U_S(companyId, userId, status);
541 }
542
543 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_U_S(
544 long companyId, long userId, int status, int start, int end)
545 throws com.liferay.portal.kernel.exception.SystemException {
546 return getPersistence()
547 .findByC_U_S(companyId, userId, status, start, end);
548 }
549
550 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_U_S(
551 long companyId, long userId, int status, int start, int end,
552 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
553 throws com.liferay.portal.kernel.exception.SystemException {
554 return getPersistence()
555 .findByC_U_S(companyId, userId, status, start, end,
556 orderByComparator);
557 }
558
559 public static com.liferay.portlet.blogs.model.BlogsEntry findByC_U_S_First(
560 long companyId, long userId, int status,
561 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
562 throws com.liferay.portal.kernel.exception.SystemException,
563 com.liferay.portlet.blogs.NoSuchEntryException {
564 return getPersistence()
565 .findByC_U_S_First(companyId, userId, status,
566 orderByComparator);
567 }
568
569 public static com.liferay.portlet.blogs.model.BlogsEntry findByC_U_S_Last(
570 long companyId, long userId, int status,
571 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
572 throws com.liferay.portal.kernel.exception.SystemException,
573 com.liferay.portlet.blogs.NoSuchEntryException {
574 return getPersistence()
575 .findByC_U_S_Last(companyId, userId, status,
576 orderByComparator);
577 }
578
579 public static com.liferay.portlet.blogs.model.BlogsEntry[] findByC_U_S_PrevAndNext(
580 long entryId, long companyId, long userId, int status,
581 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
582 throws com.liferay.portal.kernel.exception.SystemException,
583 com.liferay.portlet.blogs.NoSuchEntryException {
584 return getPersistence()
585 .findByC_U_S_PrevAndNext(entryId, companyId, userId, status,
586 orderByComparator);
587 }
588
589 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_D_S(
590 long companyId, java.util.Date displayDate, int status)
591 throws com.liferay.portal.kernel.exception.SystemException {
592 return getPersistence().findByC_D_S(companyId, displayDate, status);
593 }
594
595 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_D_S(
596 long companyId, java.util.Date displayDate, int status, int start,
597 int end) throws com.liferay.portal.kernel.exception.SystemException {
598 return getPersistence()
599 .findByC_D_S(companyId, displayDate, status, start, end);
600 }
601
602 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_D_S(
603 long companyId, java.util.Date displayDate, int status, int start,
604 int end,
605 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
606 throws com.liferay.portal.kernel.exception.SystemException {
607 return getPersistence()
608 .findByC_D_S(companyId, displayDate, status, start, end,
609 orderByComparator);
610 }
611
612 public static com.liferay.portlet.blogs.model.BlogsEntry findByC_D_S_First(
613 long companyId, java.util.Date displayDate, int status,
614 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
615 throws com.liferay.portal.kernel.exception.SystemException,
616 com.liferay.portlet.blogs.NoSuchEntryException {
617 return getPersistence()
618 .findByC_D_S_First(companyId, displayDate, status,
619 orderByComparator);
620 }
621
622 public static com.liferay.portlet.blogs.model.BlogsEntry findByC_D_S_Last(
623 long companyId, java.util.Date displayDate, int status,
624 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
625 throws com.liferay.portal.kernel.exception.SystemException,
626 com.liferay.portlet.blogs.NoSuchEntryException {
627 return getPersistence()
628 .findByC_D_S_Last(companyId, displayDate, status,
629 orderByComparator);
630 }
631
632 public static com.liferay.portlet.blogs.model.BlogsEntry[] findByC_D_S_PrevAndNext(
633 long entryId, long companyId, java.util.Date displayDate, int status,
634 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
635 throws com.liferay.portal.kernel.exception.SystemException,
636 com.liferay.portlet.blogs.NoSuchEntryException {
637 return getPersistence()
638 .findByC_D_S_PrevAndNext(entryId, companyId, displayDate,
639 status, orderByComparator);
640 }
641
642 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_D(
643 long groupId, long userId, java.util.Date displayDate)
644 throws com.liferay.portal.kernel.exception.SystemException {
645 return getPersistence().findByG_U_D(groupId, userId, displayDate);
646 }
647
648 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_D(
649 long groupId, long userId, java.util.Date displayDate, int start,
650 int end) throws com.liferay.portal.kernel.exception.SystemException {
651 return getPersistence()
652 .findByG_U_D(groupId, userId, displayDate, start, end);
653 }
654
655 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_D(
656 long groupId, long userId, java.util.Date displayDate, int start,
657 int end,
658 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
659 throws com.liferay.portal.kernel.exception.SystemException {
660 return getPersistence()
661 .findByG_U_D(groupId, userId, displayDate, start, end,
662 orderByComparator);
663 }
664
665 public static com.liferay.portlet.blogs.model.BlogsEntry findByG_U_D_First(
666 long groupId, long userId, java.util.Date displayDate,
667 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
668 throws com.liferay.portal.kernel.exception.SystemException,
669 com.liferay.portlet.blogs.NoSuchEntryException {
670 return getPersistence()
671 .findByG_U_D_First(groupId, userId, displayDate,
672 orderByComparator);
673 }
674
675 public static com.liferay.portlet.blogs.model.BlogsEntry findByG_U_D_Last(
676 long groupId, long userId, java.util.Date displayDate,
677 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
678 throws com.liferay.portal.kernel.exception.SystemException,
679 com.liferay.portlet.blogs.NoSuchEntryException {
680 return getPersistence()
681 .findByG_U_D_Last(groupId, userId, displayDate,
682 orderByComparator);
683 }
684
685 public static com.liferay.portlet.blogs.model.BlogsEntry[] findByG_U_D_PrevAndNext(
686 long entryId, long groupId, long userId, java.util.Date displayDate,
687 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
688 throws com.liferay.portal.kernel.exception.SystemException,
689 com.liferay.portlet.blogs.NoSuchEntryException {
690 return getPersistence()
691 .findByG_U_D_PrevAndNext(entryId, groupId, userId,
692 displayDate, orderByComparator);
693 }
694
695 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_S(
696 long groupId, long userId, int status)
697 throws com.liferay.portal.kernel.exception.SystemException {
698 return getPersistence().findByG_U_S(groupId, userId, status);
699 }
700
701 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_S(
702 long groupId, long userId, int status, int start, int end)
703 throws com.liferay.portal.kernel.exception.SystemException {
704 return getPersistence().findByG_U_S(groupId, userId, status, start, end);
705 }
706
707 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_S(
708 long groupId, long userId, int status, int start, int end,
709 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
710 throws com.liferay.portal.kernel.exception.SystemException {
711 return getPersistence()
712 .findByG_U_S(groupId, userId, status, start, end,
713 orderByComparator);
714 }
715
716 public static com.liferay.portlet.blogs.model.BlogsEntry findByG_U_S_First(
717 long groupId, long userId, int status,
718 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
719 throws com.liferay.portal.kernel.exception.SystemException,
720 com.liferay.portlet.blogs.NoSuchEntryException {
721 return getPersistence()
722 .findByG_U_S_First(groupId, userId, status, orderByComparator);
723 }
724
725 public static com.liferay.portlet.blogs.model.BlogsEntry findByG_U_S_Last(
726 long groupId, long userId, int status,
727 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
728 throws com.liferay.portal.kernel.exception.SystemException,
729 com.liferay.portlet.blogs.NoSuchEntryException {
730 return getPersistence()
731 .findByG_U_S_Last(groupId, userId, status, orderByComparator);
732 }
733
734 public static com.liferay.portlet.blogs.model.BlogsEntry[] findByG_U_S_PrevAndNext(
735 long entryId, long groupId, long userId, int status,
736 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
737 throws com.liferay.portal.kernel.exception.SystemException,
738 com.liferay.portlet.blogs.NoSuchEntryException {
739 return getPersistence()
740 .findByG_U_S_PrevAndNext(entryId, groupId, userId, status,
741 orderByComparator);
742 }
743
744 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_D_S(
745 long groupId, java.util.Date displayDate, int status)
746 throws com.liferay.portal.kernel.exception.SystemException {
747 return getPersistence().findByG_D_S(groupId, displayDate, status);
748 }
749
750 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_D_S(
751 long groupId, java.util.Date displayDate, int status, int start, int end)
752 throws com.liferay.portal.kernel.exception.SystemException {
753 return getPersistence()
754 .findByG_D_S(groupId, displayDate, status, start, end);
755 }
756
757 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_D_S(
758 long groupId, java.util.Date displayDate, int status, int start,
759 int end,
760 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
761 throws com.liferay.portal.kernel.exception.SystemException {
762 return getPersistence()
763 .findByG_D_S(groupId, displayDate, status, start, end,
764 orderByComparator);
765 }
766
767 public static com.liferay.portlet.blogs.model.BlogsEntry findByG_D_S_First(
768 long groupId, java.util.Date displayDate, int status,
769 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
770 throws com.liferay.portal.kernel.exception.SystemException,
771 com.liferay.portlet.blogs.NoSuchEntryException {
772 return getPersistence()
773 .findByG_D_S_First(groupId, displayDate, status,
774 orderByComparator);
775 }
776
777 public static com.liferay.portlet.blogs.model.BlogsEntry findByG_D_S_Last(
778 long groupId, java.util.Date displayDate, int status,
779 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
780 throws com.liferay.portal.kernel.exception.SystemException,
781 com.liferay.portlet.blogs.NoSuchEntryException {
782 return getPersistence()
783 .findByG_D_S_Last(groupId, displayDate, status,
784 orderByComparator);
785 }
786
787 public static com.liferay.portlet.blogs.model.BlogsEntry[] findByG_D_S_PrevAndNext(
788 long entryId, long groupId, java.util.Date displayDate, int status,
789 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
790 throws com.liferay.portal.kernel.exception.SystemException,
791 com.liferay.portlet.blogs.NoSuchEntryException {
792 return getPersistence()
793 .findByG_D_S_PrevAndNext(entryId, groupId, displayDate,
794 status, orderByComparator);
795 }
796
797 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_D_S(
798 long groupId, long userId, java.util.Date displayDate, int status)
799 throws com.liferay.portal.kernel.exception.SystemException {
800 return getPersistence()
801 .findByG_U_D_S(groupId, userId, displayDate, status);
802 }
803
804 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_D_S(
805 long groupId, long userId, java.util.Date displayDate, int status,
806 int start, int end)
807 throws com.liferay.portal.kernel.exception.SystemException {
808 return getPersistence()
809 .findByG_U_D_S(groupId, userId, displayDate, status, start,
810 end);
811 }
812
813 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_D_S(
814 long groupId, long userId, java.util.Date displayDate, int status,
815 int start, int end,
816 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
817 throws com.liferay.portal.kernel.exception.SystemException {
818 return getPersistence()
819 .findByG_U_D_S(groupId, userId, displayDate, status, start,
820 end, orderByComparator);
821 }
822
823 public static com.liferay.portlet.blogs.model.BlogsEntry findByG_U_D_S_First(
824 long groupId, long userId, java.util.Date displayDate, int status,
825 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
826 throws com.liferay.portal.kernel.exception.SystemException,
827 com.liferay.portlet.blogs.NoSuchEntryException {
828 return getPersistence()
829 .findByG_U_D_S_First(groupId, userId, displayDate, status,
830 orderByComparator);
831 }
832
833 public static com.liferay.portlet.blogs.model.BlogsEntry findByG_U_D_S_Last(
834 long groupId, long userId, java.util.Date displayDate, int status,
835 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
836 throws com.liferay.portal.kernel.exception.SystemException,
837 com.liferay.portlet.blogs.NoSuchEntryException {
838 return getPersistence()
839 .findByG_U_D_S_Last(groupId, userId, displayDate, status,
840 orderByComparator);
841 }
842
843 public static com.liferay.portlet.blogs.model.BlogsEntry[] findByG_U_D_S_PrevAndNext(
844 long entryId, long groupId, long userId, java.util.Date displayDate,
845 int status,
846 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
847 throws com.liferay.portal.kernel.exception.SystemException,
848 com.liferay.portlet.blogs.NoSuchEntryException {
849 return getPersistence()
850 .findByG_U_D_S_PrevAndNext(entryId, groupId, userId,
851 displayDate, status, orderByComparator);
852 }
853
854 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findAll()
855 throws com.liferay.portal.kernel.exception.SystemException {
856 return getPersistence().findAll();
857 }
858
859 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findAll(
860 int start, int end)
861 throws com.liferay.portal.kernel.exception.SystemException {
862 return getPersistence().findAll(start, end);
863 }
864
865 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findAll(
866 int start, int end,
867 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
868 throws com.liferay.portal.kernel.exception.SystemException {
869 return getPersistence().findAll(start, end, orderByComparator);
870 }
871
872 public static void removeByUuid(java.lang.String uuid)
873 throws com.liferay.portal.kernel.exception.SystemException {
874 getPersistence().removeByUuid(uuid);
875 }
876
877 public static void removeByUUID_G(java.lang.String uuid, long groupId)
878 throws com.liferay.portal.kernel.exception.SystemException,
879 com.liferay.portlet.blogs.NoSuchEntryException {
880 getPersistence().removeByUUID_G(uuid, groupId);
881 }
882
883 public static void removeByGroupId(long groupId)
884 throws com.liferay.portal.kernel.exception.SystemException {
885 getPersistence().removeByGroupId(groupId);
886 }
887
888 public static void removeByCompanyId(long companyId)
889 throws com.liferay.portal.kernel.exception.SystemException {
890 getPersistence().removeByCompanyId(companyId);
891 }
892
893 public static void removeByC_U(long companyId, long userId)
894 throws com.liferay.portal.kernel.exception.SystemException {
895 getPersistence().removeByC_U(companyId, userId);
896 }
897
898 public static void removeByC_D(long companyId, java.util.Date displayDate)
899 throws com.liferay.portal.kernel.exception.SystemException {
900 getPersistence().removeByC_D(companyId, displayDate);
901 }
902
903 public static void removeByC_S(long companyId, int status)
904 throws com.liferay.portal.kernel.exception.SystemException {
905 getPersistence().removeByC_S(companyId, status);
906 }
907
908 public static void removeByG_UT(long groupId, java.lang.String urlTitle)
909 throws com.liferay.portal.kernel.exception.SystemException,
910 com.liferay.portlet.blogs.NoSuchEntryException {
911 getPersistence().removeByG_UT(groupId, urlTitle);
912 }
913
914 public static void removeByG_D(long groupId, java.util.Date displayDate)
915 throws com.liferay.portal.kernel.exception.SystemException {
916 getPersistence().removeByG_D(groupId, displayDate);
917 }
918
919 public static void removeByG_S(long groupId, int status)
920 throws com.liferay.portal.kernel.exception.SystemException {
921 getPersistence().removeByG_S(groupId, status);
922 }
923
924 public static void removeByC_U_S(long companyId, long userId, int status)
925 throws com.liferay.portal.kernel.exception.SystemException {
926 getPersistence().removeByC_U_S(companyId, userId, status);
927 }
928
929 public static void removeByC_D_S(long companyId,
930 java.util.Date displayDate, int status)
931 throws com.liferay.portal.kernel.exception.SystemException {
932 getPersistence().removeByC_D_S(companyId, displayDate, status);
933 }
934
935 public static void removeByG_U_D(long groupId, long userId,
936 java.util.Date displayDate)
937 throws com.liferay.portal.kernel.exception.SystemException {
938 getPersistence().removeByG_U_D(groupId, userId, displayDate);
939 }
940
941 public static void removeByG_U_S(long groupId, long userId, int status)
942 throws com.liferay.portal.kernel.exception.SystemException {
943 getPersistence().removeByG_U_S(groupId, userId, status);
944 }
945
946 public static void removeByG_D_S(long groupId, java.util.Date displayDate,
947 int status) throws com.liferay.portal.kernel.exception.SystemException {
948 getPersistence().removeByG_D_S(groupId, displayDate, status);
949 }
950
951 public static void removeByG_U_D_S(long groupId, long userId,
952 java.util.Date displayDate, int status)
953 throws com.liferay.portal.kernel.exception.SystemException {
954 getPersistence().removeByG_U_D_S(groupId, userId, displayDate, status);
955 }
956
957 public static void removeAll()
958 throws com.liferay.portal.kernel.exception.SystemException {
959 getPersistence().removeAll();
960 }
961
962 public static int countByUuid(java.lang.String uuid)
963 throws com.liferay.portal.kernel.exception.SystemException {
964 return getPersistence().countByUuid(uuid);
965 }
966
967 public static int countByUUID_G(java.lang.String uuid, long groupId)
968 throws com.liferay.portal.kernel.exception.SystemException {
969 return getPersistence().countByUUID_G(uuid, groupId);
970 }
971
972 public static int countByGroupId(long groupId)
973 throws com.liferay.portal.kernel.exception.SystemException {
974 return getPersistence().countByGroupId(groupId);
975 }
976
977 public static int countByCompanyId(long companyId)
978 throws com.liferay.portal.kernel.exception.SystemException {
979 return getPersistence().countByCompanyId(companyId);
980 }
981
982 public static int countByC_U(long companyId, long userId)
983 throws com.liferay.portal.kernel.exception.SystemException {
984 return getPersistence().countByC_U(companyId, userId);
985 }
986
987 public static int countByC_D(long companyId, java.util.Date displayDate)
988 throws com.liferay.portal.kernel.exception.SystemException {
989 return getPersistence().countByC_D(companyId, displayDate);
990 }
991
992 public static int countByC_S(long companyId, int status)
993 throws com.liferay.portal.kernel.exception.SystemException {
994 return getPersistence().countByC_S(companyId, status);
995 }
996
997 public static int countByG_UT(long groupId, java.lang.String urlTitle)
998 throws com.liferay.portal.kernel.exception.SystemException {
999 return getPersistence().countByG_UT(groupId, urlTitle);
1000 }
1001
1002 public static int countByG_D(long groupId, java.util.Date displayDate)
1003 throws com.liferay.portal.kernel.exception.SystemException {
1004 return getPersistence().countByG_D(groupId, displayDate);
1005 }
1006
1007 public static int countByG_S(long groupId, int status)
1008 throws com.liferay.portal.kernel.exception.SystemException {
1009 return getPersistence().countByG_S(groupId, status);
1010 }
1011
1012 public static int countByC_U_S(long companyId, long userId, int status)
1013 throws com.liferay.portal.kernel.exception.SystemException {
1014 return getPersistence().countByC_U_S(companyId, userId, status);
1015 }
1016
1017 public static int countByC_D_S(long companyId, java.util.Date displayDate,
1018 int status) throws com.liferay.portal.kernel.exception.SystemException {
1019 return getPersistence().countByC_D_S(companyId, displayDate, status);
1020 }
1021
1022 public static int countByG_U_D(long groupId, long userId,
1023 java.util.Date displayDate)
1024 throws com.liferay.portal.kernel.exception.SystemException {
1025 return getPersistence().countByG_U_D(groupId, userId, displayDate);
1026 }
1027
1028 public static int countByG_U_S(long groupId, long userId, int status)
1029 throws com.liferay.portal.kernel.exception.SystemException {
1030 return getPersistence().countByG_U_S(groupId, userId, status);
1031 }
1032
1033 public static int countByG_D_S(long groupId, java.util.Date displayDate,
1034 int status) throws com.liferay.portal.kernel.exception.SystemException {
1035 return getPersistence().countByG_D_S(groupId, displayDate, status);
1036 }
1037
1038 public static int countByG_U_D_S(long groupId, long userId,
1039 java.util.Date displayDate, int status)
1040 throws com.liferay.portal.kernel.exception.SystemException {
1041 return getPersistence()
1042 .countByG_U_D_S(groupId, userId, displayDate, status);
1043 }
1044
1045 public static int countAll()
1046 throws com.liferay.portal.kernel.exception.SystemException {
1047 return getPersistence().countAll();
1048 }
1049
1050 public static BlogsEntryPersistence getPersistence() {
1051 if (_persistence == null) {
1052 _persistence = (BlogsEntryPersistence)PortalBeanLocatorUtil.locate(BlogsEntryPersistence.class.getName());
1053 }
1054
1055 return _persistence;
1056 }
1057
1058 public void setPersistence(BlogsEntryPersistence persistence) {
1059 _persistence = persistence;
1060 }
1061
1062 private static BlogsEntryPersistence _persistence;
1063}