1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
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.JournalArticle;
22  
23  import java.util.List;
24  
25  /**
26   * <a href="JournalArticleUtil.java.html"><b><i>View Source</i></b></a>
27   *
28   * <p>
29   * ServiceBuilder generated this class. Modifications in this class will be
30   * overwritten the next time is generated.
31   * </p>
32   *
33   * @author    Brian Wing Shun Chan
34   * @see       JournalArticlePersistence
35   * @see       JournalArticlePersistenceImpl
36   * @generated
37   */
38  public class JournalArticleUtil {
39      /**
40       * @see com.liferay.portal.service.persistence.BasePersistence#clearCache()
41       */
42      public static void clearCache() {
43          getPersistence().clearCache();
44      }
45  
46      /**
47       * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(JournalArticle)
48       */
49      public static void clearCache(JournalArticle journalArticle) {
50          getPersistence().clearCache(journalArticle);
51      }
52  
53      /**
54       * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery)
55       */
56      public long countWithDynamicQuery(DynamicQuery dynamicQuery)
57          throws SystemException {
58          return getPersistence().countWithDynamicQuery(dynamicQuery);
59      }
60  
61      /**
62       * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery)
63       */
64      public static List<JournalArticle> findWithDynamicQuery(
65          DynamicQuery dynamicQuery) throws SystemException {
66          return getPersistence().findWithDynamicQuery(dynamicQuery);
67      }
68  
69      /**
70       * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int)
71       */
72      public static List<JournalArticle> findWithDynamicQuery(
73          DynamicQuery dynamicQuery, int start, int end)
74          throws SystemException {
75          return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
76      }
77  
78      /**
79       * @see com.liferay.portal.service.persistence.BasePersistence#remove(com.liferay.portal.model.BaseModel)
80       */
81      public static JournalArticle remove(JournalArticle journalArticle)
82          throws SystemException {
83          return getPersistence().remove(journalArticle);
84      }
85  
86      /**
87       * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean)
88       */
89      public static JournalArticle update(JournalArticle journalArticle,
90          boolean merge) throws SystemException {
91          return getPersistence().update(journalArticle, merge);
92      }
93  
94      public static void cacheResult(
95          com.liferay.portlet.journal.model.JournalArticle journalArticle) {
96          getPersistence().cacheResult(journalArticle);
97      }
98  
99      public static void cacheResult(
100         java.util.List<com.liferay.portlet.journal.model.JournalArticle> journalArticles) {
101         getPersistence().cacheResult(journalArticles);
102     }
103 
104     public static com.liferay.portlet.journal.model.JournalArticle create(
105         long id) {
106         return getPersistence().create(id);
107     }
108 
109     public static com.liferay.portlet.journal.model.JournalArticle remove(
110         long id)
111         throws com.liferay.portal.kernel.exception.SystemException,
112             com.liferay.portlet.journal.NoSuchArticleException {
113         return getPersistence().remove(id);
114     }
115 
116     public static com.liferay.portlet.journal.model.JournalArticle updateImpl(
117         com.liferay.portlet.journal.model.JournalArticle journalArticle,
118         boolean merge)
119         throws com.liferay.portal.kernel.exception.SystemException {
120         return getPersistence().updateImpl(journalArticle, merge);
121     }
122 
123     public static com.liferay.portlet.journal.model.JournalArticle findByPrimaryKey(
124         long id)
125         throws com.liferay.portal.kernel.exception.SystemException,
126             com.liferay.portlet.journal.NoSuchArticleException {
127         return getPersistence().findByPrimaryKey(id);
128     }
129 
130     public static com.liferay.portlet.journal.model.JournalArticle fetchByPrimaryKey(
131         long id) throws com.liferay.portal.kernel.exception.SystemException {
132         return getPersistence().fetchByPrimaryKey(id);
133     }
134 
135     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid(
136         java.lang.String uuid)
137         throws com.liferay.portal.kernel.exception.SystemException {
138         return getPersistence().findByUuid(uuid);
139     }
140 
141     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid(
142         java.lang.String uuid, int start, int end)
143         throws com.liferay.portal.kernel.exception.SystemException {
144         return getPersistence().findByUuid(uuid, start, end);
145     }
146 
147     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid(
148         java.lang.String uuid, int start, int end,
149         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
150         throws com.liferay.portal.kernel.exception.SystemException {
151         return getPersistence().findByUuid(uuid, start, end, orderByComparator);
152     }
153 
154     public static com.liferay.portlet.journal.model.JournalArticle findByUuid_First(
155         java.lang.String uuid,
156         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
157         throws com.liferay.portal.kernel.exception.SystemException,
158             com.liferay.portlet.journal.NoSuchArticleException {
159         return getPersistence().findByUuid_First(uuid, orderByComparator);
160     }
161 
162     public static com.liferay.portlet.journal.model.JournalArticle findByUuid_Last(
163         java.lang.String uuid,
164         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
165         throws com.liferay.portal.kernel.exception.SystemException,
166             com.liferay.portlet.journal.NoSuchArticleException {
167         return getPersistence().findByUuid_Last(uuid, orderByComparator);
168     }
169 
170     public static com.liferay.portlet.journal.model.JournalArticle[] findByUuid_PrevAndNext(
171         long id, java.lang.String uuid,
172         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
173         throws com.liferay.portal.kernel.exception.SystemException,
174             com.liferay.portlet.journal.NoSuchArticleException {
175         return getPersistence()
176                    .findByUuid_PrevAndNext(id, uuid, orderByComparator);
177     }
178 
179     public static com.liferay.portlet.journal.model.JournalArticle findByUUID_G(
180         java.lang.String uuid, long groupId)
181         throws com.liferay.portal.kernel.exception.SystemException,
182             com.liferay.portlet.journal.NoSuchArticleException {
183         return getPersistence().findByUUID_G(uuid, groupId);
184     }
185 
186     public static com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G(
187         java.lang.String uuid, long groupId)
188         throws com.liferay.portal.kernel.exception.SystemException {
189         return getPersistence().fetchByUUID_G(uuid, groupId);
190     }
191 
192     public static com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G(
193         java.lang.String uuid, long groupId, boolean retrieveFromCache)
194         throws com.liferay.portal.kernel.exception.SystemException {
195         return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
196     }
197 
198     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId(
199         long groupId)
200         throws com.liferay.portal.kernel.exception.SystemException {
201         return getPersistence().findByGroupId(groupId);
202     }
203 
204     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId(
205         long groupId, int start, int end)
206         throws com.liferay.portal.kernel.exception.SystemException {
207         return getPersistence().findByGroupId(groupId, start, end);
208     }
209 
210     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId(
211         long groupId, int start, int end,
212         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
213         throws com.liferay.portal.kernel.exception.SystemException {
214         return getPersistence()
215                    .findByGroupId(groupId, start, end, orderByComparator);
216     }
217 
218     public static com.liferay.portlet.journal.model.JournalArticle findByGroupId_First(
219         long groupId,
220         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
221         throws com.liferay.portal.kernel.exception.SystemException,
222             com.liferay.portlet.journal.NoSuchArticleException {
223         return getPersistence().findByGroupId_First(groupId, orderByComparator);
224     }
225 
226     public static com.liferay.portlet.journal.model.JournalArticle findByGroupId_Last(
227         long groupId,
228         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
229         throws com.liferay.portal.kernel.exception.SystemException,
230             com.liferay.portlet.journal.NoSuchArticleException {
231         return getPersistence().findByGroupId_Last(groupId, orderByComparator);
232     }
233 
234     public static com.liferay.portlet.journal.model.JournalArticle[] findByGroupId_PrevAndNext(
235         long id, long groupId,
236         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
237         throws com.liferay.portal.kernel.exception.SystemException,
238             com.liferay.portlet.journal.NoSuchArticleException {
239         return getPersistence()
240                    .findByGroupId_PrevAndNext(id, groupId, orderByComparator);
241     }
242 
243     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId(
244         long groupId)
245         throws com.liferay.portal.kernel.exception.SystemException {
246         return getPersistence().filterFindByGroupId(groupId);
247     }
248 
249     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId(
250         long groupId, int start, int end)
251         throws com.liferay.portal.kernel.exception.SystemException {
252         return getPersistence().filterFindByGroupId(groupId, start, end);
253     }
254 
255     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId(
256         long groupId, int start, int end,
257         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
258         throws com.liferay.portal.kernel.exception.SystemException {
259         return getPersistence()
260                    .filterFindByGroupId(groupId, start, end, orderByComparator);
261     }
262 
263     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId(
264         long companyId)
265         throws com.liferay.portal.kernel.exception.SystemException {
266         return getPersistence().findByCompanyId(companyId);
267     }
268 
269     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId(
270         long companyId, int start, int end)
271         throws com.liferay.portal.kernel.exception.SystemException {
272         return getPersistence().findByCompanyId(companyId, start, end);
273     }
274 
275     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId(
276         long companyId, int start, int end,
277         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
278         throws com.liferay.portal.kernel.exception.SystemException {
279         return getPersistence()
280                    .findByCompanyId(companyId, start, end, orderByComparator);
281     }
282 
283     public static com.liferay.portlet.journal.model.JournalArticle findByCompanyId_First(
284         long companyId,
285         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
286         throws com.liferay.portal.kernel.exception.SystemException,
287             com.liferay.portlet.journal.NoSuchArticleException {
288         return getPersistence()
289                    .findByCompanyId_First(companyId, orderByComparator);
290     }
291 
292     public static com.liferay.portlet.journal.model.JournalArticle findByCompanyId_Last(
293         long companyId,
294         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
295         throws com.liferay.portal.kernel.exception.SystemException,
296             com.liferay.portlet.journal.NoSuchArticleException {
297         return getPersistence()
298                    .findByCompanyId_Last(companyId, orderByComparator);
299     }
300 
301     public static com.liferay.portlet.journal.model.JournalArticle[] findByCompanyId_PrevAndNext(
302         long id, long companyId,
303         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
304         throws com.liferay.portal.kernel.exception.SystemException,
305             com.liferay.portlet.journal.NoSuchArticleException {
306         return getPersistence()
307                    .findByCompanyId_PrevAndNext(id, companyId, orderByComparator);
308     }
309 
310     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
311         long smallImageId)
312         throws com.liferay.portal.kernel.exception.SystemException {
313         return getPersistence().findBySmallImageId(smallImageId);
314     }
315 
316     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
317         long smallImageId, int start, int end)
318         throws com.liferay.portal.kernel.exception.SystemException {
319         return getPersistence().findBySmallImageId(smallImageId, start, end);
320     }
321 
322     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
323         long smallImageId, int start, int end,
324         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
325         throws com.liferay.portal.kernel.exception.SystemException {
326         return getPersistence()
327                    .findBySmallImageId(smallImageId, start, end,
328             orderByComparator);
329     }
330 
331     public static com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_First(
332         long smallImageId,
333         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
334         throws com.liferay.portal.kernel.exception.SystemException,
335             com.liferay.portlet.journal.NoSuchArticleException {
336         return getPersistence()
337                    .findBySmallImageId_First(smallImageId, orderByComparator);
338     }
339 
340     public static com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_Last(
341         long smallImageId,
342         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
343         throws com.liferay.portal.kernel.exception.SystemException,
344             com.liferay.portlet.journal.NoSuchArticleException {
345         return getPersistence()
346                    .findBySmallImageId_Last(smallImageId, orderByComparator);
347     }
348 
349     public static com.liferay.portlet.journal.model.JournalArticle[] findBySmallImageId_PrevAndNext(
350         long id, long smallImageId,
351         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
352         throws com.liferay.portal.kernel.exception.SystemException,
353             com.liferay.portlet.journal.NoSuchArticleException {
354         return getPersistence()
355                    .findBySmallImageId_PrevAndNext(id, smallImageId,
356             orderByComparator);
357     }
358 
359     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_S(
360         long resourcePrimKey, int status)
361         throws com.liferay.portal.kernel.exception.SystemException {
362         return getPersistence().findByR_S(resourcePrimKey, status);
363     }
364 
365     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_S(
366         long resourcePrimKey, int status, int start, int end)
367         throws com.liferay.portal.kernel.exception.SystemException {
368         return getPersistence().findByR_S(resourcePrimKey, status, start, end);
369     }
370 
371     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_S(
372         long resourcePrimKey, int status, int start, int end,
373         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
374         throws com.liferay.portal.kernel.exception.SystemException {
375         return getPersistence()
376                    .findByR_S(resourcePrimKey, status, start, end,
377             orderByComparator);
378     }
379 
380     public static com.liferay.portlet.journal.model.JournalArticle findByR_S_First(
381         long resourcePrimKey, int status,
382         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
383         throws com.liferay.portal.kernel.exception.SystemException,
384             com.liferay.portlet.journal.NoSuchArticleException {
385         return getPersistence()
386                    .findByR_S_First(resourcePrimKey, status, orderByComparator);
387     }
388 
389     public static com.liferay.portlet.journal.model.JournalArticle findByR_S_Last(
390         long resourcePrimKey, int status,
391         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
392         throws com.liferay.portal.kernel.exception.SystemException,
393             com.liferay.portlet.journal.NoSuchArticleException {
394         return getPersistence()
395                    .findByR_S_Last(resourcePrimKey, status, orderByComparator);
396     }
397 
398     public static com.liferay.portlet.journal.model.JournalArticle[] findByR_S_PrevAndNext(
399         long id, long resourcePrimKey, int status,
400         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
401         throws com.liferay.portal.kernel.exception.SystemException,
402             com.liferay.portlet.journal.NoSuchArticleException {
403         return getPersistence()
404                    .findByR_S_PrevAndNext(id, resourcePrimKey, status,
405             orderByComparator);
406     }
407 
408     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
409         long groupId, java.lang.String articleId)
410         throws com.liferay.portal.kernel.exception.SystemException {
411         return getPersistence().findByG_A(groupId, articleId);
412     }
413 
414     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
415         long groupId, java.lang.String articleId, int start, int end)
416         throws com.liferay.portal.kernel.exception.SystemException {
417         return getPersistence().findByG_A(groupId, articleId, start, end);
418     }
419 
420     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
421         long groupId, java.lang.String articleId, int start, int end,
422         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
423         throws com.liferay.portal.kernel.exception.SystemException {
424         return getPersistence()
425                    .findByG_A(groupId, articleId, start, end, orderByComparator);
426     }
427 
428     public static com.liferay.portlet.journal.model.JournalArticle findByG_A_First(
429         long groupId, java.lang.String articleId,
430         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
431         throws com.liferay.portal.kernel.exception.SystemException,
432             com.liferay.portlet.journal.NoSuchArticleException {
433         return getPersistence()
434                    .findByG_A_First(groupId, articleId, orderByComparator);
435     }
436 
437     public static com.liferay.portlet.journal.model.JournalArticle findByG_A_Last(
438         long groupId, java.lang.String articleId,
439         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
440         throws com.liferay.portal.kernel.exception.SystemException,
441             com.liferay.portlet.journal.NoSuchArticleException {
442         return getPersistence()
443                    .findByG_A_Last(groupId, articleId, orderByComparator);
444     }
445 
446     public static com.liferay.portlet.journal.model.JournalArticle[] findByG_A_PrevAndNext(
447         long id, long groupId, java.lang.String articleId,
448         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
449         throws com.liferay.portal.kernel.exception.SystemException,
450             com.liferay.portlet.journal.NoSuchArticleException {
451         return getPersistence()
452                    .findByG_A_PrevAndNext(id, groupId, articleId,
453             orderByComparator);
454     }
455 
456     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A(
457         long groupId, java.lang.String articleId)
458         throws com.liferay.portal.kernel.exception.SystemException {
459         return getPersistence().filterFindByG_A(groupId, articleId);
460     }
461 
462     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A(
463         long groupId, java.lang.String articleId, int start, int end)
464         throws com.liferay.portal.kernel.exception.SystemException {
465         return getPersistence().filterFindByG_A(groupId, articleId, start, end);
466     }
467 
468     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A(
469         long groupId, java.lang.String articleId, int start, int end,
470         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
471         throws com.liferay.portal.kernel.exception.SystemException {
472         return getPersistence()
473                    .filterFindByG_A(groupId, articleId, start, end,
474             orderByComparator);
475     }
476 
477     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
478         long groupId, java.lang.String structureId)
479         throws com.liferay.portal.kernel.exception.SystemException {
480         return getPersistence().findByG_S(groupId, structureId);
481     }
482 
483     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
484         long groupId, java.lang.String structureId, int start, int end)
485         throws com.liferay.portal.kernel.exception.SystemException {
486         return getPersistence().findByG_S(groupId, structureId, start, end);
487     }
488 
489     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
490         long groupId, java.lang.String structureId, int start, int end,
491         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
492         throws com.liferay.portal.kernel.exception.SystemException {
493         return getPersistence()
494                    .findByG_S(groupId, structureId, start, end,
495             orderByComparator);
496     }
497 
498     public static com.liferay.portlet.journal.model.JournalArticle findByG_S_First(
499         long groupId, java.lang.String structureId,
500         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
501         throws com.liferay.portal.kernel.exception.SystemException,
502             com.liferay.portlet.journal.NoSuchArticleException {
503         return getPersistence()
504                    .findByG_S_First(groupId, structureId, orderByComparator);
505     }
506 
507     public static com.liferay.portlet.journal.model.JournalArticle findByG_S_Last(
508         long groupId, java.lang.String structureId,
509         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
510         throws com.liferay.portal.kernel.exception.SystemException,
511             com.liferay.portlet.journal.NoSuchArticleException {
512         return getPersistence()
513                    .findByG_S_Last(groupId, structureId, orderByComparator);
514     }
515 
516     public static com.liferay.portlet.journal.model.JournalArticle[] findByG_S_PrevAndNext(
517         long id, long groupId, java.lang.String structureId,
518         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
519         throws com.liferay.portal.kernel.exception.SystemException,
520             com.liferay.portlet.journal.NoSuchArticleException {
521         return getPersistence()
522                    .findByG_S_PrevAndNext(id, groupId, structureId,
523             orderByComparator);
524     }
525 
526     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S(
527         long groupId, java.lang.String structureId)
528         throws com.liferay.portal.kernel.exception.SystemException {
529         return getPersistence().filterFindByG_S(groupId, structureId);
530     }
531 
532     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S(
533         long groupId, java.lang.String structureId, int start, int end)
534         throws com.liferay.portal.kernel.exception.SystemException {
535         return getPersistence().filterFindByG_S(groupId, structureId, start, end);
536     }
537 
538     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S(
539         long groupId, java.lang.String structureId, int start, int end,
540         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
541         throws com.liferay.portal.kernel.exception.SystemException {
542         return getPersistence()
543                    .filterFindByG_S(groupId, structureId, start, end,
544             orderByComparator);
545     }
546 
547     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
548         long groupId, java.lang.String templateId)
549         throws com.liferay.portal.kernel.exception.SystemException {
550         return getPersistence().findByG_T(groupId, templateId);
551     }
552 
553     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
554         long groupId, java.lang.String templateId, int start, int end)
555         throws com.liferay.portal.kernel.exception.SystemException {
556         return getPersistence().findByG_T(groupId, templateId, start, end);
557     }
558 
559     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
560         long groupId, java.lang.String templateId, int start, int end,
561         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
562         throws com.liferay.portal.kernel.exception.SystemException {
563         return getPersistence()
564                    .findByG_T(groupId, templateId, start, end, orderByComparator);
565     }
566 
567     public static com.liferay.portlet.journal.model.JournalArticle findByG_T_First(
568         long groupId, java.lang.String templateId,
569         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
570         throws com.liferay.portal.kernel.exception.SystemException,
571             com.liferay.portlet.journal.NoSuchArticleException {
572         return getPersistence()
573                    .findByG_T_First(groupId, templateId, orderByComparator);
574     }
575 
576     public static com.liferay.portlet.journal.model.JournalArticle findByG_T_Last(
577         long groupId, java.lang.String templateId,
578         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
579         throws com.liferay.portal.kernel.exception.SystemException,
580             com.liferay.portlet.journal.NoSuchArticleException {
581         return getPersistence()
582                    .findByG_T_Last(groupId, templateId, orderByComparator);
583     }
584 
585     public static com.liferay.portlet.journal.model.JournalArticle[] findByG_T_PrevAndNext(
586         long id, long groupId, java.lang.String templateId,
587         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
588         throws com.liferay.portal.kernel.exception.SystemException,
589             com.liferay.portlet.journal.NoSuchArticleException {
590         return getPersistence()
591                    .findByG_T_PrevAndNext(id, groupId, templateId,
592             orderByComparator);
593     }
594 
595     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T(
596         long groupId, java.lang.String templateId)
597         throws com.liferay.portal.kernel.exception.SystemException {
598         return getPersistence().filterFindByG_T(groupId, templateId);
599     }
600 
601     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T(
602         long groupId, java.lang.String templateId, int start, int end)
603         throws com.liferay.portal.kernel.exception.SystemException {
604         return getPersistence().filterFindByG_T(groupId, templateId, start, end);
605     }
606 
607     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T(
608         long groupId, java.lang.String templateId, int start, int end,
609         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
610         throws com.liferay.portal.kernel.exception.SystemException {
611         return getPersistence()
612                    .filterFindByG_T(groupId, templateId, start, end,
613             orderByComparator);
614     }
615 
616     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
617         long groupId, java.lang.String urlTitle)
618         throws com.liferay.portal.kernel.exception.SystemException {
619         return getPersistence().findByG_UT(groupId, urlTitle);
620     }
621 
622     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
623         long groupId, java.lang.String urlTitle, int start, int end)
624         throws com.liferay.portal.kernel.exception.SystemException {
625         return getPersistence().findByG_UT(groupId, urlTitle, start, end);
626     }
627 
628     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
629         long groupId, java.lang.String urlTitle, int start, int end,
630         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
631         throws com.liferay.portal.kernel.exception.SystemException {
632         return getPersistence()
633                    .findByG_UT(groupId, urlTitle, start, end, orderByComparator);
634     }
635 
636     public static com.liferay.portlet.journal.model.JournalArticle findByG_UT_First(
637         long groupId, java.lang.String urlTitle,
638         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
639         throws com.liferay.portal.kernel.exception.SystemException,
640             com.liferay.portlet.journal.NoSuchArticleException {
641         return getPersistence()
642                    .findByG_UT_First(groupId, urlTitle, orderByComparator);
643     }
644 
645     public static com.liferay.portlet.journal.model.JournalArticle findByG_UT_Last(
646         long groupId, java.lang.String urlTitle,
647         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
648         throws com.liferay.portal.kernel.exception.SystemException,
649             com.liferay.portlet.journal.NoSuchArticleException {
650         return getPersistence()
651                    .findByG_UT_Last(groupId, urlTitle, orderByComparator);
652     }
653 
654     public static com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_PrevAndNext(
655         long id, long groupId, java.lang.String urlTitle,
656         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
657         throws com.liferay.portal.kernel.exception.SystemException,
658             com.liferay.portlet.journal.NoSuchArticleException {
659         return getPersistence()
660                    .findByG_UT_PrevAndNext(id, groupId, urlTitle,
661             orderByComparator);
662     }
663 
664     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT(
665         long groupId, java.lang.String urlTitle)
666         throws com.liferay.portal.kernel.exception.SystemException {
667         return getPersistence().filterFindByG_UT(groupId, urlTitle);
668     }
669 
670     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT(
671         long groupId, java.lang.String urlTitle, int start, int end)
672         throws com.liferay.portal.kernel.exception.SystemException {
673         return getPersistence().filterFindByG_UT(groupId, urlTitle, start, end);
674     }
675 
676     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT(
677         long groupId, java.lang.String urlTitle, int start, int end,
678         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
679         throws com.liferay.portal.kernel.exception.SystemException {
680         return getPersistence()
681                    .filterFindByG_UT(groupId, urlTitle, start, end,
682             orderByComparator);
683     }
684 
685     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_S(
686         long companyId, int status)
687         throws com.liferay.portal.kernel.exception.SystemException {
688         return getPersistence().findByC_S(companyId, status);
689     }
690 
691     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_S(
692         long companyId, int status, int start, int end)
693         throws com.liferay.portal.kernel.exception.SystemException {
694         return getPersistence().findByC_S(companyId, status, start, end);
695     }
696 
697     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_S(
698         long companyId, int status, int start, int end,
699         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
700         throws com.liferay.portal.kernel.exception.SystemException {
701         return getPersistence()
702                    .findByC_S(companyId, status, start, end, orderByComparator);
703     }
704 
705     public static com.liferay.portlet.journal.model.JournalArticle findByC_S_First(
706         long companyId, int status,
707         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
708         throws com.liferay.portal.kernel.exception.SystemException,
709             com.liferay.portlet.journal.NoSuchArticleException {
710         return getPersistence()
711                    .findByC_S_First(companyId, status, orderByComparator);
712     }
713 
714     public static com.liferay.portlet.journal.model.JournalArticle findByC_S_Last(
715         long companyId, int status,
716         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
717         throws com.liferay.portal.kernel.exception.SystemException,
718             com.liferay.portlet.journal.NoSuchArticleException {
719         return getPersistence()
720                    .findByC_S_Last(companyId, status, orderByComparator);
721     }
722 
723     public static com.liferay.portlet.journal.model.JournalArticle[] findByC_S_PrevAndNext(
724         long id, long companyId, int status,
725         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
726         throws com.liferay.portal.kernel.exception.SystemException,
727             com.liferay.portlet.journal.NoSuchArticleException {
728         return getPersistence()
729                    .findByC_S_PrevAndNext(id, companyId, status,
730             orderByComparator);
731     }
732 
733     public static com.liferay.portlet.journal.model.JournalArticle findByG_A_V(
734         long groupId, java.lang.String articleId, double version)
735         throws com.liferay.portal.kernel.exception.SystemException,
736             com.liferay.portlet.journal.NoSuchArticleException {
737         return getPersistence().findByG_A_V(groupId, articleId, version);
738     }
739 
740     public static com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V(
741         long groupId, java.lang.String articleId, double version)
742         throws com.liferay.portal.kernel.exception.SystemException {
743         return getPersistence().fetchByG_A_V(groupId, articleId, version);
744     }
745 
746     public static com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V(
747         long groupId, java.lang.String articleId, double version,
748         boolean retrieveFromCache)
749         throws com.liferay.portal.kernel.exception.SystemException {
750         return getPersistence()
751                    .fetchByG_A_V(groupId, articleId, version, retrieveFromCache);
752     }
753 
754     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_S(
755         long groupId, java.lang.String articleId, int status)
756         throws com.liferay.portal.kernel.exception.SystemException {
757         return getPersistence().findByG_A_S(groupId, articleId, status);
758     }
759 
760     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_S(
761         long groupId, java.lang.String articleId, int status, int start, int end)
762         throws com.liferay.portal.kernel.exception.SystemException {
763         return getPersistence()
764                    .findByG_A_S(groupId, articleId, status, start, end);
765     }
766 
767     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_S(
768         long groupId, java.lang.String articleId, int status, int start,
769         int end,
770         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
771         throws com.liferay.portal.kernel.exception.SystemException {
772         return getPersistence()
773                    .findByG_A_S(groupId, articleId, status, start, end,
774             orderByComparator);
775     }
776 
777     public static com.liferay.portlet.journal.model.JournalArticle findByG_A_S_First(
778         long groupId, java.lang.String articleId, int status,
779         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
780         throws com.liferay.portal.kernel.exception.SystemException,
781             com.liferay.portlet.journal.NoSuchArticleException {
782         return getPersistence()
783                    .findByG_A_S_First(groupId, articleId, status,
784             orderByComparator);
785     }
786 
787     public static com.liferay.portlet.journal.model.JournalArticle findByG_A_S_Last(
788         long groupId, java.lang.String articleId, int status,
789         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
790         throws com.liferay.portal.kernel.exception.SystemException,
791             com.liferay.portlet.journal.NoSuchArticleException {
792         return getPersistence()
793                    .findByG_A_S_Last(groupId, articleId, status,
794             orderByComparator);
795     }
796 
797     public static com.liferay.portlet.journal.model.JournalArticle[] findByG_A_S_PrevAndNext(
798         long id, long groupId, java.lang.String articleId, int status,
799         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
800         throws com.liferay.portal.kernel.exception.SystemException,
801             com.liferay.portlet.journal.NoSuchArticleException {
802         return getPersistence()
803                    .findByG_A_S_PrevAndNext(id, groupId, articleId, status,
804             orderByComparator);
805     }
806 
807     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_S(
808         long groupId, java.lang.String articleId, int status)
809         throws com.liferay.portal.kernel.exception.SystemException {
810         return getPersistence().filterFindByG_A_S(groupId, articleId, status);
811     }
812 
813     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_S(
814         long groupId, java.lang.String articleId, int status, int start, int end)
815         throws com.liferay.portal.kernel.exception.SystemException {
816         return getPersistence()
817                    .filterFindByG_A_S(groupId, articleId, status, start, end);
818     }
819 
820     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_S(
821         long groupId, java.lang.String articleId, int status, int start,
822         int end,
823         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
824         throws com.liferay.portal.kernel.exception.SystemException {
825         return getPersistence()
826                    .filterFindByG_A_S(groupId, articleId, status, start, end,
827             orderByComparator);
828     }
829 
830     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_S(
831         long groupId, java.lang.String urlTitle, int status)
832         throws com.liferay.portal.kernel.exception.SystemException {
833         return getPersistence().findByG_UT_S(groupId, urlTitle, status);
834     }
835 
836     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_S(
837         long groupId, java.lang.String urlTitle, int status, int start, int end)
838         throws com.liferay.portal.kernel.exception.SystemException {
839         return getPersistence()
840                    .findByG_UT_S(groupId, urlTitle, status, start, end);
841     }
842 
843     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_S(
844         long groupId, java.lang.String urlTitle, int status, int start,
845         int end,
846         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
847         throws com.liferay.portal.kernel.exception.SystemException {
848         return getPersistence()
849                    .findByG_UT_S(groupId, urlTitle, status, start, end,
850             orderByComparator);
851     }
852 
853     public static com.liferay.portlet.journal.model.JournalArticle findByG_UT_S_First(
854         long groupId, java.lang.String urlTitle, int status,
855         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
856         throws com.liferay.portal.kernel.exception.SystemException,
857             com.liferay.portlet.journal.NoSuchArticleException {
858         return getPersistence()
859                    .findByG_UT_S_First(groupId, urlTitle, status,
860             orderByComparator);
861     }
862 
863     public static com.liferay.portlet.journal.model.JournalArticle findByG_UT_S_Last(
864         long groupId, java.lang.String urlTitle, int status,
865         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
866         throws com.liferay.portal.kernel.exception.SystemException,
867             com.liferay.portlet.journal.NoSuchArticleException {
868         return getPersistence()
869                    .findByG_UT_S_Last(groupId, urlTitle, status,
870             orderByComparator);
871     }
872 
873     public static com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_S_PrevAndNext(
874         long id, long groupId, java.lang.String urlTitle, int status,
875         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
876         throws com.liferay.portal.kernel.exception.SystemException,
877             com.liferay.portlet.journal.NoSuchArticleException {
878         return getPersistence()
879                    .findByG_UT_S_PrevAndNext(id, groupId, urlTitle, status,
880             orderByComparator);
881     }
882 
883     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_S(
884         long groupId, java.lang.String urlTitle, int status)
885         throws com.liferay.portal.kernel.exception.SystemException {
886         return getPersistence().filterFindByG_UT_S(groupId, urlTitle, status);
887     }
888 
889     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_S(
890         long groupId, java.lang.String urlTitle, int status, int start, int end)
891         throws com.liferay.portal.kernel.exception.SystemException {
892         return getPersistence()
893                    .filterFindByG_UT_S(groupId, urlTitle, status, start, end);
894     }
895 
896     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_S(
897         long groupId, java.lang.String urlTitle, int status, int start,
898         int end,
899         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
900         throws com.liferay.portal.kernel.exception.SystemException {
901         return getPersistence()
902                    .filterFindByG_UT_S(groupId, urlTitle, status, start, end,
903             orderByComparator);
904     }
905 
906     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll()
907         throws com.liferay.portal.kernel.exception.SystemException {
908         return getPersistence().findAll();
909     }
910 
911     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll(
912         int start, int end)
913         throws com.liferay.portal.kernel.exception.SystemException {
914         return getPersistence().findAll(start, end);
915     }
916 
917     public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll(
918         int start, int end,
919         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
920         throws com.liferay.portal.kernel.exception.SystemException {
921         return getPersistence().findAll(start, end, orderByComparator);
922     }
923 
924     public static void removeByUuid(java.lang.String uuid)
925         throws com.liferay.portal.kernel.exception.SystemException {
926         getPersistence().removeByUuid(uuid);
927     }
928 
929     public static void removeByUUID_G(java.lang.String uuid, long groupId)
930         throws com.liferay.portal.kernel.exception.SystemException,
931             com.liferay.portlet.journal.NoSuchArticleException {
932         getPersistence().removeByUUID_G(uuid, groupId);
933     }
934 
935     public static void removeByGroupId(long groupId)
936         throws com.liferay.portal.kernel.exception.SystemException {
937         getPersistence().removeByGroupId(groupId);
938     }
939 
940     public static void removeByCompanyId(long companyId)
941         throws com.liferay.portal.kernel.exception.SystemException {
942         getPersistence().removeByCompanyId(companyId);
943     }
944 
945     public static void removeBySmallImageId(long smallImageId)
946         throws com.liferay.portal.kernel.exception.SystemException {
947         getPersistence().removeBySmallImageId(smallImageId);
948     }
949 
950     public static void removeByR_S(long resourcePrimKey, int status)
951         throws com.liferay.portal.kernel.exception.SystemException {
952         getPersistence().removeByR_S(resourcePrimKey, status);
953     }
954 
955     public static void removeByG_A(long groupId, java.lang.String articleId)
956         throws com.liferay.portal.kernel.exception.SystemException {
957         getPersistence().removeByG_A(groupId, articleId);
958     }
959 
960     public static void removeByG_S(long groupId, java.lang.String structureId)
961         throws com.liferay.portal.kernel.exception.SystemException {
962         getPersistence().removeByG_S(groupId, structureId);
963     }
964 
965     public static void removeByG_T(long groupId, java.lang.String templateId)
966         throws com.liferay.portal.kernel.exception.SystemException {
967         getPersistence().removeByG_T(groupId, templateId);
968     }
969 
970     public static void removeByG_UT(long groupId, java.lang.String urlTitle)
971         throws com.liferay.portal.kernel.exception.SystemException {
972         getPersistence().removeByG_UT(groupId, urlTitle);
973     }
974 
975     public static void removeByC_S(long companyId, int status)
976         throws com.liferay.portal.kernel.exception.SystemException {
977         getPersistence().removeByC_S(companyId, status);
978     }
979 
980     public static void removeByG_A_V(long groupId, java.lang.String articleId,
981         double version)
982         throws com.liferay.portal.kernel.exception.SystemException,
983             com.liferay.portlet.journal.NoSuchArticleException {
984         getPersistence().removeByG_A_V(groupId, articleId, version);
985     }
986 
987     public static void removeByG_A_S(long groupId, java.lang.String articleId,
988         int status) throws com.liferay.portal.kernel.exception.SystemException {
989         getPersistence().removeByG_A_S(groupId, articleId, status);
990     }
991 
992     public static void removeByG_UT_S(long groupId, java.lang.String urlTitle,
993         int status) throws com.liferay.portal.kernel.exception.SystemException {
994         getPersistence().removeByG_UT_S(groupId, urlTitle, status);
995     }
996 
997     public static void removeAll()
998         throws com.liferay.portal.kernel.exception.SystemException {
999         getPersistence().removeAll();
1000    }
1001
1002    public static int countByUuid(java.lang.String uuid)
1003        throws com.liferay.portal.kernel.exception.SystemException {
1004        return getPersistence().countByUuid(uuid);
1005    }
1006
1007    public static int countByUUID_G(java.lang.String uuid, long groupId)
1008        throws com.liferay.portal.kernel.exception.SystemException {
1009        return getPersistence().countByUUID_G(uuid, groupId);
1010    }
1011
1012    public static int countByGroupId(long groupId)
1013        throws com.liferay.portal.kernel.exception.SystemException {
1014        return getPersistence().countByGroupId(groupId);
1015    }
1016
1017    public static int filterCountByGroupId(long groupId)
1018        throws com.liferay.portal.kernel.exception.SystemException {
1019        return getPersistence().filterCountByGroupId(groupId);
1020    }
1021
1022    public static int countByCompanyId(long companyId)
1023        throws com.liferay.portal.kernel.exception.SystemException {
1024        return getPersistence().countByCompanyId(companyId);
1025    }
1026
1027    public static int countBySmallImageId(long smallImageId)
1028        throws com.liferay.portal.kernel.exception.SystemException {
1029        return getPersistence().countBySmallImageId(smallImageId);
1030    }
1031
1032    public static int countByR_S(long resourcePrimKey, int status)
1033        throws com.liferay.portal.kernel.exception.SystemException {
1034        return getPersistence().countByR_S(resourcePrimKey, status);
1035    }
1036
1037    public static int countByG_A(long groupId, java.lang.String articleId)
1038        throws com.liferay.portal.kernel.exception.SystemException {
1039        return getPersistence().countByG_A(groupId, articleId);
1040    }
1041
1042    public static int filterCountByG_A(long groupId, java.lang.String articleId)
1043        throws com.liferay.portal.kernel.exception.SystemException {
1044        return getPersistence().filterCountByG_A(groupId, articleId);
1045    }
1046
1047    public static int countByG_S(long groupId, java.lang.String structureId)
1048        throws com.liferay.portal.kernel.exception.SystemException {
1049        return getPersistence().countByG_S(groupId, structureId);
1050    }
1051
1052    public static int filterCountByG_S(long groupId,
1053        java.lang.String structureId)
1054        throws com.liferay.portal.kernel.exception.SystemException {
1055        return getPersistence().filterCountByG_S(groupId, structureId);
1056    }
1057
1058    public static int countByG_T(long groupId, java.lang.String templateId)
1059        throws com.liferay.portal.kernel.exception.SystemException {
1060        return getPersistence().countByG_T(groupId, templateId);
1061    }
1062
1063    public static int filterCountByG_T(long groupId, java.lang.String templateId)
1064        throws com.liferay.portal.kernel.exception.SystemException {
1065        return getPersistence().filterCountByG_T(groupId, templateId);
1066    }
1067
1068    public static int countByG_UT(long groupId, java.lang.String urlTitle)
1069        throws com.liferay.portal.kernel.exception.SystemException {
1070        return getPersistence().countByG_UT(groupId, urlTitle);
1071    }
1072
1073    public static int filterCountByG_UT(long groupId, java.lang.String urlTitle)
1074        throws com.liferay.portal.kernel.exception.SystemException {
1075        return getPersistence().filterCountByG_UT(groupId, urlTitle);
1076    }
1077
1078    public static int countByC_S(long companyId, int status)
1079        throws com.liferay.portal.kernel.exception.SystemException {
1080        return getPersistence().countByC_S(companyId, status);
1081    }
1082
1083    public static int countByG_A_V(long groupId, java.lang.String articleId,
1084        double version)
1085        throws com.liferay.portal.kernel.exception.SystemException {
1086        return getPersistence().countByG_A_V(groupId, articleId, version);
1087    }
1088
1089    public static int filterCountByG_A_V(long groupId,
1090        java.lang.String articleId, double version)
1091        throws com.liferay.portal.kernel.exception.SystemException {
1092        return getPersistence().filterCountByG_A_V(groupId, articleId, version);
1093    }
1094
1095    public static int countByG_A_S(long groupId, java.lang.String articleId,
1096        int status) throws com.liferay.portal.kernel.exception.SystemException {
1097        return getPersistence().countByG_A_S(groupId, articleId, status);
1098    }
1099
1100    public static int filterCountByG_A_S(long groupId,
1101        java.lang.String articleId, int status)
1102        throws com.liferay.portal.kernel.exception.SystemException {
1103        return getPersistence().filterCountByG_A_S(groupId, articleId, status);
1104    }
1105
1106    public static int countByG_UT_S(long groupId, java.lang.String urlTitle,
1107        int status) throws com.liferay.portal.kernel.exception.SystemException {
1108        return getPersistence().countByG_UT_S(groupId, urlTitle, status);
1109    }
1110
1111    public static int filterCountByG_UT_S(long groupId,
1112        java.lang.String urlTitle, int status)
1113        throws com.liferay.portal.kernel.exception.SystemException {
1114        return getPersistence().filterCountByG_UT_S(groupId, urlTitle, status);
1115    }
1116
1117    public static int countAll()
1118        throws com.liferay.portal.kernel.exception.SystemException {
1119        return getPersistence().countAll();
1120    }
1121
1122    public static JournalArticlePersistence getPersistence() {
1123        if (_persistence == null) {
1124            _persistence = (JournalArticlePersistence)PortalBeanLocatorUtil.locate(JournalArticlePersistence.class.getName());
1125        }
1126
1127        return _persistence;
1128    }
1129
1130    public void setPersistence(JournalArticlePersistence persistence) {
1131        _persistence = persistence;
1132    }
1133
1134    private static JournalArticlePersistence _persistence;
1135}