001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.journal.service.persistence;
016    
017    import com.liferay.portal.kernel.exception.SystemException;
018    import com.liferay.portal.service.persistence.BasePersistence;
019    
020    import com.liferay.portlet.journal.model.JournalContentSearch;
021    
022    /**
023     * The persistence interface for the journal content search service.
024     *
025     * <p>
026     * Caching information and settings can be found in <code>portal.properties</code>
027     * </p>
028     *
029     * @author Brian Wing Shun Chan
030     * @see JournalContentSearchPersistenceImpl
031     * @see JournalContentSearchUtil
032     * @generated
033     */
034    public interface JournalContentSearchPersistence extends BasePersistence<JournalContentSearch> {
035            /*
036             * NOTE FOR DEVELOPERS:
037             *
038             * 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.
039             */
040    
041            /**
042            * Caches the journal content search in the entity cache if it is enabled.
043            *
044            * @param journalContentSearch the journal content search to cache
045            */
046            public void cacheResult(
047                    com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch);
048    
049            /**
050            * Caches the journal content searchs in the entity cache if it is enabled.
051            *
052            * @param journalContentSearchs the journal content searchs to cache
053            */
054            public void cacheResult(
055                    java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> journalContentSearchs);
056    
057            /**
058            * Creates a new journal content search with the primary key. Does not add the journal content search to the database.
059            *
060            * @param contentSearchId the primary key for the new journal content search
061            * @return the new journal content search
062            */
063            public com.liferay.portlet.journal.model.JournalContentSearch create(
064                    long contentSearchId);
065    
066            /**
067            * Removes the journal content search with the primary key from the database. Also notifies the appropriate model listeners.
068            *
069            * @param contentSearchId the primary key of the journal content search to remove
070            * @return the journal content search that was removed
071            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a journal content search with the primary key could not be found
072            * @throws SystemException if a system exception occurred
073            */
074            public com.liferay.portlet.journal.model.JournalContentSearch remove(
075                    long contentSearchId)
076                    throws com.liferay.portal.kernel.exception.SystemException,
077                            com.liferay.portlet.journal.NoSuchContentSearchException;
078    
079            public com.liferay.portlet.journal.model.JournalContentSearch updateImpl(
080                    com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch,
081                    boolean merge)
082                    throws com.liferay.portal.kernel.exception.SystemException;
083    
084            /**
085            * Finds the journal content search with the primary key or throws a {@link com.liferay.portlet.journal.NoSuchContentSearchException} if it could not be found.
086            *
087            * @param contentSearchId the primary key of the journal content search to find
088            * @return the journal content search
089            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a journal content search with the primary key could not be found
090            * @throws SystemException if a system exception occurred
091            */
092            public com.liferay.portlet.journal.model.JournalContentSearch findByPrimaryKey(
093                    long contentSearchId)
094                    throws com.liferay.portal.kernel.exception.SystemException,
095                            com.liferay.portlet.journal.NoSuchContentSearchException;
096    
097            /**
098            * Finds the journal content search with the primary key or returns <code>null</code> if it could not be found.
099            *
100            * @param contentSearchId the primary key of the journal content search to find
101            * @return the journal content search, or <code>null</code> if a journal content search with the primary key could not be found
102            * @throws SystemException if a system exception occurred
103            */
104            public com.liferay.portlet.journal.model.JournalContentSearch fetchByPrimaryKey(
105                    long contentSearchId)
106                    throws com.liferay.portal.kernel.exception.SystemException;
107    
108            /**
109            * Finds all the journal content searchs where articleId = &#63;.
110            *
111            * @param articleId the article ID to search with
112            * @return the matching journal content searchs
113            * @throws SystemException if a system exception occurred
114            */
115            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByArticleId(
116                    java.lang.String articleId)
117                    throws com.liferay.portal.kernel.exception.SystemException;
118    
119            /**
120            * Finds a range of all the journal content searchs where articleId = &#63;.
121            *
122            * <p>
123            * 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.
124            * </p>
125            *
126            * @param articleId the article ID to search with
127            * @param start the lower bound of the range of journal content searchs to return
128            * @param end the upper bound of the range of journal content searchs to return (not inclusive)
129            * @return the range of matching journal content searchs
130            * @throws SystemException if a system exception occurred
131            */
132            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByArticleId(
133                    java.lang.String articleId, int start, int end)
134                    throws com.liferay.portal.kernel.exception.SystemException;
135    
136            /**
137            * Finds an ordered range of all the journal content searchs where articleId = &#63;.
138            *
139            * <p>
140            * 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.
141            * </p>
142            *
143            * @param articleId the article ID to search with
144            * @param start the lower bound of the range of journal content searchs to return
145            * @param end the upper bound of the range of journal content searchs to return (not inclusive)
146            * @param orderByComparator the comparator to order the results by
147            * @return the ordered range of matching journal content searchs
148            * @throws SystemException if a system exception occurred
149            */
150            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByArticleId(
151                    java.lang.String articleId, int start, int end,
152                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
153                    throws com.liferay.portal.kernel.exception.SystemException;
154    
155            /**
156            * Finds the first journal content search in the ordered set where articleId = &#63;.
157            *
158            * <p>
159            * 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.
160            * </p>
161            *
162            * @param articleId the article ID to search with
163            * @param orderByComparator the comparator to order the set by
164            * @return the first matching journal content search
165            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found
166            * @throws SystemException if a system exception occurred
167            */
168            public com.liferay.portlet.journal.model.JournalContentSearch findByArticleId_First(
169                    java.lang.String articleId,
170                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
171                    throws com.liferay.portal.kernel.exception.SystemException,
172                            com.liferay.portlet.journal.NoSuchContentSearchException;
173    
174            /**
175            * Finds the last journal content search in the ordered set where articleId = &#63;.
176            *
177            * <p>
178            * 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.
179            * </p>
180            *
181            * @param articleId the article ID to search with
182            * @param orderByComparator the comparator to order the set by
183            * @return the last matching journal content search
184            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found
185            * @throws SystemException if a system exception occurred
186            */
187            public com.liferay.portlet.journal.model.JournalContentSearch findByArticleId_Last(
188                    java.lang.String articleId,
189                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
190                    throws com.liferay.portal.kernel.exception.SystemException,
191                            com.liferay.portlet.journal.NoSuchContentSearchException;
192    
193            /**
194            * Finds the journal content searchs before and after the current journal content search in the ordered set where articleId = &#63;.
195            *
196            * <p>
197            * 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.
198            * </p>
199            *
200            * @param contentSearchId the primary key of the current journal content search
201            * @param articleId the article ID to search with
202            * @param orderByComparator the comparator to order the set by
203            * @return the previous, current, and next journal content search
204            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a journal content search with the primary key could not be found
205            * @throws SystemException if a system exception occurred
206            */
207            public com.liferay.portlet.journal.model.JournalContentSearch[] findByArticleId_PrevAndNext(
208                    long contentSearchId, java.lang.String articleId,
209                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
210                    throws com.liferay.portal.kernel.exception.SystemException,
211                            com.liferay.portlet.journal.NoSuchContentSearchException;
212    
213            /**
214            * Finds all the journal content searchs where groupId = &#63; and privateLayout = &#63;.
215            *
216            * @param groupId the group ID to search with
217            * @param privateLayout the private layout to search with
218            * @return the matching journal content searchs
219            * @throws SystemException if a system exception occurred
220            */
221            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(
222                    long groupId, boolean privateLayout)
223                    throws com.liferay.portal.kernel.exception.SystemException;
224    
225            /**
226            * Finds a range of all the journal content searchs where groupId = &#63; and privateLayout = &#63;.
227            *
228            * <p>
229            * 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.
230            * </p>
231            *
232            * @param groupId the group ID to search with
233            * @param privateLayout the private layout to search with
234            * @param start the lower bound of the range of journal content searchs to return
235            * @param end the upper bound of the range of journal content searchs to return (not inclusive)
236            * @return the range of matching journal content searchs
237            * @throws SystemException if a system exception occurred
238            */
239            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(
240                    long groupId, boolean privateLayout, int start, int end)
241                    throws com.liferay.portal.kernel.exception.SystemException;
242    
243            /**
244            * Finds an ordered range of all the journal content searchs where groupId = &#63; and privateLayout = &#63;.
245            *
246            * <p>
247            * 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.
248            * </p>
249            *
250            * @param groupId the group ID to search with
251            * @param privateLayout the private layout to search with
252            * @param start the lower bound of the range of journal content searchs to return
253            * @param end the upper bound of the range of journal content searchs to return (not inclusive)
254            * @param orderByComparator the comparator to order the results by
255            * @return the ordered range of matching journal content searchs
256            * @throws SystemException if a system exception occurred
257            */
258            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(
259                    long groupId, boolean privateLayout, int start, int end,
260                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
261                    throws com.liferay.portal.kernel.exception.SystemException;
262    
263            /**
264            * Finds the first journal content search in the ordered set where groupId = &#63; and privateLayout = &#63;.
265            *
266            * <p>
267            * 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.
268            * </p>
269            *
270            * @param groupId the group ID to search with
271            * @param privateLayout the private layout to search with
272            * @param orderByComparator the comparator to order the set by
273            * @return the first matching journal content search
274            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found
275            * @throws SystemException if a system exception occurred
276            */
277            public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_First(
278                    long groupId, boolean privateLayout,
279                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
280                    throws com.liferay.portal.kernel.exception.SystemException,
281                            com.liferay.portlet.journal.NoSuchContentSearchException;
282    
283            /**
284            * Finds the last journal content search in the ordered set where groupId = &#63; and privateLayout = &#63;.
285            *
286            * <p>
287            * 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.
288            * </p>
289            *
290            * @param groupId the group ID to search with
291            * @param privateLayout the private layout to search with
292            * @param orderByComparator the comparator to order the set by
293            * @return the last matching journal content search
294            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found
295            * @throws SystemException if a system exception occurred
296            */
297            public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_Last(
298                    long groupId, boolean privateLayout,
299                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
300                    throws com.liferay.portal.kernel.exception.SystemException,
301                            com.liferay.portlet.journal.NoSuchContentSearchException;
302    
303            /**
304            * Finds the journal content searchs before and after the current journal content search in the ordered set where groupId = &#63; and privateLayout = &#63;.
305            *
306            * <p>
307            * 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.
308            * </p>
309            *
310            * @param contentSearchId the primary key of the current journal content search
311            * @param groupId the group ID to search with
312            * @param privateLayout the private layout to search with
313            * @param orderByComparator the comparator to order the set by
314            * @return the previous, current, and next journal content search
315            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a journal content search with the primary key could not be found
316            * @throws SystemException if a system exception occurred
317            */
318            public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_PrevAndNext(
319                    long contentSearchId, long groupId, boolean privateLayout,
320                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
321                    throws com.liferay.portal.kernel.exception.SystemException,
322                            com.liferay.portlet.journal.NoSuchContentSearchException;
323    
324            /**
325            * Finds all the journal content searchs where groupId = &#63; and articleId = &#63;.
326            *
327            * @param groupId the group ID to search with
328            * @param articleId the article ID to search with
329            * @return the matching journal content searchs
330            * @throws SystemException if a system exception occurred
331            */
332            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(
333                    long groupId, java.lang.String articleId)
334                    throws com.liferay.portal.kernel.exception.SystemException;
335    
336            /**
337            * Finds a range of all the journal content searchs where groupId = &#63; and articleId = &#63;.
338            *
339            * <p>
340            * 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.
341            * </p>
342            *
343            * @param groupId the group ID to search with
344            * @param articleId the article ID to search with
345            * @param start the lower bound of the range of journal content searchs to return
346            * @param end the upper bound of the range of journal content searchs to return (not inclusive)
347            * @return the range of matching journal content searchs
348            * @throws SystemException if a system exception occurred
349            */
350            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(
351                    long groupId, java.lang.String articleId, int start, int end)
352                    throws com.liferay.portal.kernel.exception.SystemException;
353    
354            /**
355            * Finds an ordered range of all the journal content searchs where groupId = &#63; and articleId = &#63;.
356            *
357            * <p>
358            * 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.
359            * </p>
360            *
361            * @param groupId the group ID to search with
362            * @param articleId the article ID to search with
363            * @param start the lower bound of the range of journal content searchs to return
364            * @param end the upper bound of the range of journal content searchs to return (not inclusive)
365            * @param orderByComparator the comparator to order the results by
366            * @return the ordered range of matching journal content searchs
367            * @throws SystemException if a system exception occurred
368            */
369            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(
370                    long groupId, java.lang.String articleId, int start, int end,
371                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
372                    throws com.liferay.portal.kernel.exception.SystemException;
373    
374            /**
375            * Finds the first journal content search in the ordered set where groupId = &#63; and articleId = &#63;.
376            *
377            * <p>
378            * 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.
379            * </p>
380            *
381            * @param groupId the group ID to search with
382            * @param articleId the article ID to search with
383            * @param orderByComparator the comparator to order the set by
384            * @return the first matching journal content search
385            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found
386            * @throws SystemException if a system exception occurred
387            */
388            public com.liferay.portlet.journal.model.JournalContentSearch findByG_A_First(
389                    long groupId, java.lang.String articleId,
390                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
391                    throws com.liferay.portal.kernel.exception.SystemException,
392                            com.liferay.portlet.journal.NoSuchContentSearchException;
393    
394            /**
395            * Finds the last journal content search in the ordered set where groupId = &#63; and articleId = &#63;.
396            *
397            * <p>
398            * 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.
399            * </p>
400            *
401            * @param groupId the group ID to search with
402            * @param articleId the article ID to search with
403            * @param orderByComparator the comparator to order the set by
404            * @return the last matching journal content search
405            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found
406            * @throws SystemException if a system exception occurred
407            */
408            public com.liferay.portlet.journal.model.JournalContentSearch findByG_A_Last(
409                    long groupId, java.lang.String articleId,
410                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
411                    throws com.liferay.portal.kernel.exception.SystemException,
412                            com.liferay.portlet.journal.NoSuchContentSearchException;
413    
414            /**
415            * Finds the journal content searchs before and after the current journal content search in the ordered set where groupId = &#63; and articleId = &#63;.
416            *
417            * <p>
418            * 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.
419            * </p>
420            *
421            * @param contentSearchId the primary key of the current journal content search
422            * @param groupId the group ID to search with
423            * @param articleId the article ID to search with
424            * @param orderByComparator the comparator to order the set by
425            * @return the previous, current, and next journal content search
426            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a journal content search with the primary key could not be found
427            * @throws SystemException if a system exception occurred
428            */
429            public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_A_PrevAndNext(
430                    long contentSearchId, long groupId, java.lang.String articleId,
431                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
432                    throws com.liferay.portal.kernel.exception.SystemException,
433                            com.liferay.portlet.journal.NoSuchContentSearchException;
434    
435            /**
436            * Finds all the journal content searchs where groupId = &#63; and privateLayout = &#63; and layoutId = &#63;.
437            *
438            * @param groupId the group ID to search with
439            * @param privateLayout the private layout to search with
440            * @param layoutId the layout ID to search with
441            * @return the matching journal content searchs
442            * @throws SystemException if a system exception occurred
443            */
444            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(
445                    long groupId, boolean privateLayout, long layoutId)
446                    throws com.liferay.portal.kernel.exception.SystemException;
447    
448            /**
449            * Finds a range of all the journal content searchs where groupId = &#63; and privateLayout = &#63; and layoutId = &#63;.
450            *
451            * <p>
452            * 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.
453            * </p>
454            *
455            * @param groupId the group ID to search with
456            * @param privateLayout the private layout to search with
457            * @param layoutId the layout ID to search with
458            * @param start the lower bound of the range of journal content searchs to return
459            * @param end the upper bound of the range of journal content searchs to return (not inclusive)
460            * @return the range of matching journal content searchs
461            * @throws SystemException if a system exception occurred
462            */
463            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(
464                    long groupId, boolean privateLayout, long layoutId, int start, int end)
465                    throws com.liferay.portal.kernel.exception.SystemException;
466    
467            /**
468            * Finds an ordered range of all the journal content searchs where groupId = &#63; and privateLayout = &#63; and layoutId = &#63;.
469            *
470            * <p>
471            * 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.
472            * </p>
473            *
474            * @param groupId the group ID to search with
475            * @param privateLayout the private layout to search with
476            * @param layoutId the layout ID to search with
477            * @param start the lower bound of the range of journal content searchs to return
478            * @param end the upper bound of the range of journal content searchs to return (not inclusive)
479            * @param orderByComparator the comparator to order the results by
480            * @return the ordered range of matching journal content searchs
481            * @throws SystemException if a system exception occurred
482            */
483            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(
484                    long groupId, boolean privateLayout, long layoutId, int start, int end,
485                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
486                    throws com.liferay.portal.kernel.exception.SystemException;
487    
488            /**
489            * Finds the first journal content search in the ordered set where groupId = &#63; and privateLayout = &#63; and layoutId = &#63;.
490            *
491            * <p>
492            * 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.
493            * </p>
494            *
495            * @param groupId the group ID to search with
496            * @param privateLayout the private layout to search with
497            * @param layoutId the layout ID to search with
498            * @param orderByComparator the comparator to order the set by
499            * @return the first matching journal content search
500            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found
501            * @throws SystemException if a system exception occurred
502            */
503            public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_First(
504                    long groupId, boolean privateLayout, long layoutId,
505                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
506                    throws com.liferay.portal.kernel.exception.SystemException,
507                            com.liferay.portlet.journal.NoSuchContentSearchException;
508    
509            /**
510            * Finds the last journal content search in the ordered set where groupId = &#63; and privateLayout = &#63; and layoutId = &#63;.
511            *
512            * <p>
513            * 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.
514            * </p>
515            *
516            * @param groupId the group ID to search with
517            * @param privateLayout the private layout to search with
518            * @param layoutId the layout ID to search with
519            * @param orderByComparator the comparator to order the set by
520            * @return the last matching journal content search
521            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found
522            * @throws SystemException if a system exception occurred
523            */
524            public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_Last(
525                    long groupId, boolean privateLayout, long layoutId,
526                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
527                    throws com.liferay.portal.kernel.exception.SystemException,
528                            com.liferay.portlet.journal.NoSuchContentSearchException;
529    
530            /**
531            * 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;.
532            *
533            * <p>
534            * 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.
535            * </p>
536            *
537            * @param contentSearchId the primary key of the current journal content search
538            * @param groupId the group ID to search with
539            * @param privateLayout the private layout to search with
540            * @param layoutId the layout ID to search with
541            * @param orderByComparator the comparator to order the set by
542            * @return the previous, current, and next journal content search
543            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a journal content search with the primary key could not be found
544            * @throws SystemException if a system exception occurred
545            */
546            public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_L_PrevAndNext(
547                    long contentSearchId, long groupId, boolean privateLayout,
548                    long layoutId,
549                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
550                    throws com.liferay.portal.kernel.exception.SystemException,
551                            com.liferay.portlet.journal.NoSuchContentSearchException;
552    
553            /**
554            * Finds all the journal content searchs where groupId = &#63; and privateLayout = &#63; and articleId = &#63;.
555            *
556            * @param groupId the group ID to search with
557            * @param privateLayout the private layout to search with
558            * @param articleId the article ID to search with
559            * @return the matching journal content searchs
560            * @throws SystemException if a system exception occurred
561            */
562            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(
563                    long groupId, boolean privateLayout, java.lang.String articleId)
564                    throws com.liferay.portal.kernel.exception.SystemException;
565    
566            /**
567            * Finds a range of all the journal content searchs where groupId = &#63; and privateLayout = &#63; and articleId = &#63;.
568            *
569            * <p>
570            * 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.
571            * </p>
572            *
573            * @param groupId the group ID to search with
574            * @param privateLayout the private layout to search with
575            * @param articleId the article ID to search with
576            * @param start the lower bound of the range of journal content searchs to return
577            * @param end the upper bound of the range of journal content searchs to return (not inclusive)
578            * @return the range of matching journal content searchs
579            * @throws SystemException if a system exception occurred
580            */
581            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(
582                    long groupId, boolean privateLayout, java.lang.String articleId,
583                    int start, int end)
584                    throws com.liferay.portal.kernel.exception.SystemException;
585    
586            /**
587            * Finds an ordered range of all the journal content searchs where groupId = &#63; and privateLayout = &#63; and articleId = &#63;.
588            *
589            * <p>
590            * 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.
591            * </p>
592            *
593            * @param groupId the group ID to search with
594            * @param privateLayout the private layout to search with
595            * @param articleId the article ID to search with
596            * @param start the lower bound of the range of journal content searchs to return
597            * @param end the upper bound of the range of journal content searchs to return (not inclusive)
598            * @param orderByComparator the comparator to order the results by
599            * @return the ordered range of matching journal content searchs
600            * @throws SystemException if a system exception occurred
601            */
602            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(
603                    long groupId, boolean privateLayout, java.lang.String articleId,
604                    int start, int end,
605                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
606                    throws com.liferay.portal.kernel.exception.SystemException;
607    
608            /**
609            * Finds the first journal content search in the ordered set where groupId = &#63; and privateLayout = &#63; and articleId = &#63;.
610            *
611            * <p>
612            * 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.
613            * </p>
614            *
615            * @param groupId the group ID to search with
616            * @param privateLayout the private layout to search with
617            * @param articleId the article ID to search with
618            * @param orderByComparator the comparator to order the set by
619            * @return the first matching journal content search
620            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found
621            * @throws SystemException if a system exception occurred
622            */
623            public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_A_First(
624                    long groupId, boolean privateLayout, java.lang.String articleId,
625                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
626                    throws com.liferay.portal.kernel.exception.SystemException,
627                            com.liferay.portlet.journal.NoSuchContentSearchException;
628    
629            /**
630            * Finds the last journal content search in the ordered set where groupId = &#63; and privateLayout = &#63; and articleId = &#63;.
631            *
632            * <p>
633            * 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.
634            * </p>
635            *
636            * @param groupId the group ID to search with
637            * @param privateLayout the private layout to search with
638            * @param articleId the article ID to search with
639            * @param orderByComparator the comparator to order the set by
640            * @return the last matching journal content search
641            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found
642            * @throws SystemException if a system exception occurred
643            */
644            public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_A_Last(
645                    long groupId, boolean privateLayout, java.lang.String articleId,
646                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
647                    throws com.liferay.portal.kernel.exception.SystemException,
648                            com.liferay.portlet.journal.NoSuchContentSearchException;
649    
650            /**
651            * 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;.
652            *
653            * <p>
654            * 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.
655            * </p>
656            *
657            * @param contentSearchId the primary key of the current journal content search
658            * @param groupId the group ID to search with
659            * @param privateLayout the private layout to search with
660            * @param articleId the article ID to search with
661            * @param orderByComparator the comparator to order the set by
662            * @return the previous, current, and next journal content search
663            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a journal content search with the primary key could not be found
664            * @throws SystemException if a system exception occurred
665            */
666            public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_A_PrevAndNext(
667                    long contentSearchId, long groupId, boolean privateLayout,
668                    java.lang.String articleId,
669                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
670                    throws com.liferay.portal.kernel.exception.SystemException,
671                            com.liferay.portlet.journal.NoSuchContentSearchException;
672    
673            /**
674            * Finds all the journal content searchs where groupId = &#63; and privateLayout = &#63; and layoutId = &#63; and portletId = &#63;.
675            *
676            * @param groupId the group ID to search with
677            * @param privateLayout the private layout to search with
678            * @param layoutId the layout ID to search with
679            * @param portletId the portlet ID to search with
680            * @return the matching journal content searchs
681            * @throws SystemException if a system exception occurred
682            */
683            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(
684                    long groupId, boolean privateLayout, long layoutId,
685                    java.lang.String portletId)
686                    throws com.liferay.portal.kernel.exception.SystemException;
687    
688            /**
689            * Finds a range of all the journal content searchs where groupId = &#63; and privateLayout = &#63; and layoutId = &#63; and portletId = &#63;.
690            *
691            * <p>
692            * 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.
693            * </p>
694            *
695            * @param groupId the group ID to search with
696            * @param privateLayout the private layout to search with
697            * @param layoutId the layout ID to search with
698            * @param portletId the portlet ID to search with
699            * @param start the lower bound of the range of journal content searchs to return
700            * @param end the upper bound of the range of journal content searchs to return (not inclusive)
701            * @return the range of matching journal content searchs
702            * @throws SystemException if a system exception occurred
703            */
704            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(
705                    long groupId, boolean privateLayout, long layoutId,
706                    java.lang.String portletId, int start, int end)
707                    throws com.liferay.portal.kernel.exception.SystemException;
708    
709            /**
710            * Finds an ordered range of all the journal content searchs where groupId = &#63; and privateLayout = &#63; and layoutId = &#63; and portletId = &#63;.
711            *
712            * <p>
713            * 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.
714            * </p>
715            *
716            * @param groupId the group ID to search with
717            * @param privateLayout the private layout to search with
718            * @param layoutId the layout ID to search with
719            * @param portletId the portlet ID to search with
720            * @param start the lower bound of the range of journal content searchs to return
721            * @param end the upper bound of the range of journal content searchs to return (not inclusive)
722            * @param orderByComparator the comparator to order the results by
723            * @return the ordered range of matching journal content searchs
724            * @throws SystemException if a system exception occurred
725            */
726            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(
727                    long groupId, boolean privateLayout, long layoutId,
728                    java.lang.String portletId, int start, int end,
729                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
730                    throws com.liferay.portal.kernel.exception.SystemException;
731    
732            /**
733            * Finds the first journal content search in the ordered set where groupId = &#63; and privateLayout = &#63; and layoutId = &#63; and portletId = &#63;.
734            *
735            * <p>
736            * 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.
737            * </p>
738            *
739            * @param groupId the group ID to search with
740            * @param privateLayout the private layout to search with
741            * @param layoutId the layout ID to search with
742            * @param portletId the portlet ID to search with
743            * @param orderByComparator the comparator to order the set by
744            * @return the first matching journal content search
745            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found
746            * @throws SystemException if a system exception occurred
747            */
748            public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_First(
749                    long groupId, boolean privateLayout, long layoutId,
750                    java.lang.String portletId,
751                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
752                    throws com.liferay.portal.kernel.exception.SystemException,
753                            com.liferay.portlet.journal.NoSuchContentSearchException;
754    
755            /**
756            * Finds the last journal content search in the ordered set where groupId = &#63; and privateLayout = &#63; and layoutId = &#63; and portletId = &#63;.
757            *
758            * <p>
759            * 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.
760            * </p>
761            *
762            * @param groupId the group ID to search with
763            * @param privateLayout the private layout to search with
764            * @param layoutId the layout ID to search with
765            * @param portletId the portlet ID to search with
766            * @param orderByComparator the comparator to order the set by
767            * @return the last matching journal content search
768            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found
769            * @throws SystemException if a system exception occurred
770            */
771            public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_Last(
772                    long groupId, boolean privateLayout, long layoutId,
773                    java.lang.String portletId,
774                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
775                    throws com.liferay.portal.kernel.exception.SystemException,
776                            com.liferay.portlet.journal.NoSuchContentSearchException;
777    
778            /**
779            * 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;.
780            *
781            * <p>
782            * 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.
783            * </p>
784            *
785            * @param contentSearchId the primary key of the current journal content search
786            * @param groupId the group ID to search with
787            * @param privateLayout the private layout to search with
788            * @param layoutId the layout ID to search with
789            * @param portletId the portlet ID to search with
790            * @param orderByComparator the comparator to order the set by
791            * @return the previous, current, and next journal content search
792            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a journal content search with the primary key could not be found
793            * @throws SystemException if a system exception occurred
794            */
795            public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_L_P_PrevAndNext(
796                    long contentSearchId, long groupId, boolean privateLayout,
797                    long layoutId, java.lang.String portletId,
798                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
799                    throws com.liferay.portal.kernel.exception.SystemException,
800                            com.liferay.portlet.journal.NoSuchContentSearchException;
801    
802            /**
803            * 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.
804            *
805            * @param groupId the group ID to search with
806            * @param privateLayout the private layout to search with
807            * @param layoutId the layout ID to search with
808            * @param portletId the portlet ID to search with
809            * @param articleId the article ID to search with
810            * @return the matching journal content search
811            * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found
812            * @throws SystemException if a system exception occurred
813            */
814            public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_A(
815                    long groupId, boolean privateLayout, long layoutId,
816                    java.lang.String portletId, java.lang.String articleId)
817                    throws com.liferay.portal.kernel.exception.SystemException,
818                            com.liferay.portlet.journal.NoSuchContentSearchException;
819    
820            /**
821            * 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.
822            *
823            * @param groupId the group ID to search with
824            * @param privateLayout the private layout to search with
825            * @param layoutId the layout ID to search with
826            * @param portletId the portlet ID to search with
827            * @param articleId the article ID to search with
828            * @return the matching journal content search, or <code>null</code> if a matching journal content search could not be found
829            * @throws SystemException if a system exception occurred
830            */
831            public com.liferay.portlet.journal.model.JournalContentSearch fetchByG_P_L_P_A(
832                    long groupId, boolean privateLayout, long layoutId,
833                    java.lang.String portletId, java.lang.String articleId)
834                    throws com.liferay.portal.kernel.exception.SystemException;
835    
836            /**
837            * 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.
838            *
839            * @param groupId the group ID to search with
840            * @param privateLayout the private layout to search with
841            * @param layoutId the layout ID to search with
842            * @param portletId the portlet ID to search with
843            * @param articleId the article ID to search with
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            * Finds 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            * Finds 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 to return
870            * @param end the upper bound of the range of journal content searchs to return (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            * Finds 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 to return
886            * @param end the upper bound of the range of journal content searchs to return (not inclusive)
887            * @param orderByComparator the comparator to order the results by
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 to search with
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 to search with
909            * @param privateLayout the private layout to search with
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 to search with
919            * @param articleId the article ID to search with
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 to search with
929            * @param privateLayout the private layout to search with
930            * @param layoutId the layout ID to search with
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 to search with
940            * @param privateLayout the private layout to search with
941            * @param articleId the article ID to search with
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 to search with
952            * @param privateLayout the private layout to search with
953            * @param layoutId the layout ID to search with
954            * @param portletId the portlet ID to search with
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 to search with
965            * @param privateLayout the private layout to search with
966            * @param layoutId the layout ID to search with
967            * @param portletId the portlet ID to search with
968            * @param articleId the article ID to search with
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            * Counts all the journal content searchs where articleId = &#63;.
986            *
987            * @param articleId the article ID to search with
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            * Counts all the journal content searchs where groupId = &#63; and privateLayout = &#63;.
996            *
997            * @param groupId the group ID to search with
998            * @param privateLayout the private layout to search with
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            * Counts all the journal content searchs where groupId = &#63; and articleId = &#63;.
1007            *
1008            * @param groupId the group ID to search with
1009            * @param articleId the article ID to search with
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            * Counts all the journal content searchs where groupId = &#63; and privateLayout = &#63; and layoutId = &#63;.
1018            *
1019            * @param groupId the group ID to search with
1020            * @param privateLayout the private layout to search with
1021            * @param layoutId the layout ID to search with
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            * Counts all the journal content searchs where groupId = &#63; and privateLayout = &#63; and articleId = &#63;.
1030            *
1031            * @param groupId the group ID to search with
1032            * @param privateLayout the private layout to search with
1033            * @param articleId the article ID to search with
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            * Counts all the journal content searchs where groupId = &#63; and privateLayout = &#63; and layoutId = &#63; and portletId = &#63;.
1043            *
1044            * @param groupId the group ID to search with
1045            * @param privateLayout the private layout to search with
1046            * @param layoutId the layout ID to search with
1047            * @param portletId the portlet ID to search with
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            * Counts all the 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 to search with
1059            * @param privateLayout the private layout to search with
1060            * @param layoutId the layout ID to search with
1061            * @param portletId the portlet ID to search with
1062            * @param articleId the article ID to search with
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            * Counts all the 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    
1079            public JournalContentSearch remove(
1080                    JournalContentSearch journalContentSearch) throws SystemException;
1081    }