1
22
23 package com.liferay.portlet.journal.service.persistence;
24
25
31 public class JournalArticleUtil {
32 public static com.liferay.portlet.journal.model.JournalArticle create(
33 long id) {
34 return getPersistence().create(id);
35 }
36
37 public static com.liferay.portlet.journal.model.JournalArticle remove(
38 long id)
39 throws com.liferay.portal.SystemException,
40 com.liferay.portlet.journal.NoSuchArticleException {
41 return getPersistence().remove(id);
42 }
43
44 public static com.liferay.portlet.journal.model.JournalArticle remove(
45 com.liferay.portlet.journal.model.JournalArticle journalArticle)
46 throws com.liferay.portal.SystemException {
47 return getPersistence().remove(journalArticle);
48 }
49
50
53 public static com.liferay.portlet.journal.model.JournalArticle update(
54 com.liferay.portlet.journal.model.JournalArticle journalArticle)
55 throws com.liferay.portal.SystemException {
56 return getPersistence().update(journalArticle);
57 }
58
59
72 public static com.liferay.portlet.journal.model.JournalArticle update(
73 com.liferay.portlet.journal.model.JournalArticle journalArticle,
74 boolean merge) throws com.liferay.portal.SystemException {
75 return getPersistence().update(journalArticle, merge);
76 }
77
78 public static com.liferay.portlet.journal.model.JournalArticle updateImpl(
79 com.liferay.portlet.journal.model.JournalArticle journalArticle,
80 boolean merge) throws com.liferay.portal.SystemException {
81 return getPersistence().updateImpl(journalArticle, merge);
82 }
83
84 public static com.liferay.portlet.journal.model.JournalArticle findByPrimaryKey(
85 long id)
86 throws com.liferay.portal.SystemException,
87 com.liferay.portlet.journal.NoSuchArticleException {
88 return getPersistence().findByPrimaryKey(id);
89 }
90
91 public static com.liferay.portlet.journal.model.JournalArticle fetchByPrimaryKey(
92 long id) throws com.liferay.portal.SystemException {
93 return getPersistence().fetchByPrimaryKey(id);
94 }
95
96 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> 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.journal.model.JournalArticle> 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.journal.model.JournalArticle> 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.journal.model.JournalArticle 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.journal.NoSuchArticleException {
119 return getPersistence().findByUuid_First(uuid, obc);
120 }
121
122 public static com.liferay.portlet.journal.model.JournalArticle 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.journal.NoSuchArticleException {
127 return getPersistence().findByUuid_Last(uuid, obc);
128 }
129
130 public static com.liferay.portlet.journal.model.JournalArticle[] findByUuid_PrevAndNext(
131 long id, java.lang.String uuid,
132 com.liferay.portal.kernel.util.OrderByComparator obc)
133 throws com.liferay.portal.SystemException,
134 com.liferay.portlet.journal.NoSuchArticleException {
135 return getPersistence().findByUuid_PrevAndNext(id, uuid, obc);
136 }
137
138 public static com.liferay.portlet.journal.model.JournalArticle findByUUID_G(
139 java.lang.String uuid, long groupId)
140 throws com.liferay.portal.SystemException,
141 com.liferay.portlet.journal.NoSuchArticleException {
142 return getPersistence().findByUUID_G(uuid, groupId);
143 }
144
145 public static com.liferay.portlet.journal.model.JournalArticle 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.journal.model.JournalArticle> 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.journal.model.JournalArticle> 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.journal.model.JournalArticle> 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.journal.model.JournalArticle findByGroupId_First(
170 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
171 throws com.liferay.portal.SystemException,
172 com.liferay.portlet.journal.NoSuchArticleException {
173 return getPersistence().findByGroupId_First(groupId, obc);
174 }
175
176 public static com.liferay.portlet.journal.model.JournalArticle findByGroupId_Last(
177 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
178 throws com.liferay.portal.SystemException,
179 com.liferay.portlet.journal.NoSuchArticleException {
180 return getPersistence().findByGroupId_Last(groupId, obc);
181 }
182
183 public static com.liferay.portlet.journal.model.JournalArticle[] findByGroupId_PrevAndNext(
184 long id, long groupId,
185 com.liferay.portal.kernel.util.OrderByComparator obc)
186 throws com.liferay.portal.SystemException,
187 com.liferay.portlet.journal.NoSuchArticleException {
188 return getPersistence().findByGroupId_PrevAndNext(id, groupId, obc);
189 }
190
191 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> 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.journal.model.JournalArticle> 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.journal.model.JournalArticle> 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.journal.model.JournalArticle findByCompanyId_First(
210 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
211 throws com.liferay.portal.SystemException,
212 com.liferay.portlet.journal.NoSuchArticleException {
213 return getPersistence().findByCompanyId_First(companyId, obc);
214 }
215
216 public static com.liferay.portlet.journal.model.JournalArticle findByCompanyId_Last(
217 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
218 throws com.liferay.portal.SystemException,
219 com.liferay.portlet.journal.NoSuchArticleException {
220 return getPersistence().findByCompanyId_Last(companyId, obc);
221 }
222
223 public static com.liferay.portlet.journal.model.JournalArticle[] findByCompanyId_PrevAndNext(
224 long id, long companyId,
225 com.liferay.portal.kernel.util.OrderByComparator obc)
226 throws com.liferay.portal.SystemException,
227 com.liferay.portlet.journal.NoSuchArticleException {
228 return getPersistence().findByCompanyId_PrevAndNext(id, companyId, obc);
229 }
230
231 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
232 long smallImageId) throws com.liferay.portal.SystemException {
233 return getPersistence().findBySmallImageId(smallImageId);
234 }
235
236 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
237 long smallImageId, int start, int end)
238 throws com.liferay.portal.SystemException {
239 return getPersistence().findBySmallImageId(smallImageId, start, end);
240 }
241
242 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
243 long smallImageId, int start, int end,
244 com.liferay.portal.kernel.util.OrderByComparator obc)
245 throws com.liferay.portal.SystemException {
246 return getPersistence().findBySmallImageId(smallImageId, start, end, obc);
247 }
248
249 public static com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_First(
250 long smallImageId, com.liferay.portal.kernel.util.OrderByComparator obc)
251 throws com.liferay.portal.SystemException,
252 com.liferay.portlet.journal.NoSuchArticleException {
253 return getPersistence().findBySmallImageId_First(smallImageId, obc);
254 }
255
256 public static com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_Last(
257 long smallImageId, com.liferay.portal.kernel.util.OrderByComparator obc)
258 throws com.liferay.portal.SystemException,
259 com.liferay.portlet.journal.NoSuchArticleException {
260 return getPersistence().findBySmallImageId_Last(smallImageId, obc);
261 }
262
263 public static com.liferay.portlet.journal.model.JournalArticle[] findBySmallImageId_PrevAndNext(
264 long id, long smallImageId,
265 com.liferay.portal.kernel.util.OrderByComparator obc)
266 throws com.liferay.portal.SystemException,
267 com.liferay.portlet.journal.NoSuchArticleException {
268 return getPersistence()
269 .findBySmallImageId_PrevAndNext(id, smallImageId, obc);
270 }
271
272 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
273 long groupId, java.lang.String articleId)
274 throws com.liferay.portal.SystemException {
275 return getPersistence().findByG_A(groupId, articleId);
276 }
277
278 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
279 long groupId, java.lang.String articleId, int start, int end)
280 throws com.liferay.portal.SystemException {
281 return getPersistence().findByG_A(groupId, articleId, start, end);
282 }
283
284 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
285 long groupId, java.lang.String articleId, int start, int end,
286 com.liferay.portal.kernel.util.OrderByComparator obc)
287 throws com.liferay.portal.SystemException {
288 return getPersistence().findByG_A(groupId, articleId, start, end, obc);
289 }
290
291 public static com.liferay.portlet.journal.model.JournalArticle findByG_A_First(
292 long groupId, java.lang.String articleId,
293 com.liferay.portal.kernel.util.OrderByComparator obc)
294 throws com.liferay.portal.SystemException,
295 com.liferay.portlet.journal.NoSuchArticleException {
296 return getPersistence().findByG_A_First(groupId, articleId, obc);
297 }
298
299 public static com.liferay.portlet.journal.model.JournalArticle findByG_A_Last(
300 long groupId, java.lang.String articleId,
301 com.liferay.portal.kernel.util.OrderByComparator obc)
302 throws com.liferay.portal.SystemException,
303 com.liferay.portlet.journal.NoSuchArticleException {
304 return getPersistence().findByG_A_Last(groupId, articleId, obc);
305 }
306
307 public static com.liferay.portlet.journal.model.JournalArticle[] findByG_A_PrevAndNext(
308 long id, long groupId, java.lang.String articleId,
309 com.liferay.portal.kernel.util.OrderByComparator obc)
310 throws com.liferay.portal.SystemException,
311 com.liferay.portlet.journal.NoSuchArticleException {
312 return getPersistence()
313 .findByG_A_PrevAndNext(id, groupId, articleId, obc);
314 }
315
316 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
317 long groupId, java.lang.String structureId)
318 throws com.liferay.portal.SystemException {
319 return getPersistence().findByG_S(groupId, structureId);
320 }
321
322 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
323 long groupId, java.lang.String structureId, int start, int end)
324 throws com.liferay.portal.SystemException {
325 return getPersistence().findByG_S(groupId, structureId, start, end);
326 }
327
328 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
329 long groupId, java.lang.String structureId, int start, int end,
330 com.liferay.portal.kernel.util.OrderByComparator obc)
331 throws com.liferay.portal.SystemException {
332 return getPersistence().findByG_S(groupId, structureId, start, end, obc);
333 }
334
335 public static com.liferay.portlet.journal.model.JournalArticle findByG_S_First(
336 long groupId, java.lang.String structureId,
337 com.liferay.portal.kernel.util.OrderByComparator obc)
338 throws com.liferay.portal.SystemException,
339 com.liferay.portlet.journal.NoSuchArticleException {
340 return getPersistence().findByG_S_First(groupId, structureId, obc);
341 }
342
343 public static com.liferay.portlet.journal.model.JournalArticle findByG_S_Last(
344 long groupId, java.lang.String structureId,
345 com.liferay.portal.kernel.util.OrderByComparator obc)
346 throws com.liferay.portal.SystemException,
347 com.liferay.portlet.journal.NoSuchArticleException {
348 return getPersistence().findByG_S_Last(groupId, structureId, obc);
349 }
350
351 public static com.liferay.portlet.journal.model.JournalArticle[] findByG_S_PrevAndNext(
352 long id, long groupId, java.lang.String structureId,
353 com.liferay.portal.kernel.util.OrderByComparator obc)
354 throws com.liferay.portal.SystemException,
355 com.liferay.portlet.journal.NoSuchArticleException {
356 return getPersistence()
357 .findByG_S_PrevAndNext(id, groupId, structureId, obc);
358 }
359
360 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
361 long groupId, java.lang.String templateId)
362 throws com.liferay.portal.SystemException {
363 return getPersistence().findByG_T(groupId, templateId);
364 }
365
366 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
367 long groupId, java.lang.String templateId, int start, int end)
368 throws com.liferay.portal.SystemException {
369 return getPersistence().findByG_T(groupId, templateId, start, end);
370 }
371
372 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
373 long groupId, java.lang.String templateId, int start, int end,
374 com.liferay.portal.kernel.util.OrderByComparator obc)
375 throws com.liferay.portal.SystemException {
376 return getPersistence().findByG_T(groupId, templateId, start, end, obc);
377 }
378
379 public static com.liferay.portlet.journal.model.JournalArticle findByG_T_First(
380 long groupId, java.lang.String templateId,
381 com.liferay.portal.kernel.util.OrderByComparator obc)
382 throws com.liferay.portal.SystemException,
383 com.liferay.portlet.journal.NoSuchArticleException {
384 return getPersistence().findByG_T_First(groupId, templateId, obc);
385 }
386
387 public static com.liferay.portlet.journal.model.JournalArticle findByG_T_Last(
388 long groupId, java.lang.String templateId,
389 com.liferay.portal.kernel.util.OrderByComparator obc)
390 throws com.liferay.portal.SystemException,
391 com.liferay.portlet.journal.NoSuchArticleException {
392 return getPersistence().findByG_T_Last(groupId, templateId, obc);
393 }
394
395 public static com.liferay.portlet.journal.model.JournalArticle[] findByG_T_PrevAndNext(
396 long id, long groupId, java.lang.String templateId,
397 com.liferay.portal.kernel.util.OrderByComparator obc)
398 throws com.liferay.portal.SystemException,
399 com.liferay.portlet.journal.NoSuchArticleException {
400 return getPersistence()
401 .findByG_T_PrevAndNext(id, groupId, templateId, obc);
402 }
403
404 public static com.liferay.portlet.journal.model.JournalArticle findByG_A_V(
405 long groupId, java.lang.String articleId, double version)
406 throws com.liferay.portal.SystemException,
407 com.liferay.portlet.journal.NoSuchArticleException {
408 return getPersistence().findByG_A_V(groupId, articleId, version);
409 }
410
411 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V(
412 long groupId, java.lang.String articleId, double version)
413 throws com.liferay.portal.SystemException {
414 return getPersistence().fetchByG_A_V(groupId, articleId, version);
415 }
416
417 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_A(
418 long groupId, java.lang.String articleId, boolean approved)
419 throws com.liferay.portal.SystemException {
420 return getPersistence().findByG_A_A(groupId, articleId, approved);
421 }
422
423 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_A(
424 long groupId, java.lang.String articleId, boolean approved, int start,
425 int end) throws com.liferay.portal.SystemException {
426 return getPersistence()
427 .findByG_A_A(groupId, articleId, approved, start, end);
428 }
429
430 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_A(
431 long groupId, java.lang.String articleId, boolean approved, int start,
432 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
433 throws com.liferay.portal.SystemException {
434 return getPersistence()
435 .findByG_A_A(groupId, articleId, approved, start, end, obc);
436 }
437
438 public static com.liferay.portlet.journal.model.JournalArticle findByG_A_A_First(
439 long groupId, java.lang.String articleId, boolean approved,
440 com.liferay.portal.kernel.util.OrderByComparator obc)
441 throws com.liferay.portal.SystemException,
442 com.liferay.portlet.journal.NoSuchArticleException {
443 return getPersistence()
444 .findByG_A_A_First(groupId, articleId, approved, obc);
445 }
446
447 public static com.liferay.portlet.journal.model.JournalArticle findByG_A_A_Last(
448 long groupId, java.lang.String articleId, boolean approved,
449 com.liferay.portal.kernel.util.OrderByComparator obc)
450 throws com.liferay.portal.SystemException,
451 com.liferay.portlet.journal.NoSuchArticleException {
452 return getPersistence()
453 .findByG_A_A_Last(groupId, articleId, approved, obc);
454 }
455
456 public static com.liferay.portlet.journal.model.JournalArticle[] findByG_A_A_PrevAndNext(
457 long id, long groupId, java.lang.String articleId, boolean approved,
458 com.liferay.portal.kernel.util.OrderByComparator obc)
459 throws com.liferay.portal.SystemException,
460 com.liferay.portlet.journal.NoSuchArticleException {
461 return getPersistence()
462 .findByG_A_A_PrevAndNext(id, groupId, articleId, approved,
463 obc);
464 }
465
466 public static java.util.List<Object> findWithDynamicQuery(
467 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
468 throws com.liferay.portal.SystemException {
469 return getPersistence().findWithDynamicQuery(dynamicQuery);
470 }
471
472 public static java.util.List<Object> findWithDynamicQuery(
473 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
474 int end) throws com.liferay.portal.SystemException {
475 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
476 }
477
478 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll()
479 throws com.liferay.portal.SystemException {
480 return getPersistence().findAll();
481 }
482
483 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll(
484 int start, int end) throws com.liferay.portal.SystemException {
485 return getPersistence().findAll(start, end);
486 }
487
488 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll(
489 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
490 throws com.liferay.portal.SystemException {
491 return getPersistence().findAll(start, end, obc);
492 }
493
494 public static void removeByUuid(java.lang.String uuid)
495 throws com.liferay.portal.SystemException {
496 getPersistence().removeByUuid(uuid);
497 }
498
499 public static void removeByUUID_G(java.lang.String uuid, long groupId)
500 throws com.liferay.portal.SystemException,
501 com.liferay.portlet.journal.NoSuchArticleException {
502 getPersistence().removeByUUID_G(uuid, groupId);
503 }
504
505 public static void removeByGroupId(long groupId)
506 throws com.liferay.portal.SystemException {
507 getPersistence().removeByGroupId(groupId);
508 }
509
510 public static void removeByCompanyId(long companyId)
511 throws com.liferay.portal.SystemException {
512 getPersistence().removeByCompanyId(companyId);
513 }
514
515 public static void removeBySmallImageId(long smallImageId)
516 throws com.liferay.portal.SystemException {
517 getPersistence().removeBySmallImageId(smallImageId);
518 }
519
520 public static void removeByG_A(long groupId, java.lang.String articleId)
521 throws com.liferay.portal.SystemException {
522 getPersistence().removeByG_A(groupId, articleId);
523 }
524
525 public static void removeByG_S(long groupId, java.lang.String structureId)
526 throws com.liferay.portal.SystemException {
527 getPersistence().removeByG_S(groupId, structureId);
528 }
529
530 public static void removeByG_T(long groupId, java.lang.String templateId)
531 throws com.liferay.portal.SystemException {
532 getPersistence().removeByG_T(groupId, templateId);
533 }
534
535 public static void removeByG_A_V(long groupId, java.lang.String articleId,
536 double version)
537 throws com.liferay.portal.SystemException,
538 com.liferay.portlet.journal.NoSuchArticleException {
539 getPersistence().removeByG_A_V(groupId, articleId, version);
540 }
541
542 public static void removeByG_A_A(long groupId, java.lang.String articleId,
543 boolean approved) throws com.liferay.portal.SystemException {
544 getPersistence().removeByG_A_A(groupId, articleId, approved);
545 }
546
547 public static void removeAll() throws com.liferay.portal.SystemException {
548 getPersistence().removeAll();
549 }
550
551 public static int countByUuid(java.lang.String uuid)
552 throws com.liferay.portal.SystemException {
553 return getPersistence().countByUuid(uuid);
554 }
555
556 public static int countByUUID_G(java.lang.String uuid, long groupId)
557 throws com.liferay.portal.SystemException {
558 return getPersistence().countByUUID_G(uuid, groupId);
559 }
560
561 public static int countByGroupId(long groupId)
562 throws com.liferay.portal.SystemException {
563 return getPersistence().countByGroupId(groupId);
564 }
565
566 public static int countByCompanyId(long companyId)
567 throws com.liferay.portal.SystemException {
568 return getPersistence().countByCompanyId(companyId);
569 }
570
571 public static int countBySmallImageId(long smallImageId)
572 throws com.liferay.portal.SystemException {
573 return getPersistence().countBySmallImageId(smallImageId);
574 }
575
576 public static int countByG_A(long groupId, java.lang.String articleId)
577 throws com.liferay.portal.SystemException {
578 return getPersistence().countByG_A(groupId, articleId);
579 }
580
581 public static int countByG_S(long groupId, java.lang.String structureId)
582 throws com.liferay.portal.SystemException {
583 return getPersistence().countByG_S(groupId, structureId);
584 }
585
586 public static int countByG_T(long groupId, java.lang.String templateId)
587 throws com.liferay.portal.SystemException {
588 return getPersistence().countByG_T(groupId, templateId);
589 }
590
591 public static int countByG_A_V(long groupId, java.lang.String articleId,
592 double version) throws com.liferay.portal.SystemException {
593 return getPersistence().countByG_A_V(groupId, articleId, version);
594 }
595
596 public static int countByG_A_A(long groupId, java.lang.String articleId,
597 boolean approved) throws com.liferay.portal.SystemException {
598 return getPersistence().countByG_A_A(groupId, articleId, approved);
599 }
600
601 public static int countAll() throws com.liferay.portal.SystemException {
602 return getPersistence().countAll();
603 }
604
605 public static void registerListener(
606 com.liferay.portal.model.ModelListener listener) {
607 getPersistence().registerListener(listener);
608 }
609
610 public static void unregisterListener(
611 com.liferay.portal.model.ModelListener listener) {
612 getPersistence().unregisterListener(listener);
613 }
614
615 public static JournalArticlePersistence getPersistence() {
616 return _persistence;
617 }
618
619 public void setPersistence(JournalArticlePersistence persistence) {
620 _persistence = persistence;
621 }
622
623 private static JournalArticlePersistence _persistence;
624 }