1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    *
5    *
6    *
7    * The contents of this file are subject to the terms of the Liferay Enterprise
8    * Subscription License ("License"). You may not use this file except in
9    * compliance with the License. You can obtain a copy of the License by
10   * contacting Liferay, Inc. See the License for the specific language governing
11   * permissions and limitations under the License, including but not limited to
12   * distribution rights of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.journal.service.persistence;
24  
25  
26  /**
27   * <a href="JournalContentSearchUtil.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * @author    Brian Wing Shun Chan
35   * @see       JournalContentSearchPersistence
36   * @see       JournalContentSearchPersistenceImpl
37   * @generated
38   */
39  public class JournalContentSearchUtil {
40      public static void cacheResult(
41          com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch) {
42          getPersistence().cacheResult(journalContentSearch);
43      }
44  
45      public static void cacheResult(
46          java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> journalContentSearchs) {
47          getPersistence().cacheResult(journalContentSearchs);
48      }
49  
50      public static void clearCache() {
51          getPersistence().clearCache();
52      }
53  
54      public static com.liferay.portlet.journal.model.JournalContentSearch create(
55          long contentSearchId) {
56          return getPersistence().create(contentSearchId);
57      }
58  
59      public static com.liferay.portlet.journal.model.JournalContentSearch remove(
60          long contentSearchId)
61          throws com.liferay.portal.SystemException,
62              com.liferay.portlet.journal.NoSuchContentSearchException {
63          return getPersistence().remove(contentSearchId);
64      }
65  
66      public static com.liferay.portlet.journal.model.JournalContentSearch remove(
67          com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch)
68          throws com.liferay.portal.SystemException {
69          return getPersistence().remove(journalContentSearch);
70      }
71  
72      /**
73       * @deprecated Use {@link #update(JournalContentSearch, boolean merge)}.
74       */
75      public static com.liferay.portlet.journal.model.JournalContentSearch update(
76          com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch)
77          throws com.liferay.portal.SystemException {
78          return getPersistence().update(journalContentSearch);
79      }
80  
81      /**
82       * Add, update, or merge, the entity. This method also calls the model
83       * listeners to trigger the proper events associated with adding, deleting,
84       * or updating an entity.
85       *
86       * @param  journalContentSearch the entity to add, update, or merge
87       * @param  merge boolean value for whether to merge the entity. The default
88       *         value is false. Setting merge to true is more expensive and
89       *         should only be true when journalContentSearch is transient. See
90       *         LEP-5473 for a detailed discussion of this method.
91       * @return the entity that was added, updated, or merged
92       */
93      public static com.liferay.portlet.journal.model.JournalContentSearch update(
94          com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch,
95          boolean merge) throws com.liferay.portal.SystemException {
96          return getPersistence().update(journalContentSearch, merge);
97      }
98  
99      public static com.liferay.portlet.journal.model.JournalContentSearch updateImpl(
100         com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch,
101         boolean merge) throws com.liferay.portal.SystemException {
102         return getPersistence().updateImpl(journalContentSearch, merge);
103     }
104 
105     public static com.liferay.portlet.journal.model.JournalContentSearch findByPrimaryKey(
106         long contentSearchId)
107         throws com.liferay.portal.SystemException,
108             com.liferay.portlet.journal.NoSuchContentSearchException {
109         return getPersistence().findByPrimaryKey(contentSearchId);
110     }
111 
112     public static com.liferay.portlet.journal.model.JournalContentSearch fetchByPrimaryKey(
113         long contentSearchId) throws com.liferay.portal.SystemException {
114         return getPersistence().fetchByPrimaryKey(contentSearchId);
115     }
116 
117     public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByArticleId(
118         java.lang.String articleId) throws com.liferay.portal.SystemException {
119         return getPersistence().findByArticleId(articleId);
120     }
121 
122     public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByArticleId(
123         java.lang.String articleId, int start, int end)
124         throws com.liferay.portal.SystemException {
125         return getPersistence().findByArticleId(articleId, start, end);
126     }
127 
128     public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByArticleId(
129         java.lang.String articleId, int start, int end,
130         com.liferay.portal.kernel.util.OrderByComparator obc)
131         throws com.liferay.portal.SystemException {
132         return getPersistence().findByArticleId(articleId, start, end, obc);
133     }
134 
135     public static com.liferay.portlet.journal.model.JournalContentSearch findByArticleId_First(
136         java.lang.String articleId,
137         com.liferay.portal.kernel.util.OrderByComparator obc)
138         throws com.liferay.portal.SystemException,
139             com.liferay.portlet.journal.NoSuchContentSearchException {
140         return getPersistence().findByArticleId_First(articleId, obc);
141     }
142 
143     public static com.liferay.portlet.journal.model.JournalContentSearch findByArticleId_Last(
144         java.lang.String articleId,
145         com.liferay.portal.kernel.util.OrderByComparator obc)
146         throws com.liferay.portal.SystemException,
147             com.liferay.portlet.journal.NoSuchContentSearchException {
148         return getPersistence().findByArticleId_Last(articleId, obc);
149     }
150 
151     public static com.liferay.portlet.journal.model.JournalContentSearch[] findByArticleId_PrevAndNext(
152         long contentSearchId, java.lang.String articleId,
153         com.liferay.portal.kernel.util.OrderByComparator obc)
154         throws com.liferay.portal.SystemException,
155             com.liferay.portlet.journal.NoSuchContentSearchException {
156         return getPersistence()
157                    .findByArticleId_PrevAndNext(contentSearchId, articleId, obc);
158     }
159 
160     public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(
161         long groupId, boolean privateLayout)
162         throws com.liferay.portal.SystemException {
163         return getPersistence().findByG_P(groupId, privateLayout);
164     }
165 
166     public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(
167         long groupId, boolean privateLayout, int start, int end)
168         throws com.liferay.portal.SystemException {
169         return getPersistence().findByG_P(groupId, privateLayout, start, end);
170     }
171 
172     public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(
173         long groupId, boolean privateLayout, int start, int end,
174         com.liferay.portal.kernel.util.OrderByComparator obc)
175         throws com.liferay.portal.SystemException {
176         return getPersistence()
177                    .findByG_P(groupId, privateLayout, start, end, obc);
178     }
179 
180     public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_First(
181         long groupId, boolean privateLayout,
182         com.liferay.portal.kernel.util.OrderByComparator obc)
183         throws com.liferay.portal.SystemException,
184             com.liferay.portlet.journal.NoSuchContentSearchException {
185         return getPersistence().findByG_P_First(groupId, privateLayout, obc);
186     }
187 
188     public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_Last(
189         long groupId, boolean privateLayout,
190         com.liferay.portal.kernel.util.OrderByComparator obc)
191         throws com.liferay.portal.SystemException,
192             com.liferay.portlet.journal.NoSuchContentSearchException {
193         return getPersistence().findByG_P_Last(groupId, privateLayout, obc);
194     }
195 
196     public static com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_PrevAndNext(
197         long contentSearchId, long groupId, boolean privateLayout,
198         com.liferay.portal.kernel.util.OrderByComparator obc)
199         throws com.liferay.portal.SystemException,
200             com.liferay.portlet.journal.NoSuchContentSearchException {
201         return getPersistence()
202                    .findByG_P_PrevAndNext(contentSearchId, groupId,
203             privateLayout, obc);
204     }
205 
206     public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(
207         long groupId, java.lang.String articleId)
208         throws com.liferay.portal.SystemException {
209         return getPersistence().findByG_A(groupId, articleId);
210     }
211 
212     public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(
213         long groupId, java.lang.String articleId, int start, int end)
214         throws com.liferay.portal.SystemException {
215         return getPersistence().findByG_A(groupId, articleId, start, end);
216     }
217 
218     public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(
219         long groupId, java.lang.String articleId, int start, int end,
220         com.liferay.portal.kernel.util.OrderByComparator obc)
221         throws com.liferay.portal.SystemException {
222         return getPersistence().findByG_A(groupId, articleId, start, end, obc);
223     }
224 
225     public static com.liferay.portlet.journal.model.JournalContentSearch findByG_A_First(
226         long groupId, java.lang.String articleId,
227         com.liferay.portal.kernel.util.OrderByComparator obc)
228         throws com.liferay.portal.SystemException,
229             com.liferay.portlet.journal.NoSuchContentSearchException {
230         return getPersistence().findByG_A_First(groupId, articleId, obc);
231     }
232 
233     public static com.liferay.portlet.journal.model.JournalContentSearch findByG_A_Last(
234         long groupId, java.lang.String articleId,
235         com.liferay.portal.kernel.util.OrderByComparator obc)
236         throws com.liferay.portal.SystemException,
237             com.liferay.portlet.journal.NoSuchContentSearchException {
238         return getPersistence().findByG_A_Last(groupId, articleId, obc);
239     }
240 
241     public static com.liferay.portlet.journal.model.JournalContentSearch[] findByG_A_PrevAndNext(
242         long contentSearchId, long groupId, java.lang.String articleId,
243         com.liferay.portal.kernel.util.OrderByComparator obc)
244         throws com.liferay.portal.SystemException,
245             com.liferay.portlet.journal.NoSuchContentSearchException {
246         return getPersistence()
247                    .findByG_A_PrevAndNext(contentSearchId, groupId, articleId,
248             obc);
249     }
250 
251     public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(
252         long groupId, boolean privateLayout, long layoutId)
253         throws com.liferay.portal.SystemException {
254         return getPersistence().findByG_P_L(groupId, privateLayout, layoutId);
255     }
256 
257     public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(
258         long groupId, boolean privateLayout, long layoutId, int start, int end)
259         throws com.liferay.portal.SystemException {
260         return getPersistence()
261                    .findByG_P_L(groupId, privateLayout, layoutId, start, end);
262     }
263 
264     public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(
265         long groupId, boolean privateLayout, long layoutId, int start, int end,
266         com.liferay.portal.kernel.util.OrderByComparator obc)
267         throws com.liferay.portal.SystemException {
268         return getPersistence()
269                    .findByG_P_L(groupId, privateLayout, layoutId, start, end,
270             obc);
271     }
272 
273     public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_First(
274         long groupId, boolean privateLayout, long layoutId,
275         com.liferay.portal.kernel.util.OrderByComparator obc)
276         throws com.liferay.portal.SystemException,
277             com.liferay.portlet.journal.NoSuchContentSearchException {
278         return getPersistence()
279                    .findByG_P_L_First(groupId, privateLayout, layoutId, obc);
280     }
281 
282     public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_Last(
283         long groupId, boolean privateLayout, long layoutId,
284         com.liferay.portal.kernel.util.OrderByComparator obc)
285         throws com.liferay.portal.SystemException,
286             com.liferay.portlet.journal.NoSuchContentSearchException {
287         return getPersistence()
288                    .findByG_P_L_Last(groupId, privateLayout, layoutId, obc);
289     }
290 
291     public static com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_L_PrevAndNext(
292         long contentSearchId, long groupId, boolean privateLayout,
293         long layoutId, com.liferay.portal.kernel.util.OrderByComparator obc)
294         throws com.liferay.portal.SystemException,
295             com.liferay.portlet.journal.NoSuchContentSearchException {
296         return getPersistence()
297                    .findByG_P_L_PrevAndNext(contentSearchId, groupId,
298             privateLayout, layoutId, obc);
299     }
300 
301     public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(
302         long groupId, boolean privateLayout, java.lang.String articleId)
303         throws com.liferay.portal.SystemException {
304         return getPersistence().findByG_P_A(groupId, privateLayout, articleId);
305     }
306 
307     public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(
308         long groupId, boolean privateLayout, java.lang.String articleId,
309         int start, int end) throws com.liferay.portal.SystemException {
310         return getPersistence()
311                    .findByG_P_A(groupId, privateLayout, articleId, start, end);
312     }
313 
314     public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(
315         long groupId, boolean privateLayout, java.lang.String articleId,
316         int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
317         throws com.liferay.portal.SystemException {
318         return getPersistence()
319                    .findByG_P_A(groupId, privateLayout, articleId, start, end,
320             obc);
321     }
322 
323     public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_A_First(
324         long groupId, boolean privateLayout, java.lang.String articleId,
325         com.liferay.portal.kernel.util.OrderByComparator obc)
326         throws com.liferay.portal.SystemException,
327             com.liferay.portlet.journal.NoSuchContentSearchException {
328         return getPersistence()
329                    .findByG_P_A_First(groupId, privateLayout, articleId, obc);
330     }
331 
332     public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_A_Last(
333         long groupId, boolean privateLayout, java.lang.String articleId,
334         com.liferay.portal.kernel.util.OrderByComparator obc)
335         throws com.liferay.portal.SystemException,
336             com.liferay.portlet.journal.NoSuchContentSearchException {
337         return getPersistence()
338                    .findByG_P_A_Last(groupId, privateLayout, articleId, obc);
339     }
340 
341     public static com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_A_PrevAndNext(
342         long contentSearchId, long groupId, boolean privateLayout,
343         java.lang.String articleId,
344         com.liferay.portal.kernel.util.OrderByComparator obc)
345         throws com.liferay.portal.SystemException,
346             com.liferay.portlet.journal.NoSuchContentSearchException {
347         return getPersistence()
348                    .findByG_P_A_PrevAndNext(contentSearchId, groupId,
349             privateLayout, articleId, obc);
350     }
351 
352     public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(
353         long groupId, boolean privateLayout, long layoutId,
354         java.lang.String portletId) throws com.liferay.portal.SystemException {
355         return getPersistence()
356                    .findByG_P_L_P(groupId, privateLayout, layoutId, portletId);
357     }
358 
359     public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(
360         long groupId, boolean privateLayout, long layoutId,
361         java.lang.String portletId, int start, int end)
362         throws com.liferay.portal.SystemException {
363         return getPersistence()
364                    .findByG_P_L_P(groupId, privateLayout, layoutId, portletId,
365             start, end);
366     }
367 
368     public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(
369         long groupId, boolean privateLayout, long layoutId,
370         java.lang.String portletId, int start, int end,
371         com.liferay.portal.kernel.util.OrderByComparator obc)
372         throws com.liferay.portal.SystemException {
373         return getPersistence()
374                    .findByG_P_L_P(groupId, privateLayout, layoutId, portletId,
375             start, end, obc);
376     }
377 
378     public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_First(
379         long groupId, boolean privateLayout, long layoutId,
380         java.lang.String portletId,
381         com.liferay.portal.kernel.util.OrderByComparator obc)
382         throws com.liferay.portal.SystemException,
383             com.liferay.portlet.journal.NoSuchContentSearchException {
384         return getPersistence()
385                    .findByG_P_L_P_First(groupId, privateLayout, layoutId,
386             portletId, obc);
387     }
388 
389     public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_Last(
390         long groupId, boolean privateLayout, long layoutId,
391         java.lang.String portletId,
392         com.liferay.portal.kernel.util.OrderByComparator obc)
393         throws com.liferay.portal.SystemException,
394             com.liferay.portlet.journal.NoSuchContentSearchException {
395         return getPersistence()
396                    .findByG_P_L_P_Last(groupId, privateLayout, layoutId,
397             portletId, obc);
398     }
399 
400     public static com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_L_P_PrevAndNext(
401         long contentSearchId, long groupId, boolean privateLayout,
402         long layoutId, java.lang.String portletId,
403         com.liferay.portal.kernel.util.OrderByComparator obc)
404         throws com.liferay.portal.SystemException,
405             com.liferay.portlet.journal.NoSuchContentSearchException {
406         return getPersistence()
407                    .findByG_P_L_P_PrevAndNext(contentSearchId, groupId,
408             privateLayout, layoutId, portletId, obc);
409     }
410 
411     public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_A(
412         long groupId, boolean privateLayout, long layoutId,
413         java.lang.String portletId, java.lang.String articleId)
414         throws com.liferay.portal.SystemException,
415             com.liferay.portlet.journal.NoSuchContentSearchException {
416         return getPersistence()
417                    .findByG_P_L_P_A(groupId, privateLayout, layoutId,
418             portletId, articleId);
419     }
420 
421     public static com.liferay.portlet.journal.model.JournalContentSearch fetchByG_P_L_P_A(
422         long groupId, boolean privateLayout, long layoutId,
423         java.lang.String portletId, java.lang.String articleId)
424         throws com.liferay.portal.SystemException {
425         return getPersistence()
426                    .fetchByG_P_L_P_A(groupId, privateLayout, layoutId,
427             portletId, articleId);
428     }
429 
430     public static com.liferay.portlet.journal.model.JournalContentSearch fetchByG_P_L_P_A(
431         long groupId, boolean privateLayout, long layoutId,
432         java.lang.String portletId, java.lang.String articleId,
433         boolean retrieveFromCache) throws com.liferay.portal.SystemException {
434         return getPersistence()
435                    .fetchByG_P_L_P_A(groupId, privateLayout, layoutId,
436             portletId, articleId, retrieveFromCache);
437     }
438 
439     public static java.util.List<Object> findWithDynamicQuery(
440         com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
441         throws com.liferay.portal.SystemException {
442         return getPersistence().findWithDynamicQuery(dynamicQuery);
443     }
444 
445     public static java.util.List<Object> findWithDynamicQuery(
446         com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
447         int end) throws com.liferay.portal.SystemException {
448         return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
449     }
450 
451     public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll()
452         throws com.liferay.portal.SystemException {
453         return getPersistence().findAll();
454     }
455 
456     public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll(
457         int start, int end) throws com.liferay.portal.SystemException {
458         return getPersistence().findAll(start, end);
459     }
460 
461     public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll(
462         int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
463         throws com.liferay.portal.SystemException {
464         return getPersistence().findAll(start, end, obc);
465     }
466 
467     public static void removeByArticleId(java.lang.String articleId)
468         throws com.liferay.portal.SystemException {
469         getPersistence().removeByArticleId(articleId);
470     }
471 
472     public static void removeByG_P(long groupId, boolean privateLayout)
473         throws com.liferay.portal.SystemException {
474         getPersistence().removeByG_P(groupId, privateLayout);
475     }
476 
477     public static void removeByG_A(long groupId, java.lang.String articleId)
478         throws com.liferay.portal.SystemException {
479         getPersistence().removeByG_A(groupId, articleId);
480     }
481 
482     public static void removeByG_P_L(long groupId, boolean privateLayout,
483         long layoutId) throws com.liferay.portal.SystemException {
484         getPersistence().removeByG_P_L(groupId, privateLayout, layoutId);
485     }
486 
487     public static void removeByG_P_A(long groupId, boolean privateLayout,
488         java.lang.String articleId) throws com.liferay.portal.SystemException {
489         getPersistence().removeByG_P_A(groupId, privateLayout, articleId);
490     }
491 
492     public static void removeByG_P_L_P(long groupId, boolean privateLayout,
493         long layoutId, java.lang.String portletId)
494         throws com.liferay.portal.SystemException {
495         getPersistence()
496             .removeByG_P_L_P(groupId, privateLayout, layoutId, portletId);
497     }
498 
499     public static void removeByG_P_L_P_A(long groupId, boolean privateLayout,
500         long layoutId, java.lang.String portletId, java.lang.String articleId)
501         throws com.liferay.portal.SystemException,
502             com.liferay.portlet.journal.NoSuchContentSearchException {
503         getPersistence()
504             .removeByG_P_L_P_A(groupId, privateLayout, layoutId, portletId,
505             articleId);
506     }
507 
508     public static void removeAll() throws com.liferay.portal.SystemException {
509         getPersistence().removeAll();
510     }
511 
512     public static int countByArticleId(java.lang.String articleId)
513         throws com.liferay.portal.SystemException {
514         return getPersistence().countByArticleId(articleId);
515     }
516 
517     public static int countByG_P(long groupId, boolean privateLayout)
518         throws com.liferay.portal.SystemException {
519         return getPersistence().countByG_P(groupId, privateLayout);
520     }
521 
522     public static int countByG_A(long groupId, java.lang.String articleId)
523         throws com.liferay.portal.SystemException {
524         return getPersistence().countByG_A(groupId, articleId);
525     }
526 
527     public static int countByG_P_L(long groupId, boolean privateLayout,
528         long layoutId) throws com.liferay.portal.SystemException {
529         return getPersistence().countByG_P_L(groupId, privateLayout, layoutId);
530     }
531 
532     public static int countByG_P_A(long groupId, boolean privateLayout,
533         java.lang.String articleId) throws com.liferay.portal.SystemException {
534         return getPersistence().countByG_P_A(groupId, privateLayout, articleId);
535     }
536 
537     public static int countByG_P_L_P(long groupId, boolean privateLayout,
538         long layoutId, java.lang.String portletId)
539         throws com.liferay.portal.SystemException {
540         return getPersistence()
541                    .countByG_P_L_P(groupId, privateLayout, layoutId, portletId);
542     }
543 
544     public static int countByG_P_L_P_A(long groupId, boolean privateLayout,
545         long layoutId, java.lang.String portletId, java.lang.String articleId)
546         throws com.liferay.portal.SystemException {
547         return getPersistence()
548                    .countByG_P_L_P_A(groupId, privateLayout, layoutId,
549             portletId, articleId);
550     }
551 
552     public static int countAll() throws com.liferay.portal.SystemException {
553         return getPersistence().countAll();
554     }
555 
556     public static JournalContentSearchPersistence getPersistence() {
557         return _persistence;
558     }
559 
560     public void setPersistence(JournalContentSearchPersistence persistence) {
561         _persistence = persistence;
562     }
563 
564     private static JournalContentSearchPersistence _persistence;
565 }