1
14
15 package com.liferay.portlet.journal.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.journal.model.JournalContentSearch;
22
23 import java.util.List;
24
25
38 public class JournalContentSearchUtil {
39
42 public static void clearCache() {
43 getPersistence().clearCache();
44 }
45
46
49 public static void clearCache(JournalContentSearch journalContentSearch) {
50 getPersistence().clearCache(journalContentSearch);
51 }
52
53
56 public long countWithDynamicQuery(DynamicQuery dynamicQuery)
57 throws SystemException {
58 return getPersistence().countWithDynamicQuery(dynamicQuery);
59 }
60
61
64 public static List<JournalContentSearch> findWithDynamicQuery(
65 DynamicQuery dynamicQuery) throws SystemException {
66 return getPersistence().findWithDynamicQuery(dynamicQuery);
67 }
68
69
72 public static List<JournalContentSearch> findWithDynamicQuery(
73 DynamicQuery dynamicQuery, int start, int end)
74 throws SystemException {
75 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
76 }
77
78
81 public static JournalContentSearch remove(
82 JournalContentSearch journalContentSearch) throws SystemException {
83 return getPersistence().remove(journalContentSearch);
84 }
85
86
89 public static JournalContentSearch update(
90 JournalContentSearch journalContentSearch, boolean merge)
91 throws SystemException {
92 return getPersistence().update(journalContentSearch, merge);
93 }
94
95 public static void cacheResult(
96 com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch) {
97 getPersistence().cacheResult(journalContentSearch);
98 }
99
100 public static void cacheResult(
101 java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> journalContentSearchs) {
102 getPersistence().cacheResult(journalContentSearchs);
103 }
104
105 public static com.liferay.portlet.journal.model.JournalContentSearch create(
106 long contentSearchId) {
107 return getPersistence().create(contentSearchId);
108 }
109
110 public static com.liferay.portlet.journal.model.JournalContentSearch remove(
111 long contentSearchId)
112 throws com.liferay.portal.kernel.exception.SystemException,
113 com.liferay.portlet.journal.NoSuchContentSearchException {
114 return getPersistence().remove(contentSearchId);
115 }
116
117 public static com.liferay.portlet.journal.model.JournalContentSearch updateImpl(
118 com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch,
119 boolean merge)
120 throws com.liferay.portal.kernel.exception.SystemException {
121 return getPersistence().updateImpl(journalContentSearch, merge);
122 }
123
124 public static com.liferay.portlet.journal.model.JournalContentSearch findByPrimaryKey(
125 long contentSearchId)
126 throws com.liferay.portal.kernel.exception.SystemException,
127 com.liferay.portlet.journal.NoSuchContentSearchException {
128 return getPersistence().findByPrimaryKey(contentSearchId);
129 }
130
131 public static com.liferay.portlet.journal.model.JournalContentSearch fetchByPrimaryKey(
132 long contentSearchId)
133 throws com.liferay.portal.kernel.exception.SystemException {
134 return getPersistence().fetchByPrimaryKey(contentSearchId);
135 }
136
137 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByArticleId(
138 java.lang.String articleId)
139 throws com.liferay.portal.kernel.exception.SystemException {
140 return getPersistence().findByArticleId(articleId);
141 }
142
143 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByArticleId(
144 java.lang.String articleId, int start, int end)
145 throws com.liferay.portal.kernel.exception.SystemException {
146 return getPersistence().findByArticleId(articleId, start, end);
147 }
148
149 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByArticleId(
150 java.lang.String articleId, int start, int end,
151 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
152 throws com.liferay.portal.kernel.exception.SystemException {
153 return getPersistence()
154 .findByArticleId(articleId, start, end, orderByComparator);
155 }
156
157 public static com.liferay.portlet.journal.model.JournalContentSearch findByArticleId_First(
158 java.lang.String articleId,
159 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
160 throws com.liferay.portal.kernel.exception.SystemException,
161 com.liferay.portlet.journal.NoSuchContentSearchException {
162 return getPersistence()
163 .findByArticleId_First(articleId, orderByComparator);
164 }
165
166 public static com.liferay.portlet.journal.model.JournalContentSearch findByArticleId_Last(
167 java.lang.String articleId,
168 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
169 throws com.liferay.portal.kernel.exception.SystemException,
170 com.liferay.portlet.journal.NoSuchContentSearchException {
171 return getPersistence()
172 .findByArticleId_Last(articleId, orderByComparator);
173 }
174
175 public static com.liferay.portlet.journal.model.JournalContentSearch[] findByArticleId_PrevAndNext(
176 long contentSearchId, java.lang.String articleId,
177 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
178 throws com.liferay.portal.kernel.exception.SystemException,
179 com.liferay.portlet.journal.NoSuchContentSearchException {
180 return getPersistence()
181 .findByArticleId_PrevAndNext(contentSearchId, articleId,
182 orderByComparator);
183 }
184
185 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(
186 long groupId, boolean privateLayout)
187 throws com.liferay.portal.kernel.exception.SystemException {
188 return getPersistence().findByG_P(groupId, privateLayout);
189 }
190
191 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(
192 long groupId, boolean privateLayout, int start, int end)
193 throws com.liferay.portal.kernel.exception.SystemException {
194 return getPersistence().findByG_P(groupId, privateLayout, start, end);
195 }
196
197 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(
198 long groupId, boolean privateLayout, int start, int end,
199 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
200 throws com.liferay.portal.kernel.exception.SystemException {
201 return getPersistence()
202 .findByG_P(groupId, privateLayout, start, end,
203 orderByComparator);
204 }
205
206 public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_First(
207 long groupId, boolean privateLayout,
208 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
209 throws com.liferay.portal.kernel.exception.SystemException,
210 com.liferay.portlet.journal.NoSuchContentSearchException {
211 return getPersistence()
212 .findByG_P_First(groupId, privateLayout, orderByComparator);
213 }
214
215 public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_Last(
216 long groupId, boolean privateLayout,
217 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
218 throws com.liferay.portal.kernel.exception.SystemException,
219 com.liferay.portlet.journal.NoSuchContentSearchException {
220 return getPersistence()
221 .findByG_P_Last(groupId, privateLayout, orderByComparator);
222 }
223
224 public static com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_PrevAndNext(
225 long contentSearchId, long groupId, boolean privateLayout,
226 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
227 throws com.liferay.portal.kernel.exception.SystemException,
228 com.liferay.portlet.journal.NoSuchContentSearchException {
229 return getPersistence()
230 .findByG_P_PrevAndNext(contentSearchId, groupId,
231 privateLayout, orderByComparator);
232 }
233
234 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(
235 long groupId, java.lang.String articleId)
236 throws com.liferay.portal.kernel.exception.SystemException {
237 return getPersistence().findByG_A(groupId, articleId);
238 }
239
240 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(
241 long groupId, java.lang.String articleId, int start, int end)
242 throws com.liferay.portal.kernel.exception.SystemException {
243 return getPersistence().findByG_A(groupId, articleId, start, end);
244 }
245
246 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(
247 long groupId, java.lang.String articleId, int start, int end,
248 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
249 throws com.liferay.portal.kernel.exception.SystemException {
250 return getPersistence()
251 .findByG_A(groupId, articleId, start, end, orderByComparator);
252 }
253
254 public static com.liferay.portlet.journal.model.JournalContentSearch findByG_A_First(
255 long groupId, java.lang.String articleId,
256 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
257 throws com.liferay.portal.kernel.exception.SystemException,
258 com.liferay.portlet.journal.NoSuchContentSearchException {
259 return getPersistence()
260 .findByG_A_First(groupId, articleId, orderByComparator);
261 }
262
263 public static com.liferay.portlet.journal.model.JournalContentSearch findByG_A_Last(
264 long groupId, java.lang.String articleId,
265 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
266 throws com.liferay.portal.kernel.exception.SystemException,
267 com.liferay.portlet.journal.NoSuchContentSearchException {
268 return getPersistence()
269 .findByG_A_Last(groupId, articleId, orderByComparator);
270 }
271
272 public static com.liferay.portlet.journal.model.JournalContentSearch[] findByG_A_PrevAndNext(
273 long contentSearchId, long groupId, java.lang.String articleId,
274 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
275 throws com.liferay.portal.kernel.exception.SystemException,
276 com.liferay.portlet.journal.NoSuchContentSearchException {
277 return getPersistence()
278 .findByG_A_PrevAndNext(contentSearchId, groupId, articleId,
279 orderByComparator);
280 }
281
282 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(
283 long groupId, boolean privateLayout, long layoutId)
284 throws com.liferay.portal.kernel.exception.SystemException {
285 return getPersistence().findByG_P_L(groupId, privateLayout, layoutId);
286 }
287
288 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(
289 long groupId, boolean privateLayout, long layoutId, int start, int end)
290 throws com.liferay.portal.kernel.exception.SystemException {
291 return getPersistence()
292 .findByG_P_L(groupId, privateLayout, layoutId, start, end);
293 }
294
295 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(
296 long groupId, boolean privateLayout, long layoutId, int start, int end,
297 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
298 throws com.liferay.portal.kernel.exception.SystemException {
299 return getPersistence()
300 .findByG_P_L(groupId, privateLayout, layoutId, start, end,
301 orderByComparator);
302 }
303
304 public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_First(
305 long groupId, boolean privateLayout, long layoutId,
306 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
307 throws com.liferay.portal.kernel.exception.SystemException,
308 com.liferay.portlet.journal.NoSuchContentSearchException {
309 return getPersistence()
310 .findByG_P_L_First(groupId, privateLayout, layoutId,
311 orderByComparator);
312 }
313
314 public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_Last(
315 long groupId, boolean privateLayout, long layoutId,
316 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
317 throws com.liferay.portal.kernel.exception.SystemException,
318 com.liferay.portlet.journal.NoSuchContentSearchException {
319 return getPersistence()
320 .findByG_P_L_Last(groupId, privateLayout, layoutId,
321 orderByComparator);
322 }
323
324 public static com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_L_PrevAndNext(
325 long contentSearchId, long groupId, boolean privateLayout,
326 long layoutId,
327 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
328 throws com.liferay.portal.kernel.exception.SystemException,
329 com.liferay.portlet.journal.NoSuchContentSearchException {
330 return getPersistence()
331 .findByG_P_L_PrevAndNext(contentSearchId, groupId,
332 privateLayout, layoutId, orderByComparator);
333 }
334
335 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(
336 long groupId, boolean privateLayout, java.lang.String articleId)
337 throws com.liferay.portal.kernel.exception.SystemException {
338 return getPersistence().findByG_P_A(groupId, privateLayout, articleId);
339 }
340
341 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(
342 long groupId, boolean privateLayout, java.lang.String articleId,
343 int start, int end)
344 throws com.liferay.portal.kernel.exception.SystemException {
345 return getPersistence()
346 .findByG_P_A(groupId, privateLayout, articleId, start, end);
347 }
348
349 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(
350 long groupId, boolean privateLayout, java.lang.String articleId,
351 int start, int end,
352 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
353 throws com.liferay.portal.kernel.exception.SystemException {
354 return getPersistence()
355 .findByG_P_A(groupId, privateLayout, articleId, start, end,
356 orderByComparator);
357 }
358
359 public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_A_First(
360 long groupId, boolean privateLayout, java.lang.String articleId,
361 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
362 throws com.liferay.portal.kernel.exception.SystemException,
363 com.liferay.portlet.journal.NoSuchContentSearchException {
364 return getPersistence()
365 .findByG_P_A_First(groupId, privateLayout, articleId,
366 orderByComparator);
367 }
368
369 public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_A_Last(
370 long groupId, boolean privateLayout, java.lang.String articleId,
371 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
372 throws com.liferay.portal.kernel.exception.SystemException,
373 com.liferay.portlet.journal.NoSuchContentSearchException {
374 return getPersistence()
375 .findByG_P_A_Last(groupId, privateLayout, articleId,
376 orderByComparator);
377 }
378
379 public static com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_A_PrevAndNext(
380 long contentSearchId, long groupId, boolean privateLayout,
381 java.lang.String articleId,
382 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
383 throws com.liferay.portal.kernel.exception.SystemException,
384 com.liferay.portlet.journal.NoSuchContentSearchException {
385 return getPersistence()
386 .findByG_P_A_PrevAndNext(contentSearchId, groupId,
387 privateLayout, articleId, orderByComparator);
388 }
389
390 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(
391 long groupId, boolean privateLayout, long layoutId,
392 java.lang.String portletId)
393 throws com.liferay.portal.kernel.exception.SystemException {
394 return getPersistence()
395 .findByG_P_L_P(groupId, privateLayout, layoutId, portletId);
396 }
397
398 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(
399 long groupId, boolean privateLayout, long layoutId,
400 java.lang.String portletId, int start, int end)
401 throws com.liferay.portal.kernel.exception.SystemException {
402 return getPersistence()
403 .findByG_P_L_P(groupId, privateLayout, layoutId, portletId,
404 start, end);
405 }
406
407 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(
408 long groupId, boolean privateLayout, long layoutId,
409 java.lang.String portletId, int start, int end,
410 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
411 throws com.liferay.portal.kernel.exception.SystemException {
412 return getPersistence()
413 .findByG_P_L_P(groupId, privateLayout, layoutId, portletId,
414 start, end, orderByComparator);
415 }
416
417 public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_First(
418 long groupId, boolean privateLayout, long layoutId,
419 java.lang.String portletId,
420 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
421 throws com.liferay.portal.kernel.exception.SystemException,
422 com.liferay.portlet.journal.NoSuchContentSearchException {
423 return getPersistence()
424 .findByG_P_L_P_First(groupId, privateLayout, layoutId,
425 portletId, orderByComparator);
426 }
427
428 public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_Last(
429 long groupId, boolean privateLayout, long layoutId,
430 java.lang.String portletId,
431 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
432 throws com.liferay.portal.kernel.exception.SystemException,
433 com.liferay.portlet.journal.NoSuchContentSearchException {
434 return getPersistence()
435 .findByG_P_L_P_Last(groupId, privateLayout, layoutId,
436 portletId, orderByComparator);
437 }
438
439 public static com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_L_P_PrevAndNext(
440 long contentSearchId, long groupId, boolean privateLayout,
441 long layoutId, java.lang.String portletId,
442 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
443 throws com.liferay.portal.kernel.exception.SystemException,
444 com.liferay.portlet.journal.NoSuchContentSearchException {
445 return getPersistence()
446 .findByG_P_L_P_PrevAndNext(contentSearchId, groupId,
447 privateLayout, layoutId, portletId, orderByComparator);
448 }
449
450 public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_A(
451 long groupId, boolean privateLayout, long layoutId,
452 java.lang.String portletId, java.lang.String articleId)
453 throws com.liferay.portal.kernel.exception.SystemException,
454 com.liferay.portlet.journal.NoSuchContentSearchException {
455 return getPersistence()
456 .findByG_P_L_P_A(groupId, privateLayout, layoutId,
457 portletId, articleId);
458 }
459
460 public static com.liferay.portlet.journal.model.JournalContentSearch fetchByG_P_L_P_A(
461 long groupId, boolean privateLayout, long layoutId,
462 java.lang.String portletId, java.lang.String articleId)
463 throws com.liferay.portal.kernel.exception.SystemException {
464 return getPersistence()
465 .fetchByG_P_L_P_A(groupId, privateLayout, layoutId,
466 portletId, articleId);
467 }
468
469 public static com.liferay.portlet.journal.model.JournalContentSearch fetchByG_P_L_P_A(
470 long groupId, boolean privateLayout, long layoutId,
471 java.lang.String portletId, java.lang.String articleId,
472 boolean retrieveFromCache)
473 throws com.liferay.portal.kernel.exception.SystemException {
474 return getPersistence()
475 .fetchByG_P_L_P_A(groupId, privateLayout, layoutId,
476 portletId, articleId, retrieveFromCache);
477 }
478
479 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll()
480 throws com.liferay.portal.kernel.exception.SystemException {
481 return getPersistence().findAll();
482 }
483
484 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll(
485 int start, int end)
486 throws com.liferay.portal.kernel.exception.SystemException {
487 return getPersistence().findAll(start, end);
488 }
489
490 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll(
491 int start, int end,
492 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
493 throws com.liferay.portal.kernel.exception.SystemException {
494 return getPersistence().findAll(start, end, orderByComparator);
495 }
496
497 public static void removeByArticleId(java.lang.String articleId)
498 throws com.liferay.portal.kernel.exception.SystemException {
499 getPersistence().removeByArticleId(articleId);
500 }
501
502 public static void removeByG_P(long groupId, boolean privateLayout)
503 throws com.liferay.portal.kernel.exception.SystemException {
504 getPersistence().removeByG_P(groupId, privateLayout);
505 }
506
507 public static void removeByG_A(long groupId, java.lang.String articleId)
508 throws com.liferay.portal.kernel.exception.SystemException {
509 getPersistence().removeByG_A(groupId, articleId);
510 }
511
512 public static void removeByG_P_L(long groupId, boolean privateLayout,
513 long layoutId)
514 throws com.liferay.portal.kernel.exception.SystemException {
515 getPersistence().removeByG_P_L(groupId, privateLayout, layoutId);
516 }
517
518 public static void removeByG_P_A(long groupId, boolean privateLayout,
519 java.lang.String articleId)
520 throws com.liferay.portal.kernel.exception.SystemException {
521 getPersistence().removeByG_P_A(groupId, privateLayout, articleId);
522 }
523
524 public static void removeByG_P_L_P(long groupId, boolean privateLayout,
525 long layoutId, java.lang.String portletId)
526 throws com.liferay.portal.kernel.exception.SystemException {
527 getPersistence()
528 .removeByG_P_L_P(groupId, privateLayout, layoutId, portletId);
529 }
530
531 public static void removeByG_P_L_P_A(long groupId, boolean privateLayout,
532 long layoutId, java.lang.String portletId, java.lang.String articleId)
533 throws com.liferay.portal.kernel.exception.SystemException,
534 com.liferay.portlet.journal.NoSuchContentSearchException {
535 getPersistence()
536 .removeByG_P_L_P_A(groupId, privateLayout, layoutId, portletId,
537 articleId);
538 }
539
540 public static void removeAll()
541 throws com.liferay.portal.kernel.exception.SystemException {
542 getPersistence().removeAll();
543 }
544
545 public static int countByArticleId(java.lang.String articleId)
546 throws com.liferay.portal.kernel.exception.SystemException {
547 return getPersistence().countByArticleId(articleId);
548 }
549
550 public static int countByG_P(long groupId, boolean privateLayout)
551 throws com.liferay.portal.kernel.exception.SystemException {
552 return getPersistence().countByG_P(groupId, privateLayout);
553 }
554
555 public static int countByG_A(long groupId, java.lang.String articleId)
556 throws com.liferay.portal.kernel.exception.SystemException {
557 return getPersistence().countByG_A(groupId, articleId);
558 }
559
560 public static int countByG_P_L(long groupId, boolean privateLayout,
561 long layoutId)
562 throws com.liferay.portal.kernel.exception.SystemException {
563 return getPersistence().countByG_P_L(groupId, privateLayout, layoutId);
564 }
565
566 public static int countByG_P_A(long groupId, boolean privateLayout,
567 java.lang.String articleId)
568 throws com.liferay.portal.kernel.exception.SystemException {
569 return getPersistence().countByG_P_A(groupId, privateLayout, articleId);
570 }
571
572 public static int countByG_P_L_P(long groupId, boolean privateLayout,
573 long layoutId, java.lang.String portletId)
574 throws com.liferay.portal.kernel.exception.SystemException {
575 return getPersistence()
576 .countByG_P_L_P(groupId, privateLayout, layoutId, portletId);
577 }
578
579 public static int countByG_P_L_P_A(long groupId, boolean privateLayout,
580 long layoutId, java.lang.String portletId, java.lang.String articleId)
581 throws com.liferay.portal.kernel.exception.SystemException {
582 return getPersistence()
583 .countByG_P_L_P_A(groupId, privateLayout, layoutId,
584 portletId, articleId);
585 }
586
587 public static int countAll()
588 throws com.liferay.portal.kernel.exception.SystemException {
589 return getPersistence().countAll();
590 }
591
592 public static JournalContentSearchPersistence getPersistence() {
593 if (_persistence == null) {
594 _persistence = (JournalContentSearchPersistence)PortalBeanLocatorUtil.locate(JournalContentSearchPersistence.class.getName());
595 }
596
597 return _persistence;
598 }
599
600 public void setPersistence(JournalContentSearchPersistence persistence) {
601 _persistence = persistence;
602 }
603
604 private static JournalContentSearchPersistence _persistence;
605 }