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.service.persistence.BasePersistence;
018    
019    import com.liferay.portlet.journal.model.JournalContentSearch;
020    
021    /**
022     * The persistence interface for the journal content search service.
023     *
024     * <p>
025     * Never modify or reference this interface directly. Always use {@link JournalContentSearchUtil} to access the journal content search persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
026     * </p>
027     *
028     * <p>
029     * Caching information and settings can be found in <code>portal.properties</code>
030     * </p>
031     *
032     * @author Brian Wing Shun Chan
033     * @see JournalContentSearchPersistenceImpl
034     * @see JournalContentSearchUtil
035     * @generated
036     */
037    public interface JournalContentSearchPersistence extends BasePersistence<JournalContentSearch> {
038            /**
039            * Caches the journal content search in the entity cache if it is enabled.
040            *
041            * @param journalContentSearch the journal content search to cache
042            */
043            public void cacheResult(
044                    com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch);
045    
046            /**
047            * Caches the journal content searchs in the entity cache if it is enabled.
048            *
049            * @param journalContentSearchs the journal content searchs to cache
050            */
051            public void cacheResult(
052                    java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> journalContentSearchs);
053    
054            /**
055            * Creates a new journal content search with the primary key. Does not add the journal content search to the database.
056            *
057            * @param contentSearchId the primary key for the new journal content search
058            * @return the new journal content search
059            */
060            public com.liferay.portlet.journal.model.JournalContentSearch create(
061                    long contentSearchId);
062    
063            /**
064            * Removes the journal content search with the primary key from the database. Also notifies the appropriate model listeners.
065            *
066            * @param contentSearchId the primary key of the journal content search to remove
067            * @return the journal content search that was removed
068            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a journal content search with the primary key could not be found
069            * @throws SystemException if a system exception occurred
070            */
071            public com.liferay.portlet.journal.model.JournalContentSearch remove(
072                    long contentSearchId)
073                    throws com.liferay.portal.kernel.exception.SystemException,
074                            com.liferay.portlet.journal.NoSuchContentSearchException;
075    
076            public com.liferay.portlet.journal.model.JournalContentSearch updateImpl(
077                    com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch,
078                    boolean merge)
079                    throws com.liferay.portal.kernel.exception.SystemException;
080    
081            /**
082            * Finds the journal content search with the primary key or throws a {@link com.liferay.portlet.journal.NoSuchContentSearchException} if it could not be found.
083            *
084            * @param contentSearchId the primary key of the journal content search to find
085            * @return the journal content search
086            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a journal content search with the primary key could not be found
087            * @throws SystemException if a system exception occurred
088            */
089            public com.liferay.portlet.journal.model.JournalContentSearch findByPrimaryKey(
090                    long contentSearchId)
091                    throws com.liferay.portal.kernel.exception.SystemException,
092                            com.liferay.portlet.journal.NoSuchContentSearchException;
093    
094            /**
095            * Finds the journal content search with the primary key or returns <code>null</code> if it could not be found.
096            *
097            * @param contentSearchId the primary key of the journal content search to find
098            * @return the journal content search, or <code>null</code> if a journal content search with the primary key could not be found
099            * @throws SystemException if a system exception occurred
100            */
101            public com.liferay.portlet.journal.model.JournalContentSearch fetchByPrimaryKey(
102                    long contentSearchId)
103                    throws com.liferay.portal.kernel.exception.SystemException;
104    
105            /**
106            * Finds all the journal content searchs where articleId = &#63;.
107            *
108            * @param articleId the article id to search with
109            * @return the matching journal content searchs
110            * @throws SystemException if a system exception occurred
111            */
112            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByArticleId(
113                    java.lang.String articleId)
114                    throws com.liferay.portal.kernel.exception.SystemException;
115    
116            /**
117            * Finds a range of all the journal content searchs where articleId = &#63;.
118            *
119            * <p>
120            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
121            * </p>
122            *
123            * @param articleId the article id to search with
124            * @param start the lower bound of the range of journal content searchs to return
125            * @param end the upper bound of the range of journal content searchs to return (not inclusive)
126            * @return the range of matching journal content searchs
127            * @throws SystemException if a system exception occurred
128            */
129            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByArticleId(
130                    java.lang.String articleId, int start, int end)
131                    throws com.liferay.portal.kernel.exception.SystemException;
132    
133            /**
134            * Finds an ordered range of all the journal content searchs where articleId = &#63;.
135            *
136            * <p>
137            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
138            * </p>
139            *
140            * @param articleId the article id to search with
141            * @param start the lower bound of the range of journal content searchs to return
142            * @param end the upper bound of the range of journal content searchs to return (not inclusive)
143            * @param orderByComparator the comparator to order the results by
144            * @return the ordered range of matching journal content searchs
145            * @throws SystemException if a system exception occurred
146            */
147            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByArticleId(
148                    java.lang.String articleId, int start, int end,
149                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
150                    throws com.liferay.portal.kernel.exception.SystemException;
151    
152            /**
153            * Finds the first journal content search in the ordered set where articleId = &#63;.
154            *
155            * <p>
156            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
157            * </p>
158            *
159            * @param articleId the article id to search with
160            * @param orderByComparator the comparator to order the set by
161            * @return the first matching journal content search
162            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found
163            * @throws SystemException if a system exception occurred
164            */
165            public com.liferay.portlet.journal.model.JournalContentSearch findByArticleId_First(
166                    java.lang.String articleId,
167                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
168                    throws com.liferay.portal.kernel.exception.SystemException,
169                            com.liferay.portlet.journal.NoSuchContentSearchException;
170    
171            /**
172            * Finds the last journal content search in the ordered set where articleId = &#63;.
173            *
174            * <p>
175            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
176            * </p>
177            *
178            * @param articleId the article id to search with
179            * @param orderByComparator the comparator to order the set by
180            * @return the last matching journal content search
181            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found
182            * @throws SystemException if a system exception occurred
183            */
184            public com.liferay.portlet.journal.model.JournalContentSearch findByArticleId_Last(
185                    java.lang.String articleId,
186                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
187                    throws com.liferay.portal.kernel.exception.SystemException,
188                            com.liferay.portlet.journal.NoSuchContentSearchException;
189    
190            /**
191            * Finds the journal content searchs before and after the current journal content search in the ordered set where articleId = &#63;.
192            *
193            * <p>
194            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
195            * </p>
196            *
197            * @param contentSearchId the primary key of the current journal content search
198            * @param articleId the article id to search with
199            * @param orderByComparator the comparator to order the set by
200            * @return the previous, current, and next journal content search
201            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a journal content search with the primary key could not be found
202            * @throws SystemException if a system exception occurred
203            */
204            public com.liferay.portlet.journal.model.JournalContentSearch[] findByArticleId_PrevAndNext(
205                    long contentSearchId, java.lang.String articleId,
206                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
207                    throws com.liferay.portal.kernel.exception.SystemException,
208                            com.liferay.portlet.journal.NoSuchContentSearchException;
209    
210            /**
211            * Finds all the journal content searchs where groupId = &#63; and privateLayout = &#63;.
212            *
213            * @param groupId the group id to search with
214            * @param privateLayout the private layout to search with
215            * @return the matching journal content searchs
216            * @throws SystemException if a system exception occurred
217            */
218            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(
219                    long groupId, boolean privateLayout)
220                    throws com.liferay.portal.kernel.exception.SystemException;
221    
222            /**
223            * Finds a range of all the journal content searchs where groupId = &#63; and privateLayout = &#63;.
224            *
225            * <p>
226            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
227            * </p>
228            *
229            * @param groupId the group id to search with
230            * @param privateLayout the private layout to search with
231            * @param start the lower bound of the range of journal content searchs to return
232            * @param end the upper bound of the range of journal content searchs to return (not inclusive)
233            * @return the range of matching journal content searchs
234            * @throws SystemException if a system exception occurred
235            */
236            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(
237                    long groupId, boolean privateLayout, int start, int end)
238                    throws com.liferay.portal.kernel.exception.SystemException;
239    
240            /**
241            * Finds an ordered range of all the journal content searchs where groupId = &#63; and privateLayout = &#63;.
242            *
243            * <p>
244            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
245            * </p>
246            *
247            * @param groupId the group id to search with
248            * @param privateLayout the private layout to search with
249            * @param start the lower bound of the range of journal content searchs to return
250            * @param end the upper bound of the range of journal content searchs to return (not inclusive)
251            * @param orderByComparator the comparator to order the results by
252            * @return the ordered range of matching journal content searchs
253            * @throws SystemException if a system exception occurred
254            */
255            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(
256                    long groupId, boolean privateLayout, int start, int end,
257                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
258                    throws com.liferay.portal.kernel.exception.SystemException;
259    
260            /**
261            * Finds the first journal content search in the ordered set where groupId = &#63; and privateLayout = &#63;.
262            *
263            * <p>
264            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
265            * </p>
266            *
267            * @param groupId the group id to search with
268            * @param privateLayout the private layout to search with
269            * @param orderByComparator the comparator to order the set by
270            * @return the first matching journal content search
271            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found
272            * @throws SystemException if a system exception occurred
273            */
274            public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_First(
275                    long groupId, boolean privateLayout,
276                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
277                    throws com.liferay.portal.kernel.exception.SystemException,
278                            com.liferay.portlet.journal.NoSuchContentSearchException;
279    
280            /**
281            * Finds the last journal content search in the ordered set where groupId = &#63; and privateLayout = &#63;.
282            *
283            * <p>
284            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
285            * </p>
286            *
287            * @param groupId the group id to search with
288            * @param privateLayout the private layout to search with
289            * @param orderByComparator the comparator to order the set by
290            * @return the last matching journal content search
291            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found
292            * @throws SystemException if a system exception occurred
293            */
294            public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_Last(
295                    long groupId, boolean privateLayout,
296                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
297                    throws com.liferay.portal.kernel.exception.SystemException,
298                            com.liferay.portlet.journal.NoSuchContentSearchException;
299    
300            /**
301            * Finds the journal content searchs before and after the current journal content search in the ordered set where groupId = &#63; and privateLayout = &#63;.
302            *
303            * <p>
304            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
305            * </p>
306            *
307            * @param contentSearchId the primary key of the current journal content search
308            * @param groupId the group id to search with
309            * @param privateLayout the private layout to search with
310            * @param orderByComparator the comparator to order the set by
311            * @return the previous, current, and next journal content search
312            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a journal content search with the primary key could not be found
313            * @throws SystemException if a system exception occurred
314            */
315            public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_PrevAndNext(
316                    long contentSearchId, long groupId, boolean privateLayout,
317                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
318                    throws com.liferay.portal.kernel.exception.SystemException,
319                            com.liferay.portlet.journal.NoSuchContentSearchException;
320    
321            /**
322            * Finds all the journal content searchs where groupId = &#63; and articleId = &#63;.
323            *
324            * @param groupId the group id to search with
325            * @param articleId the article id to search with
326            * @return the matching journal content searchs
327            * @throws SystemException if a system exception occurred
328            */
329            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(
330                    long groupId, java.lang.String articleId)
331                    throws com.liferay.portal.kernel.exception.SystemException;
332    
333            /**
334            * Finds a range of all the journal content searchs where groupId = &#63; and articleId = &#63;.
335            *
336            * <p>
337            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
338            * </p>
339            *
340            * @param groupId the group id to search with
341            * @param articleId the article id to search with
342            * @param start the lower bound of the range of journal content searchs to return
343            * @param end the upper bound of the range of journal content searchs to return (not inclusive)
344            * @return the range of matching journal content searchs
345            * @throws SystemException if a system exception occurred
346            */
347            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(
348                    long groupId, java.lang.String articleId, int start, int end)
349                    throws com.liferay.portal.kernel.exception.SystemException;
350    
351            /**
352            * Finds an ordered range of all the journal content searchs where groupId = &#63; and articleId = &#63;.
353            *
354            * <p>
355            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
356            * </p>
357            *
358            * @param groupId the group id to search with
359            * @param articleId the article id to search with
360            * @param start the lower bound of the range of journal content searchs to return
361            * @param end the upper bound of the range of journal content searchs to return (not inclusive)
362            * @param orderByComparator the comparator to order the results by
363            * @return the ordered range of matching journal content searchs
364            * @throws SystemException if a system exception occurred
365            */
366            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(
367                    long groupId, java.lang.String articleId, int start, int end,
368                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
369                    throws com.liferay.portal.kernel.exception.SystemException;
370    
371            /**
372            * Finds the first journal content search in the ordered set where groupId = &#63; and articleId = &#63;.
373            *
374            * <p>
375            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
376            * </p>
377            *
378            * @param groupId the group id to search with
379            * @param articleId the article id to search with
380            * @param orderByComparator the comparator to order the set by
381            * @return the first matching journal content search
382            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found
383            * @throws SystemException if a system exception occurred
384            */
385            public com.liferay.portlet.journal.model.JournalContentSearch findByG_A_First(
386                    long groupId, 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    
391            /**
392            * Finds the last journal content search in the ordered set where groupId = &#63; and articleId = &#63;.
393            *
394            * <p>
395            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
396            * </p>
397            *
398            * @param groupId the group id to search with
399            * @param articleId the article id to search with
400            * @param orderByComparator the comparator to order the set by
401            * @return the last matching journal content search
402            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found
403            * @throws SystemException if a system exception occurred
404            */
405            public com.liferay.portlet.journal.model.JournalContentSearch findByG_A_Last(
406                    long groupId, java.lang.String articleId,
407                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
408                    throws com.liferay.portal.kernel.exception.SystemException,
409                            com.liferay.portlet.journal.NoSuchContentSearchException;
410    
411            /**
412            * Finds the journal content searchs before and after the current journal content search in the ordered set where groupId = &#63; and articleId = &#63;.
413            *
414            * <p>
415            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
416            * </p>
417            *
418            * @param contentSearchId the primary key of the current journal content search
419            * @param groupId the group id to search with
420            * @param articleId the article id to search with
421            * @param orderByComparator the comparator to order the set by
422            * @return the previous, current, and next journal content search
423            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a journal content search with the primary key could not be found
424            * @throws SystemException if a system exception occurred
425            */
426            public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_A_PrevAndNext(
427                    long contentSearchId, long groupId, java.lang.String articleId,
428                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
429                    throws com.liferay.portal.kernel.exception.SystemException,
430                            com.liferay.portlet.journal.NoSuchContentSearchException;
431    
432            /**
433            * Finds all the journal content searchs where groupId = &#63; and privateLayout = &#63; and layoutId = &#63;.
434            *
435            * @param groupId the group id to search with
436            * @param privateLayout the private layout to search with
437            * @param layoutId the layout id to search with
438            * @return the matching journal content searchs
439            * @throws SystemException if a system exception occurred
440            */
441            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(
442                    long groupId, boolean privateLayout, long layoutId)
443                    throws com.liferay.portal.kernel.exception.SystemException;
444    
445            /**
446            * Finds a range of all the journal content searchs where groupId = &#63; and privateLayout = &#63; and layoutId = &#63;.
447            *
448            * <p>
449            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
450            * </p>
451            *
452            * @param groupId the group id to search with
453            * @param privateLayout the private layout to search with
454            * @param layoutId the layout id to search with
455            * @param start the lower bound of the range of journal content searchs to return
456            * @param end the upper bound of the range of journal content searchs to return (not inclusive)
457            * @return the range of matching journal content searchs
458            * @throws SystemException if a system exception occurred
459            */
460            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(
461                    long groupId, boolean privateLayout, long layoutId, int start, int end)
462                    throws com.liferay.portal.kernel.exception.SystemException;
463    
464            /**
465            * Finds an ordered range of all the journal content searchs where groupId = &#63; and privateLayout = &#63; and layoutId = &#63;.
466            *
467            * <p>
468            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
469            * </p>
470            *
471            * @param groupId the group id to search with
472            * @param privateLayout the private layout to search with
473            * @param layoutId the layout id to search with
474            * @param start the lower bound of the range of journal content searchs to return
475            * @param end the upper bound of the range of journal content searchs to return (not inclusive)
476            * @param orderByComparator the comparator to order the results by
477            * @return the ordered range of matching journal content searchs
478            * @throws SystemException if a system exception occurred
479            */
480            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(
481                    long groupId, boolean privateLayout, long layoutId, int start, int end,
482                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
483                    throws com.liferay.portal.kernel.exception.SystemException;
484    
485            /**
486            * Finds the first journal content search in the ordered set where groupId = &#63; and privateLayout = &#63; and layoutId = &#63;.
487            *
488            * <p>
489            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
490            * </p>
491            *
492            * @param groupId the group id to search with
493            * @param privateLayout the private layout to search with
494            * @param layoutId the layout id to search with
495            * @param orderByComparator the comparator to order the set by
496            * @return the first matching journal content search
497            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found
498            * @throws SystemException if a system exception occurred
499            */
500            public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_First(
501                    long groupId, boolean privateLayout, long layoutId,
502                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
503                    throws com.liferay.portal.kernel.exception.SystemException,
504                            com.liferay.portlet.journal.NoSuchContentSearchException;
505    
506            /**
507            * Finds the last journal content search in the ordered set where groupId = &#63; and privateLayout = &#63; and layoutId = &#63;.
508            *
509            * <p>
510            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
511            * </p>
512            *
513            * @param groupId the group id to search with
514            * @param privateLayout the private layout to search with
515            * @param layoutId the layout id to search with
516            * @param orderByComparator the comparator to order the set by
517            * @return the last matching journal content search
518            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found
519            * @throws SystemException if a system exception occurred
520            */
521            public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_Last(
522                    long groupId, boolean privateLayout, long layoutId,
523                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
524                    throws com.liferay.portal.kernel.exception.SystemException,
525                            com.liferay.portlet.journal.NoSuchContentSearchException;
526    
527            /**
528            * Finds the journal content searchs before and after the current journal content search in the ordered set where groupId = &#63; and privateLayout = &#63; and layoutId = &#63;.
529            *
530            * <p>
531            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
532            * </p>
533            *
534            * @param contentSearchId the primary key of the current journal content search
535            * @param groupId the group id to search with
536            * @param privateLayout the private layout to search with
537            * @param layoutId the layout id to search with
538            * @param orderByComparator the comparator to order the set by
539            * @return the previous, current, and next journal content search
540            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a journal content search with the primary key could not be found
541            * @throws SystemException if a system exception occurred
542            */
543            public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_L_PrevAndNext(
544                    long contentSearchId, long groupId, boolean privateLayout,
545                    long layoutId,
546                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
547                    throws com.liferay.portal.kernel.exception.SystemException,
548                            com.liferay.portlet.journal.NoSuchContentSearchException;
549    
550            /**
551            * Finds all the journal content searchs where groupId = &#63; and privateLayout = &#63; and articleId = &#63;.
552            *
553            * @param groupId the group id to search with
554            * @param privateLayout the private layout to search with
555            * @param articleId the article id to search with
556            * @return the matching journal content searchs
557            * @throws SystemException if a system exception occurred
558            */
559            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(
560                    long groupId, boolean privateLayout, java.lang.String articleId)
561                    throws com.liferay.portal.kernel.exception.SystemException;
562    
563            /**
564            * Finds a range of all the journal content searchs where groupId = &#63; and privateLayout = &#63; and articleId = &#63;.
565            *
566            * <p>
567            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
568            * </p>
569            *
570            * @param groupId the group id to search with
571            * @param privateLayout the private layout to search with
572            * @param articleId the article id to search with
573            * @param start the lower bound of the range of journal content searchs to return
574            * @param end the upper bound of the range of journal content searchs to return (not inclusive)
575            * @return the range of matching journal content searchs
576            * @throws SystemException if a system exception occurred
577            */
578            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(
579                    long groupId, boolean privateLayout, java.lang.String articleId,
580                    int start, int end)
581                    throws com.liferay.portal.kernel.exception.SystemException;
582    
583            /**
584            * Finds an ordered range of all the journal content searchs where groupId = &#63; and privateLayout = &#63; and articleId = &#63;.
585            *
586            * <p>
587            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
588            * </p>
589            *
590            * @param groupId the group id to search with
591            * @param privateLayout the private layout to search with
592            * @param articleId the article id to search with
593            * @param start the lower bound of the range of journal content searchs to return
594            * @param end the upper bound of the range of journal content searchs to return (not inclusive)
595            * @param orderByComparator the comparator to order the results by
596            * @return the ordered range of matching journal content searchs
597            * @throws SystemException if a system exception occurred
598            */
599            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(
600                    long groupId, boolean privateLayout, java.lang.String articleId,
601                    int start, int end,
602                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
603                    throws com.liferay.portal.kernel.exception.SystemException;
604    
605            /**
606            * Finds the first journal content search in the ordered set where groupId = &#63; and privateLayout = &#63; and articleId = &#63;.
607            *
608            * <p>
609            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
610            * </p>
611            *
612            * @param groupId the group id to search with
613            * @param privateLayout the private layout to search with
614            * @param articleId the article id to search with
615            * @param orderByComparator the comparator to order the set by
616            * @return the first matching journal content search
617            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found
618            * @throws SystemException if a system exception occurred
619            */
620            public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_A_First(
621                    long groupId, boolean privateLayout, java.lang.String articleId,
622                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
623                    throws com.liferay.portal.kernel.exception.SystemException,
624                            com.liferay.portlet.journal.NoSuchContentSearchException;
625    
626            /**
627            * Finds the last journal content search in the ordered set where groupId = &#63; and privateLayout = &#63; and articleId = &#63;.
628            *
629            * <p>
630            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
631            * </p>
632            *
633            * @param groupId the group id to search with
634            * @param privateLayout the private layout to search with
635            * @param articleId the article id to search with
636            * @param orderByComparator the comparator to order the set by
637            * @return the last matching journal content search
638            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found
639            * @throws SystemException if a system exception occurred
640            */
641            public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_A_Last(
642                    long groupId, boolean privateLayout, java.lang.String articleId,
643                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
644                    throws com.liferay.portal.kernel.exception.SystemException,
645                            com.liferay.portlet.journal.NoSuchContentSearchException;
646    
647            /**
648            * Finds the journal content searchs before and after the current journal content search in the ordered set where groupId = &#63; and privateLayout = &#63; and articleId = &#63;.
649            *
650            * <p>
651            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
652            * </p>
653            *
654            * @param contentSearchId the primary key of the current journal content search
655            * @param groupId the group id to search with
656            * @param privateLayout the private layout to search with
657            * @param articleId the article id to search with
658            * @param orderByComparator the comparator to order the set by
659            * @return the previous, current, and next journal content search
660            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a journal content search with the primary key could not be found
661            * @throws SystemException if a system exception occurred
662            */
663            public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_A_PrevAndNext(
664                    long contentSearchId, long groupId, boolean privateLayout,
665                    java.lang.String articleId,
666                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
667                    throws com.liferay.portal.kernel.exception.SystemException,
668                            com.liferay.portlet.journal.NoSuchContentSearchException;
669    
670            /**
671            * Finds all the journal content searchs where groupId = &#63; and privateLayout = &#63; and layoutId = &#63; and portletId = &#63;.
672            *
673            * @param groupId the group id to search with
674            * @param privateLayout the private layout to search with
675            * @param layoutId the layout id to search with
676            * @param portletId the portlet id to search with
677            * @return the matching journal content searchs
678            * @throws SystemException if a system exception occurred
679            */
680            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(
681                    long groupId, boolean privateLayout, long layoutId,
682                    java.lang.String portletId)
683                    throws com.liferay.portal.kernel.exception.SystemException;
684    
685            /**
686            * Finds a range of all the journal content searchs where groupId = &#63; and privateLayout = &#63; and layoutId = &#63; and portletId = &#63;.
687            *
688            * <p>
689            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
690            * </p>
691            *
692            * @param groupId the group id to search with
693            * @param privateLayout the private layout to search with
694            * @param layoutId the layout id to search with
695            * @param portletId the portlet id to search with
696            * @param start the lower bound of the range of journal content searchs to return
697            * @param end the upper bound of the range of journal content searchs to return (not inclusive)
698            * @return the range of matching journal content searchs
699            * @throws SystemException if a system exception occurred
700            */
701            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(
702                    long groupId, boolean privateLayout, long layoutId,
703                    java.lang.String portletId, int start, int end)
704                    throws com.liferay.portal.kernel.exception.SystemException;
705    
706            /**
707            * Finds an ordered range of all the journal content searchs where groupId = &#63; and privateLayout = &#63; and layoutId = &#63; and portletId = &#63;.
708            *
709            * <p>
710            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
711            * </p>
712            *
713            * @param groupId the group id to search with
714            * @param privateLayout the private layout to search with
715            * @param layoutId the layout id to search with
716            * @param portletId the portlet id to search with
717            * @param start the lower bound of the range of journal content searchs to return
718            * @param end the upper bound of the range of journal content searchs to return (not inclusive)
719            * @param orderByComparator the comparator to order the results by
720            * @return the ordered range of matching journal content searchs
721            * @throws SystemException if a system exception occurred
722            */
723            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(
724                    long groupId, boolean privateLayout, long layoutId,
725                    java.lang.String portletId, int start, int end,
726                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
727                    throws com.liferay.portal.kernel.exception.SystemException;
728    
729            /**
730            * Finds the first journal content search in the ordered set where groupId = &#63; and privateLayout = &#63; and layoutId = &#63; and portletId = &#63;.
731            *
732            * <p>
733            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
734            * </p>
735            *
736            * @param groupId the group id to search with
737            * @param privateLayout the private layout to search with
738            * @param layoutId the layout id to search with
739            * @param portletId the portlet id to search with
740            * @param orderByComparator the comparator to order the set by
741            * @return the first matching journal content search
742            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found
743            * @throws SystemException if a system exception occurred
744            */
745            public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_First(
746                    long groupId, boolean privateLayout, long layoutId,
747                    java.lang.String portletId,
748                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
749                    throws com.liferay.portal.kernel.exception.SystemException,
750                            com.liferay.portlet.journal.NoSuchContentSearchException;
751    
752            /**
753            * Finds the last journal content search in the ordered set where groupId = &#63; and privateLayout = &#63; and layoutId = &#63; and portletId = &#63;.
754            *
755            * <p>
756            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
757            * </p>
758            *
759            * @param groupId the group id to search with
760            * @param privateLayout the private layout to search with
761            * @param layoutId the layout id to search with
762            * @param portletId the portlet id to search with
763            * @param orderByComparator the comparator to order the set by
764            * @return the last matching journal content search
765            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found
766            * @throws SystemException if a system exception occurred
767            */
768            public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_Last(
769                    long groupId, boolean privateLayout, long layoutId,
770                    java.lang.String portletId,
771                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
772                    throws com.liferay.portal.kernel.exception.SystemException,
773                            com.liferay.portlet.journal.NoSuchContentSearchException;
774    
775            /**
776            * Finds the journal content searchs before and after the current journal content search in the ordered set where groupId = &#63; and privateLayout = &#63; and layoutId = &#63; and portletId = &#63;.
777            *
778            * <p>
779            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
780            * </p>
781            *
782            * @param contentSearchId the primary key of the current journal content search
783            * @param groupId the group id to search with
784            * @param privateLayout the private layout to search with
785            * @param layoutId the layout id to search with
786            * @param portletId the portlet id to search with
787            * @param orderByComparator the comparator to order the set by
788            * @return the previous, current, and next journal content search
789            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a journal content search with the primary key could not be found
790            * @throws SystemException if a system exception occurred
791            */
792            public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_L_P_PrevAndNext(
793                    long contentSearchId, long groupId, boolean privateLayout,
794                    long layoutId, java.lang.String portletId,
795                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
796                    throws com.liferay.portal.kernel.exception.SystemException,
797                            com.liferay.portlet.journal.NoSuchContentSearchException;
798    
799            /**
800            * Finds the journal content search where groupId = &#63; and privateLayout = &#63; and layoutId = &#63; and portletId = &#63; and articleId = &#63; or throws a {@link com.liferay.portlet.journal.NoSuchContentSearchException} if it could not be found.
801            *
802            * @param groupId the group id to search with
803            * @param privateLayout the private layout to search with
804            * @param layoutId the layout id to search with
805            * @param portletId the portlet id to search with
806            * @param articleId the article id to search with
807            * @return the matching journal content search
808            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found
809            * @throws SystemException if a system exception occurred
810            */
811            public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_A(
812                    long groupId, boolean privateLayout, long layoutId,
813                    java.lang.String portletId, java.lang.String articleId)
814                    throws com.liferay.portal.kernel.exception.SystemException,
815                            com.liferay.portlet.journal.NoSuchContentSearchException;
816    
817            /**
818            * Finds the journal content search where groupId = &#63; and privateLayout = &#63; and layoutId = &#63; and portletId = &#63; and articleId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
819            *
820            * @param groupId the group id to search with
821            * @param privateLayout the private layout to search with
822            * @param layoutId the layout id to search with
823            * @param portletId the portlet id to search with
824            * @param articleId the article id to search with
825            * @return the matching journal content search, or <code>null</code> if a matching journal content search could not be found
826            * @throws SystemException if a system exception occurred
827            */
828            public com.liferay.portlet.journal.model.JournalContentSearch fetchByG_P_L_P_A(
829                    long groupId, boolean privateLayout, long layoutId,
830                    java.lang.String portletId, java.lang.String articleId)
831                    throws com.liferay.portal.kernel.exception.SystemException;
832    
833            /**
834            * Finds the journal content search where groupId = &#63; and privateLayout = &#63; and layoutId = &#63; and portletId = &#63; and articleId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
835            *
836            * @param groupId the group id to search with
837            * @param privateLayout the private layout to search with
838            * @param layoutId the layout id to search with
839            * @param portletId the portlet id to search with
840            * @param articleId the article id to search with
841            * @return the matching journal content search, or <code>null</code> if a matching journal content search could not be found
842            * @throws SystemException if a system exception occurred
843            */
844            public com.liferay.portlet.journal.model.JournalContentSearch fetchByG_P_L_P_A(
845                    long groupId, boolean privateLayout, long layoutId,
846                    java.lang.String portletId, java.lang.String articleId,
847                    boolean retrieveFromCache)
848                    throws com.liferay.portal.kernel.exception.SystemException;
849    
850            /**
851            * Finds all the journal content searchs.
852            *
853            * @return the journal content searchs
854            * @throws SystemException if a system exception occurred
855            */
856            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll()
857                    throws com.liferay.portal.kernel.exception.SystemException;
858    
859            /**
860            * Finds a range of all the journal content searchs.
861            *
862            * <p>
863            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
864            * </p>
865            *
866            * @param start the lower bound of the range of journal content searchs to return
867            * @param end the upper bound of the range of journal content searchs to return (not inclusive)
868            * @return the range of journal content searchs
869            * @throws SystemException if a system exception occurred
870            */
871            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll(
872                    int start, int end)
873                    throws com.liferay.portal.kernel.exception.SystemException;
874    
875            /**
876            * Finds an ordered range of all the journal content searchs.
877            *
878            * <p>
879            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
880            * </p>
881            *
882            * @param start the lower bound of the range of journal content searchs to return
883            * @param end the upper bound of the range of journal content searchs to return (not inclusive)
884            * @param orderByComparator the comparator to order the results by
885            * @return the ordered range of journal content searchs
886            * @throws SystemException if a system exception occurred
887            */
888            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll(
889                    int start, int end,
890                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
891                    throws com.liferay.portal.kernel.exception.SystemException;
892    
893            /**
894            * Removes all the journal content searchs where articleId = &#63; from the database.
895            *
896            * @param articleId the article id to search with
897            * @throws SystemException if a system exception occurred
898            */
899            public void removeByArticleId(java.lang.String articleId)
900                    throws com.liferay.portal.kernel.exception.SystemException;
901    
902            /**
903            * Removes all the journal content searchs where groupId = &#63; and privateLayout = &#63; from the database.
904            *
905            * @param groupId the group id to search with
906            * @param privateLayout the private layout to search with
907            * @throws SystemException if a system exception occurred
908            */
909            public void removeByG_P(long groupId, boolean privateLayout)
910                    throws com.liferay.portal.kernel.exception.SystemException;
911    
912            /**
913            * Removes all the journal content searchs where groupId = &#63; and articleId = &#63; from the database.
914            *
915            * @param groupId the group id to search with
916            * @param articleId the article id to search with
917            * @throws SystemException if a system exception occurred
918            */
919            public void removeByG_A(long groupId, java.lang.String articleId)
920                    throws com.liferay.portal.kernel.exception.SystemException;
921    
922            /**
923            * Removes all the journal content searchs where groupId = &#63; and privateLayout = &#63; and layoutId = &#63; from the database.
924            *
925            * @param groupId the group id to search with
926            * @param privateLayout the private layout to search with
927            * @param layoutId the layout id to search with
928            * @throws SystemException if a system exception occurred
929            */
930            public void removeByG_P_L(long groupId, boolean privateLayout, long layoutId)
931                    throws com.liferay.portal.kernel.exception.SystemException;
932    
933            /**
934            * Removes all the journal content searchs where groupId = &#63; and privateLayout = &#63; and articleId = &#63; from the database.
935            *
936            * @param groupId the group id to search with
937            * @param privateLayout the private layout to search with
938            * @param articleId the article id to search with
939            * @throws SystemException if a system exception occurred
940            */
941            public void removeByG_P_A(long groupId, boolean privateLayout,
942                    java.lang.String articleId)
943                    throws com.liferay.portal.kernel.exception.SystemException;
944    
945            /**
946            * Removes all the journal content searchs where groupId = &#63; and privateLayout = &#63; and layoutId = &#63; and portletId = &#63; from the database.
947            *
948            * @param groupId the group id to search with
949            * @param privateLayout the private layout to search with
950            * @param layoutId the layout id to search with
951            * @param portletId the portlet id to search with
952            * @throws SystemException if a system exception occurred
953            */
954            public void removeByG_P_L_P(long groupId, boolean privateLayout,
955                    long layoutId, java.lang.String portletId)
956                    throws com.liferay.portal.kernel.exception.SystemException;
957    
958            /**
959            * Removes the journal content search where groupId = &#63; and privateLayout = &#63; and layoutId = &#63; and portletId = &#63; and articleId = &#63; from the database.
960            *
961            * @param groupId the group id to search with
962            * @param privateLayout the private layout to search with
963            * @param layoutId the layout id to search with
964            * @param portletId the portlet id to search with
965            * @param articleId the article id to search with
966            * @throws SystemException if a system exception occurred
967            */
968            public void removeByG_P_L_P_A(long groupId, boolean privateLayout,
969                    long layoutId, java.lang.String portletId, java.lang.String articleId)
970                    throws com.liferay.portal.kernel.exception.SystemException,
971                            com.liferay.portlet.journal.NoSuchContentSearchException;
972    
973            /**
974            * Removes all the journal content searchs from the database.
975            *
976            * @throws SystemException if a system exception occurred
977            */
978            public void removeAll()
979                    throws com.liferay.portal.kernel.exception.SystemException;
980    
981            /**
982            * Counts all the journal content searchs where articleId = &#63;.
983            *
984            * @param articleId the article id to search with
985            * @return the number of matching journal content searchs
986            * @throws SystemException if a system exception occurred
987            */
988            public int countByArticleId(java.lang.String articleId)
989                    throws com.liferay.portal.kernel.exception.SystemException;
990    
991            /**
992            * Counts all the journal content searchs where groupId = &#63; and privateLayout = &#63;.
993            *
994            * @param groupId the group id to search with
995            * @param privateLayout the private layout to search with
996            * @return the number of matching journal content searchs
997            * @throws SystemException if a system exception occurred
998            */
999            public int countByG_P(long groupId, boolean privateLayout)
1000                    throws com.liferay.portal.kernel.exception.SystemException;
1001    
1002            /**
1003            * Counts all the journal content searchs where groupId = &#63; and articleId = &#63;.
1004            *
1005            * @param groupId the group id to search with
1006            * @param articleId the article id to search with
1007            * @return the number of matching journal content searchs
1008            * @throws SystemException if a system exception occurred
1009            */
1010            public int countByG_A(long groupId, java.lang.String articleId)
1011                    throws com.liferay.portal.kernel.exception.SystemException;
1012    
1013            /**
1014            * Counts all the journal content searchs where groupId = &#63; and privateLayout = &#63; and layoutId = &#63;.
1015            *
1016            * @param groupId the group id to search with
1017            * @param privateLayout the private layout to search with
1018            * @param layoutId the layout id to search with
1019            * @return the number of matching journal content searchs
1020            * @throws SystemException if a system exception occurred
1021            */
1022            public int countByG_P_L(long groupId, boolean privateLayout, long layoutId)
1023                    throws com.liferay.portal.kernel.exception.SystemException;
1024    
1025            /**
1026            * Counts all the journal content searchs where groupId = &#63; and privateLayout = &#63; and articleId = &#63;.
1027            *
1028            * @param groupId the group id to search with
1029            * @param privateLayout the private layout to search with
1030            * @param articleId the article id to search with
1031            * @return the number of matching journal content searchs
1032            * @throws SystemException if a system exception occurred
1033            */
1034            public int countByG_P_A(long groupId, boolean privateLayout,
1035                    java.lang.String articleId)
1036                    throws com.liferay.portal.kernel.exception.SystemException;
1037    
1038            /**
1039            * Counts all the journal content searchs where groupId = &#63; and privateLayout = &#63; and layoutId = &#63; and portletId = &#63;.
1040            *
1041            * @param groupId the group id to search with
1042            * @param privateLayout the private layout to search with
1043            * @param layoutId the layout id to search with
1044            * @param portletId the portlet id to search with
1045            * @return the number of matching journal content searchs
1046            * @throws SystemException if a system exception occurred
1047            */
1048            public int countByG_P_L_P(long groupId, boolean privateLayout,
1049                    long layoutId, java.lang.String portletId)
1050                    throws com.liferay.portal.kernel.exception.SystemException;
1051    
1052            /**
1053            * Counts all the journal content searchs where groupId = &#63; and privateLayout = &#63; and layoutId = &#63; and portletId = &#63; and articleId = &#63;.
1054            *
1055            * @param groupId the group id to search with
1056            * @param privateLayout the private layout to search with
1057            * @param layoutId the layout id to search with
1058            * @param portletId the portlet id to search with
1059            * @param articleId the article id to search with
1060            * @return the number of matching journal content searchs
1061            * @throws SystemException if a system exception occurred
1062            */
1063            public int countByG_P_L_P_A(long groupId, boolean privateLayout,
1064                    long layoutId, java.lang.String portletId, java.lang.String articleId)
1065                    throws com.liferay.portal.kernel.exception.SystemException;
1066    
1067            /**
1068            * Counts all the journal content searchs.
1069            *
1070            * @return the number of journal content searchs
1071            * @throws SystemException if a system exception occurred
1072            */
1073            public int countAll()
1074                    throws com.liferay.portal.kernel.exception.SystemException;
1075    }