001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.journal.service.persistence;
016    
017    import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
019    import com.liferay.portal.kernel.exception.SystemException;
020    import com.liferay.portal.kernel.util.OrderByComparator;
021    import com.liferay.portal.service.ServiceContext;
022    
023    import com.liferay.portlet.journal.model.JournalContentSearch;
024    
025    import java.util.List;
026    
027    /**
028     * @author    Brian Wing Shun Chan
029     * @see       JournalContentSearchPersistence
030     * @see       JournalContentSearchPersistenceImpl
031     * @generated
032     */
033    public class JournalContentSearchUtil {
034            /**
035             * @see com.liferay.portal.service.persistence.BasePersistence#clearCache()
036             */
037            public static void clearCache() {
038                    getPersistence().clearCache();
039            }
040    
041            /**
042             * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel)
043             */
044            public static void clearCache(JournalContentSearch journalContentSearch) {
045                    getPersistence().clearCache(journalContentSearch);
046            }
047    
048            /**
049             * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery)
050             */
051            public long countWithDynamicQuery(DynamicQuery dynamicQuery)
052                    throws SystemException {
053                    return getPersistence().countWithDynamicQuery(dynamicQuery);
054            }
055    
056            /**
057             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery)
058             */
059            public static List<JournalContentSearch> findWithDynamicQuery(
060                    DynamicQuery dynamicQuery) throws SystemException {
061                    return getPersistence().findWithDynamicQuery(dynamicQuery);
062            }
063    
064            /**
065             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int)
066             */
067            public static List<JournalContentSearch> findWithDynamicQuery(
068                    DynamicQuery dynamicQuery, int start, int end)
069                    throws SystemException {
070                    return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
071            }
072    
073            /**
074             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
075             */
076            public static List<JournalContentSearch> findWithDynamicQuery(
077                    DynamicQuery dynamicQuery, int start, int end,
078                    OrderByComparator orderByComparator) throws SystemException {
079                    return getPersistence()
080                                       .findWithDynamicQuery(dynamicQuery, start, end,
081                            orderByComparator);
082            }
083    
084            /**
085             * @see com.liferay.portal.service.persistence.BasePersistence#remove(com.liferay.portal.model.BaseModel)
086             */
087            public static JournalContentSearch remove(
088                    JournalContentSearch journalContentSearch) throws SystemException {
089                    return getPersistence().remove(journalContentSearch);
090            }
091    
092            /**
093             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean)
094             */
095            public static JournalContentSearch update(
096                    JournalContentSearch journalContentSearch, boolean merge)
097                    throws SystemException {
098                    return getPersistence().update(journalContentSearch, merge);
099            }
100    
101            /**
102             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
103             */
104            public static JournalContentSearch update(
105                    JournalContentSearch journalContentSearch, boolean merge,
106                    ServiceContext serviceContext) throws SystemException {
107                    return getPersistence()
108                                       .update(journalContentSearch, merge, serviceContext);
109            }
110    
111            public static void cacheResult(
112                    com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch) {
113                    getPersistence().cacheResult(journalContentSearch);
114            }
115    
116            public static void cacheResult(
117                    java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> journalContentSearchs) {
118                    getPersistence().cacheResult(journalContentSearchs);
119            }
120    
121            public static com.liferay.portlet.journal.model.JournalContentSearch create(
122                    long contentSearchId) {
123                    return getPersistence().create(contentSearchId);
124            }
125    
126            public static com.liferay.portlet.journal.model.JournalContentSearch remove(
127                    long contentSearchId)
128                    throws com.liferay.portal.kernel.exception.SystemException,
129                            com.liferay.portlet.journal.NoSuchContentSearchException {
130                    return getPersistence().remove(contentSearchId);
131            }
132    
133            public static com.liferay.portlet.journal.model.JournalContentSearch updateImpl(
134                    com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch,
135                    boolean merge)
136                    throws com.liferay.portal.kernel.exception.SystemException {
137                    return getPersistence().updateImpl(journalContentSearch, merge);
138            }
139    
140            public static com.liferay.portlet.journal.model.JournalContentSearch findByPrimaryKey(
141                    long contentSearchId)
142                    throws com.liferay.portal.kernel.exception.SystemException,
143                            com.liferay.portlet.journal.NoSuchContentSearchException {
144                    return getPersistence().findByPrimaryKey(contentSearchId);
145            }
146    
147            public static com.liferay.portlet.journal.model.JournalContentSearch fetchByPrimaryKey(
148                    long contentSearchId)
149                    throws com.liferay.portal.kernel.exception.SystemException {
150                    return getPersistence().fetchByPrimaryKey(contentSearchId);
151            }
152    
153            public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByArticleId(
154                    java.lang.String articleId)
155                    throws com.liferay.portal.kernel.exception.SystemException {
156                    return getPersistence().findByArticleId(articleId);
157            }
158    
159            public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByArticleId(
160                    java.lang.String articleId, int start, int end)
161                    throws com.liferay.portal.kernel.exception.SystemException {
162                    return getPersistence().findByArticleId(articleId, start, end);
163            }
164    
165            public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByArticleId(
166                    java.lang.String articleId, int start, int end,
167                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
168                    throws com.liferay.portal.kernel.exception.SystemException {
169                    return getPersistence()
170                                       .findByArticleId(articleId, start, end, orderByComparator);
171            }
172    
173            public static com.liferay.portlet.journal.model.JournalContentSearch findByArticleId_First(
174                    java.lang.String articleId,
175                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
176                    throws com.liferay.portal.kernel.exception.SystemException,
177                            com.liferay.portlet.journal.NoSuchContentSearchException {
178                    return getPersistence()
179                                       .findByArticleId_First(articleId, orderByComparator);
180            }
181    
182            public static com.liferay.portlet.journal.model.JournalContentSearch findByArticleId_Last(
183                    java.lang.String articleId,
184                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
185                    throws com.liferay.portal.kernel.exception.SystemException,
186                            com.liferay.portlet.journal.NoSuchContentSearchException {
187                    return getPersistence()
188                                       .findByArticleId_Last(articleId, orderByComparator);
189            }
190    
191            public static com.liferay.portlet.journal.model.JournalContentSearch[] findByArticleId_PrevAndNext(
192                    long contentSearchId, java.lang.String articleId,
193                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
194                    throws com.liferay.portal.kernel.exception.SystemException,
195                            com.liferay.portlet.journal.NoSuchContentSearchException {
196                    return getPersistence()
197                                       .findByArticleId_PrevAndNext(contentSearchId, articleId,
198                            orderByComparator);
199            }
200    
201            public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(
202                    long groupId, boolean privateLayout)
203                    throws com.liferay.portal.kernel.exception.SystemException {
204                    return getPersistence().findByG_P(groupId, privateLayout);
205            }
206    
207            public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(
208                    long groupId, boolean privateLayout, int start, int end)
209                    throws com.liferay.portal.kernel.exception.SystemException {
210                    return getPersistence().findByG_P(groupId, privateLayout, start, end);
211            }
212    
213            public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(
214                    long groupId, boolean privateLayout, int start, int end,
215                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
216                    throws com.liferay.portal.kernel.exception.SystemException {
217                    return getPersistence()
218                                       .findByG_P(groupId, privateLayout, start, end,
219                            orderByComparator);
220            }
221    
222            public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_First(
223                    long groupId, boolean privateLayout,
224                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
225                    throws com.liferay.portal.kernel.exception.SystemException,
226                            com.liferay.portlet.journal.NoSuchContentSearchException {
227                    return getPersistence()
228                                       .findByG_P_First(groupId, privateLayout, orderByComparator);
229            }
230    
231            public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_Last(
232                    long groupId, boolean privateLayout,
233                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
234                    throws com.liferay.portal.kernel.exception.SystemException,
235                            com.liferay.portlet.journal.NoSuchContentSearchException {
236                    return getPersistence()
237                                       .findByG_P_Last(groupId, privateLayout, orderByComparator);
238            }
239    
240            public static com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_PrevAndNext(
241                    long contentSearchId, long groupId, boolean privateLayout,
242                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
243                    throws com.liferay.portal.kernel.exception.SystemException,
244                            com.liferay.portlet.journal.NoSuchContentSearchException {
245                    return getPersistence()
246                                       .findByG_P_PrevAndNext(contentSearchId, groupId,
247                            privateLayout, orderByComparator);
248            }
249    
250            public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(
251                    long groupId, java.lang.String articleId)
252                    throws com.liferay.portal.kernel.exception.SystemException {
253                    return getPersistence().findByG_A(groupId, articleId);
254            }
255    
256            public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(
257                    long groupId, java.lang.String articleId, int start, int end)
258                    throws com.liferay.portal.kernel.exception.SystemException {
259                    return getPersistence().findByG_A(groupId, articleId, start, end);
260            }
261    
262            public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(
263                    long groupId, java.lang.String articleId, int start, int end,
264                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
265                    throws com.liferay.portal.kernel.exception.SystemException {
266                    return getPersistence()
267                                       .findByG_A(groupId, articleId, start, end, orderByComparator);
268            }
269    
270            public static com.liferay.portlet.journal.model.JournalContentSearch findByG_A_First(
271                    long groupId, java.lang.String articleId,
272                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
273                    throws com.liferay.portal.kernel.exception.SystemException,
274                            com.liferay.portlet.journal.NoSuchContentSearchException {
275                    return getPersistence()
276                                       .findByG_A_First(groupId, articleId, orderByComparator);
277            }
278    
279            public static com.liferay.portlet.journal.model.JournalContentSearch findByG_A_Last(
280                    long groupId, java.lang.String articleId,
281                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
282                    throws com.liferay.portal.kernel.exception.SystemException,
283                            com.liferay.portlet.journal.NoSuchContentSearchException {
284                    return getPersistence()
285                                       .findByG_A_Last(groupId, articleId, orderByComparator);
286            }
287    
288            public static com.liferay.portlet.journal.model.JournalContentSearch[] findByG_A_PrevAndNext(
289                    long contentSearchId, long groupId, java.lang.String articleId,
290                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
291                    throws com.liferay.portal.kernel.exception.SystemException,
292                            com.liferay.portlet.journal.NoSuchContentSearchException {
293                    return getPersistence()
294                                       .findByG_A_PrevAndNext(contentSearchId, groupId, articleId,
295                            orderByComparator);
296            }
297    
298            public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(
299                    long groupId, boolean privateLayout, long layoutId)
300                    throws com.liferay.portal.kernel.exception.SystemException {
301                    return getPersistence().findByG_P_L(groupId, privateLayout, layoutId);
302            }
303    
304            public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(
305                    long groupId, boolean privateLayout, long layoutId, int start, int end)
306                    throws com.liferay.portal.kernel.exception.SystemException {
307                    return getPersistence()
308                                       .findByG_P_L(groupId, privateLayout, layoutId, start, end);
309            }
310    
311            public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(
312                    long groupId, boolean privateLayout, long layoutId, int start, int end,
313                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
314                    throws com.liferay.portal.kernel.exception.SystemException {
315                    return getPersistence()
316                                       .findByG_P_L(groupId, privateLayout, layoutId, start, end,
317                            orderByComparator);
318            }
319    
320            public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_First(
321                    long groupId, boolean privateLayout, long layoutId,
322                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
323                    throws com.liferay.portal.kernel.exception.SystemException,
324                            com.liferay.portlet.journal.NoSuchContentSearchException {
325                    return getPersistence()
326                                       .findByG_P_L_First(groupId, privateLayout, layoutId,
327                            orderByComparator);
328            }
329    
330            public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_Last(
331                    long groupId, boolean privateLayout, long layoutId,
332                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
333                    throws com.liferay.portal.kernel.exception.SystemException,
334                            com.liferay.portlet.journal.NoSuchContentSearchException {
335                    return getPersistence()
336                                       .findByG_P_L_Last(groupId, privateLayout, layoutId,
337                            orderByComparator);
338            }
339    
340            public static com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_L_PrevAndNext(
341                    long contentSearchId, long groupId, boolean privateLayout,
342                    long layoutId,
343                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
344                    throws com.liferay.portal.kernel.exception.SystemException,
345                            com.liferay.portlet.journal.NoSuchContentSearchException {
346                    return getPersistence()
347                                       .findByG_P_L_PrevAndNext(contentSearchId, groupId,
348                            privateLayout, layoutId, orderByComparator);
349            }
350    
351            public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(
352                    long groupId, boolean privateLayout, java.lang.String articleId)
353                    throws com.liferay.portal.kernel.exception.SystemException {
354                    return getPersistence().findByG_P_A(groupId, privateLayout, articleId);
355            }
356    
357            public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(
358                    long groupId, boolean privateLayout, java.lang.String articleId,
359                    int start, int end)
360                    throws com.liferay.portal.kernel.exception.SystemException {
361                    return getPersistence()
362                                       .findByG_P_A(groupId, privateLayout, articleId, start, end);
363            }
364    
365            public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(
366                    long groupId, boolean privateLayout, java.lang.String articleId,
367                    int start, int end,
368                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
369                    throws com.liferay.portal.kernel.exception.SystemException {
370                    return getPersistence()
371                                       .findByG_P_A(groupId, privateLayout, articleId, start, end,
372                            orderByComparator);
373            }
374    
375            public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_A_First(
376                    long groupId, boolean privateLayout, java.lang.String articleId,
377                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
378                    throws com.liferay.portal.kernel.exception.SystemException,
379                            com.liferay.portlet.journal.NoSuchContentSearchException {
380                    return getPersistence()
381                                       .findByG_P_A_First(groupId, privateLayout, articleId,
382                            orderByComparator);
383            }
384    
385            public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_A_Last(
386                    long groupId, boolean privateLayout, java.lang.String articleId,
387                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
388                    throws com.liferay.portal.kernel.exception.SystemException,
389                            com.liferay.portlet.journal.NoSuchContentSearchException {
390                    return getPersistence()
391                                       .findByG_P_A_Last(groupId, privateLayout, articleId,
392                            orderByComparator);
393            }
394    
395            public static com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_A_PrevAndNext(
396                    long contentSearchId, long groupId, boolean privateLayout,
397                    java.lang.String articleId,
398                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
399                    throws com.liferay.portal.kernel.exception.SystemException,
400                            com.liferay.portlet.journal.NoSuchContentSearchException {
401                    return getPersistence()
402                                       .findByG_P_A_PrevAndNext(contentSearchId, groupId,
403                            privateLayout, articleId, orderByComparator);
404            }
405    
406            public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(
407                    long groupId, boolean privateLayout, long layoutId,
408                    java.lang.String portletId)
409                    throws com.liferay.portal.kernel.exception.SystemException {
410                    return getPersistence()
411                                       .findByG_P_L_P(groupId, privateLayout, layoutId, portletId);
412            }
413    
414            public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(
415                    long groupId, boolean privateLayout, long layoutId,
416                    java.lang.String portletId, int start, int end)
417                    throws com.liferay.portal.kernel.exception.SystemException {
418                    return getPersistence()
419                                       .findByG_P_L_P(groupId, privateLayout, layoutId, portletId,
420                            start, end);
421            }
422    
423            public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(
424                    long groupId, boolean privateLayout, long layoutId,
425                    java.lang.String portletId, int start, int end,
426                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
427                    throws com.liferay.portal.kernel.exception.SystemException {
428                    return getPersistence()
429                                       .findByG_P_L_P(groupId, privateLayout, layoutId, portletId,
430                            start, end, orderByComparator);
431            }
432    
433            public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_First(
434                    long groupId, boolean privateLayout, long layoutId,
435                    java.lang.String portletId,
436                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
437                    throws com.liferay.portal.kernel.exception.SystemException,
438                            com.liferay.portlet.journal.NoSuchContentSearchException {
439                    return getPersistence()
440                                       .findByG_P_L_P_First(groupId, privateLayout, layoutId,
441                            portletId, orderByComparator);
442            }
443    
444            public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_Last(
445                    long groupId, boolean privateLayout, long layoutId,
446                    java.lang.String portletId,
447                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
448                    throws com.liferay.portal.kernel.exception.SystemException,
449                            com.liferay.portlet.journal.NoSuchContentSearchException {
450                    return getPersistence()
451                                       .findByG_P_L_P_Last(groupId, privateLayout, layoutId,
452                            portletId, orderByComparator);
453            }
454    
455            public static com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_L_P_PrevAndNext(
456                    long contentSearchId, long groupId, boolean privateLayout,
457                    long layoutId, java.lang.String portletId,
458                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
459                    throws com.liferay.portal.kernel.exception.SystemException,
460                            com.liferay.portlet.journal.NoSuchContentSearchException {
461                    return getPersistence()
462                                       .findByG_P_L_P_PrevAndNext(contentSearchId, groupId,
463                            privateLayout, layoutId, portletId, orderByComparator);
464            }
465    
466            public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_A(
467                    long groupId, boolean privateLayout, long layoutId,
468                    java.lang.String portletId, java.lang.String articleId)
469                    throws com.liferay.portal.kernel.exception.SystemException,
470                            com.liferay.portlet.journal.NoSuchContentSearchException {
471                    return getPersistence()
472                                       .findByG_P_L_P_A(groupId, privateLayout, layoutId,
473                            portletId, articleId);
474            }
475    
476            public static com.liferay.portlet.journal.model.JournalContentSearch fetchByG_P_L_P_A(
477                    long groupId, boolean privateLayout, long layoutId,
478                    java.lang.String portletId, java.lang.String articleId)
479                    throws com.liferay.portal.kernel.exception.SystemException {
480                    return getPersistence()
481                                       .fetchByG_P_L_P_A(groupId, privateLayout, layoutId,
482                            portletId, articleId);
483            }
484    
485            public static com.liferay.portlet.journal.model.JournalContentSearch fetchByG_P_L_P_A(
486                    long groupId, boolean privateLayout, long layoutId,
487                    java.lang.String portletId, java.lang.String articleId,
488                    boolean retrieveFromCache)
489                    throws com.liferay.portal.kernel.exception.SystemException {
490                    return getPersistence()
491                                       .fetchByG_P_L_P_A(groupId, privateLayout, layoutId,
492                            portletId, articleId, retrieveFromCache);
493            }
494    
495            public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll()
496                    throws com.liferay.portal.kernel.exception.SystemException {
497                    return getPersistence().findAll();
498            }
499    
500            public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll(
501                    int start, int end)
502                    throws com.liferay.portal.kernel.exception.SystemException {
503                    return getPersistence().findAll(start, end);
504            }
505    
506            public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll(
507                    int start, int end,
508                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
509                    throws com.liferay.portal.kernel.exception.SystemException {
510                    return getPersistence().findAll(start, end, orderByComparator);
511            }
512    
513            public static void removeByArticleId(java.lang.String articleId)
514                    throws com.liferay.portal.kernel.exception.SystemException {
515                    getPersistence().removeByArticleId(articleId);
516            }
517    
518            public static void removeByG_P(long groupId, boolean privateLayout)
519                    throws com.liferay.portal.kernel.exception.SystemException {
520                    getPersistence().removeByG_P(groupId, privateLayout);
521            }
522    
523            public static void removeByG_A(long groupId, java.lang.String articleId)
524                    throws com.liferay.portal.kernel.exception.SystemException {
525                    getPersistence().removeByG_A(groupId, articleId);
526            }
527    
528            public static void removeByG_P_L(long groupId, boolean privateLayout,
529                    long layoutId)
530                    throws com.liferay.portal.kernel.exception.SystemException {
531                    getPersistence().removeByG_P_L(groupId, privateLayout, layoutId);
532            }
533    
534            public static void removeByG_P_A(long groupId, boolean privateLayout,
535                    java.lang.String articleId)
536                    throws com.liferay.portal.kernel.exception.SystemException {
537                    getPersistence().removeByG_P_A(groupId, privateLayout, articleId);
538            }
539    
540            public static void removeByG_P_L_P(long groupId, boolean privateLayout,
541                    long layoutId, java.lang.String portletId)
542                    throws com.liferay.portal.kernel.exception.SystemException {
543                    getPersistence()
544                            .removeByG_P_L_P(groupId, privateLayout, layoutId, portletId);
545            }
546    
547            public static void removeByG_P_L_P_A(long groupId, boolean privateLayout,
548                    long layoutId, java.lang.String portletId, java.lang.String articleId)
549                    throws com.liferay.portal.kernel.exception.SystemException,
550                            com.liferay.portlet.journal.NoSuchContentSearchException {
551                    getPersistence()
552                            .removeByG_P_L_P_A(groupId, privateLayout, layoutId, portletId,
553                            articleId);
554            }
555    
556            public static void removeAll()
557                    throws com.liferay.portal.kernel.exception.SystemException {
558                    getPersistence().removeAll();
559            }
560    
561            public static int countByArticleId(java.lang.String articleId)
562                    throws com.liferay.portal.kernel.exception.SystemException {
563                    return getPersistence().countByArticleId(articleId);
564            }
565    
566            public static int countByG_P(long groupId, boolean privateLayout)
567                    throws com.liferay.portal.kernel.exception.SystemException {
568                    return getPersistence().countByG_P(groupId, privateLayout);
569            }
570    
571            public static int countByG_A(long groupId, java.lang.String articleId)
572                    throws com.liferay.portal.kernel.exception.SystemException {
573                    return getPersistence().countByG_A(groupId, articleId);
574            }
575    
576            public static int countByG_P_L(long groupId, boolean privateLayout,
577                    long layoutId)
578                    throws com.liferay.portal.kernel.exception.SystemException {
579                    return getPersistence().countByG_P_L(groupId, privateLayout, layoutId);
580            }
581    
582            public static int countByG_P_A(long groupId, boolean privateLayout,
583                    java.lang.String articleId)
584                    throws com.liferay.portal.kernel.exception.SystemException {
585                    return getPersistence().countByG_P_A(groupId, privateLayout, articleId);
586            }
587    
588            public static int countByG_P_L_P(long groupId, boolean privateLayout,
589                    long layoutId, java.lang.String portletId)
590                    throws com.liferay.portal.kernel.exception.SystemException {
591                    return getPersistence()
592                                       .countByG_P_L_P(groupId, privateLayout, layoutId, portletId);
593            }
594    
595            public static int countByG_P_L_P_A(long groupId, boolean privateLayout,
596                    long layoutId, java.lang.String portletId, java.lang.String articleId)
597                    throws com.liferay.portal.kernel.exception.SystemException {
598                    return getPersistence()
599                                       .countByG_P_L_P_A(groupId, privateLayout, layoutId,
600                            portletId, articleId);
601            }
602    
603            public static int countAll()
604                    throws com.liferay.portal.kernel.exception.SystemException {
605                    return getPersistence().countAll();
606            }
607    
608            public static JournalContentSearchPersistence getPersistence() {
609                    if (_persistence == null) {
610                            _persistence = (JournalContentSearchPersistence)PortalBeanLocatorUtil.locate(JournalContentSearchPersistence.class.getName());
611                    }
612    
613                    return _persistence;
614            }
615    
616            public void setPersistence(JournalContentSearchPersistence persistence) {
617                    _persistence = persistence;
618            }
619    
620            private static JournalContentSearchPersistence _persistence;
621    }