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