001    /**
002     * Copyright (c) 2000-2013 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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.persistence.BasePersistence;
020    
021    import com.liferay.portlet.journal.model.JournalArticle;
022    
023    /**
024     * The persistence interface for the journal article service.
025     *
026     * <p>
027     * Caching information and settings can be found in <code>portal.properties</code>
028     * </p>
029     *
030     * @author Brian Wing Shun Chan
031     * @see JournalArticlePersistenceImpl
032     * @see JournalArticleUtil
033     * @generated
034     */
035    @ProviderType
036    public interface JournalArticlePersistence extends BasePersistence<JournalArticle> {
037            /*
038             * NOTE FOR DEVELOPERS:
039             *
040             * Never modify or reference this interface directly. Always use {@link JournalArticleUtil} to access the journal article persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
041             */
042    
043            /**
044            * Returns all the journal articles where uuid = &#63;.
045            *
046            * @param uuid the uuid
047            * @return the matching journal articles
048            * @throws SystemException if a system exception occurred
049            */
050            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid(
051                    java.lang.String uuid)
052                    throws com.liferay.portal.kernel.exception.SystemException;
053    
054            /**
055            * Returns a range of all the journal articles where uuid = &#63;.
056            *
057            * <p>
058            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
059            * </p>
060            *
061            * @param uuid the uuid
062            * @param start the lower bound of the range of journal articles
063            * @param end the upper bound of the range of journal articles (not inclusive)
064            * @return the range of matching journal articles
065            * @throws SystemException if a system exception occurred
066            */
067            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid(
068                    java.lang.String uuid, int start, int end)
069                    throws com.liferay.portal.kernel.exception.SystemException;
070    
071            /**
072            * Returns an ordered range of all the journal articles where uuid = &#63;.
073            *
074            * <p>
075            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
076            * </p>
077            *
078            * @param uuid the uuid
079            * @param start the lower bound of the range of journal articles
080            * @param end the upper bound of the range of journal articles (not inclusive)
081            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
082            * @return the ordered range of matching journal articles
083            * @throws SystemException if a system exception occurred
084            */
085            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid(
086                    java.lang.String uuid, int start, int end,
087                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
088                    throws com.liferay.portal.kernel.exception.SystemException;
089    
090            /**
091            * Returns the first journal article in the ordered set where uuid = &#63;.
092            *
093            * @param uuid the uuid
094            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
095            * @return the first matching journal article
096            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
097            * @throws SystemException if a system exception occurred
098            */
099            public com.liferay.portlet.journal.model.JournalArticle findByUuid_First(
100                    java.lang.String uuid,
101                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
102                    throws com.liferay.portal.kernel.exception.SystemException,
103                            com.liferay.portlet.journal.NoSuchArticleException;
104    
105            /**
106            * Returns the first journal article in the ordered set where uuid = &#63;.
107            *
108            * @param uuid the uuid
109            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
110            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
111            * @throws SystemException if a system exception occurred
112            */
113            public com.liferay.portlet.journal.model.JournalArticle fetchByUuid_First(
114                    java.lang.String uuid,
115                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
116                    throws com.liferay.portal.kernel.exception.SystemException;
117    
118            /**
119            * Returns the last journal article in the ordered set where uuid = &#63;.
120            *
121            * @param uuid the uuid
122            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
123            * @return the last matching journal article
124            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
125            * @throws SystemException if a system exception occurred
126            */
127            public com.liferay.portlet.journal.model.JournalArticle findByUuid_Last(
128                    java.lang.String uuid,
129                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
130                    throws com.liferay.portal.kernel.exception.SystemException,
131                            com.liferay.portlet.journal.NoSuchArticleException;
132    
133            /**
134            * Returns the last journal article in the ordered set where uuid = &#63;.
135            *
136            * @param uuid the uuid
137            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
138            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
139            * @throws SystemException if a system exception occurred
140            */
141            public com.liferay.portlet.journal.model.JournalArticle fetchByUuid_Last(
142                    java.lang.String uuid,
143                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
144                    throws com.liferay.portal.kernel.exception.SystemException;
145    
146            /**
147            * Returns the journal articles before and after the current journal article in the ordered set where uuid = &#63;.
148            *
149            * @param id the primary key of the current journal article
150            * @param uuid the uuid
151            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
152            * @return the previous, current, and next journal article
153            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
154            * @throws SystemException if a system exception occurred
155            */
156            public com.liferay.portlet.journal.model.JournalArticle[] findByUuid_PrevAndNext(
157                    long id, java.lang.String uuid,
158                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
159                    throws com.liferay.portal.kernel.exception.SystemException,
160                            com.liferay.portlet.journal.NoSuchArticleException;
161    
162            /**
163            * Removes all the journal articles where uuid = &#63; from the database.
164            *
165            * @param uuid the uuid
166            * @throws SystemException if a system exception occurred
167            */
168            public void removeByUuid(java.lang.String uuid)
169                    throws com.liferay.portal.kernel.exception.SystemException;
170    
171            /**
172            * Returns the number of journal articles where uuid = &#63;.
173            *
174            * @param uuid the uuid
175            * @return the number of matching journal articles
176            * @throws SystemException if a system exception occurred
177            */
178            public int countByUuid(java.lang.String uuid)
179                    throws com.liferay.portal.kernel.exception.SystemException;
180    
181            /**
182            * Returns the journal article where uuid = &#63; and groupId = &#63; or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found.
183            *
184            * @param uuid the uuid
185            * @param groupId the group ID
186            * @return the matching journal article
187            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
188            * @throws SystemException if a system exception occurred
189            */
190            public com.liferay.portlet.journal.model.JournalArticle findByUUID_G(
191                    java.lang.String uuid, long groupId)
192                    throws com.liferay.portal.kernel.exception.SystemException,
193                            com.liferay.portlet.journal.NoSuchArticleException;
194    
195            /**
196            * Returns the journal article where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
197            *
198            * @param uuid the uuid
199            * @param groupId the group ID
200            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
201            * @throws SystemException if a system exception occurred
202            */
203            public com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G(
204                    java.lang.String uuid, long groupId)
205                    throws com.liferay.portal.kernel.exception.SystemException;
206    
207            /**
208            * Returns the journal article where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
209            *
210            * @param uuid the uuid
211            * @param groupId the group ID
212            * @param retrieveFromCache whether to use the finder cache
213            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
214            * @throws SystemException if a system exception occurred
215            */
216            public com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G(
217                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
218                    throws com.liferay.portal.kernel.exception.SystemException;
219    
220            /**
221            * Removes the journal article where uuid = &#63; and groupId = &#63; from the database.
222            *
223            * @param uuid the uuid
224            * @param groupId the group ID
225            * @return the journal article that was removed
226            * @throws SystemException if a system exception occurred
227            */
228            public com.liferay.portlet.journal.model.JournalArticle removeByUUID_G(
229                    java.lang.String uuid, long groupId)
230                    throws com.liferay.portal.kernel.exception.SystemException,
231                            com.liferay.portlet.journal.NoSuchArticleException;
232    
233            /**
234            * Returns the number of journal articles where uuid = &#63; and groupId = &#63;.
235            *
236            * @param uuid the uuid
237            * @param groupId the group ID
238            * @return the number of matching journal articles
239            * @throws SystemException if a system exception occurred
240            */
241            public int countByUUID_G(java.lang.String uuid, long groupId)
242                    throws com.liferay.portal.kernel.exception.SystemException;
243    
244            /**
245            * Returns all the journal articles where uuid = &#63; and companyId = &#63;.
246            *
247            * @param uuid the uuid
248            * @param companyId the company ID
249            * @return the matching journal articles
250            * @throws SystemException if a system exception occurred
251            */
252            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid_C(
253                    java.lang.String uuid, long companyId)
254                    throws com.liferay.portal.kernel.exception.SystemException;
255    
256            /**
257            * Returns a range of all the journal articles where uuid = &#63; and companyId = &#63;.
258            *
259            * <p>
260            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
261            * </p>
262            *
263            * @param uuid the uuid
264            * @param companyId the company ID
265            * @param start the lower bound of the range of journal articles
266            * @param end the upper bound of the range of journal articles (not inclusive)
267            * @return the range of matching journal articles
268            * @throws SystemException if a system exception occurred
269            */
270            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid_C(
271                    java.lang.String uuid, long companyId, int start, int end)
272                    throws com.liferay.portal.kernel.exception.SystemException;
273    
274            /**
275            * Returns an ordered range of all the journal articles where uuid = &#63; and companyId = &#63;.
276            *
277            * <p>
278            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
279            * </p>
280            *
281            * @param uuid the uuid
282            * @param companyId the company ID
283            * @param start the lower bound of the range of journal articles
284            * @param end the upper bound of the range of journal articles (not inclusive)
285            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
286            * @return the ordered range of matching journal articles
287            * @throws SystemException if a system exception occurred
288            */
289            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid_C(
290                    java.lang.String uuid, long companyId, int start, int end,
291                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
292                    throws com.liferay.portal.kernel.exception.SystemException;
293    
294            /**
295            * Returns the first journal article in the ordered set where uuid = &#63; and companyId = &#63;.
296            *
297            * @param uuid the uuid
298            * @param companyId the company ID
299            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
300            * @return the first matching journal article
301            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
302            * @throws SystemException if a system exception occurred
303            */
304            public com.liferay.portlet.journal.model.JournalArticle findByUuid_C_First(
305                    java.lang.String uuid, long companyId,
306                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
307                    throws com.liferay.portal.kernel.exception.SystemException,
308                            com.liferay.portlet.journal.NoSuchArticleException;
309    
310            /**
311            * Returns the first journal article in the ordered set where uuid = &#63; and companyId = &#63;.
312            *
313            * @param uuid the uuid
314            * @param companyId the company ID
315            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
316            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
317            * @throws SystemException if a system exception occurred
318            */
319            public com.liferay.portlet.journal.model.JournalArticle fetchByUuid_C_First(
320                    java.lang.String uuid, long companyId,
321                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
322                    throws com.liferay.portal.kernel.exception.SystemException;
323    
324            /**
325            * Returns the last journal article in the ordered set where uuid = &#63; and companyId = &#63;.
326            *
327            * @param uuid the uuid
328            * @param companyId the company ID
329            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
330            * @return the last matching journal article
331            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
332            * @throws SystemException if a system exception occurred
333            */
334            public com.liferay.portlet.journal.model.JournalArticle findByUuid_C_Last(
335                    java.lang.String uuid, long companyId,
336                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
337                    throws com.liferay.portal.kernel.exception.SystemException,
338                            com.liferay.portlet.journal.NoSuchArticleException;
339    
340            /**
341            * Returns the last journal article in the ordered set where uuid = &#63; and companyId = &#63;.
342            *
343            * @param uuid the uuid
344            * @param companyId the company ID
345            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
346            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
347            * @throws SystemException if a system exception occurred
348            */
349            public com.liferay.portlet.journal.model.JournalArticle fetchByUuid_C_Last(
350                    java.lang.String uuid, long companyId,
351                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
352                    throws com.liferay.portal.kernel.exception.SystemException;
353    
354            /**
355            * Returns the journal articles before and after the current journal article in the ordered set where uuid = &#63; and companyId = &#63;.
356            *
357            * @param id the primary key of the current journal article
358            * @param uuid the uuid
359            * @param companyId the company ID
360            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
361            * @return the previous, current, and next journal article
362            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
363            * @throws SystemException if a system exception occurred
364            */
365            public com.liferay.portlet.journal.model.JournalArticle[] findByUuid_C_PrevAndNext(
366                    long id, java.lang.String uuid, long companyId,
367                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
368                    throws com.liferay.portal.kernel.exception.SystemException,
369                            com.liferay.portlet.journal.NoSuchArticleException;
370    
371            /**
372            * Removes all the journal articles where uuid = &#63; and companyId = &#63; from the database.
373            *
374            * @param uuid the uuid
375            * @param companyId the company ID
376            * @throws SystemException if a system exception occurred
377            */
378            public void removeByUuid_C(java.lang.String uuid, long companyId)
379                    throws com.liferay.portal.kernel.exception.SystemException;
380    
381            /**
382            * Returns the number of journal articles where uuid = &#63; and companyId = &#63;.
383            *
384            * @param uuid the uuid
385            * @param companyId the company ID
386            * @return the number of matching journal articles
387            * @throws SystemException if a system exception occurred
388            */
389            public int countByUuid_C(java.lang.String uuid, long companyId)
390                    throws com.liferay.portal.kernel.exception.SystemException;
391    
392            /**
393            * Returns all the journal articles where resourcePrimKey = &#63;.
394            *
395            * @param resourcePrimKey the resource prim key
396            * @return the matching journal articles
397            * @throws SystemException if a system exception occurred
398            */
399            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey(
400                    long resourcePrimKey)
401                    throws com.liferay.portal.kernel.exception.SystemException;
402    
403            /**
404            * Returns a range of all the journal articles where resourcePrimKey = &#63;.
405            *
406            * <p>
407            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
408            * </p>
409            *
410            * @param resourcePrimKey the resource prim key
411            * @param start the lower bound of the range of journal articles
412            * @param end the upper bound of the range of journal articles (not inclusive)
413            * @return the range of matching journal articles
414            * @throws SystemException if a system exception occurred
415            */
416            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey(
417                    long resourcePrimKey, int start, int end)
418                    throws com.liferay.portal.kernel.exception.SystemException;
419    
420            /**
421            * Returns an ordered range of all the journal articles where resourcePrimKey = &#63;.
422            *
423            * <p>
424            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
425            * </p>
426            *
427            * @param resourcePrimKey the resource prim key
428            * @param start the lower bound of the range of journal articles
429            * @param end the upper bound of the range of journal articles (not inclusive)
430            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
431            * @return the ordered range of matching journal articles
432            * @throws SystemException if a system exception occurred
433            */
434            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey(
435                    long resourcePrimKey, int start, int end,
436                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
437                    throws com.liferay.portal.kernel.exception.SystemException;
438    
439            /**
440            * Returns the first journal article in the ordered set where resourcePrimKey = &#63;.
441            *
442            * @param resourcePrimKey the resource prim key
443            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
444            * @return the first matching journal article
445            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
446            * @throws SystemException if a system exception occurred
447            */
448            public com.liferay.portlet.journal.model.JournalArticle findByResourcePrimKey_First(
449                    long resourcePrimKey,
450                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
451                    throws com.liferay.portal.kernel.exception.SystemException,
452                            com.liferay.portlet.journal.NoSuchArticleException;
453    
454            /**
455            * Returns the first journal article in the ordered set where resourcePrimKey = &#63;.
456            *
457            * @param resourcePrimKey the resource prim key
458            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
459            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
460            * @throws SystemException if a system exception occurred
461            */
462            public com.liferay.portlet.journal.model.JournalArticle fetchByResourcePrimKey_First(
463                    long resourcePrimKey,
464                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
465                    throws com.liferay.portal.kernel.exception.SystemException;
466    
467            /**
468            * Returns the last journal article in the ordered set where resourcePrimKey = &#63;.
469            *
470            * @param resourcePrimKey the resource prim key
471            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
472            * @return the last matching journal article
473            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
474            * @throws SystemException if a system exception occurred
475            */
476            public com.liferay.portlet.journal.model.JournalArticle findByResourcePrimKey_Last(
477                    long resourcePrimKey,
478                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
479                    throws com.liferay.portal.kernel.exception.SystemException,
480                            com.liferay.portlet.journal.NoSuchArticleException;
481    
482            /**
483            * Returns the last journal article in the ordered set where resourcePrimKey = &#63;.
484            *
485            * @param resourcePrimKey the resource prim key
486            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
487            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
488            * @throws SystemException if a system exception occurred
489            */
490            public com.liferay.portlet.journal.model.JournalArticle fetchByResourcePrimKey_Last(
491                    long resourcePrimKey,
492                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
493                    throws com.liferay.portal.kernel.exception.SystemException;
494    
495            /**
496            * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = &#63;.
497            *
498            * @param id the primary key of the current journal article
499            * @param resourcePrimKey the resource prim key
500            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
501            * @return the previous, current, and next journal article
502            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
503            * @throws SystemException if a system exception occurred
504            */
505            public com.liferay.portlet.journal.model.JournalArticle[] findByResourcePrimKey_PrevAndNext(
506                    long id, long resourcePrimKey,
507                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
508                    throws com.liferay.portal.kernel.exception.SystemException,
509                            com.liferay.portlet.journal.NoSuchArticleException;
510    
511            /**
512            * Removes all the journal articles where resourcePrimKey = &#63; from the database.
513            *
514            * @param resourcePrimKey the resource prim key
515            * @throws SystemException if a system exception occurred
516            */
517            public void removeByResourcePrimKey(long resourcePrimKey)
518                    throws com.liferay.portal.kernel.exception.SystemException;
519    
520            /**
521            * Returns the number of journal articles where resourcePrimKey = &#63;.
522            *
523            * @param resourcePrimKey the resource prim key
524            * @return the number of matching journal articles
525            * @throws SystemException if a system exception occurred
526            */
527            public int countByResourcePrimKey(long resourcePrimKey)
528                    throws com.liferay.portal.kernel.exception.SystemException;
529    
530            /**
531            * Returns all the journal articles where groupId = &#63;.
532            *
533            * @param groupId the group ID
534            * @return the matching journal articles
535            * @throws SystemException if a system exception occurred
536            */
537            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId(
538                    long groupId)
539                    throws com.liferay.portal.kernel.exception.SystemException;
540    
541            /**
542            * Returns a range of all the journal articles where groupId = &#63;.
543            *
544            * <p>
545            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
546            * </p>
547            *
548            * @param groupId the group ID
549            * @param start the lower bound of the range of journal articles
550            * @param end the upper bound of the range of journal articles (not inclusive)
551            * @return the range of matching journal articles
552            * @throws SystemException if a system exception occurred
553            */
554            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId(
555                    long groupId, int start, int end)
556                    throws com.liferay.portal.kernel.exception.SystemException;
557    
558            /**
559            * Returns an ordered range of all the journal articles where groupId = &#63;.
560            *
561            * <p>
562            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
563            * </p>
564            *
565            * @param groupId the group ID
566            * @param start the lower bound of the range of journal articles
567            * @param end the upper bound of the range of journal articles (not inclusive)
568            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
569            * @return the ordered range of matching journal articles
570            * @throws SystemException if a system exception occurred
571            */
572            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId(
573                    long groupId, int start, int end,
574                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
575                    throws com.liferay.portal.kernel.exception.SystemException;
576    
577            /**
578            * Returns the first journal article in the ordered set where groupId = &#63;.
579            *
580            * @param groupId the group ID
581            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
582            * @return the first matching journal article
583            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
584            * @throws SystemException if a system exception occurred
585            */
586            public com.liferay.portlet.journal.model.JournalArticle findByGroupId_First(
587                    long groupId,
588                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
589                    throws com.liferay.portal.kernel.exception.SystemException,
590                            com.liferay.portlet.journal.NoSuchArticleException;
591    
592            /**
593            * Returns the first journal article in the ordered set where groupId = &#63;.
594            *
595            * @param groupId the group ID
596            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
597            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
598            * @throws SystemException if a system exception occurred
599            */
600            public com.liferay.portlet.journal.model.JournalArticle fetchByGroupId_First(
601                    long groupId,
602                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
603                    throws com.liferay.portal.kernel.exception.SystemException;
604    
605            /**
606            * Returns the last journal article in the ordered set where groupId = &#63;.
607            *
608            * @param groupId the group ID
609            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
610            * @return the last matching journal article
611            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
612            * @throws SystemException if a system exception occurred
613            */
614            public com.liferay.portlet.journal.model.JournalArticle findByGroupId_Last(
615                    long groupId,
616                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
617                    throws com.liferay.portal.kernel.exception.SystemException,
618                            com.liferay.portlet.journal.NoSuchArticleException;
619    
620            /**
621            * Returns the last journal article in the ordered set where groupId = &#63;.
622            *
623            * @param groupId the group ID
624            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
625            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
626            * @throws SystemException if a system exception occurred
627            */
628            public com.liferay.portlet.journal.model.JournalArticle fetchByGroupId_Last(
629                    long groupId,
630                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
631                    throws com.liferay.portal.kernel.exception.SystemException;
632    
633            /**
634            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63;.
635            *
636            * @param id the primary key of the current journal article
637            * @param groupId the group ID
638            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
639            * @return the previous, current, and next journal article
640            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
641            * @throws SystemException if a system exception occurred
642            */
643            public com.liferay.portlet.journal.model.JournalArticle[] findByGroupId_PrevAndNext(
644                    long id, long groupId,
645                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
646                    throws com.liferay.portal.kernel.exception.SystemException,
647                            com.liferay.portlet.journal.NoSuchArticleException;
648    
649            /**
650            * Returns all the journal articles that the user has permission to view where groupId = &#63;.
651            *
652            * @param groupId the group ID
653            * @return the matching journal articles that the user has permission to view
654            * @throws SystemException if a system exception occurred
655            */
656            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId(
657                    long groupId)
658                    throws com.liferay.portal.kernel.exception.SystemException;
659    
660            /**
661            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63;.
662            *
663            * <p>
664            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
665            * </p>
666            *
667            * @param groupId the group ID
668            * @param start the lower bound of the range of journal articles
669            * @param end the upper bound of the range of journal articles (not inclusive)
670            * @return the range of matching journal articles that the user has permission to view
671            * @throws SystemException if a system exception occurred
672            */
673            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId(
674                    long groupId, int start, int end)
675                    throws com.liferay.portal.kernel.exception.SystemException;
676    
677            /**
678            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63;.
679            *
680            * <p>
681            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
682            * </p>
683            *
684            * @param groupId the group ID
685            * @param start the lower bound of the range of journal articles
686            * @param end the upper bound of the range of journal articles (not inclusive)
687            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
688            * @return the ordered range of matching journal articles that the user has permission to view
689            * @throws SystemException if a system exception occurred
690            */
691            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId(
692                    long groupId, int start, int end,
693                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
694                    throws com.liferay.portal.kernel.exception.SystemException;
695    
696            /**
697            * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = &#63;.
698            *
699            * @param id the primary key of the current journal article
700            * @param groupId the group ID
701            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
702            * @return the previous, current, and next journal article
703            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
704            * @throws SystemException if a system exception occurred
705            */
706            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByGroupId_PrevAndNext(
707                    long id, long groupId,
708                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
709                    throws com.liferay.portal.kernel.exception.SystemException,
710                            com.liferay.portlet.journal.NoSuchArticleException;
711    
712            /**
713            * Removes all the journal articles where groupId = &#63; from the database.
714            *
715            * @param groupId the group ID
716            * @throws SystemException if a system exception occurred
717            */
718            public void removeByGroupId(long groupId)
719                    throws com.liferay.portal.kernel.exception.SystemException;
720    
721            /**
722            * Returns the number of journal articles where groupId = &#63;.
723            *
724            * @param groupId the group ID
725            * @return the number of matching journal articles
726            * @throws SystemException if a system exception occurred
727            */
728            public int countByGroupId(long groupId)
729                    throws com.liferay.portal.kernel.exception.SystemException;
730    
731            /**
732            * Returns the number of journal articles that the user has permission to view where groupId = &#63;.
733            *
734            * @param groupId the group ID
735            * @return the number of matching journal articles that the user has permission to view
736            * @throws SystemException if a system exception occurred
737            */
738            public int filterCountByGroupId(long groupId)
739                    throws com.liferay.portal.kernel.exception.SystemException;
740    
741            /**
742            * Returns all the journal articles where companyId = &#63;.
743            *
744            * @param companyId the company ID
745            * @return the matching journal articles
746            * @throws SystemException if a system exception occurred
747            */
748            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId(
749                    long companyId)
750                    throws com.liferay.portal.kernel.exception.SystemException;
751    
752            /**
753            * Returns a range of all the journal articles where companyId = &#63;.
754            *
755            * <p>
756            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
757            * </p>
758            *
759            * @param companyId the company ID
760            * @param start the lower bound of the range of journal articles
761            * @param end the upper bound of the range of journal articles (not inclusive)
762            * @return the range of matching journal articles
763            * @throws SystemException if a system exception occurred
764            */
765            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId(
766                    long companyId, int start, int end)
767                    throws com.liferay.portal.kernel.exception.SystemException;
768    
769            /**
770            * Returns an ordered range of all the journal articles where companyId = &#63;.
771            *
772            * <p>
773            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
774            * </p>
775            *
776            * @param companyId the company ID
777            * @param start the lower bound of the range of journal articles
778            * @param end the upper bound of the range of journal articles (not inclusive)
779            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
780            * @return the ordered range of matching journal articles
781            * @throws SystemException if a system exception occurred
782            */
783            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId(
784                    long companyId, int start, int end,
785                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
786                    throws com.liferay.portal.kernel.exception.SystemException;
787    
788            /**
789            * Returns the first journal article in the ordered set where companyId = &#63;.
790            *
791            * @param companyId the company ID
792            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
793            * @return the first matching journal article
794            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
795            * @throws SystemException if a system exception occurred
796            */
797            public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_First(
798                    long companyId,
799                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
800                    throws com.liferay.portal.kernel.exception.SystemException,
801                            com.liferay.portlet.journal.NoSuchArticleException;
802    
803            /**
804            * Returns the first journal article in the ordered set where companyId = &#63;.
805            *
806            * @param companyId the company ID
807            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
808            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
809            * @throws SystemException if a system exception occurred
810            */
811            public com.liferay.portlet.journal.model.JournalArticle fetchByCompanyId_First(
812                    long companyId,
813                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
814                    throws com.liferay.portal.kernel.exception.SystemException;
815    
816            /**
817            * Returns the last journal article in the ordered set where companyId = &#63;.
818            *
819            * @param companyId the company ID
820            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
821            * @return the last matching journal article
822            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
823            * @throws SystemException if a system exception occurred
824            */
825            public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_Last(
826                    long companyId,
827                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
828                    throws com.liferay.portal.kernel.exception.SystemException,
829                            com.liferay.portlet.journal.NoSuchArticleException;
830    
831            /**
832            * Returns the last journal article in the ordered set where companyId = &#63;.
833            *
834            * @param companyId the company ID
835            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
836            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
837            * @throws SystemException if a system exception occurred
838            */
839            public com.liferay.portlet.journal.model.JournalArticle fetchByCompanyId_Last(
840                    long companyId,
841                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
842                    throws com.liferay.portal.kernel.exception.SystemException;
843    
844            /**
845            * Returns the journal articles before and after the current journal article in the ordered set where companyId = &#63;.
846            *
847            * @param id the primary key of the current journal article
848            * @param companyId the company ID
849            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
850            * @return the previous, current, and next journal article
851            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
852            * @throws SystemException if a system exception occurred
853            */
854            public com.liferay.portlet.journal.model.JournalArticle[] findByCompanyId_PrevAndNext(
855                    long id, long companyId,
856                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
857                    throws com.liferay.portal.kernel.exception.SystemException,
858                            com.liferay.portlet.journal.NoSuchArticleException;
859    
860            /**
861            * Removes all the journal articles where companyId = &#63; from the database.
862            *
863            * @param companyId the company ID
864            * @throws SystemException if a system exception occurred
865            */
866            public void removeByCompanyId(long companyId)
867                    throws com.liferay.portal.kernel.exception.SystemException;
868    
869            /**
870            * Returns the number of journal articles where companyId = &#63;.
871            *
872            * @param companyId the company ID
873            * @return the number of matching journal articles
874            * @throws SystemException if a system exception occurred
875            */
876            public int countByCompanyId(long companyId)
877                    throws com.liferay.portal.kernel.exception.SystemException;
878    
879            /**
880            * Returns all the journal articles where structureId = &#63;.
881            *
882            * @param structureId the structure ID
883            * @return the matching journal articles
884            * @throws SystemException if a system exception occurred
885            */
886            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId(
887                    java.lang.String structureId)
888                    throws com.liferay.portal.kernel.exception.SystemException;
889    
890            /**
891            * Returns a range of all the journal articles where structureId = &#63;.
892            *
893            * <p>
894            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
895            * </p>
896            *
897            * @param structureId the structure ID
898            * @param start the lower bound of the range of journal articles
899            * @param end the upper bound of the range of journal articles (not inclusive)
900            * @return the range of matching journal articles
901            * @throws SystemException if a system exception occurred
902            */
903            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId(
904                    java.lang.String structureId, int start, int end)
905                    throws com.liferay.portal.kernel.exception.SystemException;
906    
907            /**
908            * Returns an ordered range of all the journal articles where structureId = &#63;.
909            *
910            * <p>
911            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
912            * </p>
913            *
914            * @param structureId the structure ID
915            * @param start the lower bound of the range of journal articles
916            * @param end the upper bound of the range of journal articles (not inclusive)
917            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
918            * @return the ordered range of matching journal articles
919            * @throws SystemException if a system exception occurred
920            */
921            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId(
922                    java.lang.String structureId, int start, int end,
923                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
924                    throws com.liferay.portal.kernel.exception.SystemException;
925    
926            /**
927            * Returns the first journal article in the ordered set where structureId = &#63;.
928            *
929            * @param structureId the structure ID
930            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
931            * @return the first matching journal article
932            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
933            * @throws SystemException if a system exception occurred
934            */
935            public com.liferay.portlet.journal.model.JournalArticle findByStructureId_First(
936                    java.lang.String structureId,
937                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
938                    throws com.liferay.portal.kernel.exception.SystemException,
939                            com.liferay.portlet.journal.NoSuchArticleException;
940    
941            /**
942            * Returns the first journal article in the ordered set where structureId = &#63;.
943            *
944            * @param structureId the structure ID
945            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
946            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
947            * @throws SystemException if a system exception occurred
948            */
949            public com.liferay.portlet.journal.model.JournalArticle fetchByStructureId_First(
950                    java.lang.String structureId,
951                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
952                    throws com.liferay.portal.kernel.exception.SystemException;
953    
954            /**
955            * Returns the last journal article in the ordered set where structureId = &#63;.
956            *
957            * @param structureId the structure ID
958            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
959            * @return the last matching journal article
960            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
961            * @throws SystemException if a system exception occurred
962            */
963            public com.liferay.portlet.journal.model.JournalArticle findByStructureId_Last(
964                    java.lang.String structureId,
965                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
966                    throws com.liferay.portal.kernel.exception.SystemException,
967                            com.liferay.portlet.journal.NoSuchArticleException;
968    
969            /**
970            * Returns the last journal article in the ordered set where structureId = &#63;.
971            *
972            * @param structureId the structure ID
973            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
974            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
975            * @throws SystemException if a system exception occurred
976            */
977            public com.liferay.portlet.journal.model.JournalArticle fetchByStructureId_Last(
978                    java.lang.String structureId,
979                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
980                    throws com.liferay.portal.kernel.exception.SystemException;
981    
982            /**
983            * Returns the journal articles before and after the current journal article in the ordered set where structureId = &#63;.
984            *
985            * @param id the primary key of the current journal article
986            * @param structureId the structure ID
987            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
988            * @return the previous, current, and next journal article
989            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
990            * @throws SystemException if a system exception occurred
991            */
992            public com.liferay.portlet.journal.model.JournalArticle[] findByStructureId_PrevAndNext(
993                    long id, java.lang.String structureId,
994                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
995                    throws com.liferay.portal.kernel.exception.SystemException,
996                            com.liferay.portlet.journal.NoSuchArticleException;
997    
998            /**
999            * Returns all the journal articles where structureId = any &#63;.
1000            *
1001            * <p>
1002            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1003            * </p>
1004            *
1005            * @param structureIds the structure IDs
1006            * @return the matching journal articles
1007            * @throws SystemException if a system exception occurred
1008            */
1009            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId(
1010                    java.lang.String[] structureIds)
1011                    throws com.liferay.portal.kernel.exception.SystemException;
1012    
1013            /**
1014            * Returns a range of all the journal articles where structureId = any &#63;.
1015            *
1016            * <p>
1017            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1018            * </p>
1019            *
1020            * @param structureIds the structure IDs
1021            * @param start the lower bound of the range of journal articles
1022            * @param end the upper bound of the range of journal articles (not inclusive)
1023            * @return the range of matching journal articles
1024            * @throws SystemException if a system exception occurred
1025            */
1026            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId(
1027                    java.lang.String[] structureIds, int start, int end)
1028                    throws com.liferay.portal.kernel.exception.SystemException;
1029    
1030            /**
1031            * Returns an ordered range of all the journal articles where structureId = any &#63;.
1032            *
1033            * <p>
1034            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1035            * </p>
1036            *
1037            * @param structureIds the structure IDs
1038            * @param start the lower bound of the range of journal articles
1039            * @param end the upper bound of the range of journal articles (not inclusive)
1040            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1041            * @return the ordered range of matching journal articles
1042            * @throws SystemException if a system exception occurred
1043            */
1044            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId(
1045                    java.lang.String[] structureIds, int start, int end,
1046                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1047                    throws com.liferay.portal.kernel.exception.SystemException;
1048    
1049            /**
1050            * Removes all the journal articles where structureId = &#63; from the database.
1051            *
1052            * @param structureId the structure ID
1053            * @throws SystemException if a system exception occurred
1054            */
1055            public void removeByStructureId(java.lang.String structureId)
1056                    throws com.liferay.portal.kernel.exception.SystemException;
1057    
1058            /**
1059            * Returns the number of journal articles where structureId = &#63;.
1060            *
1061            * @param structureId the structure ID
1062            * @return the number of matching journal articles
1063            * @throws SystemException if a system exception occurred
1064            */
1065            public int countByStructureId(java.lang.String structureId)
1066                    throws com.liferay.portal.kernel.exception.SystemException;
1067    
1068            /**
1069            * Returns the number of journal articles where structureId = any &#63;.
1070            *
1071            * @param structureIds the structure IDs
1072            * @return the number of matching journal articles
1073            * @throws SystemException if a system exception occurred
1074            */
1075            public int countByStructureId(java.lang.String[] structureIds)
1076                    throws com.liferay.portal.kernel.exception.SystemException;
1077    
1078            /**
1079            * Returns all the journal articles where templateId = &#63;.
1080            *
1081            * @param templateId the template ID
1082            * @return the matching journal articles
1083            * @throws SystemException if a system exception occurred
1084            */
1085            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId(
1086                    java.lang.String templateId)
1087                    throws com.liferay.portal.kernel.exception.SystemException;
1088    
1089            /**
1090            * Returns a range of all the journal articles where templateId = &#63;.
1091            *
1092            * <p>
1093            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1094            * </p>
1095            *
1096            * @param templateId the template ID
1097            * @param start the lower bound of the range of journal articles
1098            * @param end the upper bound of the range of journal articles (not inclusive)
1099            * @return the range of matching journal articles
1100            * @throws SystemException if a system exception occurred
1101            */
1102            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId(
1103                    java.lang.String templateId, int start, int end)
1104                    throws com.liferay.portal.kernel.exception.SystemException;
1105    
1106            /**
1107            * Returns an ordered range of all the journal articles where templateId = &#63;.
1108            *
1109            * <p>
1110            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1111            * </p>
1112            *
1113            * @param templateId the template ID
1114            * @param start the lower bound of the range of journal articles
1115            * @param end the upper bound of the range of journal articles (not inclusive)
1116            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1117            * @return the ordered range of matching journal articles
1118            * @throws SystemException if a system exception occurred
1119            */
1120            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId(
1121                    java.lang.String templateId, int start, int end,
1122                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1123                    throws com.liferay.portal.kernel.exception.SystemException;
1124    
1125            /**
1126            * Returns the first journal article in the ordered set where templateId = &#63;.
1127            *
1128            * @param templateId the template ID
1129            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1130            * @return the first matching journal article
1131            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1132            * @throws SystemException if a system exception occurred
1133            */
1134            public com.liferay.portlet.journal.model.JournalArticle findByTemplateId_First(
1135                    java.lang.String templateId,
1136                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1137                    throws com.liferay.portal.kernel.exception.SystemException,
1138                            com.liferay.portlet.journal.NoSuchArticleException;
1139    
1140            /**
1141            * Returns the first journal article in the ordered set where templateId = &#63;.
1142            *
1143            * @param templateId the template ID
1144            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1145            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
1146            * @throws SystemException if a system exception occurred
1147            */
1148            public com.liferay.portlet.journal.model.JournalArticle fetchByTemplateId_First(
1149                    java.lang.String templateId,
1150                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1151                    throws com.liferay.portal.kernel.exception.SystemException;
1152    
1153            /**
1154            * Returns the last journal article in the ordered set where templateId = &#63;.
1155            *
1156            * @param templateId the template ID
1157            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1158            * @return the last matching journal article
1159            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1160            * @throws SystemException if a system exception occurred
1161            */
1162            public com.liferay.portlet.journal.model.JournalArticle findByTemplateId_Last(
1163                    java.lang.String templateId,
1164                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1165                    throws com.liferay.portal.kernel.exception.SystemException,
1166                            com.liferay.portlet.journal.NoSuchArticleException;
1167    
1168            /**
1169            * Returns the last journal article in the ordered set where templateId = &#63;.
1170            *
1171            * @param templateId the template ID
1172            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1173            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
1174            * @throws SystemException if a system exception occurred
1175            */
1176            public com.liferay.portlet.journal.model.JournalArticle fetchByTemplateId_Last(
1177                    java.lang.String templateId,
1178                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1179                    throws com.liferay.portal.kernel.exception.SystemException;
1180    
1181            /**
1182            * Returns the journal articles before and after the current journal article in the ordered set where templateId = &#63;.
1183            *
1184            * @param id the primary key of the current journal article
1185            * @param templateId the template ID
1186            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1187            * @return the previous, current, and next journal article
1188            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1189            * @throws SystemException if a system exception occurred
1190            */
1191            public com.liferay.portlet.journal.model.JournalArticle[] findByTemplateId_PrevAndNext(
1192                    long id, java.lang.String templateId,
1193                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1194                    throws com.liferay.portal.kernel.exception.SystemException,
1195                            com.liferay.portlet.journal.NoSuchArticleException;
1196    
1197            /**
1198            * Removes all the journal articles where templateId = &#63; from the database.
1199            *
1200            * @param templateId the template ID
1201            * @throws SystemException if a system exception occurred
1202            */
1203            public void removeByTemplateId(java.lang.String templateId)
1204                    throws com.liferay.portal.kernel.exception.SystemException;
1205    
1206            /**
1207            * Returns the number of journal articles where templateId = &#63;.
1208            *
1209            * @param templateId the template ID
1210            * @return the number of matching journal articles
1211            * @throws SystemException if a system exception occurred
1212            */
1213            public int countByTemplateId(java.lang.String templateId)
1214                    throws com.liferay.portal.kernel.exception.SystemException;
1215    
1216            /**
1217            * Returns all the journal articles where layoutUuid = &#63;.
1218            *
1219            * @param layoutUuid the layout uuid
1220            * @return the matching journal articles
1221            * @throws SystemException if a system exception occurred
1222            */
1223            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid(
1224                    java.lang.String layoutUuid)
1225                    throws com.liferay.portal.kernel.exception.SystemException;
1226    
1227            /**
1228            * Returns a range of all the journal articles where layoutUuid = &#63;.
1229            *
1230            * <p>
1231            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1232            * </p>
1233            *
1234            * @param layoutUuid the layout uuid
1235            * @param start the lower bound of the range of journal articles
1236            * @param end the upper bound of the range of journal articles (not inclusive)
1237            * @return the range of matching journal articles
1238            * @throws SystemException if a system exception occurred
1239            */
1240            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid(
1241                    java.lang.String layoutUuid, int start, int end)
1242                    throws com.liferay.portal.kernel.exception.SystemException;
1243    
1244            /**
1245            * Returns an ordered range of all the journal articles where layoutUuid = &#63;.
1246            *
1247            * <p>
1248            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1249            * </p>
1250            *
1251            * @param layoutUuid the layout uuid
1252            * @param start the lower bound of the range of journal articles
1253            * @param end the upper bound of the range of journal articles (not inclusive)
1254            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1255            * @return the ordered range of matching journal articles
1256            * @throws SystemException if a system exception occurred
1257            */
1258            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid(
1259                    java.lang.String layoutUuid, int start, int end,
1260                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1261                    throws com.liferay.portal.kernel.exception.SystemException;
1262    
1263            /**
1264            * Returns the first journal article in the ordered set where layoutUuid = &#63;.
1265            *
1266            * @param layoutUuid the layout uuid
1267            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1268            * @return the first matching journal article
1269            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1270            * @throws SystemException if a system exception occurred
1271            */
1272            public com.liferay.portlet.journal.model.JournalArticle findByLayoutUuid_First(
1273                    java.lang.String layoutUuid,
1274                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1275                    throws com.liferay.portal.kernel.exception.SystemException,
1276                            com.liferay.portlet.journal.NoSuchArticleException;
1277    
1278            /**
1279            * Returns the first journal article in the ordered set where layoutUuid = &#63;.
1280            *
1281            * @param layoutUuid the layout uuid
1282            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1283            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
1284            * @throws SystemException if a system exception occurred
1285            */
1286            public com.liferay.portlet.journal.model.JournalArticle fetchByLayoutUuid_First(
1287                    java.lang.String layoutUuid,
1288                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1289                    throws com.liferay.portal.kernel.exception.SystemException;
1290    
1291            /**
1292            * Returns the last journal article in the ordered set where layoutUuid = &#63;.
1293            *
1294            * @param layoutUuid the layout uuid
1295            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1296            * @return the last matching journal article
1297            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1298            * @throws SystemException if a system exception occurred
1299            */
1300            public com.liferay.portlet.journal.model.JournalArticle findByLayoutUuid_Last(
1301                    java.lang.String layoutUuid,
1302                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1303                    throws com.liferay.portal.kernel.exception.SystemException,
1304                            com.liferay.portlet.journal.NoSuchArticleException;
1305    
1306            /**
1307            * Returns the last journal article in the ordered set where layoutUuid = &#63;.
1308            *
1309            * @param layoutUuid the layout uuid
1310            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1311            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
1312            * @throws SystemException if a system exception occurred
1313            */
1314            public com.liferay.portlet.journal.model.JournalArticle fetchByLayoutUuid_Last(
1315                    java.lang.String layoutUuid,
1316                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1317                    throws com.liferay.portal.kernel.exception.SystemException;
1318    
1319            /**
1320            * Returns the journal articles before and after the current journal article in the ordered set where layoutUuid = &#63;.
1321            *
1322            * @param id the primary key of the current journal article
1323            * @param layoutUuid the layout uuid
1324            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1325            * @return the previous, current, and next journal article
1326            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1327            * @throws SystemException if a system exception occurred
1328            */
1329            public com.liferay.portlet.journal.model.JournalArticle[] findByLayoutUuid_PrevAndNext(
1330                    long id, java.lang.String layoutUuid,
1331                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1332                    throws com.liferay.portal.kernel.exception.SystemException,
1333                            com.liferay.portlet.journal.NoSuchArticleException;
1334    
1335            /**
1336            * Removes all the journal articles where layoutUuid = &#63; from the database.
1337            *
1338            * @param layoutUuid the layout uuid
1339            * @throws SystemException if a system exception occurred
1340            */
1341            public void removeByLayoutUuid(java.lang.String layoutUuid)
1342                    throws com.liferay.portal.kernel.exception.SystemException;
1343    
1344            /**
1345            * Returns the number of journal articles where layoutUuid = &#63;.
1346            *
1347            * @param layoutUuid the layout uuid
1348            * @return the number of matching journal articles
1349            * @throws SystemException if a system exception occurred
1350            */
1351            public int countByLayoutUuid(java.lang.String layoutUuid)
1352                    throws com.liferay.portal.kernel.exception.SystemException;
1353    
1354            /**
1355            * Returns all the journal articles where smallImageId = &#63;.
1356            *
1357            * @param smallImageId the small image ID
1358            * @return the matching journal articles
1359            * @throws SystemException if a system exception occurred
1360            */
1361            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
1362                    long smallImageId)
1363                    throws com.liferay.portal.kernel.exception.SystemException;
1364    
1365            /**
1366            * Returns a range of all the journal articles where smallImageId = &#63;.
1367            *
1368            * <p>
1369            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1370            * </p>
1371            *
1372            * @param smallImageId the small image ID
1373            * @param start the lower bound of the range of journal articles
1374            * @param end the upper bound of the range of journal articles (not inclusive)
1375            * @return the range of matching journal articles
1376            * @throws SystemException if a system exception occurred
1377            */
1378            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
1379                    long smallImageId, int start, int end)
1380                    throws com.liferay.portal.kernel.exception.SystemException;
1381    
1382            /**
1383            * Returns an ordered range of all the journal articles where smallImageId = &#63;.
1384            *
1385            * <p>
1386            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1387            * </p>
1388            *
1389            * @param smallImageId the small image ID
1390            * @param start the lower bound of the range of journal articles
1391            * @param end the upper bound of the range of journal articles (not inclusive)
1392            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1393            * @return the ordered range of matching journal articles
1394            * @throws SystemException if a system exception occurred
1395            */
1396            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
1397                    long smallImageId, int start, int end,
1398                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1399                    throws com.liferay.portal.kernel.exception.SystemException;
1400    
1401            /**
1402            * Returns the first journal article in the ordered set where smallImageId = &#63;.
1403            *
1404            * @param smallImageId the small image ID
1405            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1406            * @return the first matching journal article
1407            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1408            * @throws SystemException if a system exception occurred
1409            */
1410            public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_First(
1411                    long smallImageId,
1412                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1413                    throws com.liferay.portal.kernel.exception.SystemException,
1414                            com.liferay.portlet.journal.NoSuchArticleException;
1415    
1416            /**
1417            * Returns the first journal article in the ordered set where smallImageId = &#63;.
1418            *
1419            * @param smallImageId the small image ID
1420            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1421            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
1422            * @throws SystemException if a system exception occurred
1423            */
1424            public com.liferay.portlet.journal.model.JournalArticle fetchBySmallImageId_First(
1425                    long smallImageId,
1426                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1427                    throws com.liferay.portal.kernel.exception.SystemException;
1428    
1429            /**
1430            * Returns the last journal article in the ordered set where smallImageId = &#63;.
1431            *
1432            * @param smallImageId the small image ID
1433            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1434            * @return the last matching journal article
1435            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1436            * @throws SystemException if a system exception occurred
1437            */
1438            public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_Last(
1439                    long smallImageId,
1440                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1441                    throws com.liferay.portal.kernel.exception.SystemException,
1442                            com.liferay.portlet.journal.NoSuchArticleException;
1443    
1444            /**
1445            * Returns the last journal article in the ordered set where smallImageId = &#63;.
1446            *
1447            * @param smallImageId the small image ID
1448            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1449            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
1450            * @throws SystemException if a system exception occurred
1451            */
1452            public com.liferay.portlet.journal.model.JournalArticle fetchBySmallImageId_Last(
1453                    long smallImageId,
1454                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1455                    throws com.liferay.portal.kernel.exception.SystemException;
1456    
1457            /**
1458            * Returns the journal articles before and after the current journal article in the ordered set where smallImageId = &#63;.
1459            *
1460            * @param id the primary key of the current journal article
1461            * @param smallImageId the small image ID
1462            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1463            * @return the previous, current, and next journal article
1464            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1465            * @throws SystemException if a system exception occurred
1466            */
1467            public com.liferay.portlet.journal.model.JournalArticle[] findBySmallImageId_PrevAndNext(
1468                    long id, long smallImageId,
1469                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1470                    throws com.liferay.portal.kernel.exception.SystemException,
1471                            com.liferay.portlet.journal.NoSuchArticleException;
1472    
1473            /**
1474            * Removes all the journal articles where smallImageId = &#63; from the database.
1475            *
1476            * @param smallImageId the small image ID
1477            * @throws SystemException if a system exception occurred
1478            */
1479            public void removeBySmallImageId(long smallImageId)
1480                    throws com.liferay.portal.kernel.exception.SystemException;
1481    
1482            /**
1483            * Returns the number of journal articles where smallImageId = &#63;.
1484            *
1485            * @param smallImageId the small image ID
1486            * @return the number of matching journal articles
1487            * @throws SystemException if a system exception occurred
1488            */
1489            public int countBySmallImageId(long smallImageId)
1490                    throws com.liferay.portal.kernel.exception.SystemException;
1491    
1492            /**
1493            * Returns all the journal articles where resourcePrimKey = &#63; and indexable = &#63;.
1494            *
1495            * @param resourcePrimKey the resource prim key
1496            * @param indexable the indexable
1497            * @return the matching journal articles
1498            * @throws SystemException if a system exception occurred
1499            */
1500            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I(
1501                    long resourcePrimKey, boolean indexable)
1502                    throws com.liferay.portal.kernel.exception.SystemException;
1503    
1504            /**
1505            * Returns a range of all the journal articles where resourcePrimKey = &#63; and indexable = &#63;.
1506            *
1507            * <p>
1508            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1509            * </p>
1510            *
1511            * @param resourcePrimKey the resource prim key
1512            * @param indexable the indexable
1513            * @param start the lower bound of the range of journal articles
1514            * @param end the upper bound of the range of journal articles (not inclusive)
1515            * @return the range of matching journal articles
1516            * @throws SystemException if a system exception occurred
1517            */
1518            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I(
1519                    long resourcePrimKey, boolean indexable, int start, int end)
1520                    throws com.liferay.portal.kernel.exception.SystemException;
1521    
1522            /**
1523            * Returns an ordered range of all the journal articles where resourcePrimKey = &#63; and indexable = &#63;.
1524            *
1525            * <p>
1526            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1527            * </p>
1528            *
1529            * @param resourcePrimKey the resource prim key
1530            * @param indexable the indexable
1531            * @param start the lower bound of the range of journal articles
1532            * @param end the upper bound of the range of journal articles (not inclusive)
1533            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1534            * @return the ordered range of matching journal articles
1535            * @throws SystemException if a system exception occurred
1536            */
1537            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I(
1538                    long resourcePrimKey, boolean indexable, int start, int end,
1539                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1540                    throws com.liferay.portal.kernel.exception.SystemException;
1541    
1542            /**
1543            * Returns the first journal article in the ordered set where resourcePrimKey = &#63; and indexable = &#63;.
1544            *
1545            * @param resourcePrimKey the resource prim key
1546            * @param indexable the indexable
1547            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1548            * @return the first matching journal article
1549            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1550            * @throws SystemException if a system exception occurred
1551            */
1552            public com.liferay.portlet.journal.model.JournalArticle findByR_I_First(
1553                    long resourcePrimKey, boolean indexable,
1554                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1555                    throws com.liferay.portal.kernel.exception.SystemException,
1556                            com.liferay.portlet.journal.NoSuchArticleException;
1557    
1558            /**
1559            * Returns the first journal article in the ordered set where resourcePrimKey = &#63; and indexable = &#63;.
1560            *
1561            * @param resourcePrimKey the resource prim key
1562            * @param indexable the indexable
1563            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1564            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
1565            * @throws SystemException if a system exception occurred
1566            */
1567            public com.liferay.portlet.journal.model.JournalArticle fetchByR_I_First(
1568                    long resourcePrimKey, boolean indexable,
1569                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1570                    throws com.liferay.portal.kernel.exception.SystemException;
1571    
1572            /**
1573            * Returns the last journal article in the ordered set where resourcePrimKey = &#63; and indexable = &#63;.
1574            *
1575            * @param resourcePrimKey the resource prim key
1576            * @param indexable the indexable
1577            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1578            * @return the last matching journal article
1579            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1580            * @throws SystemException if a system exception occurred
1581            */
1582            public com.liferay.portlet.journal.model.JournalArticle findByR_I_Last(
1583                    long resourcePrimKey, boolean indexable,
1584                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1585                    throws com.liferay.portal.kernel.exception.SystemException,
1586                            com.liferay.portlet.journal.NoSuchArticleException;
1587    
1588            /**
1589            * Returns the last journal article in the ordered set where resourcePrimKey = &#63; and indexable = &#63;.
1590            *
1591            * @param resourcePrimKey the resource prim key
1592            * @param indexable the indexable
1593            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1594            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
1595            * @throws SystemException if a system exception occurred
1596            */
1597            public com.liferay.portlet.journal.model.JournalArticle fetchByR_I_Last(
1598                    long resourcePrimKey, boolean indexable,
1599                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1600                    throws com.liferay.portal.kernel.exception.SystemException;
1601    
1602            /**
1603            * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = &#63; and indexable = &#63;.
1604            *
1605            * @param id the primary key of the current journal article
1606            * @param resourcePrimKey the resource prim key
1607            * @param indexable the indexable
1608            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1609            * @return the previous, current, and next journal article
1610            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1611            * @throws SystemException if a system exception occurred
1612            */
1613            public com.liferay.portlet.journal.model.JournalArticle[] findByR_I_PrevAndNext(
1614                    long id, long resourcePrimKey, boolean indexable,
1615                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1616                    throws com.liferay.portal.kernel.exception.SystemException,
1617                            com.liferay.portlet.journal.NoSuchArticleException;
1618    
1619            /**
1620            * Removes all the journal articles where resourcePrimKey = &#63; and indexable = &#63; from the database.
1621            *
1622            * @param resourcePrimKey the resource prim key
1623            * @param indexable the indexable
1624            * @throws SystemException if a system exception occurred
1625            */
1626            public void removeByR_I(long resourcePrimKey, boolean indexable)
1627                    throws com.liferay.portal.kernel.exception.SystemException;
1628    
1629            /**
1630            * Returns the number of journal articles where resourcePrimKey = &#63; and indexable = &#63;.
1631            *
1632            * @param resourcePrimKey the resource prim key
1633            * @param indexable the indexable
1634            * @return the number of matching journal articles
1635            * @throws SystemException if a system exception occurred
1636            */
1637            public int countByR_I(long resourcePrimKey, boolean indexable)
1638                    throws com.liferay.portal.kernel.exception.SystemException;
1639    
1640            /**
1641            * Returns all the journal articles where resourcePrimKey = &#63; and status = &#63;.
1642            *
1643            * @param resourcePrimKey the resource prim key
1644            * @param status the status
1645            * @return the matching journal articles
1646            * @throws SystemException if a system exception occurred
1647            */
1648            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST(
1649                    long resourcePrimKey, int status)
1650                    throws com.liferay.portal.kernel.exception.SystemException;
1651    
1652            /**
1653            * Returns a range of all the journal articles where resourcePrimKey = &#63; and status = &#63;.
1654            *
1655            * <p>
1656            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1657            * </p>
1658            *
1659            * @param resourcePrimKey the resource prim key
1660            * @param status the status
1661            * @param start the lower bound of the range of journal articles
1662            * @param end the upper bound of the range of journal articles (not inclusive)
1663            * @return the range of matching journal articles
1664            * @throws SystemException if a system exception occurred
1665            */
1666            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST(
1667                    long resourcePrimKey, int status, int start, int end)
1668                    throws com.liferay.portal.kernel.exception.SystemException;
1669    
1670            /**
1671            * Returns an ordered range of all the journal articles where resourcePrimKey = &#63; and status = &#63;.
1672            *
1673            * <p>
1674            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1675            * </p>
1676            *
1677            * @param resourcePrimKey the resource prim key
1678            * @param status the status
1679            * @param start the lower bound of the range of journal articles
1680            * @param end the upper bound of the range of journal articles (not inclusive)
1681            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1682            * @return the ordered range of matching journal articles
1683            * @throws SystemException if a system exception occurred
1684            */
1685            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST(
1686                    long resourcePrimKey, int status, int start, int end,
1687                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1688                    throws com.liferay.portal.kernel.exception.SystemException;
1689    
1690            /**
1691            * Returns the first journal article in the ordered set where resourcePrimKey = &#63; and status = &#63;.
1692            *
1693            * @param resourcePrimKey the resource prim key
1694            * @param status the status
1695            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1696            * @return the first matching journal article
1697            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1698            * @throws SystemException if a system exception occurred
1699            */
1700            public com.liferay.portlet.journal.model.JournalArticle findByR_ST_First(
1701                    long resourcePrimKey, int status,
1702                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1703                    throws com.liferay.portal.kernel.exception.SystemException,
1704                            com.liferay.portlet.journal.NoSuchArticleException;
1705    
1706            /**
1707            * Returns the first journal article in the ordered set where resourcePrimKey = &#63; and status = &#63;.
1708            *
1709            * @param resourcePrimKey the resource prim key
1710            * @param status the status
1711            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1712            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
1713            * @throws SystemException if a system exception occurred
1714            */
1715            public com.liferay.portlet.journal.model.JournalArticle fetchByR_ST_First(
1716                    long resourcePrimKey, int status,
1717                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1718                    throws com.liferay.portal.kernel.exception.SystemException;
1719    
1720            /**
1721            * Returns the last journal article in the ordered set where resourcePrimKey = &#63; and status = &#63;.
1722            *
1723            * @param resourcePrimKey the resource prim key
1724            * @param status the status
1725            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1726            * @return the last matching journal article
1727            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1728            * @throws SystemException if a system exception occurred
1729            */
1730            public com.liferay.portlet.journal.model.JournalArticle findByR_ST_Last(
1731                    long resourcePrimKey, int status,
1732                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1733                    throws com.liferay.portal.kernel.exception.SystemException,
1734                            com.liferay.portlet.journal.NoSuchArticleException;
1735    
1736            /**
1737            * Returns the last journal article in the ordered set where resourcePrimKey = &#63; and status = &#63;.
1738            *
1739            * @param resourcePrimKey the resource prim key
1740            * @param status the status
1741            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1742            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
1743            * @throws SystemException if a system exception occurred
1744            */
1745            public com.liferay.portlet.journal.model.JournalArticle fetchByR_ST_Last(
1746                    long resourcePrimKey, int status,
1747                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1748                    throws com.liferay.portal.kernel.exception.SystemException;
1749    
1750            /**
1751            * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = &#63; and status = &#63;.
1752            *
1753            * @param id the primary key of the current journal article
1754            * @param resourcePrimKey the resource prim key
1755            * @param status the status
1756            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1757            * @return the previous, current, and next journal article
1758            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1759            * @throws SystemException if a system exception occurred
1760            */
1761            public com.liferay.portlet.journal.model.JournalArticle[] findByR_ST_PrevAndNext(
1762                    long id, long resourcePrimKey, int status,
1763                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1764                    throws com.liferay.portal.kernel.exception.SystemException,
1765                            com.liferay.portlet.journal.NoSuchArticleException;
1766    
1767            /**
1768            * Returns all the journal articles where resourcePrimKey = &#63; and status = any &#63;.
1769            *
1770            * <p>
1771            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1772            * </p>
1773            *
1774            * @param resourcePrimKey the resource prim key
1775            * @param statuses the statuses
1776            * @return the matching journal articles
1777            * @throws SystemException if a system exception occurred
1778            */
1779            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST(
1780                    long resourcePrimKey, int[] statuses)
1781                    throws com.liferay.portal.kernel.exception.SystemException;
1782    
1783            /**
1784            * Returns a range of all the journal articles where resourcePrimKey = &#63; and status = any &#63;.
1785            *
1786            * <p>
1787            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1788            * </p>
1789            *
1790            * @param resourcePrimKey the resource prim key
1791            * @param statuses the statuses
1792            * @param start the lower bound of the range of journal articles
1793            * @param end the upper bound of the range of journal articles (not inclusive)
1794            * @return the range of matching journal articles
1795            * @throws SystemException if a system exception occurred
1796            */
1797            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST(
1798                    long resourcePrimKey, int[] statuses, int start, int end)
1799                    throws com.liferay.portal.kernel.exception.SystemException;
1800    
1801            /**
1802            * Returns an ordered range of all the journal articles where resourcePrimKey = &#63; and status = any &#63;.
1803            *
1804            * <p>
1805            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1806            * </p>
1807            *
1808            * @param resourcePrimKey the resource prim key
1809            * @param statuses the statuses
1810            * @param start the lower bound of the range of journal articles
1811            * @param end the upper bound of the range of journal articles (not inclusive)
1812            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1813            * @return the ordered range of matching journal articles
1814            * @throws SystemException if a system exception occurred
1815            */
1816            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST(
1817                    long resourcePrimKey, int[] statuses, int start, int end,
1818                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1819                    throws com.liferay.portal.kernel.exception.SystemException;
1820    
1821            /**
1822            * Removes all the journal articles where resourcePrimKey = &#63; and status = &#63; from the database.
1823            *
1824            * @param resourcePrimKey the resource prim key
1825            * @param status the status
1826            * @throws SystemException if a system exception occurred
1827            */
1828            public void removeByR_ST(long resourcePrimKey, int status)
1829                    throws com.liferay.portal.kernel.exception.SystemException;
1830    
1831            /**
1832            * Returns the number of journal articles where resourcePrimKey = &#63; and status = &#63;.
1833            *
1834            * @param resourcePrimKey the resource prim key
1835            * @param status the status
1836            * @return the number of matching journal articles
1837            * @throws SystemException if a system exception occurred
1838            */
1839            public int countByR_ST(long resourcePrimKey, int status)
1840                    throws com.liferay.portal.kernel.exception.SystemException;
1841    
1842            /**
1843            * Returns the number of journal articles where resourcePrimKey = &#63; and status = any &#63;.
1844            *
1845            * @param resourcePrimKey the resource prim key
1846            * @param statuses the statuses
1847            * @return the number of matching journal articles
1848            * @throws SystemException if a system exception occurred
1849            */
1850            public int countByR_ST(long resourcePrimKey, int[] statuses)
1851                    throws com.liferay.portal.kernel.exception.SystemException;
1852    
1853            /**
1854            * Returns all the journal articles where groupId = &#63; and userId = &#63;.
1855            *
1856            * @param groupId the group ID
1857            * @param userId the user ID
1858            * @return the matching journal articles
1859            * @throws SystemException if a system exception occurred
1860            */
1861            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U(
1862                    long groupId, long userId)
1863                    throws com.liferay.portal.kernel.exception.SystemException;
1864    
1865            /**
1866            * Returns a range of all the journal articles where groupId = &#63; and userId = &#63;.
1867            *
1868            * <p>
1869            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1870            * </p>
1871            *
1872            * @param groupId the group ID
1873            * @param userId the user ID
1874            * @param start the lower bound of the range of journal articles
1875            * @param end the upper bound of the range of journal articles (not inclusive)
1876            * @return the range of matching journal articles
1877            * @throws SystemException if a system exception occurred
1878            */
1879            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U(
1880                    long groupId, long userId, int start, int end)
1881                    throws com.liferay.portal.kernel.exception.SystemException;
1882    
1883            /**
1884            * Returns an ordered range of all the journal articles where groupId = &#63; and userId = &#63;.
1885            *
1886            * <p>
1887            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1888            * </p>
1889            *
1890            * @param groupId the group ID
1891            * @param userId the user ID
1892            * @param start the lower bound of the range of journal articles
1893            * @param end the upper bound of the range of journal articles (not inclusive)
1894            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1895            * @return the ordered range of matching journal articles
1896            * @throws SystemException if a system exception occurred
1897            */
1898            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U(
1899                    long groupId, long userId, int start, int end,
1900                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1901                    throws com.liferay.portal.kernel.exception.SystemException;
1902    
1903            /**
1904            * Returns the first journal article in the ordered set where groupId = &#63; and userId = &#63;.
1905            *
1906            * @param groupId the group ID
1907            * @param userId the user ID
1908            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1909            * @return the first matching journal article
1910            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1911            * @throws SystemException if a system exception occurred
1912            */
1913            public com.liferay.portlet.journal.model.JournalArticle findByG_U_First(
1914                    long groupId, long userId,
1915                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1916                    throws com.liferay.portal.kernel.exception.SystemException,
1917                            com.liferay.portlet.journal.NoSuchArticleException;
1918    
1919            /**
1920            * Returns the first journal article in the ordered set where groupId = &#63; and userId = &#63;.
1921            *
1922            * @param groupId the group ID
1923            * @param userId the user ID
1924            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1925            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
1926            * @throws SystemException if a system exception occurred
1927            */
1928            public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_First(
1929                    long groupId, long userId,
1930                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1931                    throws com.liferay.portal.kernel.exception.SystemException;
1932    
1933            /**
1934            * Returns the last journal article in the ordered set where groupId = &#63; and userId = &#63;.
1935            *
1936            * @param groupId the group ID
1937            * @param userId the user ID
1938            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1939            * @return the last matching journal article
1940            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1941            * @throws SystemException if a system exception occurred
1942            */
1943            public com.liferay.portlet.journal.model.JournalArticle findByG_U_Last(
1944                    long groupId, long userId,
1945                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1946                    throws com.liferay.portal.kernel.exception.SystemException,
1947                            com.liferay.portlet.journal.NoSuchArticleException;
1948    
1949            /**
1950            * Returns the last journal article in the ordered set where groupId = &#63; and userId = &#63;.
1951            *
1952            * @param groupId the group ID
1953            * @param userId the user ID
1954            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1955            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
1956            * @throws SystemException if a system exception occurred
1957            */
1958            public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_Last(
1959                    long groupId, long userId,
1960                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1961                    throws com.liferay.portal.kernel.exception.SystemException;
1962    
1963            /**
1964            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and userId = &#63;.
1965            *
1966            * @param id the primary key of the current journal article
1967            * @param groupId the group ID
1968            * @param userId the user ID
1969            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1970            * @return the previous, current, and next journal article
1971            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1972            * @throws SystemException if a system exception occurred
1973            */
1974            public com.liferay.portlet.journal.model.JournalArticle[] findByG_U_PrevAndNext(
1975                    long id, long groupId, long userId,
1976                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1977                    throws com.liferay.portal.kernel.exception.SystemException,
1978                            com.liferay.portlet.journal.NoSuchArticleException;
1979    
1980            /**
1981            * Returns all the journal articles that the user has permission to view where groupId = &#63; and userId = &#63;.
1982            *
1983            * @param groupId the group ID
1984            * @param userId the user ID
1985            * @return the matching journal articles that the user has permission to view
1986            * @throws SystemException if a system exception occurred
1987            */
1988            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U(
1989                    long groupId, long userId)
1990                    throws com.liferay.portal.kernel.exception.SystemException;
1991    
1992            /**
1993            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and userId = &#63;.
1994            *
1995            * <p>
1996            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1997            * </p>
1998            *
1999            * @param groupId the group ID
2000            * @param userId the user ID
2001            * @param start the lower bound of the range of journal articles
2002            * @param end the upper bound of the range of journal articles (not inclusive)
2003            * @return the range of matching journal articles that the user has permission to view
2004            * @throws SystemException if a system exception occurred
2005            */
2006            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U(
2007                    long groupId, long userId, int start, int end)
2008                    throws com.liferay.portal.kernel.exception.SystemException;
2009    
2010            /**
2011            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and userId = &#63;.
2012            *
2013            * <p>
2014            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2015            * </p>
2016            *
2017            * @param groupId the group ID
2018            * @param userId the user ID
2019            * @param start the lower bound of the range of journal articles
2020            * @param end the upper bound of the range of journal articles (not inclusive)
2021            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2022            * @return the ordered range of matching journal articles that the user has permission to view
2023            * @throws SystemException if a system exception occurred
2024            */
2025            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U(
2026                    long groupId, long userId, int start, int end,
2027                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2028                    throws com.liferay.portal.kernel.exception.SystemException;
2029    
2030            /**
2031            * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = &#63; and userId = &#63;.
2032            *
2033            * @param id the primary key of the current journal article
2034            * @param groupId the group ID
2035            * @param userId the user ID
2036            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2037            * @return the previous, current, and next journal article
2038            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2039            * @throws SystemException if a system exception occurred
2040            */
2041            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_U_PrevAndNext(
2042                    long id, long groupId, long userId,
2043                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2044                    throws com.liferay.portal.kernel.exception.SystemException,
2045                            com.liferay.portlet.journal.NoSuchArticleException;
2046    
2047            /**
2048            * Removes all the journal articles where groupId = &#63; and userId = &#63; from the database.
2049            *
2050            * @param groupId the group ID
2051            * @param userId the user ID
2052            * @throws SystemException if a system exception occurred
2053            */
2054            public void removeByG_U(long groupId, long userId)
2055                    throws com.liferay.portal.kernel.exception.SystemException;
2056    
2057            /**
2058            * Returns the number of journal articles where groupId = &#63; and userId = &#63;.
2059            *
2060            * @param groupId the group ID
2061            * @param userId the user ID
2062            * @return the number of matching journal articles
2063            * @throws SystemException if a system exception occurred
2064            */
2065            public int countByG_U(long groupId, long userId)
2066                    throws com.liferay.portal.kernel.exception.SystemException;
2067    
2068            /**
2069            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and userId = &#63;.
2070            *
2071            * @param groupId the group ID
2072            * @param userId the user ID
2073            * @return the number of matching journal articles that the user has permission to view
2074            * @throws SystemException if a system exception occurred
2075            */
2076            public int filterCountByG_U(long groupId, long userId)
2077                    throws com.liferay.portal.kernel.exception.SystemException;
2078    
2079            /**
2080            * Returns all the journal articles where groupId = &#63; and folderId = &#63;.
2081            *
2082            * @param groupId the group ID
2083            * @param folderId the folder ID
2084            * @return the matching journal articles
2085            * @throws SystemException if a system exception occurred
2086            */
2087            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F(
2088                    long groupId, long folderId)
2089                    throws com.liferay.portal.kernel.exception.SystemException;
2090    
2091            /**
2092            * Returns a range of all the journal articles where groupId = &#63; and folderId = &#63;.
2093            *
2094            * <p>
2095            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2096            * </p>
2097            *
2098            * @param groupId the group ID
2099            * @param folderId the folder ID
2100            * @param start the lower bound of the range of journal articles
2101            * @param end the upper bound of the range of journal articles (not inclusive)
2102            * @return the range of matching journal articles
2103            * @throws SystemException if a system exception occurred
2104            */
2105            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F(
2106                    long groupId, long folderId, int start, int end)
2107                    throws com.liferay.portal.kernel.exception.SystemException;
2108    
2109            /**
2110            * Returns an ordered range of all the journal articles where groupId = &#63; and folderId = &#63;.
2111            *
2112            * <p>
2113            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2114            * </p>
2115            *
2116            * @param groupId the group ID
2117            * @param folderId the folder ID
2118            * @param start the lower bound of the range of journal articles
2119            * @param end the upper bound of the range of journal articles (not inclusive)
2120            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2121            * @return the ordered range of matching journal articles
2122            * @throws SystemException if a system exception occurred
2123            */
2124            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F(
2125                    long groupId, long folderId, int start, int end,
2126                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2127                    throws com.liferay.portal.kernel.exception.SystemException;
2128    
2129            /**
2130            * Returns the first journal article in the ordered set where groupId = &#63; and folderId = &#63;.
2131            *
2132            * @param groupId the group ID
2133            * @param folderId the folder ID
2134            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2135            * @return the first matching journal article
2136            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2137            * @throws SystemException if a system exception occurred
2138            */
2139            public com.liferay.portlet.journal.model.JournalArticle findByG_F_First(
2140                    long groupId, long folderId,
2141                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2142                    throws com.liferay.portal.kernel.exception.SystemException,
2143                            com.liferay.portlet.journal.NoSuchArticleException;
2144    
2145            /**
2146            * Returns the first journal article in the ordered set where groupId = &#63; and folderId = &#63;.
2147            *
2148            * @param groupId the group ID
2149            * @param folderId the folder ID
2150            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2151            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
2152            * @throws SystemException if a system exception occurred
2153            */
2154            public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_First(
2155                    long groupId, long folderId,
2156                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2157                    throws com.liferay.portal.kernel.exception.SystemException;
2158    
2159            /**
2160            * Returns the last journal article in the ordered set where groupId = &#63; and folderId = &#63;.
2161            *
2162            * @param groupId the group ID
2163            * @param folderId the folder ID
2164            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2165            * @return the last matching journal article
2166            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2167            * @throws SystemException if a system exception occurred
2168            */
2169            public com.liferay.portlet.journal.model.JournalArticle findByG_F_Last(
2170                    long groupId, long folderId,
2171                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2172                    throws com.liferay.portal.kernel.exception.SystemException,
2173                            com.liferay.portlet.journal.NoSuchArticleException;
2174    
2175            /**
2176            * Returns the last journal article in the ordered set where groupId = &#63; and folderId = &#63;.
2177            *
2178            * @param groupId the group ID
2179            * @param folderId the folder ID
2180            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2181            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
2182            * @throws SystemException if a system exception occurred
2183            */
2184            public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_Last(
2185                    long groupId, long folderId,
2186                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2187                    throws com.liferay.portal.kernel.exception.SystemException;
2188    
2189            /**
2190            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and folderId = &#63;.
2191            *
2192            * @param id the primary key of the current journal article
2193            * @param groupId the group ID
2194            * @param folderId the folder ID
2195            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2196            * @return the previous, current, and next journal article
2197            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2198            * @throws SystemException if a system exception occurred
2199            */
2200            public com.liferay.portlet.journal.model.JournalArticle[] findByG_F_PrevAndNext(
2201                    long id, long groupId, long folderId,
2202                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2203                    throws com.liferay.portal.kernel.exception.SystemException,
2204                            com.liferay.portlet.journal.NoSuchArticleException;
2205    
2206            /**
2207            * Returns all the journal articles that the user has permission to view where groupId = &#63; and folderId = &#63;.
2208            *
2209            * @param groupId the group ID
2210            * @param folderId the folder ID
2211            * @return the matching journal articles that the user has permission to view
2212            * @throws SystemException if a system exception occurred
2213            */
2214            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F(
2215                    long groupId, long folderId)
2216                    throws com.liferay.portal.kernel.exception.SystemException;
2217    
2218            /**
2219            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and folderId = &#63;.
2220            *
2221            * <p>
2222            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2223            * </p>
2224            *
2225            * @param groupId the group ID
2226            * @param folderId the folder ID
2227            * @param start the lower bound of the range of journal articles
2228            * @param end the upper bound of the range of journal articles (not inclusive)
2229            * @return the range of matching journal articles that the user has permission to view
2230            * @throws SystemException if a system exception occurred
2231            */
2232            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F(
2233                    long groupId, long folderId, int start, int end)
2234                    throws com.liferay.portal.kernel.exception.SystemException;
2235    
2236            /**
2237            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and folderId = &#63;.
2238            *
2239            * <p>
2240            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2241            * </p>
2242            *
2243            * @param groupId the group ID
2244            * @param folderId the folder ID
2245            * @param start the lower bound of the range of journal articles
2246            * @param end the upper bound of the range of journal articles (not inclusive)
2247            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2248            * @return the ordered range of matching journal articles that the user has permission to view
2249            * @throws SystemException if a system exception occurred
2250            */
2251            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F(
2252                    long groupId, long folderId, int start, int end,
2253                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2254                    throws com.liferay.portal.kernel.exception.SystemException;
2255    
2256            /**
2257            * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = &#63; and folderId = &#63;.
2258            *
2259            * @param id the primary key of the current journal article
2260            * @param groupId the group ID
2261            * @param folderId the folder ID
2262            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2263            * @return the previous, current, and next journal article
2264            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2265            * @throws SystemException if a system exception occurred
2266            */
2267            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_F_PrevAndNext(
2268                    long id, long groupId, long folderId,
2269                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2270                    throws com.liferay.portal.kernel.exception.SystemException,
2271                            com.liferay.portlet.journal.NoSuchArticleException;
2272    
2273            /**
2274            * Returns all the journal articles that the user has permission to view where groupId = &#63; and folderId = any &#63;.
2275            *
2276            * @param groupId the group ID
2277            * @param folderIds the folder IDs
2278            * @return the matching journal articles that the user has permission to view
2279            * @throws SystemException if a system exception occurred
2280            */
2281            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F(
2282                    long groupId, long[] folderIds)
2283                    throws com.liferay.portal.kernel.exception.SystemException;
2284    
2285            /**
2286            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and folderId = any &#63;.
2287            *
2288            * <p>
2289            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2290            * </p>
2291            *
2292            * @param groupId the group ID
2293            * @param folderIds the folder IDs
2294            * @param start the lower bound of the range of journal articles
2295            * @param end the upper bound of the range of journal articles (not inclusive)
2296            * @return the range of matching journal articles that the user has permission to view
2297            * @throws SystemException if a system exception occurred
2298            */
2299            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F(
2300                    long groupId, long[] folderIds, int start, int end)
2301                    throws com.liferay.portal.kernel.exception.SystemException;
2302    
2303            /**
2304            * Returns an ordered range of all the journal articles that the user has permission to view where groupId = &#63; and folderId = any &#63;.
2305            *
2306            * <p>
2307            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2308            * </p>
2309            *
2310            * @param groupId the group ID
2311            * @param folderIds the folder IDs
2312            * @param start the lower bound of the range of journal articles
2313            * @param end the upper bound of the range of journal articles (not inclusive)
2314            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2315            * @return the ordered range of matching journal articles that the user has permission to view
2316            * @throws SystemException if a system exception occurred
2317            */
2318            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F(
2319                    long groupId, long[] folderIds, int start, int end,
2320                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2321                    throws com.liferay.portal.kernel.exception.SystemException;
2322    
2323            /**
2324            * Returns all the journal articles where groupId = &#63; and folderId = any &#63;.
2325            *
2326            * <p>
2327            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2328            * </p>
2329            *
2330            * @param groupId the group ID
2331            * @param folderIds the folder IDs
2332            * @return the matching journal articles
2333            * @throws SystemException if a system exception occurred
2334            */
2335            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F(
2336                    long groupId, long[] folderIds)
2337                    throws com.liferay.portal.kernel.exception.SystemException;
2338    
2339            /**
2340            * Returns a range of all the journal articles where groupId = &#63; and folderId = any &#63;.
2341            *
2342            * <p>
2343            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2344            * </p>
2345            *
2346            * @param groupId the group ID
2347            * @param folderIds the folder IDs
2348            * @param start the lower bound of the range of journal articles
2349            * @param end the upper bound of the range of journal articles (not inclusive)
2350            * @return the range of matching journal articles
2351            * @throws SystemException if a system exception occurred
2352            */
2353            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F(
2354                    long groupId, long[] folderIds, int start, int end)
2355                    throws com.liferay.portal.kernel.exception.SystemException;
2356    
2357            /**
2358            * Returns an ordered range of all the journal articles where groupId = &#63; and folderId = any &#63;.
2359            *
2360            * <p>
2361            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2362            * </p>
2363            *
2364            * @param groupId the group ID
2365            * @param folderIds the folder IDs
2366            * @param start the lower bound of the range of journal articles
2367            * @param end the upper bound of the range of journal articles (not inclusive)
2368            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2369            * @return the ordered range of matching journal articles
2370            * @throws SystemException if a system exception occurred
2371            */
2372            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F(
2373                    long groupId, long[] folderIds, int start, int end,
2374                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2375                    throws com.liferay.portal.kernel.exception.SystemException;
2376    
2377            /**
2378            * Removes all the journal articles where groupId = &#63; and folderId = &#63; from the database.
2379            *
2380            * @param groupId the group ID
2381            * @param folderId the folder ID
2382            * @throws SystemException if a system exception occurred
2383            */
2384            public void removeByG_F(long groupId, long folderId)
2385                    throws com.liferay.portal.kernel.exception.SystemException;
2386    
2387            /**
2388            * Returns the number of journal articles where groupId = &#63; and folderId = &#63;.
2389            *
2390            * @param groupId the group ID
2391            * @param folderId the folder ID
2392            * @return the number of matching journal articles
2393            * @throws SystemException if a system exception occurred
2394            */
2395            public int countByG_F(long groupId, long folderId)
2396                    throws com.liferay.portal.kernel.exception.SystemException;
2397    
2398            /**
2399            * Returns the number of journal articles where groupId = &#63; and folderId = any &#63;.
2400            *
2401            * @param groupId the group ID
2402            * @param folderIds the folder IDs
2403            * @return the number of matching journal articles
2404            * @throws SystemException if a system exception occurred
2405            */
2406            public int countByG_F(long groupId, long[] folderIds)
2407                    throws com.liferay.portal.kernel.exception.SystemException;
2408    
2409            /**
2410            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and folderId = &#63;.
2411            *
2412            * @param groupId the group ID
2413            * @param folderId the folder ID
2414            * @return the number of matching journal articles that the user has permission to view
2415            * @throws SystemException if a system exception occurred
2416            */
2417            public int filterCountByG_F(long groupId, long folderId)
2418                    throws com.liferay.portal.kernel.exception.SystemException;
2419    
2420            /**
2421            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and folderId = any &#63;.
2422            *
2423            * @param groupId the group ID
2424            * @param folderIds the folder IDs
2425            * @return the number of matching journal articles that the user has permission to view
2426            * @throws SystemException if a system exception occurred
2427            */
2428            public int filterCountByG_F(long groupId, long[] folderIds)
2429                    throws com.liferay.portal.kernel.exception.SystemException;
2430    
2431            /**
2432            * Returns all the journal articles where groupId = &#63; and articleId = &#63;.
2433            *
2434            * @param groupId the group ID
2435            * @param articleId the article ID
2436            * @return the matching journal articles
2437            * @throws SystemException if a system exception occurred
2438            */
2439            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
2440                    long groupId, java.lang.String articleId)
2441                    throws com.liferay.portal.kernel.exception.SystemException;
2442    
2443            /**
2444            * Returns a range of all the journal articles where groupId = &#63; and articleId = &#63;.
2445            *
2446            * <p>
2447            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2448            * </p>
2449            *
2450            * @param groupId the group ID
2451            * @param articleId the article ID
2452            * @param start the lower bound of the range of journal articles
2453            * @param end the upper bound of the range of journal articles (not inclusive)
2454            * @return the range of matching journal articles
2455            * @throws SystemException if a system exception occurred
2456            */
2457            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
2458                    long groupId, java.lang.String articleId, int start, int end)
2459                    throws com.liferay.portal.kernel.exception.SystemException;
2460    
2461            /**
2462            * Returns an ordered range of all the journal articles where groupId = &#63; and articleId = &#63;.
2463            *
2464            * <p>
2465            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2466            * </p>
2467            *
2468            * @param groupId the group ID
2469            * @param articleId the article ID
2470            * @param start the lower bound of the range of journal articles
2471            * @param end the upper bound of the range of journal articles (not inclusive)
2472            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2473            * @return the ordered range of matching journal articles
2474            * @throws SystemException if a system exception occurred
2475            */
2476            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
2477                    long groupId, java.lang.String articleId, int start, int end,
2478                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2479                    throws com.liferay.portal.kernel.exception.SystemException;
2480    
2481            /**
2482            * Returns the first journal article in the ordered set where groupId = &#63; and articleId = &#63;.
2483            *
2484            * @param groupId the group ID
2485            * @param articleId the article ID
2486            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2487            * @return the first matching journal article
2488            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2489            * @throws SystemException if a system exception occurred
2490            */
2491            public com.liferay.portlet.journal.model.JournalArticle findByG_A_First(
2492                    long groupId, java.lang.String articleId,
2493                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2494                    throws com.liferay.portal.kernel.exception.SystemException,
2495                            com.liferay.portlet.journal.NoSuchArticleException;
2496    
2497            /**
2498            * Returns the first journal article in the ordered set where groupId = &#63; and articleId = &#63;.
2499            *
2500            * @param groupId the group ID
2501            * @param articleId the article ID
2502            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2503            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
2504            * @throws SystemException if a system exception occurred
2505            */
2506            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_First(
2507                    long groupId, java.lang.String articleId,
2508                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2509                    throws com.liferay.portal.kernel.exception.SystemException;
2510    
2511            /**
2512            * Returns the last journal article in the ordered set where groupId = &#63; and articleId = &#63;.
2513            *
2514            * @param groupId the group ID
2515            * @param articleId the article ID
2516            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2517            * @return the last matching journal article
2518            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2519            * @throws SystemException if a system exception occurred
2520            */
2521            public com.liferay.portlet.journal.model.JournalArticle findByG_A_Last(
2522                    long groupId, java.lang.String articleId,
2523                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2524                    throws com.liferay.portal.kernel.exception.SystemException,
2525                            com.liferay.portlet.journal.NoSuchArticleException;
2526    
2527            /**
2528            * Returns the last journal article in the ordered set where groupId = &#63; and articleId = &#63;.
2529            *
2530            * @param groupId the group ID
2531            * @param articleId the article ID
2532            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2533            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
2534            * @throws SystemException if a system exception occurred
2535            */
2536            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_Last(
2537                    long groupId, java.lang.String articleId,
2538                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2539                    throws com.liferay.portal.kernel.exception.SystemException;
2540    
2541            /**
2542            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and articleId = &#63;.
2543            *
2544            * @param id the primary key of the current journal article
2545            * @param groupId the group ID
2546            * @param articleId the article ID
2547            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2548            * @return the previous, current, and next journal article
2549            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2550            * @throws SystemException if a system exception occurred
2551            */
2552            public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_PrevAndNext(
2553                    long id, long groupId, java.lang.String articleId,
2554                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2555                    throws com.liferay.portal.kernel.exception.SystemException,
2556                            com.liferay.portlet.journal.NoSuchArticleException;
2557    
2558            /**
2559            * Returns all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63;.
2560            *
2561            * @param groupId the group ID
2562            * @param articleId the article ID
2563            * @return the matching journal articles that the user has permission to view
2564            * @throws SystemException if a system exception occurred
2565            */
2566            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A(
2567                    long groupId, java.lang.String articleId)
2568                    throws com.liferay.portal.kernel.exception.SystemException;
2569    
2570            /**
2571            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63;.
2572            *
2573            * <p>
2574            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2575            * </p>
2576            *
2577            * @param groupId the group ID
2578            * @param articleId the article ID
2579            * @param start the lower bound of the range of journal articles
2580            * @param end the upper bound of the range of journal articles (not inclusive)
2581            * @return the range of matching journal articles that the user has permission to view
2582            * @throws SystemException if a system exception occurred
2583            */
2584            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A(
2585                    long groupId, java.lang.String articleId, int start, int end)
2586                    throws com.liferay.portal.kernel.exception.SystemException;
2587    
2588            /**
2589            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and articleId = &#63;.
2590            *
2591            * <p>
2592            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2593            * </p>
2594            *
2595            * @param groupId the group ID
2596            * @param articleId the article ID
2597            * @param start the lower bound of the range of journal articles
2598            * @param end the upper bound of the range of journal articles (not inclusive)
2599            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2600            * @return the ordered range of matching journal articles that the user has permission to view
2601            * @throws SystemException if a system exception occurred
2602            */
2603            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A(
2604                    long groupId, java.lang.String articleId, int start, int end,
2605                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2606                    throws com.liferay.portal.kernel.exception.SystemException;
2607    
2608            /**
2609            * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = &#63; and articleId = &#63;.
2610            *
2611            * @param id the primary key of the current journal article
2612            * @param groupId the group ID
2613            * @param articleId the article ID
2614            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2615            * @return the previous, current, and next journal article
2616            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2617            * @throws SystemException if a system exception occurred
2618            */
2619            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_PrevAndNext(
2620                    long id, long groupId, java.lang.String articleId,
2621                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2622                    throws com.liferay.portal.kernel.exception.SystemException,
2623                            com.liferay.portlet.journal.NoSuchArticleException;
2624    
2625            /**
2626            * Removes all the journal articles where groupId = &#63; and articleId = &#63; from the database.
2627            *
2628            * @param groupId the group ID
2629            * @param articleId the article ID
2630            * @throws SystemException if a system exception occurred
2631            */
2632            public void removeByG_A(long groupId, java.lang.String articleId)
2633                    throws com.liferay.portal.kernel.exception.SystemException;
2634    
2635            /**
2636            * Returns the number of journal articles where groupId = &#63; and articleId = &#63;.
2637            *
2638            * @param groupId the group ID
2639            * @param articleId the article ID
2640            * @return the number of matching journal articles
2641            * @throws SystemException if a system exception occurred
2642            */
2643            public int countByG_A(long groupId, java.lang.String articleId)
2644                    throws com.liferay.portal.kernel.exception.SystemException;
2645    
2646            /**
2647            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and articleId = &#63;.
2648            *
2649            * @param groupId the group ID
2650            * @param articleId the article ID
2651            * @return the number of matching journal articles that the user has permission to view
2652            * @throws SystemException if a system exception occurred
2653            */
2654            public int filterCountByG_A(long groupId, java.lang.String articleId)
2655                    throws com.liferay.portal.kernel.exception.SystemException;
2656    
2657            /**
2658            * Returns all the journal articles where groupId = &#63; and urlTitle = &#63;.
2659            *
2660            * @param groupId the group ID
2661            * @param urlTitle the url title
2662            * @return the matching journal articles
2663            * @throws SystemException if a system exception occurred
2664            */
2665            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
2666                    long groupId, java.lang.String urlTitle)
2667                    throws com.liferay.portal.kernel.exception.SystemException;
2668    
2669            /**
2670            * Returns a range of all the journal articles where groupId = &#63; and urlTitle = &#63;.
2671            *
2672            * <p>
2673            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2674            * </p>
2675            *
2676            * @param groupId the group ID
2677            * @param urlTitle the url title
2678            * @param start the lower bound of the range of journal articles
2679            * @param end the upper bound of the range of journal articles (not inclusive)
2680            * @return the range of matching journal articles
2681            * @throws SystemException if a system exception occurred
2682            */
2683            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
2684                    long groupId, java.lang.String urlTitle, int start, int end)
2685                    throws com.liferay.portal.kernel.exception.SystemException;
2686    
2687            /**
2688            * Returns an ordered range of all the journal articles where groupId = &#63; and urlTitle = &#63;.
2689            *
2690            * <p>
2691            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2692            * </p>
2693            *
2694            * @param groupId the group ID
2695            * @param urlTitle the url title
2696            * @param start the lower bound of the range of journal articles
2697            * @param end the upper bound of the range of journal articles (not inclusive)
2698            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2699            * @return the ordered range of matching journal articles
2700            * @throws SystemException if a system exception occurred
2701            */
2702            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
2703                    long groupId, java.lang.String urlTitle, int start, int end,
2704                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2705                    throws com.liferay.portal.kernel.exception.SystemException;
2706    
2707            /**
2708            * Returns the first journal article in the ordered set where groupId = &#63; and urlTitle = &#63;.
2709            *
2710            * @param groupId the group ID
2711            * @param urlTitle the url title
2712            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2713            * @return the first matching journal article
2714            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2715            * @throws SystemException if a system exception occurred
2716            */
2717            public com.liferay.portlet.journal.model.JournalArticle findByG_UT_First(
2718                    long groupId, java.lang.String urlTitle,
2719                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2720                    throws com.liferay.portal.kernel.exception.SystemException,
2721                            com.liferay.portlet.journal.NoSuchArticleException;
2722    
2723            /**
2724            * Returns the first journal article in the ordered set where groupId = &#63; and urlTitle = &#63;.
2725            *
2726            * @param groupId the group ID
2727            * @param urlTitle the url title
2728            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2729            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
2730            * @throws SystemException if a system exception occurred
2731            */
2732            public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_First(
2733                    long groupId, java.lang.String urlTitle,
2734                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2735                    throws com.liferay.portal.kernel.exception.SystemException;
2736    
2737            /**
2738            * Returns the last journal article in the ordered set where groupId = &#63; and urlTitle = &#63;.
2739            *
2740            * @param groupId the group ID
2741            * @param urlTitle the url title
2742            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2743            * @return the last matching journal article
2744            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2745            * @throws SystemException if a system exception occurred
2746            */
2747            public com.liferay.portlet.journal.model.JournalArticle findByG_UT_Last(
2748                    long groupId, java.lang.String urlTitle,
2749                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2750                    throws com.liferay.portal.kernel.exception.SystemException,
2751                            com.liferay.portlet.journal.NoSuchArticleException;
2752    
2753            /**
2754            * Returns the last journal article in the ordered set where groupId = &#63; and urlTitle = &#63;.
2755            *
2756            * @param groupId the group ID
2757            * @param urlTitle the url title
2758            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2759            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
2760            * @throws SystemException if a system exception occurred
2761            */
2762            public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_Last(
2763                    long groupId, java.lang.String urlTitle,
2764                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2765                    throws com.liferay.portal.kernel.exception.SystemException;
2766    
2767            /**
2768            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and urlTitle = &#63;.
2769            *
2770            * @param id the primary key of the current journal article
2771            * @param groupId the group ID
2772            * @param urlTitle the url title
2773            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2774            * @return the previous, current, and next journal article
2775            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2776            * @throws SystemException if a system exception occurred
2777            */
2778            public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_PrevAndNext(
2779                    long id, long groupId, java.lang.String urlTitle,
2780                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2781                    throws com.liferay.portal.kernel.exception.SystemException,
2782                            com.liferay.portlet.journal.NoSuchArticleException;
2783    
2784            /**
2785            * Returns all the journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63;.
2786            *
2787            * @param groupId the group ID
2788            * @param urlTitle the url title
2789            * @return the matching journal articles that the user has permission to view
2790            * @throws SystemException if a system exception occurred
2791            */
2792            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT(
2793                    long groupId, java.lang.String urlTitle)
2794                    throws com.liferay.portal.kernel.exception.SystemException;
2795    
2796            /**
2797            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63;.
2798            *
2799            * <p>
2800            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2801            * </p>
2802            *
2803            * @param groupId the group ID
2804            * @param urlTitle the url title
2805            * @param start the lower bound of the range of journal articles
2806            * @param end the upper bound of the range of journal articles (not inclusive)
2807            * @return the range of matching journal articles that the user has permission to view
2808            * @throws SystemException if a system exception occurred
2809            */
2810            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT(
2811                    long groupId, java.lang.String urlTitle, int start, int end)
2812                    throws com.liferay.portal.kernel.exception.SystemException;
2813    
2814            /**
2815            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and urlTitle = &#63;.
2816            *
2817            * <p>
2818            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2819            * </p>
2820            *
2821            * @param groupId the group ID
2822            * @param urlTitle the url title
2823            * @param start the lower bound of the range of journal articles
2824            * @param end the upper bound of the range of journal articles (not inclusive)
2825            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2826            * @return the ordered range of matching journal articles that the user has permission to view
2827            * @throws SystemException if a system exception occurred
2828            */
2829            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT(
2830                    long groupId, java.lang.String urlTitle, int start, int end,
2831                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2832                    throws com.liferay.portal.kernel.exception.SystemException;
2833    
2834            /**
2835            * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63;.
2836            *
2837            * @param id the primary key of the current journal article
2838            * @param groupId the group ID
2839            * @param urlTitle the url title
2840            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2841            * @return the previous, current, and next journal article
2842            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2843            * @throws SystemException if a system exception occurred
2844            */
2845            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_PrevAndNext(
2846                    long id, long groupId, java.lang.String urlTitle,
2847                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2848                    throws com.liferay.portal.kernel.exception.SystemException,
2849                            com.liferay.portlet.journal.NoSuchArticleException;
2850    
2851            /**
2852            * Removes all the journal articles where groupId = &#63; and urlTitle = &#63; from the database.
2853            *
2854            * @param groupId the group ID
2855            * @param urlTitle the url title
2856            * @throws SystemException if a system exception occurred
2857            */
2858            public void removeByG_UT(long groupId, java.lang.String urlTitle)
2859                    throws com.liferay.portal.kernel.exception.SystemException;
2860    
2861            /**
2862            * Returns the number of journal articles where groupId = &#63; and urlTitle = &#63;.
2863            *
2864            * @param groupId the group ID
2865            * @param urlTitle the url title
2866            * @return the number of matching journal articles
2867            * @throws SystemException if a system exception occurred
2868            */
2869            public int countByG_UT(long groupId, java.lang.String urlTitle)
2870                    throws com.liferay.portal.kernel.exception.SystemException;
2871    
2872            /**
2873            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63;.
2874            *
2875            * @param groupId the group ID
2876            * @param urlTitle the url title
2877            * @return the number of matching journal articles that the user has permission to view
2878            * @throws SystemException if a system exception occurred
2879            */
2880            public int filterCountByG_UT(long groupId, java.lang.String urlTitle)
2881                    throws com.liferay.portal.kernel.exception.SystemException;
2882    
2883            /**
2884            * Returns all the journal articles where groupId = &#63; and structureId = &#63;.
2885            *
2886            * @param groupId the group ID
2887            * @param structureId the structure ID
2888            * @return the matching journal articles
2889            * @throws SystemException if a system exception occurred
2890            */
2891            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
2892                    long groupId, java.lang.String structureId)
2893                    throws com.liferay.portal.kernel.exception.SystemException;
2894    
2895            /**
2896            * Returns a range of all the journal articles where groupId = &#63; and structureId = &#63;.
2897            *
2898            * <p>
2899            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2900            * </p>
2901            *
2902            * @param groupId the group ID
2903            * @param structureId the structure ID
2904            * @param start the lower bound of the range of journal articles
2905            * @param end the upper bound of the range of journal articles (not inclusive)
2906            * @return the range of matching journal articles
2907            * @throws SystemException if a system exception occurred
2908            */
2909            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
2910                    long groupId, java.lang.String structureId, int start, int end)
2911                    throws com.liferay.portal.kernel.exception.SystemException;
2912    
2913            /**
2914            * Returns an ordered range of all the journal articles where groupId = &#63; and structureId = &#63;.
2915            *
2916            * <p>
2917            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2918            * </p>
2919            *
2920            * @param groupId the group ID
2921            * @param structureId the structure ID
2922            * @param start the lower bound of the range of journal articles
2923            * @param end the upper bound of the range of journal articles (not inclusive)
2924            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2925            * @return the ordered range of matching journal articles
2926            * @throws SystemException if a system exception occurred
2927            */
2928            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
2929                    long groupId, java.lang.String structureId, int start, int end,
2930                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2931                    throws com.liferay.portal.kernel.exception.SystemException;
2932    
2933            /**
2934            * Returns the first journal article in the ordered set where groupId = &#63; and structureId = &#63;.
2935            *
2936            * @param groupId the group ID
2937            * @param structureId the structure ID
2938            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2939            * @return the first matching journal article
2940            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2941            * @throws SystemException if a system exception occurred
2942            */
2943            public com.liferay.portlet.journal.model.JournalArticle findByG_S_First(
2944                    long groupId, java.lang.String structureId,
2945                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2946                    throws com.liferay.portal.kernel.exception.SystemException,
2947                            com.liferay.portlet.journal.NoSuchArticleException;
2948    
2949            /**
2950            * Returns the first journal article in the ordered set where groupId = &#63; and structureId = &#63;.
2951            *
2952            * @param groupId the group ID
2953            * @param structureId the structure ID
2954            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2955            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
2956            * @throws SystemException if a system exception occurred
2957            */
2958            public com.liferay.portlet.journal.model.JournalArticle fetchByG_S_First(
2959                    long groupId, java.lang.String structureId,
2960                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2961                    throws com.liferay.portal.kernel.exception.SystemException;
2962    
2963            /**
2964            * Returns the last journal article in the ordered set where groupId = &#63; and structureId = &#63;.
2965            *
2966            * @param groupId the group ID
2967            * @param structureId the structure ID
2968            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2969            * @return the last matching journal article
2970            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2971            * @throws SystemException if a system exception occurred
2972            */
2973            public com.liferay.portlet.journal.model.JournalArticle findByG_S_Last(
2974                    long groupId, java.lang.String structureId,
2975                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2976                    throws com.liferay.portal.kernel.exception.SystemException,
2977                            com.liferay.portlet.journal.NoSuchArticleException;
2978    
2979            /**
2980            * Returns the last journal article in the ordered set where groupId = &#63; and structureId = &#63;.
2981            *
2982            * @param groupId the group ID
2983            * @param structureId the structure ID
2984            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2985            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
2986            * @throws SystemException if a system exception occurred
2987            */
2988            public com.liferay.portlet.journal.model.JournalArticle fetchByG_S_Last(
2989                    long groupId, java.lang.String structureId,
2990                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2991                    throws com.liferay.portal.kernel.exception.SystemException;
2992    
2993            /**
2994            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and structureId = &#63;.
2995            *
2996            * @param id the primary key of the current journal article
2997            * @param groupId the group ID
2998            * @param structureId the structure ID
2999            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3000            * @return the previous, current, and next journal article
3001            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3002            * @throws SystemException if a system exception occurred
3003            */
3004            public com.liferay.portlet.journal.model.JournalArticle[] findByG_S_PrevAndNext(
3005                    long id, long groupId, java.lang.String structureId,
3006                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3007                    throws com.liferay.portal.kernel.exception.SystemException,
3008                            com.liferay.portlet.journal.NoSuchArticleException;
3009    
3010            /**
3011            * Returns all the journal articles that the user has permission to view where groupId = &#63; and structureId = &#63;.
3012            *
3013            * @param groupId the group ID
3014            * @param structureId the structure ID
3015            * @return the matching journal articles that the user has permission to view
3016            * @throws SystemException if a system exception occurred
3017            */
3018            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S(
3019                    long groupId, java.lang.String structureId)
3020                    throws com.liferay.portal.kernel.exception.SystemException;
3021    
3022            /**
3023            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and structureId = &#63;.
3024            *
3025            * <p>
3026            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3027            * </p>
3028            *
3029            * @param groupId the group ID
3030            * @param structureId the structure ID
3031            * @param start the lower bound of the range of journal articles
3032            * @param end the upper bound of the range of journal articles (not inclusive)
3033            * @return the range of matching journal articles that the user has permission to view
3034            * @throws SystemException if a system exception occurred
3035            */
3036            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S(
3037                    long groupId, java.lang.String structureId, int start, int end)
3038                    throws com.liferay.portal.kernel.exception.SystemException;
3039    
3040            /**
3041            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and structureId = &#63;.
3042            *
3043            * <p>
3044            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3045            * </p>
3046            *
3047            * @param groupId the group ID
3048            * @param structureId the structure ID
3049            * @param start the lower bound of the range of journal articles
3050            * @param end the upper bound of the range of journal articles (not inclusive)
3051            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3052            * @return the ordered range of matching journal articles that the user has permission to view
3053            * @throws SystemException if a system exception occurred
3054            */
3055            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S(
3056                    long groupId, java.lang.String structureId, int start, int end,
3057                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3058                    throws com.liferay.portal.kernel.exception.SystemException;
3059    
3060            /**
3061            * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = &#63; and structureId = &#63;.
3062            *
3063            * @param id the primary key of the current journal article
3064            * @param groupId the group ID
3065            * @param structureId the structure ID
3066            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3067            * @return the previous, current, and next journal article
3068            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3069            * @throws SystemException if a system exception occurred
3070            */
3071            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_S_PrevAndNext(
3072                    long id, long groupId, java.lang.String structureId,
3073                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3074                    throws com.liferay.portal.kernel.exception.SystemException,
3075                            com.liferay.portlet.journal.NoSuchArticleException;
3076    
3077            /**
3078            * Removes all the journal articles where groupId = &#63; and structureId = &#63; from the database.
3079            *
3080            * @param groupId the group ID
3081            * @param structureId the structure ID
3082            * @throws SystemException if a system exception occurred
3083            */
3084            public void removeByG_S(long groupId, java.lang.String structureId)
3085                    throws com.liferay.portal.kernel.exception.SystemException;
3086    
3087            /**
3088            * Returns the number of journal articles where groupId = &#63; and structureId = &#63;.
3089            *
3090            * @param groupId the group ID
3091            * @param structureId the structure ID
3092            * @return the number of matching journal articles
3093            * @throws SystemException if a system exception occurred
3094            */
3095            public int countByG_S(long groupId, java.lang.String structureId)
3096                    throws com.liferay.portal.kernel.exception.SystemException;
3097    
3098            /**
3099            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and structureId = &#63;.
3100            *
3101            * @param groupId the group ID
3102            * @param structureId the structure ID
3103            * @return the number of matching journal articles that the user has permission to view
3104            * @throws SystemException if a system exception occurred
3105            */
3106            public int filterCountByG_S(long groupId, java.lang.String structureId)
3107                    throws com.liferay.portal.kernel.exception.SystemException;
3108    
3109            /**
3110            * Returns all the journal articles where groupId = &#63; and templateId = &#63;.
3111            *
3112            * @param groupId the group ID
3113            * @param templateId the template ID
3114            * @return the matching journal articles
3115            * @throws SystemException if a system exception occurred
3116            */
3117            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
3118                    long groupId, java.lang.String templateId)
3119                    throws com.liferay.portal.kernel.exception.SystemException;
3120    
3121            /**
3122            * Returns a range of all the journal articles where groupId = &#63; and templateId = &#63;.
3123            *
3124            * <p>
3125            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3126            * </p>
3127            *
3128            * @param groupId the group ID
3129            * @param templateId the template ID
3130            * @param start the lower bound of the range of journal articles
3131            * @param end the upper bound of the range of journal articles (not inclusive)
3132            * @return the range of matching journal articles
3133            * @throws SystemException if a system exception occurred
3134            */
3135            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
3136                    long groupId, java.lang.String templateId, int start, int end)
3137                    throws com.liferay.portal.kernel.exception.SystemException;
3138    
3139            /**
3140            * Returns an ordered range of all the journal articles where groupId = &#63; and templateId = &#63;.
3141            *
3142            * <p>
3143            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3144            * </p>
3145            *
3146            * @param groupId the group ID
3147            * @param templateId the template ID
3148            * @param start the lower bound of the range of journal articles
3149            * @param end the upper bound of the range of journal articles (not inclusive)
3150            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3151            * @return the ordered range of matching journal articles
3152            * @throws SystemException if a system exception occurred
3153            */
3154            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
3155                    long groupId, java.lang.String templateId, int start, int end,
3156                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3157                    throws com.liferay.portal.kernel.exception.SystemException;
3158    
3159            /**
3160            * Returns the first journal article in the ordered set where groupId = &#63; and templateId = &#63;.
3161            *
3162            * @param groupId the group ID
3163            * @param templateId the template ID
3164            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3165            * @return the first matching journal article
3166            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3167            * @throws SystemException if a system exception occurred
3168            */
3169            public com.liferay.portlet.journal.model.JournalArticle findByG_T_First(
3170                    long groupId, java.lang.String templateId,
3171                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3172                    throws com.liferay.portal.kernel.exception.SystemException,
3173                            com.liferay.portlet.journal.NoSuchArticleException;
3174    
3175            /**
3176            * Returns the first journal article in the ordered set where groupId = &#63; and templateId = &#63;.
3177            *
3178            * @param groupId the group ID
3179            * @param templateId the template ID
3180            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3181            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
3182            * @throws SystemException if a system exception occurred
3183            */
3184            public com.liferay.portlet.journal.model.JournalArticle fetchByG_T_First(
3185                    long groupId, java.lang.String templateId,
3186                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3187                    throws com.liferay.portal.kernel.exception.SystemException;
3188    
3189            /**
3190            * Returns the last journal article in the ordered set where groupId = &#63; and templateId = &#63;.
3191            *
3192            * @param groupId the group ID
3193            * @param templateId the template ID
3194            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3195            * @return the last matching journal article
3196            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3197            * @throws SystemException if a system exception occurred
3198            */
3199            public com.liferay.portlet.journal.model.JournalArticle findByG_T_Last(
3200                    long groupId, java.lang.String templateId,
3201                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3202                    throws com.liferay.portal.kernel.exception.SystemException,
3203                            com.liferay.portlet.journal.NoSuchArticleException;
3204    
3205            /**
3206            * Returns the last journal article in the ordered set where groupId = &#63; and templateId = &#63;.
3207            *
3208            * @param groupId the group ID
3209            * @param templateId the template ID
3210            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3211            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
3212            * @throws SystemException if a system exception occurred
3213            */
3214            public com.liferay.portlet.journal.model.JournalArticle fetchByG_T_Last(
3215                    long groupId, java.lang.String templateId,
3216                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3217                    throws com.liferay.portal.kernel.exception.SystemException;
3218    
3219            /**
3220            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and templateId = &#63;.
3221            *
3222            * @param id the primary key of the current journal article
3223            * @param groupId the group ID
3224            * @param templateId the template ID
3225            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3226            * @return the previous, current, and next journal article
3227            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3228            * @throws SystemException if a system exception occurred
3229            */
3230            public com.liferay.portlet.journal.model.JournalArticle[] findByG_T_PrevAndNext(
3231                    long id, long groupId, java.lang.String templateId,
3232                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3233                    throws com.liferay.portal.kernel.exception.SystemException,
3234                            com.liferay.portlet.journal.NoSuchArticleException;
3235    
3236            /**
3237            * Returns all the journal articles that the user has permission to view where groupId = &#63; and templateId = &#63;.
3238            *
3239            * @param groupId the group ID
3240            * @param templateId the template ID
3241            * @return the matching journal articles that the user has permission to view
3242            * @throws SystemException if a system exception occurred
3243            */
3244            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T(
3245                    long groupId, java.lang.String templateId)
3246                    throws com.liferay.portal.kernel.exception.SystemException;
3247    
3248            /**
3249            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and templateId = &#63;.
3250            *
3251            * <p>
3252            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3253            * </p>
3254            *
3255            * @param groupId the group ID
3256            * @param templateId the template ID
3257            * @param start the lower bound of the range of journal articles
3258            * @param end the upper bound of the range of journal articles (not inclusive)
3259            * @return the range of matching journal articles that the user has permission to view
3260            * @throws SystemException if a system exception occurred
3261            */
3262            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T(
3263                    long groupId, java.lang.String templateId, int start, int end)
3264                    throws com.liferay.portal.kernel.exception.SystemException;
3265    
3266            /**
3267            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and templateId = &#63;.
3268            *
3269            * <p>
3270            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3271            * </p>
3272            *
3273            * @param groupId the group ID
3274            * @param templateId the template ID
3275            * @param start the lower bound of the range of journal articles
3276            * @param end the upper bound of the range of journal articles (not inclusive)
3277            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3278            * @return the ordered range of matching journal articles that the user has permission to view
3279            * @throws SystemException if a system exception occurred
3280            */
3281            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T(
3282                    long groupId, java.lang.String templateId, int start, int end,
3283                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3284                    throws com.liferay.portal.kernel.exception.SystemException;
3285    
3286            /**
3287            * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = &#63; and templateId = &#63;.
3288            *
3289            * @param id the primary key of the current journal article
3290            * @param groupId the group ID
3291            * @param templateId the template ID
3292            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3293            * @return the previous, current, and next journal article
3294            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3295            * @throws SystemException if a system exception occurred
3296            */
3297            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_T_PrevAndNext(
3298                    long id, long groupId, java.lang.String templateId,
3299                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3300                    throws com.liferay.portal.kernel.exception.SystemException,
3301                            com.liferay.portlet.journal.NoSuchArticleException;
3302    
3303            /**
3304            * Removes all the journal articles where groupId = &#63; and templateId = &#63; from the database.
3305            *
3306            * @param groupId the group ID
3307            * @param templateId the template ID
3308            * @throws SystemException if a system exception occurred
3309            */
3310            public void removeByG_T(long groupId, java.lang.String templateId)
3311                    throws com.liferay.portal.kernel.exception.SystemException;
3312    
3313            /**
3314            * Returns the number of journal articles where groupId = &#63; and templateId = &#63;.
3315            *
3316            * @param groupId the group ID
3317            * @param templateId the template ID
3318            * @return the number of matching journal articles
3319            * @throws SystemException if a system exception occurred
3320            */
3321            public int countByG_T(long groupId, java.lang.String templateId)
3322                    throws com.liferay.portal.kernel.exception.SystemException;
3323    
3324            /**
3325            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and templateId = &#63;.
3326            *
3327            * @param groupId the group ID
3328            * @param templateId the template ID
3329            * @return the number of matching journal articles that the user has permission to view
3330            * @throws SystemException if a system exception occurred
3331            */
3332            public int filterCountByG_T(long groupId, java.lang.String templateId)
3333                    throws com.liferay.portal.kernel.exception.SystemException;
3334    
3335            /**
3336            * Returns all the journal articles where groupId = &#63; and layoutUuid = &#63;.
3337            *
3338            * @param groupId the group ID
3339            * @param layoutUuid the layout uuid
3340            * @return the matching journal articles
3341            * @throws SystemException if a system exception occurred
3342            */
3343            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L(
3344                    long groupId, java.lang.String layoutUuid)
3345                    throws com.liferay.portal.kernel.exception.SystemException;
3346    
3347            /**
3348            * Returns a range of all the journal articles where groupId = &#63; and layoutUuid = &#63;.
3349            *
3350            * <p>
3351            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3352            * </p>
3353            *
3354            * @param groupId the group ID
3355            * @param layoutUuid the layout uuid
3356            * @param start the lower bound of the range of journal articles
3357            * @param end the upper bound of the range of journal articles (not inclusive)
3358            * @return the range of matching journal articles
3359            * @throws SystemException if a system exception occurred
3360            */
3361            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L(
3362                    long groupId, java.lang.String layoutUuid, int start, int end)
3363                    throws com.liferay.portal.kernel.exception.SystemException;
3364    
3365            /**
3366            * Returns an ordered range of all the journal articles where groupId = &#63; and layoutUuid = &#63;.
3367            *
3368            * <p>
3369            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3370            * </p>
3371            *
3372            * @param groupId the group ID
3373            * @param layoutUuid the layout uuid
3374            * @param start the lower bound of the range of journal articles
3375            * @param end the upper bound of the range of journal articles (not inclusive)
3376            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3377            * @return the ordered range of matching journal articles
3378            * @throws SystemException if a system exception occurred
3379            */
3380            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L(
3381                    long groupId, java.lang.String layoutUuid, int start, int end,
3382                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3383                    throws com.liferay.portal.kernel.exception.SystemException;
3384    
3385            /**
3386            * Returns the first journal article in the ordered set where groupId = &#63; and layoutUuid = &#63;.
3387            *
3388            * @param groupId the group ID
3389            * @param layoutUuid the layout uuid
3390            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3391            * @return the first matching journal article
3392            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3393            * @throws SystemException if a system exception occurred
3394            */
3395            public com.liferay.portlet.journal.model.JournalArticle findByG_L_First(
3396                    long groupId, java.lang.String layoutUuid,
3397                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3398                    throws com.liferay.portal.kernel.exception.SystemException,
3399                            com.liferay.portlet.journal.NoSuchArticleException;
3400    
3401            /**
3402            * Returns the first journal article in the ordered set where groupId = &#63; and layoutUuid = &#63;.
3403            *
3404            * @param groupId the group ID
3405            * @param layoutUuid the layout uuid
3406            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3407            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
3408            * @throws SystemException if a system exception occurred
3409            */
3410            public com.liferay.portlet.journal.model.JournalArticle fetchByG_L_First(
3411                    long groupId, java.lang.String layoutUuid,
3412                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3413                    throws com.liferay.portal.kernel.exception.SystemException;
3414    
3415            /**
3416            * Returns the last journal article in the ordered set where groupId = &#63; and layoutUuid = &#63;.
3417            *
3418            * @param groupId the group ID
3419            * @param layoutUuid the layout uuid
3420            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3421            * @return the last matching journal article
3422            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3423            * @throws SystemException if a system exception occurred
3424            */
3425            public com.liferay.portlet.journal.model.JournalArticle findByG_L_Last(
3426                    long groupId, java.lang.String layoutUuid,
3427                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3428                    throws com.liferay.portal.kernel.exception.SystemException,
3429                            com.liferay.portlet.journal.NoSuchArticleException;
3430    
3431            /**
3432            * Returns the last journal article in the ordered set where groupId = &#63; and layoutUuid = &#63;.
3433            *
3434            * @param groupId the group ID
3435            * @param layoutUuid the layout uuid
3436            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3437            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
3438            * @throws SystemException if a system exception occurred
3439            */
3440            public com.liferay.portlet.journal.model.JournalArticle fetchByG_L_Last(
3441                    long groupId, java.lang.String layoutUuid,
3442                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3443                    throws com.liferay.portal.kernel.exception.SystemException;
3444    
3445            /**
3446            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and layoutUuid = &#63;.
3447            *
3448            * @param id the primary key of the current journal article
3449            * @param groupId the group ID
3450            * @param layoutUuid the layout uuid
3451            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3452            * @return the previous, current, and next journal article
3453            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3454            * @throws SystemException if a system exception occurred
3455            */
3456            public com.liferay.portlet.journal.model.JournalArticle[] findByG_L_PrevAndNext(
3457                    long id, long groupId, java.lang.String layoutUuid,
3458                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3459                    throws com.liferay.portal.kernel.exception.SystemException,
3460                            com.liferay.portlet.journal.NoSuchArticleException;
3461    
3462            /**
3463            * Returns all the journal articles that the user has permission to view where groupId = &#63; and layoutUuid = &#63;.
3464            *
3465            * @param groupId the group ID
3466            * @param layoutUuid the layout uuid
3467            * @return the matching journal articles that the user has permission to view
3468            * @throws SystemException if a system exception occurred
3469            */
3470            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L(
3471                    long groupId, java.lang.String layoutUuid)
3472                    throws com.liferay.portal.kernel.exception.SystemException;
3473    
3474            /**
3475            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and layoutUuid = &#63;.
3476            *
3477            * <p>
3478            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3479            * </p>
3480            *
3481            * @param groupId the group ID
3482            * @param layoutUuid the layout uuid
3483            * @param start the lower bound of the range of journal articles
3484            * @param end the upper bound of the range of journal articles (not inclusive)
3485            * @return the range of matching journal articles that the user has permission to view
3486            * @throws SystemException if a system exception occurred
3487            */
3488            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L(
3489                    long groupId, java.lang.String layoutUuid, int start, int end)
3490                    throws com.liferay.portal.kernel.exception.SystemException;
3491    
3492            /**
3493            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and layoutUuid = &#63;.
3494            *
3495            * <p>
3496            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3497            * </p>
3498            *
3499            * @param groupId the group ID
3500            * @param layoutUuid the layout uuid
3501            * @param start the lower bound of the range of journal articles
3502            * @param end the upper bound of the range of journal articles (not inclusive)
3503            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3504            * @return the ordered range of matching journal articles that the user has permission to view
3505            * @throws SystemException if a system exception occurred
3506            */
3507            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L(
3508                    long groupId, java.lang.String layoutUuid, int start, int end,
3509                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3510                    throws com.liferay.portal.kernel.exception.SystemException;
3511    
3512            /**
3513            * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = &#63; and layoutUuid = &#63;.
3514            *
3515            * @param id the primary key of the current journal article
3516            * @param groupId the group ID
3517            * @param layoutUuid the layout uuid
3518            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3519            * @return the previous, current, and next journal article
3520            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3521            * @throws SystemException if a system exception occurred
3522            */
3523            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_L_PrevAndNext(
3524                    long id, long groupId, java.lang.String layoutUuid,
3525                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3526                    throws com.liferay.portal.kernel.exception.SystemException,
3527                            com.liferay.portlet.journal.NoSuchArticleException;
3528    
3529            /**
3530            * Removes all the journal articles where groupId = &#63; and layoutUuid = &#63; from the database.
3531            *
3532            * @param groupId the group ID
3533            * @param layoutUuid the layout uuid
3534            * @throws SystemException if a system exception occurred
3535            */
3536            public void removeByG_L(long groupId, java.lang.String layoutUuid)
3537                    throws com.liferay.portal.kernel.exception.SystemException;
3538    
3539            /**
3540            * Returns the number of journal articles where groupId = &#63; and layoutUuid = &#63;.
3541            *
3542            * @param groupId the group ID
3543            * @param layoutUuid the layout uuid
3544            * @return the number of matching journal articles
3545            * @throws SystemException if a system exception occurred
3546            */
3547            public int countByG_L(long groupId, java.lang.String layoutUuid)
3548                    throws com.liferay.portal.kernel.exception.SystemException;
3549    
3550            /**
3551            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and layoutUuid = &#63;.
3552            *
3553            * @param groupId the group ID
3554            * @param layoutUuid the layout uuid
3555            * @return the number of matching journal articles that the user has permission to view
3556            * @throws SystemException if a system exception occurred
3557            */
3558            public int filterCountByG_L(long groupId, java.lang.String layoutUuid)
3559                    throws com.liferay.portal.kernel.exception.SystemException;
3560    
3561            /**
3562            * Returns all the journal articles where groupId = &#63; and status = &#63;.
3563            *
3564            * @param groupId the group ID
3565            * @param status the status
3566            * @return the matching journal articles
3567            * @throws SystemException if a system exception occurred
3568            */
3569            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST(
3570                    long groupId, int status)
3571                    throws com.liferay.portal.kernel.exception.SystemException;
3572    
3573            /**
3574            * Returns a range of all the journal articles where groupId = &#63; and status = &#63;.
3575            *
3576            * <p>
3577            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3578            * </p>
3579            *
3580            * @param groupId the group ID
3581            * @param status the status
3582            * @param start the lower bound of the range of journal articles
3583            * @param end the upper bound of the range of journal articles (not inclusive)
3584            * @return the range of matching journal articles
3585            * @throws SystemException if a system exception occurred
3586            */
3587            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST(
3588                    long groupId, int status, int start, int end)
3589                    throws com.liferay.portal.kernel.exception.SystemException;
3590    
3591            /**
3592            * Returns an ordered range of all the journal articles where groupId = &#63; and status = &#63;.
3593            *
3594            * <p>
3595            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3596            * </p>
3597            *
3598            * @param groupId the group ID
3599            * @param status the status
3600            * @param start the lower bound of the range of journal articles
3601            * @param end the upper bound of the range of journal articles (not inclusive)
3602            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3603            * @return the ordered range of matching journal articles
3604            * @throws SystemException if a system exception occurred
3605            */
3606            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST(
3607                    long groupId, int status, int start, int end,
3608                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3609                    throws com.liferay.portal.kernel.exception.SystemException;
3610    
3611            /**
3612            * Returns the first journal article in the ordered set where groupId = &#63; and status = &#63;.
3613            *
3614            * @param groupId the group ID
3615            * @param status the status
3616            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3617            * @return the first matching journal article
3618            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3619            * @throws SystemException if a system exception occurred
3620            */
3621            public com.liferay.portlet.journal.model.JournalArticle findByG_ST_First(
3622                    long groupId, int status,
3623                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3624                    throws com.liferay.portal.kernel.exception.SystemException,
3625                            com.liferay.portlet.journal.NoSuchArticleException;
3626    
3627            /**
3628            * Returns the first journal article in the ordered set where groupId = &#63; and status = &#63;.
3629            *
3630            * @param groupId the group ID
3631            * @param status the status
3632            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3633            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
3634            * @throws SystemException if a system exception occurred
3635            */
3636            public com.liferay.portlet.journal.model.JournalArticle fetchByG_ST_First(
3637                    long groupId, int status,
3638                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3639                    throws com.liferay.portal.kernel.exception.SystemException;
3640    
3641            /**
3642            * Returns the last journal article in the ordered set where groupId = &#63; and status = &#63;.
3643            *
3644            * @param groupId the group ID
3645            * @param status the status
3646            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3647            * @return the last matching journal article
3648            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3649            * @throws SystemException if a system exception occurred
3650            */
3651            public com.liferay.portlet.journal.model.JournalArticle findByG_ST_Last(
3652                    long groupId, int status,
3653                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3654                    throws com.liferay.portal.kernel.exception.SystemException,
3655                            com.liferay.portlet.journal.NoSuchArticleException;
3656    
3657            /**
3658            * Returns the last journal article in the ordered set where groupId = &#63; and status = &#63;.
3659            *
3660            * @param groupId the group ID
3661            * @param status the status
3662            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3663            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
3664            * @throws SystemException if a system exception occurred
3665            */
3666            public com.liferay.portlet.journal.model.JournalArticle fetchByG_ST_Last(
3667                    long groupId, int status,
3668                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3669                    throws com.liferay.portal.kernel.exception.SystemException;
3670    
3671            /**
3672            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and status = &#63;.
3673            *
3674            * @param id the primary key of the current journal article
3675            * @param groupId the group ID
3676            * @param status the status
3677            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3678            * @return the previous, current, and next journal article
3679            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3680            * @throws SystemException if a system exception occurred
3681            */
3682            public com.liferay.portlet.journal.model.JournalArticle[] findByG_ST_PrevAndNext(
3683                    long id, long groupId, int status,
3684                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3685                    throws com.liferay.portal.kernel.exception.SystemException,
3686                            com.liferay.portlet.journal.NoSuchArticleException;
3687    
3688            /**
3689            * Returns all the journal articles that the user has permission to view where groupId = &#63; and status = &#63;.
3690            *
3691            * @param groupId the group ID
3692            * @param status the status
3693            * @return the matching journal articles that the user has permission to view
3694            * @throws SystemException if a system exception occurred
3695            */
3696            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST(
3697                    long groupId, int status)
3698                    throws com.liferay.portal.kernel.exception.SystemException;
3699    
3700            /**
3701            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and status = &#63;.
3702            *
3703            * <p>
3704            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3705            * </p>
3706            *
3707            * @param groupId the group ID
3708            * @param status the status
3709            * @param start the lower bound of the range of journal articles
3710            * @param end the upper bound of the range of journal articles (not inclusive)
3711            * @return the range of matching journal articles that the user has permission to view
3712            * @throws SystemException if a system exception occurred
3713            */
3714            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST(
3715                    long groupId, int status, int start, int end)
3716                    throws com.liferay.portal.kernel.exception.SystemException;
3717    
3718            /**
3719            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and status = &#63;.
3720            *
3721            * <p>
3722            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3723            * </p>
3724            *
3725            * @param groupId the group ID
3726            * @param status the status
3727            * @param start the lower bound of the range of journal articles
3728            * @param end the upper bound of the range of journal articles (not inclusive)
3729            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3730            * @return the ordered range of matching journal articles that the user has permission to view
3731            * @throws SystemException if a system exception occurred
3732            */
3733            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST(
3734                    long groupId, int status, int start, int end,
3735                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3736                    throws com.liferay.portal.kernel.exception.SystemException;
3737    
3738            /**
3739            * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = &#63; and status = &#63;.
3740            *
3741            * @param id the primary key of the current journal article
3742            * @param groupId the group ID
3743            * @param status the status
3744            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3745            * @return the previous, current, and next journal article
3746            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3747            * @throws SystemException if a system exception occurred
3748            */
3749            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_ST_PrevAndNext(
3750                    long id, long groupId, int status,
3751                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3752                    throws com.liferay.portal.kernel.exception.SystemException,
3753                            com.liferay.portlet.journal.NoSuchArticleException;
3754    
3755            /**
3756            * Removes all the journal articles where groupId = &#63; and status = &#63; from the database.
3757            *
3758            * @param groupId the group ID
3759            * @param status the status
3760            * @throws SystemException if a system exception occurred
3761            */
3762            public void removeByG_ST(long groupId, int status)
3763                    throws com.liferay.portal.kernel.exception.SystemException;
3764    
3765            /**
3766            * Returns the number of journal articles where groupId = &#63; and status = &#63;.
3767            *
3768            * @param groupId the group ID
3769            * @param status the status
3770            * @return the number of matching journal articles
3771            * @throws SystemException if a system exception occurred
3772            */
3773            public int countByG_ST(long groupId, int status)
3774                    throws com.liferay.portal.kernel.exception.SystemException;
3775    
3776            /**
3777            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and status = &#63;.
3778            *
3779            * @param groupId the group ID
3780            * @param status the status
3781            * @return the number of matching journal articles that the user has permission to view
3782            * @throws SystemException if a system exception occurred
3783            */
3784            public int filterCountByG_ST(long groupId, int status)
3785                    throws com.liferay.portal.kernel.exception.SystemException;
3786    
3787            /**
3788            * Returns all the journal articles where companyId = &#63; and version = &#63;.
3789            *
3790            * @param companyId the company ID
3791            * @param version the version
3792            * @return the matching journal articles
3793            * @throws SystemException if a system exception occurred
3794            */
3795            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V(
3796                    long companyId, double version)
3797                    throws com.liferay.portal.kernel.exception.SystemException;
3798    
3799            /**
3800            * Returns a range of all the journal articles where companyId = &#63; and version = &#63;.
3801            *
3802            * <p>
3803            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3804            * </p>
3805            *
3806            * @param companyId the company ID
3807            * @param version the version
3808            * @param start the lower bound of the range of journal articles
3809            * @param end the upper bound of the range of journal articles (not inclusive)
3810            * @return the range of matching journal articles
3811            * @throws SystemException if a system exception occurred
3812            */
3813            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V(
3814                    long companyId, double version, int start, int end)
3815                    throws com.liferay.portal.kernel.exception.SystemException;
3816    
3817            /**
3818            * Returns an ordered range of all the journal articles where companyId = &#63; and version = &#63;.
3819            *
3820            * <p>
3821            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3822            * </p>
3823            *
3824            * @param companyId the company ID
3825            * @param version the version
3826            * @param start the lower bound of the range of journal articles
3827            * @param end the upper bound of the range of journal articles (not inclusive)
3828            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3829            * @return the ordered range of matching journal articles
3830            * @throws SystemException if a system exception occurred
3831            */
3832            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V(
3833                    long companyId, double version, int start, int end,
3834                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3835                    throws com.liferay.portal.kernel.exception.SystemException;
3836    
3837            /**
3838            * Returns the first journal article in the ordered set where companyId = &#63; and version = &#63;.
3839            *
3840            * @param companyId the company ID
3841            * @param version the version
3842            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3843            * @return the first matching journal article
3844            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3845            * @throws SystemException if a system exception occurred
3846            */
3847            public com.liferay.portlet.journal.model.JournalArticle findByC_V_First(
3848                    long companyId, double version,
3849                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3850                    throws com.liferay.portal.kernel.exception.SystemException,
3851                            com.liferay.portlet.journal.NoSuchArticleException;
3852    
3853            /**
3854            * Returns the first journal article in the ordered set where companyId = &#63; and version = &#63;.
3855            *
3856            * @param companyId the company ID
3857            * @param version the version
3858            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3859            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
3860            * @throws SystemException if a system exception occurred
3861            */
3862            public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_First(
3863                    long companyId, double version,
3864                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3865                    throws com.liferay.portal.kernel.exception.SystemException;
3866    
3867            /**
3868            * Returns the last journal article in the ordered set where companyId = &#63; and version = &#63;.
3869            *
3870            * @param companyId the company ID
3871            * @param version the version
3872            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3873            * @return the last matching journal article
3874            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3875            * @throws SystemException if a system exception occurred
3876            */
3877            public com.liferay.portlet.journal.model.JournalArticle findByC_V_Last(
3878                    long companyId, double version,
3879                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3880                    throws com.liferay.portal.kernel.exception.SystemException,
3881                            com.liferay.portlet.journal.NoSuchArticleException;
3882    
3883            /**
3884            * Returns the last journal article in the ordered set where companyId = &#63; and version = &#63;.
3885            *
3886            * @param companyId the company ID
3887            * @param version the version
3888            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3889            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
3890            * @throws SystemException if a system exception occurred
3891            */
3892            public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_Last(
3893                    long companyId, double version,
3894                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3895                    throws com.liferay.portal.kernel.exception.SystemException;
3896    
3897            /**
3898            * Returns the journal articles before and after the current journal article in the ordered set where companyId = &#63; and version = &#63;.
3899            *
3900            * @param id the primary key of the current journal article
3901            * @param companyId the company ID
3902            * @param version the version
3903            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3904            * @return the previous, current, and next journal article
3905            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3906            * @throws SystemException if a system exception occurred
3907            */
3908            public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_PrevAndNext(
3909                    long id, long companyId, double version,
3910                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3911                    throws com.liferay.portal.kernel.exception.SystemException,
3912                            com.liferay.portlet.journal.NoSuchArticleException;
3913    
3914            /**
3915            * Removes all the journal articles where companyId = &#63; and version = &#63; from the database.
3916            *
3917            * @param companyId the company ID
3918            * @param version the version
3919            * @throws SystemException if a system exception occurred
3920            */
3921            public void removeByC_V(long companyId, double version)
3922                    throws com.liferay.portal.kernel.exception.SystemException;
3923    
3924            /**
3925            * Returns the number of journal articles where companyId = &#63; and version = &#63;.
3926            *
3927            * @param companyId the company ID
3928            * @param version the version
3929            * @return the number of matching journal articles
3930            * @throws SystemException if a system exception occurred
3931            */
3932            public int countByC_V(long companyId, double version)
3933                    throws com.liferay.portal.kernel.exception.SystemException;
3934    
3935            /**
3936            * Returns all the journal articles where companyId = &#63; and status = &#63;.
3937            *
3938            * @param companyId the company ID
3939            * @param status the status
3940            * @return the matching journal articles
3941            * @throws SystemException if a system exception occurred
3942            */
3943            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST(
3944                    long companyId, int status)
3945                    throws com.liferay.portal.kernel.exception.SystemException;
3946    
3947            /**
3948            * Returns a range of all the journal articles where companyId = &#63; and status = &#63;.
3949            *
3950            * <p>
3951            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3952            * </p>
3953            *
3954            * @param companyId the company ID
3955            * @param status the status
3956            * @param start the lower bound of the range of journal articles
3957            * @param end the upper bound of the range of journal articles (not inclusive)
3958            * @return the range of matching journal articles
3959            * @throws SystemException if a system exception occurred
3960            */
3961            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST(
3962                    long companyId, int status, int start, int end)
3963                    throws com.liferay.portal.kernel.exception.SystemException;
3964    
3965            /**
3966            * Returns an ordered range of all the journal articles where companyId = &#63; and status = &#63;.
3967            *
3968            * <p>
3969            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3970            * </p>
3971            *
3972            * @param companyId the company ID
3973            * @param status the status
3974            * @param start the lower bound of the range of journal articles
3975            * @param end the upper bound of the range of journal articles (not inclusive)
3976            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3977            * @return the ordered range of matching journal articles
3978            * @throws SystemException if a system exception occurred
3979            */
3980            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST(
3981                    long companyId, int status, int start, int end,
3982                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3983                    throws com.liferay.portal.kernel.exception.SystemException;
3984    
3985            /**
3986            * Returns the first journal article in the ordered set where companyId = &#63; and status = &#63;.
3987            *
3988            * @param companyId the company ID
3989            * @param status the status
3990            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3991            * @return the first matching journal article
3992            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3993            * @throws SystemException if a system exception occurred
3994            */
3995            public com.liferay.portlet.journal.model.JournalArticle findByC_ST_First(
3996                    long companyId, int status,
3997                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3998                    throws com.liferay.portal.kernel.exception.SystemException,
3999                            com.liferay.portlet.journal.NoSuchArticleException;
4000    
4001            /**
4002            * Returns the first journal article in the ordered set where companyId = &#63; and status = &#63;.
4003            *
4004            * @param companyId the company ID
4005            * @param status the status
4006            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4007            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
4008            * @throws SystemException if a system exception occurred
4009            */
4010            public com.liferay.portlet.journal.model.JournalArticle fetchByC_ST_First(
4011                    long companyId, int status,
4012                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4013                    throws com.liferay.portal.kernel.exception.SystemException;
4014    
4015            /**
4016            * Returns the last journal article in the ordered set where companyId = &#63; and status = &#63;.
4017            *
4018            * @param companyId the company ID
4019            * @param status the status
4020            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4021            * @return the last matching journal article
4022            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4023            * @throws SystemException if a system exception occurred
4024            */
4025            public com.liferay.portlet.journal.model.JournalArticle findByC_ST_Last(
4026                    long companyId, int status,
4027                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4028                    throws com.liferay.portal.kernel.exception.SystemException,
4029                            com.liferay.portlet.journal.NoSuchArticleException;
4030    
4031            /**
4032            * Returns the last journal article in the ordered set where companyId = &#63; and status = &#63;.
4033            *
4034            * @param companyId the company ID
4035            * @param status the status
4036            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4037            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
4038            * @throws SystemException if a system exception occurred
4039            */
4040            public com.liferay.portlet.journal.model.JournalArticle fetchByC_ST_Last(
4041                    long companyId, int status,
4042                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4043                    throws com.liferay.portal.kernel.exception.SystemException;
4044    
4045            /**
4046            * Returns the journal articles before and after the current journal article in the ordered set where companyId = &#63; and status = &#63;.
4047            *
4048            * @param id the primary key of the current journal article
4049            * @param companyId the company ID
4050            * @param status the status
4051            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4052            * @return the previous, current, and next journal article
4053            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
4054            * @throws SystemException if a system exception occurred
4055            */
4056            public com.liferay.portlet.journal.model.JournalArticle[] findByC_ST_PrevAndNext(
4057                    long id, long companyId, int status,
4058                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4059                    throws com.liferay.portal.kernel.exception.SystemException,
4060                            com.liferay.portlet.journal.NoSuchArticleException;
4061    
4062            /**
4063            * Removes all the journal articles where companyId = &#63; and status = &#63; from the database.
4064            *
4065            * @param companyId the company ID
4066            * @param status the status
4067            * @throws SystemException if a system exception occurred
4068            */
4069            public void removeByC_ST(long companyId, int status)
4070                    throws com.liferay.portal.kernel.exception.SystemException;
4071    
4072            /**
4073            * Returns the number of journal articles where companyId = &#63; and status = &#63;.
4074            *
4075            * @param companyId the company ID
4076            * @param status the status
4077            * @return the number of matching journal articles
4078            * @throws SystemException if a system exception occurred
4079            */
4080            public int countByC_ST(long companyId, int status)
4081                    throws com.liferay.portal.kernel.exception.SystemException;
4082    
4083            /**
4084            * Returns all the journal articles where companyId = &#63; and status &ne; &#63;.
4085            *
4086            * @param companyId the company ID
4087            * @param status the status
4088            * @return the matching journal articles
4089            * @throws SystemException if a system exception occurred
4090            */
4091            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_NotST(
4092                    long companyId, int status)
4093                    throws com.liferay.portal.kernel.exception.SystemException;
4094    
4095            /**
4096            * Returns a range of all the journal articles where companyId = &#63; and status &ne; &#63;.
4097            *
4098            * <p>
4099            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4100            * </p>
4101            *
4102            * @param companyId the company ID
4103            * @param status the status
4104            * @param start the lower bound of the range of journal articles
4105            * @param end the upper bound of the range of journal articles (not inclusive)
4106            * @return the range of matching journal articles
4107            * @throws SystemException if a system exception occurred
4108            */
4109            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_NotST(
4110                    long companyId, int status, int start, int end)
4111                    throws com.liferay.portal.kernel.exception.SystemException;
4112    
4113            /**
4114            * Returns an ordered range of all the journal articles where companyId = &#63; and status &ne; &#63;.
4115            *
4116            * <p>
4117            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4118            * </p>
4119            *
4120            * @param companyId the company ID
4121            * @param status the status
4122            * @param start the lower bound of the range of journal articles
4123            * @param end the upper bound of the range of journal articles (not inclusive)
4124            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4125            * @return the ordered range of matching journal articles
4126            * @throws SystemException if a system exception occurred
4127            */
4128            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_NotST(
4129                    long companyId, int status, int start, int end,
4130                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4131                    throws com.liferay.portal.kernel.exception.SystemException;
4132    
4133            /**
4134            * Returns the first journal article in the ordered set where companyId = &#63; and status &ne; &#63;.
4135            *
4136            * @param companyId the company ID
4137            * @param status the status
4138            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4139            * @return the first matching journal article
4140            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4141            * @throws SystemException if a system exception occurred
4142            */
4143            public com.liferay.portlet.journal.model.JournalArticle findByC_NotST_First(
4144                    long companyId, int status,
4145                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4146                    throws com.liferay.portal.kernel.exception.SystemException,
4147                            com.liferay.portlet.journal.NoSuchArticleException;
4148    
4149            /**
4150            * Returns the first journal article in the ordered set where companyId = &#63; and status &ne; &#63;.
4151            *
4152            * @param companyId the company ID
4153            * @param status the status
4154            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4155            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
4156            * @throws SystemException if a system exception occurred
4157            */
4158            public com.liferay.portlet.journal.model.JournalArticle fetchByC_NotST_First(
4159                    long companyId, int status,
4160                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4161                    throws com.liferay.portal.kernel.exception.SystemException;
4162    
4163            /**
4164            * Returns the last journal article in the ordered set where companyId = &#63; and status &ne; &#63;.
4165            *
4166            * @param companyId the company ID
4167            * @param status the status
4168            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4169            * @return the last matching journal article
4170            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4171            * @throws SystemException if a system exception occurred
4172            */
4173            public com.liferay.portlet.journal.model.JournalArticle findByC_NotST_Last(
4174                    long companyId, int status,
4175                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4176                    throws com.liferay.portal.kernel.exception.SystemException,
4177                            com.liferay.portlet.journal.NoSuchArticleException;
4178    
4179            /**
4180            * Returns the last journal article in the ordered set where companyId = &#63; and status &ne; &#63;.
4181            *
4182            * @param companyId the company ID
4183            * @param status the status
4184            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4185            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
4186            * @throws SystemException if a system exception occurred
4187            */
4188            public com.liferay.portlet.journal.model.JournalArticle fetchByC_NotST_Last(
4189                    long companyId, int status,
4190                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4191                    throws com.liferay.portal.kernel.exception.SystemException;
4192    
4193            /**
4194            * Returns the journal articles before and after the current journal article in the ordered set where companyId = &#63; and status &ne; &#63;.
4195            *
4196            * @param id the primary key of the current journal article
4197            * @param companyId the company ID
4198            * @param status the status
4199            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4200            * @return the previous, current, and next journal article
4201            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
4202            * @throws SystemException if a system exception occurred
4203            */
4204            public com.liferay.portlet.journal.model.JournalArticle[] findByC_NotST_PrevAndNext(
4205                    long id, long companyId, int status,
4206                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4207                    throws com.liferay.portal.kernel.exception.SystemException,
4208                            com.liferay.portlet.journal.NoSuchArticleException;
4209    
4210            /**
4211            * Removes all the journal articles where companyId = &#63; and status &ne; &#63; from the database.
4212            *
4213            * @param companyId the company ID
4214            * @param status the status
4215            * @throws SystemException if a system exception occurred
4216            */
4217            public void removeByC_NotST(long companyId, int status)
4218                    throws com.liferay.portal.kernel.exception.SystemException;
4219    
4220            /**
4221            * Returns the number of journal articles where companyId = &#63; and status &ne; &#63;.
4222            *
4223            * @param companyId the company ID
4224            * @param status the status
4225            * @return the number of matching journal articles
4226            * @throws SystemException if a system exception occurred
4227            */
4228            public int countByC_NotST(long companyId, int status)
4229                    throws com.liferay.portal.kernel.exception.SystemException;
4230    
4231            /**
4232            * Returns all the journal articles where classNameId = &#63; and templateId = &#63;.
4233            *
4234            * @param classNameId the class name ID
4235            * @param templateId the template ID
4236            * @return the matching journal articles
4237            * @throws SystemException if a system exception occurred
4238            */
4239            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_T(
4240                    long classNameId, java.lang.String templateId)
4241                    throws com.liferay.portal.kernel.exception.SystemException;
4242    
4243            /**
4244            * Returns a range of all the journal articles where classNameId = &#63; and templateId = &#63;.
4245            *
4246            * <p>
4247            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4248            * </p>
4249            *
4250            * @param classNameId the class name ID
4251            * @param templateId the template ID
4252            * @param start the lower bound of the range of journal articles
4253            * @param end the upper bound of the range of journal articles (not inclusive)
4254            * @return the range of matching journal articles
4255            * @throws SystemException if a system exception occurred
4256            */
4257            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_T(
4258                    long classNameId, java.lang.String templateId, int start, int end)
4259                    throws com.liferay.portal.kernel.exception.SystemException;
4260    
4261            /**
4262            * Returns an ordered range of all the journal articles where classNameId = &#63; and templateId = &#63;.
4263            *
4264            * <p>
4265            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4266            * </p>
4267            *
4268            * @param classNameId the class name ID
4269            * @param templateId the template ID
4270            * @param start the lower bound of the range of journal articles
4271            * @param end the upper bound of the range of journal articles (not inclusive)
4272            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4273            * @return the ordered range of matching journal articles
4274            * @throws SystemException if a system exception occurred
4275            */
4276            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_T(
4277                    long classNameId, java.lang.String templateId, int start, int end,
4278                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4279                    throws com.liferay.portal.kernel.exception.SystemException;
4280    
4281            /**
4282            * Returns the first journal article in the ordered set where classNameId = &#63; and templateId = &#63;.
4283            *
4284            * @param classNameId the class name ID
4285            * @param templateId the template ID
4286            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4287            * @return the first matching journal article
4288            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4289            * @throws SystemException if a system exception occurred
4290            */
4291            public com.liferay.portlet.journal.model.JournalArticle findByC_T_First(
4292                    long classNameId, java.lang.String templateId,
4293                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4294                    throws com.liferay.portal.kernel.exception.SystemException,
4295                            com.liferay.portlet.journal.NoSuchArticleException;
4296    
4297            /**
4298            * Returns the first journal article in the ordered set where classNameId = &#63; and templateId = &#63;.
4299            *
4300            * @param classNameId the class name ID
4301            * @param templateId the template ID
4302            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4303            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
4304            * @throws SystemException if a system exception occurred
4305            */
4306            public com.liferay.portlet.journal.model.JournalArticle fetchByC_T_First(
4307                    long classNameId, java.lang.String templateId,
4308                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4309                    throws com.liferay.portal.kernel.exception.SystemException;
4310    
4311            /**
4312            * Returns the last journal article in the ordered set where classNameId = &#63; and templateId = &#63;.
4313            *
4314            * @param classNameId the class name ID
4315            * @param templateId the template ID
4316            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4317            * @return the last matching journal article
4318            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4319            * @throws SystemException if a system exception occurred
4320            */
4321            public com.liferay.portlet.journal.model.JournalArticle findByC_T_Last(
4322                    long classNameId, java.lang.String templateId,
4323                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4324                    throws com.liferay.portal.kernel.exception.SystemException,
4325                            com.liferay.portlet.journal.NoSuchArticleException;
4326    
4327            /**
4328            * Returns the last journal article in the ordered set where classNameId = &#63; and templateId = &#63;.
4329            *
4330            * @param classNameId the class name ID
4331            * @param templateId the template ID
4332            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4333            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
4334            * @throws SystemException if a system exception occurred
4335            */
4336            public com.liferay.portlet.journal.model.JournalArticle fetchByC_T_Last(
4337                    long classNameId, java.lang.String templateId,
4338                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4339                    throws com.liferay.portal.kernel.exception.SystemException;
4340    
4341            /**
4342            * Returns the journal articles before and after the current journal article in the ordered set where classNameId = &#63; and templateId = &#63;.
4343            *
4344            * @param id the primary key of the current journal article
4345            * @param classNameId the class name ID
4346            * @param templateId the template ID
4347            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4348            * @return the previous, current, and next journal article
4349            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
4350            * @throws SystemException if a system exception occurred
4351            */
4352            public com.liferay.portlet.journal.model.JournalArticle[] findByC_T_PrevAndNext(
4353                    long id, long classNameId, java.lang.String templateId,
4354                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4355                    throws com.liferay.portal.kernel.exception.SystemException,
4356                            com.liferay.portlet.journal.NoSuchArticleException;
4357    
4358            /**
4359            * Removes all the journal articles where classNameId = &#63; and templateId = &#63; from the database.
4360            *
4361            * @param classNameId the class name ID
4362            * @param templateId the template ID
4363            * @throws SystemException if a system exception occurred
4364            */
4365            public void removeByC_T(long classNameId, java.lang.String templateId)
4366                    throws com.liferay.portal.kernel.exception.SystemException;
4367    
4368            /**
4369            * Returns the number of journal articles where classNameId = &#63; and templateId = &#63;.
4370            *
4371            * @param classNameId the class name ID
4372            * @param templateId the template ID
4373            * @return the number of matching journal articles
4374            * @throws SystemException if a system exception occurred
4375            */
4376            public int countByC_T(long classNameId, java.lang.String templateId)
4377                    throws com.liferay.portal.kernel.exception.SystemException;
4378    
4379            /**
4380            * Returns all the journal articles where displayDate &lt; &#63; and status = &#63;.
4381            *
4382            * @param displayDate the display date
4383            * @param status the status
4384            * @return the matching journal articles
4385            * @throws SystemException if a system exception occurred
4386            */
4387            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLtD_S(
4388                    java.util.Date displayDate, int status)
4389                    throws com.liferay.portal.kernel.exception.SystemException;
4390    
4391            /**
4392            * Returns a range of all the journal articles where displayDate &lt; &#63; and status = &#63;.
4393            *
4394            * <p>
4395            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4396            * </p>
4397            *
4398            * @param displayDate the display date
4399            * @param status the status
4400            * @param start the lower bound of the range of journal articles
4401            * @param end the upper bound of the range of journal articles (not inclusive)
4402            * @return the range of matching journal articles
4403            * @throws SystemException if a system exception occurred
4404            */
4405            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLtD_S(
4406                    java.util.Date displayDate, int status, int start, int end)
4407                    throws com.liferay.portal.kernel.exception.SystemException;
4408    
4409            /**
4410            * Returns an ordered range of all the journal articles where displayDate &lt; &#63; and status = &#63;.
4411            *
4412            * <p>
4413            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4414            * </p>
4415            *
4416            * @param displayDate the display date
4417            * @param status the status
4418            * @param start the lower bound of the range of journal articles
4419            * @param end the upper bound of the range of journal articles (not inclusive)
4420            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4421            * @return the ordered range of matching journal articles
4422            * @throws SystemException if a system exception occurred
4423            */
4424            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLtD_S(
4425                    java.util.Date displayDate, int status, int start, int end,
4426                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4427                    throws com.liferay.portal.kernel.exception.SystemException;
4428    
4429            /**
4430            * Returns the first journal article in the ordered set where displayDate &lt; &#63; and status = &#63;.
4431            *
4432            * @param displayDate the display date
4433            * @param status the status
4434            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4435            * @return the first matching journal article
4436            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4437            * @throws SystemException if a system exception occurred
4438            */
4439            public com.liferay.portlet.journal.model.JournalArticle findByLtD_S_First(
4440                    java.util.Date displayDate, int status,
4441                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4442                    throws com.liferay.portal.kernel.exception.SystemException,
4443                            com.liferay.portlet.journal.NoSuchArticleException;
4444    
4445            /**
4446            * Returns the first journal article in the ordered set where displayDate &lt; &#63; and status = &#63;.
4447            *
4448            * @param displayDate the display date
4449            * @param status the status
4450            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4451            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
4452            * @throws SystemException if a system exception occurred
4453            */
4454            public com.liferay.portlet.journal.model.JournalArticle fetchByLtD_S_First(
4455                    java.util.Date displayDate, int status,
4456                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4457                    throws com.liferay.portal.kernel.exception.SystemException;
4458    
4459            /**
4460            * Returns the last journal article in the ordered set where displayDate &lt; &#63; and status = &#63;.
4461            *
4462            * @param displayDate the display date
4463            * @param status the status
4464            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4465            * @return the last matching journal article
4466            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4467            * @throws SystemException if a system exception occurred
4468            */
4469            public com.liferay.portlet.journal.model.JournalArticle findByLtD_S_Last(
4470                    java.util.Date displayDate, int status,
4471                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4472                    throws com.liferay.portal.kernel.exception.SystemException,
4473                            com.liferay.portlet.journal.NoSuchArticleException;
4474    
4475            /**
4476            * Returns the last journal article in the ordered set where displayDate &lt; &#63; and status = &#63;.
4477            *
4478            * @param displayDate the display date
4479            * @param status the status
4480            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4481            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
4482            * @throws SystemException if a system exception occurred
4483            */
4484            public com.liferay.portlet.journal.model.JournalArticle fetchByLtD_S_Last(
4485                    java.util.Date displayDate, int status,
4486                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4487                    throws com.liferay.portal.kernel.exception.SystemException;
4488    
4489            /**
4490            * Returns the journal articles before and after the current journal article in the ordered set where displayDate &lt; &#63; and status = &#63;.
4491            *
4492            * @param id the primary key of the current journal article
4493            * @param displayDate the display date
4494            * @param status the status
4495            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4496            * @return the previous, current, and next journal article
4497            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
4498            * @throws SystemException if a system exception occurred
4499            */
4500            public com.liferay.portlet.journal.model.JournalArticle[] findByLtD_S_PrevAndNext(
4501                    long id, java.util.Date displayDate, int status,
4502                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4503                    throws com.liferay.portal.kernel.exception.SystemException,
4504                            com.liferay.portlet.journal.NoSuchArticleException;
4505    
4506            /**
4507            * Removes all the journal articles where displayDate &lt; &#63; and status = &#63; from the database.
4508            *
4509            * @param displayDate the display date
4510            * @param status the status
4511            * @throws SystemException if a system exception occurred
4512            */
4513            public void removeByLtD_S(java.util.Date displayDate, int status)
4514                    throws com.liferay.portal.kernel.exception.SystemException;
4515    
4516            /**
4517            * Returns the number of journal articles where displayDate &lt; &#63; and status = &#63;.
4518            *
4519            * @param displayDate the display date
4520            * @param status the status
4521            * @return the number of matching journal articles
4522            * @throws SystemException if a system exception occurred
4523            */
4524            public int countByLtD_S(java.util.Date displayDate, int status)
4525                    throws com.liferay.portal.kernel.exception.SystemException;
4526    
4527            /**
4528            * Returns all the journal articles where resourcePrimKey = &#63; and indexable = &#63; and status = &#63;.
4529            *
4530            * @param resourcePrimKey the resource prim key
4531            * @param indexable the indexable
4532            * @param status the status
4533            * @return the matching journal articles
4534            * @throws SystemException if a system exception occurred
4535            */
4536            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S(
4537                    long resourcePrimKey, boolean indexable, int status)
4538                    throws com.liferay.portal.kernel.exception.SystemException;
4539    
4540            /**
4541            * Returns a range of all the journal articles where resourcePrimKey = &#63; and indexable = &#63; and status = &#63;.
4542            *
4543            * <p>
4544            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4545            * </p>
4546            *
4547            * @param resourcePrimKey the resource prim key
4548            * @param indexable the indexable
4549            * @param status the status
4550            * @param start the lower bound of the range of journal articles
4551            * @param end the upper bound of the range of journal articles (not inclusive)
4552            * @return the range of matching journal articles
4553            * @throws SystemException if a system exception occurred
4554            */
4555            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S(
4556                    long resourcePrimKey, boolean indexable, int status, int start, int end)
4557                    throws com.liferay.portal.kernel.exception.SystemException;
4558    
4559            /**
4560            * Returns an ordered range of all the journal articles where resourcePrimKey = &#63; and indexable = &#63; and status = &#63;.
4561            *
4562            * <p>
4563            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4564            * </p>
4565            *
4566            * @param resourcePrimKey the resource prim key
4567            * @param indexable the indexable
4568            * @param status the status
4569            * @param start the lower bound of the range of journal articles
4570            * @param end the upper bound of the range of journal articles (not inclusive)
4571            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4572            * @return the ordered range of matching journal articles
4573            * @throws SystemException if a system exception occurred
4574            */
4575            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S(
4576                    long resourcePrimKey, boolean indexable, int status, int start,
4577                    int end,
4578                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4579                    throws com.liferay.portal.kernel.exception.SystemException;
4580    
4581            /**
4582            * Returns the first journal article in the ordered set where resourcePrimKey = &#63; and indexable = &#63; and status = &#63;.
4583            *
4584            * @param resourcePrimKey the resource prim key
4585            * @param indexable the indexable
4586            * @param status the status
4587            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4588            * @return the first matching journal article
4589            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4590            * @throws SystemException if a system exception occurred
4591            */
4592            public com.liferay.portlet.journal.model.JournalArticle findByR_I_S_First(
4593                    long resourcePrimKey, boolean indexable, int status,
4594                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4595                    throws com.liferay.portal.kernel.exception.SystemException,
4596                            com.liferay.portlet.journal.NoSuchArticleException;
4597    
4598            /**
4599            * Returns the first journal article in the ordered set where resourcePrimKey = &#63; and indexable = &#63; and status = &#63;.
4600            *
4601            * @param resourcePrimKey the resource prim key
4602            * @param indexable the indexable
4603            * @param status the status
4604            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4605            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
4606            * @throws SystemException if a system exception occurred
4607            */
4608            public com.liferay.portlet.journal.model.JournalArticle fetchByR_I_S_First(
4609                    long resourcePrimKey, boolean indexable, int status,
4610                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4611                    throws com.liferay.portal.kernel.exception.SystemException;
4612    
4613            /**
4614            * Returns the last journal article in the ordered set where resourcePrimKey = &#63; and indexable = &#63; and status = &#63;.
4615            *
4616            * @param resourcePrimKey the resource prim key
4617            * @param indexable the indexable
4618            * @param status the status
4619            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4620            * @return the last matching journal article
4621            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4622            * @throws SystemException if a system exception occurred
4623            */
4624            public com.liferay.portlet.journal.model.JournalArticle findByR_I_S_Last(
4625                    long resourcePrimKey, boolean indexable, int status,
4626                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4627                    throws com.liferay.portal.kernel.exception.SystemException,
4628                            com.liferay.portlet.journal.NoSuchArticleException;
4629    
4630            /**
4631            * Returns the last journal article in the ordered set where resourcePrimKey = &#63; and indexable = &#63; and status = &#63;.
4632            *
4633            * @param resourcePrimKey the resource prim key
4634            * @param indexable the indexable
4635            * @param status the status
4636            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4637            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
4638            * @throws SystemException if a system exception occurred
4639            */
4640            public com.liferay.portlet.journal.model.JournalArticle fetchByR_I_S_Last(
4641                    long resourcePrimKey, boolean indexable, int status,
4642                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4643                    throws com.liferay.portal.kernel.exception.SystemException;
4644    
4645            /**
4646            * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = &#63; and indexable = &#63; and status = &#63;.
4647            *
4648            * @param id the primary key of the current journal article
4649            * @param resourcePrimKey the resource prim key
4650            * @param indexable the indexable
4651            * @param status the status
4652            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4653            * @return the previous, current, and next journal article
4654            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
4655            * @throws SystemException if a system exception occurred
4656            */
4657            public com.liferay.portlet.journal.model.JournalArticle[] findByR_I_S_PrevAndNext(
4658                    long id, long resourcePrimKey, boolean indexable, int status,
4659                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4660                    throws com.liferay.portal.kernel.exception.SystemException,
4661                            com.liferay.portlet.journal.NoSuchArticleException;
4662    
4663            /**
4664            * Returns all the journal articles where resourcePrimKey = &#63; and indexable = &#63; and status = any &#63;.
4665            *
4666            * <p>
4667            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4668            * </p>
4669            *
4670            * @param resourcePrimKey the resource prim key
4671            * @param indexable the indexable
4672            * @param statuses the statuses
4673            * @return the matching journal articles
4674            * @throws SystemException if a system exception occurred
4675            */
4676            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S(
4677                    long resourcePrimKey, boolean indexable, int[] statuses)
4678                    throws com.liferay.portal.kernel.exception.SystemException;
4679    
4680            /**
4681            * Returns a range of all the journal articles where resourcePrimKey = &#63; and indexable = &#63; and status = any &#63;.
4682            *
4683            * <p>
4684            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4685            * </p>
4686            *
4687            * @param resourcePrimKey the resource prim key
4688            * @param indexable the indexable
4689            * @param statuses the statuses
4690            * @param start the lower bound of the range of journal articles
4691            * @param end the upper bound of the range of journal articles (not inclusive)
4692            * @return the range of matching journal articles
4693            * @throws SystemException if a system exception occurred
4694            */
4695            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S(
4696                    long resourcePrimKey, boolean indexable, int[] statuses, int start,
4697                    int end) throws com.liferay.portal.kernel.exception.SystemException;
4698    
4699            /**
4700            * Returns an ordered range of all the journal articles where resourcePrimKey = &#63; and indexable = &#63; and status = any &#63;.
4701            *
4702            * <p>
4703            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4704            * </p>
4705            *
4706            * @param resourcePrimKey the resource prim key
4707            * @param indexable the indexable
4708            * @param statuses the statuses
4709            * @param start the lower bound of the range of journal articles
4710            * @param end the upper bound of the range of journal articles (not inclusive)
4711            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4712            * @return the ordered range of matching journal articles
4713            * @throws SystemException if a system exception occurred
4714            */
4715            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S(
4716                    long resourcePrimKey, boolean indexable, int[] statuses, int start,
4717                    int end,
4718                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4719                    throws com.liferay.portal.kernel.exception.SystemException;
4720    
4721            /**
4722            * Removes all the journal articles where resourcePrimKey = &#63; and indexable = &#63; and status = &#63; from the database.
4723            *
4724            * @param resourcePrimKey the resource prim key
4725            * @param indexable the indexable
4726            * @param status the status
4727            * @throws SystemException if a system exception occurred
4728            */
4729            public void removeByR_I_S(long resourcePrimKey, boolean indexable,
4730                    int status) throws com.liferay.portal.kernel.exception.SystemException;
4731    
4732            /**
4733            * Returns the number of journal articles where resourcePrimKey = &#63; and indexable = &#63; and status = &#63;.
4734            *
4735            * @param resourcePrimKey the resource prim key
4736            * @param indexable the indexable
4737            * @param status the status
4738            * @return the number of matching journal articles
4739            * @throws SystemException if a system exception occurred
4740            */
4741            public int countByR_I_S(long resourcePrimKey, boolean indexable, int status)
4742                    throws com.liferay.portal.kernel.exception.SystemException;
4743    
4744            /**
4745            * Returns the number of journal articles where resourcePrimKey = &#63; and indexable = &#63; and status = any &#63;.
4746            *
4747            * @param resourcePrimKey the resource prim key
4748            * @param indexable the indexable
4749            * @param statuses the statuses
4750            * @return the number of matching journal articles
4751            * @throws SystemException if a system exception occurred
4752            */
4753            public int countByR_I_S(long resourcePrimKey, boolean indexable,
4754                    int[] statuses)
4755                    throws com.liferay.portal.kernel.exception.SystemException;
4756    
4757            /**
4758            * Returns all the journal articles where groupId = &#63; and userId = &#63; and classNameId = &#63;.
4759            *
4760            * @param groupId the group ID
4761            * @param userId the user ID
4762            * @param classNameId the class name ID
4763            * @return the matching journal articles
4764            * @throws SystemException if a system exception occurred
4765            */
4766            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C(
4767                    long groupId, long userId, long classNameId)
4768                    throws com.liferay.portal.kernel.exception.SystemException;
4769    
4770            /**
4771            * Returns a range of all the journal articles where groupId = &#63; and userId = &#63; and classNameId = &#63;.
4772            *
4773            * <p>
4774            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4775            * </p>
4776            *
4777            * @param groupId the group ID
4778            * @param userId the user ID
4779            * @param classNameId the class name ID
4780            * @param start the lower bound of the range of journal articles
4781            * @param end the upper bound of the range of journal articles (not inclusive)
4782            * @return the range of matching journal articles
4783            * @throws SystemException if a system exception occurred
4784            */
4785            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C(
4786                    long groupId, long userId, long classNameId, int start, int end)
4787                    throws com.liferay.portal.kernel.exception.SystemException;
4788    
4789            /**
4790            * Returns an ordered range of all the journal articles where groupId = &#63; and userId = &#63; and classNameId = &#63;.
4791            *
4792            * <p>
4793            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4794            * </p>
4795            *
4796            * @param groupId the group ID
4797            * @param userId the user ID
4798            * @param classNameId the class name ID
4799            * @param start the lower bound of the range of journal articles
4800            * @param end the upper bound of the range of journal articles (not inclusive)
4801            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4802            * @return the ordered range of matching journal articles
4803            * @throws SystemException if a system exception occurred
4804            */
4805            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C(
4806                    long groupId, long userId, long classNameId, int start, int end,
4807                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4808                    throws com.liferay.portal.kernel.exception.SystemException;
4809    
4810            /**
4811            * Returns the first journal article in the ordered set where groupId = &#63; and userId = &#63; and classNameId = &#63;.
4812            *
4813            * @param groupId the group ID
4814            * @param userId the user ID
4815            * @param classNameId the class name ID
4816            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4817            * @return the first matching journal article
4818            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4819            * @throws SystemException if a system exception occurred
4820            */
4821            public com.liferay.portlet.journal.model.JournalArticle findByG_U_C_First(
4822                    long groupId, long userId, long classNameId,
4823                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4824                    throws com.liferay.portal.kernel.exception.SystemException,
4825                            com.liferay.portlet.journal.NoSuchArticleException;
4826    
4827            /**
4828            * Returns the first journal article in the ordered set where groupId = &#63; and userId = &#63; and classNameId = &#63;.
4829            *
4830            * @param groupId the group ID
4831            * @param userId the user ID
4832            * @param classNameId the class name ID
4833            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4834            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
4835            * @throws SystemException if a system exception occurred
4836            */
4837            public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_C_First(
4838                    long groupId, long userId, long classNameId,
4839                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4840                    throws com.liferay.portal.kernel.exception.SystemException;
4841    
4842            /**
4843            * Returns the last journal article in the ordered set where groupId = &#63; and userId = &#63; and classNameId = &#63;.
4844            *
4845            * @param groupId the group ID
4846            * @param userId the user ID
4847            * @param classNameId the class name ID
4848            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4849            * @return the last matching journal article
4850            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4851            * @throws SystemException if a system exception occurred
4852            */
4853            public com.liferay.portlet.journal.model.JournalArticle findByG_U_C_Last(
4854                    long groupId, long userId, long classNameId,
4855                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4856                    throws com.liferay.portal.kernel.exception.SystemException,
4857                            com.liferay.portlet.journal.NoSuchArticleException;
4858    
4859            /**
4860            * Returns the last journal article in the ordered set where groupId = &#63; and userId = &#63; and classNameId = &#63;.
4861            *
4862            * @param groupId the group ID
4863            * @param userId the user ID
4864            * @param classNameId the class name ID
4865            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4866            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
4867            * @throws SystemException if a system exception occurred
4868            */
4869            public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_C_Last(
4870                    long groupId, long userId, long classNameId,
4871                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4872                    throws com.liferay.portal.kernel.exception.SystemException;
4873    
4874            /**
4875            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and userId = &#63; and classNameId = &#63;.
4876            *
4877            * @param id the primary key of the current journal article
4878            * @param groupId the group ID
4879            * @param userId the user ID
4880            * @param classNameId the class name ID
4881            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4882            * @return the previous, current, and next journal article
4883            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
4884            * @throws SystemException if a system exception occurred
4885            */
4886            public com.liferay.portlet.journal.model.JournalArticle[] findByG_U_C_PrevAndNext(
4887                    long id, long groupId, long userId, long classNameId,
4888                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4889                    throws com.liferay.portal.kernel.exception.SystemException,
4890                            com.liferay.portlet.journal.NoSuchArticleException;
4891    
4892            /**
4893            * Returns all the journal articles that the user has permission to view where groupId = &#63; and userId = &#63; and classNameId = &#63;.
4894            *
4895            * @param groupId the group ID
4896            * @param userId the user ID
4897            * @param classNameId the class name ID
4898            * @return the matching journal articles that the user has permission to view
4899            * @throws SystemException if a system exception occurred
4900            */
4901            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C(
4902                    long groupId, long userId, long classNameId)
4903                    throws com.liferay.portal.kernel.exception.SystemException;
4904    
4905            /**
4906            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and userId = &#63; and classNameId = &#63;.
4907            *
4908            * <p>
4909            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4910            * </p>
4911            *
4912            * @param groupId the group ID
4913            * @param userId the user ID
4914            * @param classNameId the class name ID
4915            * @param start the lower bound of the range of journal articles
4916            * @param end the upper bound of the range of journal articles (not inclusive)
4917            * @return the range of matching journal articles that the user has permission to view
4918            * @throws SystemException if a system exception occurred
4919            */
4920            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C(
4921                    long groupId, long userId, long classNameId, int start, int end)
4922                    throws com.liferay.portal.kernel.exception.SystemException;
4923    
4924            /**
4925            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and userId = &#63; and classNameId = &#63;.
4926            *
4927            * <p>
4928            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4929            * </p>
4930            *
4931            * @param groupId the group ID
4932            * @param userId the user ID
4933            * @param classNameId the class name ID
4934            * @param start the lower bound of the range of journal articles
4935            * @param end the upper bound of the range of journal articles (not inclusive)
4936            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4937            * @return the ordered range of matching journal articles that the user has permission to view
4938            * @throws SystemException if a system exception occurred
4939            */
4940            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C(
4941                    long groupId, long userId, long classNameId, int start, int end,
4942                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4943                    throws com.liferay.portal.kernel.exception.SystemException;
4944    
4945            /**
4946            * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = &#63; and userId = &#63; and classNameId = &#63;.
4947            *
4948            * @param id the primary key of the current journal article
4949            * @param groupId the group ID
4950            * @param userId the user ID
4951            * @param classNameId the class name ID
4952            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4953            * @return the previous, current, and next journal article
4954            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
4955            * @throws SystemException if a system exception occurred
4956            */
4957            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_U_C_PrevAndNext(
4958                    long id, long groupId, long userId, long classNameId,
4959                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4960                    throws com.liferay.portal.kernel.exception.SystemException,
4961                            com.liferay.portlet.journal.NoSuchArticleException;
4962    
4963            /**
4964            * Removes all the journal articles where groupId = &#63; and userId = &#63; and classNameId = &#63; from the database.
4965            *
4966            * @param groupId the group ID
4967            * @param userId the user ID
4968            * @param classNameId the class name ID
4969            * @throws SystemException if a system exception occurred
4970            */
4971            public void removeByG_U_C(long groupId, long userId, long classNameId)
4972                    throws com.liferay.portal.kernel.exception.SystemException;
4973    
4974            /**
4975            * Returns the number of journal articles where groupId = &#63; and userId = &#63; and classNameId = &#63;.
4976            *
4977            * @param groupId the group ID
4978            * @param userId the user ID
4979            * @param classNameId the class name ID
4980            * @return the number of matching journal articles
4981            * @throws SystemException if a system exception occurred
4982            */
4983            public int countByG_U_C(long groupId, long userId, long classNameId)
4984                    throws com.liferay.portal.kernel.exception.SystemException;
4985    
4986            /**
4987            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and userId = &#63; and classNameId = &#63;.
4988            *
4989            * @param groupId the group ID
4990            * @param userId the user ID
4991            * @param classNameId the class name ID
4992            * @return the number of matching journal articles that the user has permission to view
4993            * @throws SystemException if a system exception occurred
4994            */
4995            public int filterCountByG_U_C(long groupId, long userId, long classNameId)
4996                    throws com.liferay.portal.kernel.exception.SystemException;
4997    
4998            /**
4999            * Returns all the journal articles where groupId = &#63; and folderId = &#63; and status = &#63;.
5000            *
5001            * @param groupId the group ID
5002            * @param folderId the folder ID
5003            * @param status the status
5004            * @return the matching journal articles
5005            * @throws SystemException if a system exception occurred
5006            */
5007            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST(
5008                    long groupId, long folderId, int status)
5009                    throws com.liferay.portal.kernel.exception.SystemException;
5010    
5011            /**
5012            * Returns a range of all the journal articles where groupId = &#63; and folderId = &#63; and status = &#63;.
5013            *
5014            * <p>
5015            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5016            * </p>
5017            *
5018            * @param groupId the group ID
5019            * @param folderId the folder ID
5020            * @param status the status
5021            * @param start the lower bound of the range of journal articles
5022            * @param end the upper bound of the range of journal articles (not inclusive)
5023            * @return the range of matching journal articles
5024            * @throws SystemException if a system exception occurred
5025            */
5026            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST(
5027                    long groupId, long folderId, int status, int start, int end)
5028                    throws com.liferay.portal.kernel.exception.SystemException;
5029    
5030            /**
5031            * Returns an ordered range of all the journal articles where groupId = &#63; and folderId = &#63; and status = &#63;.
5032            *
5033            * <p>
5034            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5035            * </p>
5036            *
5037            * @param groupId the group ID
5038            * @param folderId the folder ID
5039            * @param status the status
5040            * @param start the lower bound of the range of journal articles
5041            * @param end the upper bound of the range of journal articles (not inclusive)
5042            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5043            * @return the ordered range of matching journal articles
5044            * @throws SystemException if a system exception occurred
5045            */
5046            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST(
5047                    long groupId, long folderId, int status, int start, int end,
5048                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5049                    throws com.liferay.portal.kernel.exception.SystemException;
5050    
5051            /**
5052            * Returns the first journal article in the ordered set where groupId = &#63; and folderId = &#63; and status = &#63;.
5053            *
5054            * @param groupId the group ID
5055            * @param folderId the folder ID
5056            * @param status the status
5057            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5058            * @return the first matching journal article
5059            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5060            * @throws SystemException if a system exception occurred
5061            */
5062            public com.liferay.portlet.journal.model.JournalArticle findByG_F_ST_First(
5063                    long groupId, long folderId, int status,
5064                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5065                    throws com.liferay.portal.kernel.exception.SystemException,
5066                            com.liferay.portlet.journal.NoSuchArticleException;
5067    
5068            /**
5069            * Returns the first journal article in the ordered set where groupId = &#63; and folderId = &#63; and status = &#63;.
5070            *
5071            * @param groupId the group ID
5072            * @param folderId the folder ID
5073            * @param status the status
5074            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5075            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
5076            * @throws SystemException if a system exception occurred
5077            */
5078            public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_ST_First(
5079                    long groupId, long folderId, int status,
5080                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5081                    throws com.liferay.portal.kernel.exception.SystemException;
5082    
5083            /**
5084            * Returns the last journal article in the ordered set where groupId = &#63; and folderId = &#63; and status = &#63;.
5085            *
5086            * @param groupId the group ID
5087            * @param folderId the folder ID
5088            * @param status the status
5089            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5090            * @return the last matching journal article
5091            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5092            * @throws SystemException if a system exception occurred
5093            */
5094            public com.liferay.portlet.journal.model.JournalArticle findByG_F_ST_Last(
5095                    long groupId, long folderId, int status,
5096                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5097                    throws com.liferay.portal.kernel.exception.SystemException,
5098                            com.liferay.portlet.journal.NoSuchArticleException;
5099    
5100            /**
5101            * Returns the last journal article in the ordered set where groupId = &#63; and folderId = &#63; and status = &#63;.
5102            *
5103            * @param groupId the group ID
5104            * @param folderId the folder ID
5105            * @param status the status
5106            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5107            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
5108            * @throws SystemException if a system exception occurred
5109            */
5110            public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_ST_Last(
5111                    long groupId, long folderId, int status,
5112                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5113                    throws com.liferay.portal.kernel.exception.SystemException;
5114    
5115            /**
5116            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and folderId = &#63; and status = &#63;.
5117            *
5118            * @param id the primary key of the current journal article
5119            * @param groupId the group ID
5120            * @param folderId the folder ID
5121            * @param status the status
5122            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5123            * @return the previous, current, and next journal article
5124            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
5125            * @throws SystemException if a system exception occurred
5126            */
5127            public com.liferay.portlet.journal.model.JournalArticle[] findByG_F_ST_PrevAndNext(
5128                    long id, long groupId, long folderId, int status,
5129                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5130                    throws com.liferay.portal.kernel.exception.SystemException,
5131                            com.liferay.portlet.journal.NoSuchArticleException;
5132    
5133            /**
5134            * Returns all the journal articles that the user has permission to view where groupId = &#63; and folderId = &#63; and status = &#63;.
5135            *
5136            * @param groupId the group ID
5137            * @param folderId the folder ID
5138            * @param status the status
5139            * @return the matching journal articles that the user has permission to view
5140            * @throws SystemException if a system exception occurred
5141            */
5142            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST(
5143                    long groupId, long folderId, int status)
5144                    throws com.liferay.portal.kernel.exception.SystemException;
5145    
5146            /**
5147            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and folderId = &#63; and status = &#63;.
5148            *
5149            * <p>
5150            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5151            * </p>
5152            *
5153            * @param groupId the group ID
5154            * @param folderId the folder ID
5155            * @param status the status
5156            * @param start the lower bound of the range of journal articles
5157            * @param end the upper bound of the range of journal articles (not inclusive)
5158            * @return the range of matching journal articles that the user has permission to view
5159            * @throws SystemException if a system exception occurred
5160            */
5161            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST(
5162                    long groupId, long folderId, int status, int start, int end)
5163                    throws com.liferay.portal.kernel.exception.SystemException;
5164    
5165            /**
5166            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and folderId = &#63; and status = &#63;.
5167            *
5168            * <p>
5169            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5170            * </p>
5171            *
5172            * @param groupId the group ID
5173            * @param folderId the folder ID
5174            * @param status the status
5175            * @param start the lower bound of the range of journal articles
5176            * @param end the upper bound of the range of journal articles (not inclusive)
5177            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5178            * @return the ordered range of matching journal articles that the user has permission to view
5179            * @throws SystemException if a system exception occurred
5180            */
5181            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST(
5182                    long groupId, long folderId, int status, int start, int end,
5183                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5184                    throws com.liferay.portal.kernel.exception.SystemException;
5185    
5186            /**
5187            * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = &#63; and folderId = &#63; and status = &#63;.
5188            *
5189            * @param id the primary key of the current journal article
5190            * @param groupId the group ID
5191            * @param folderId the folder ID
5192            * @param status the status
5193            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5194            * @return the previous, current, and next journal article
5195            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
5196            * @throws SystemException if a system exception occurred
5197            */
5198            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_F_ST_PrevAndNext(
5199                    long id, long groupId, long folderId, int status,
5200                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5201                    throws com.liferay.portal.kernel.exception.SystemException,
5202                            com.liferay.portlet.journal.NoSuchArticleException;
5203    
5204            /**
5205            * Returns all the journal articles that the user has permission to view where groupId = &#63; and folderId = &#63; and status = any &#63;.
5206            *
5207            * @param groupId the group ID
5208            * @param folderId the folder ID
5209            * @param statuses the statuses
5210            * @return the matching journal articles that the user has permission to view
5211            * @throws SystemException if a system exception occurred
5212            */
5213            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST(
5214                    long groupId, long folderId, int[] statuses)
5215                    throws com.liferay.portal.kernel.exception.SystemException;
5216    
5217            /**
5218            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and folderId = &#63; and status = any &#63;.
5219            *
5220            * <p>
5221            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5222            * </p>
5223            *
5224            * @param groupId the group ID
5225            * @param folderId the folder ID
5226            * @param statuses the statuses
5227            * @param start the lower bound of the range of journal articles
5228            * @param end the upper bound of the range of journal articles (not inclusive)
5229            * @return the range of matching journal articles that the user has permission to view
5230            * @throws SystemException if a system exception occurred
5231            */
5232            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST(
5233                    long groupId, long folderId, int[] statuses, int start, int end)
5234                    throws com.liferay.portal.kernel.exception.SystemException;
5235    
5236            /**
5237            * Returns an ordered range of all the journal articles that the user has permission to view where groupId = &#63; and folderId = &#63; and status = any &#63;.
5238            *
5239            * <p>
5240            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5241            * </p>
5242            *
5243            * @param groupId the group ID
5244            * @param folderId the folder ID
5245            * @param statuses the statuses
5246            * @param start the lower bound of the range of journal articles
5247            * @param end the upper bound of the range of journal articles (not inclusive)
5248            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5249            * @return the ordered range of matching journal articles that the user has permission to view
5250            * @throws SystemException if a system exception occurred
5251            */
5252            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST(
5253                    long groupId, long folderId, int[] statuses, int start, int end,
5254                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5255                    throws com.liferay.portal.kernel.exception.SystemException;
5256    
5257            /**
5258            * Returns all the journal articles where groupId = &#63; and folderId = &#63; and status = any &#63;.
5259            *
5260            * <p>
5261            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5262            * </p>
5263            *
5264            * @param groupId the group ID
5265            * @param folderId the folder ID
5266            * @param statuses the statuses
5267            * @return the matching journal articles
5268            * @throws SystemException if a system exception occurred
5269            */
5270            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST(
5271                    long groupId, long folderId, int[] statuses)
5272                    throws com.liferay.portal.kernel.exception.SystemException;
5273    
5274            /**
5275            * Returns a range of all the journal articles where groupId = &#63; and folderId = &#63; and status = any &#63;.
5276            *
5277            * <p>
5278            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5279            * </p>
5280            *
5281            * @param groupId the group ID
5282            * @param folderId the folder ID
5283            * @param statuses the statuses
5284            * @param start the lower bound of the range of journal articles
5285            * @param end the upper bound of the range of journal articles (not inclusive)
5286            * @return the range of matching journal articles
5287            * @throws SystemException if a system exception occurred
5288            */
5289            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST(
5290                    long groupId, long folderId, int[] statuses, int start, int end)
5291                    throws com.liferay.portal.kernel.exception.SystemException;
5292    
5293            /**
5294            * Returns an ordered range of all the journal articles where groupId = &#63; and folderId = &#63; and status = any &#63;.
5295            *
5296            * <p>
5297            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5298            * </p>
5299            *
5300            * @param groupId the group ID
5301            * @param folderId the folder ID
5302            * @param statuses the statuses
5303            * @param start the lower bound of the range of journal articles
5304            * @param end the upper bound of the range of journal articles (not inclusive)
5305            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5306            * @return the ordered range of matching journal articles
5307            * @throws SystemException if a system exception occurred
5308            */
5309            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST(
5310                    long groupId, long folderId, int[] statuses, int start, int end,
5311                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5312                    throws com.liferay.portal.kernel.exception.SystemException;
5313    
5314            /**
5315            * Removes all the journal articles where groupId = &#63; and folderId = &#63; and status = &#63; from the database.
5316            *
5317            * @param groupId the group ID
5318            * @param folderId the folder ID
5319            * @param status the status
5320            * @throws SystemException if a system exception occurred
5321            */
5322            public void removeByG_F_ST(long groupId, long folderId, int status)
5323                    throws com.liferay.portal.kernel.exception.SystemException;
5324    
5325            /**
5326            * Returns the number of journal articles where groupId = &#63; and folderId = &#63; and status = &#63;.
5327            *
5328            * @param groupId the group ID
5329            * @param folderId the folder ID
5330            * @param status the status
5331            * @return the number of matching journal articles
5332            * @throws SystemException if a system exception occurred
5333            */
5334            public int countByG_F_ST(long groupId, long folderId, int status)
5335                    throws com.liferay.portal.kernel.exception.SystemException;
5336    
5337            /**
5338            * Returns the number of journal articles where groupId = &#63; and folderId = &#63; and status = any &#63;.
5339            *
5340            * @param groupId the group ID
5341            * @param folderId the folder ID
5342            * @param statuses the statuses
5343            * @return the number of matching journal articles
5344            * @throws SystemException if a system exception occurred
5345            */
5346            public int countByG_F_ST(long groupId, long folderId, int[] statuses)
5347                    throws com.liferay.portal.kernel.exception.SystemException;
5348    
5349            /**
5350            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and folderId = &#63; and status = &#63;.
5351            *
5352            * @param groupId the group ID
5353            * @param folderId the folder ID
5354            * @param status the status
5355            * @return the number of matching journal articles that the user has permission to view
5356            * @throws SystemException if a system exception occurred
5357            */
5358            public int filterCountByG_F_ST(long groupId, long folderId, int status)
5359                    throws com.liferay.portal.kernel.exception.SystemException;
5360    
5361            /**
5362            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and folderId = &#63; and status = any &#63;.
5363            *
5364            * @param groupId the group ID
5365            * @param folderId the folder ID
5366            * @param statuses the statuses
5367            * @return the number of matching journal articles that the user has permission to view
5368            * @throws SystemException if a system exception occurred
5369            */
5370            public int filterCountByG_F_ST(long groupId, long folderId, int[] statuses)
5371                    throws com.liferay.portal.kernel.exception.SystemException;
5372    
5373            /**
5374            * Returns all the journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5375            *
5376            * @param groupId the group ID
5377            * @param classNameId the class name ID
5378            * @param classPK the class p k
5379            * @return the matching journal articles
5380            * @throws SystemException if a system exception occurred
5381            */
5382            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C(
5383                    long groupId, long classNameId, long classPK)
5384                    throws com.liferay.portal.kernel.exception.SystemException;
5385    
5386            /**
5387            * Returns a range of all the journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5388            *
5389            * <p>
5390            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5391            * </p>
5392            *
5393            * @param groupId the group ID
5394            * @param classNameId the class name ID
5395            * @param classPK the class p k
5396            * @param start the lower bound of the range of journal articles
5397            * @param end the upper bound of the range of journal articles (not inclusive)
5398            * @return the range of matching journal articles
5399            * @throws SystemException if a system exception occurred
5400            */
5401            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C(
5402                    long groupId, long classNameId, long classPK, int start, int end)
5403                    throws com.liferay.portal.kernel.exception.SystemException;
5404    
5405            /**
5406            * Returns an ordered range of all the journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5407            *
5408            * <p>
5409            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5410            * </p>
5411            *
5412            * @param groupId the group ID
5413            * @param classNameId the class name ID
5414            * @param classPK the class p k
5415            * @param start the lower bound of the range of journal articles
5416            * @param end the upper bound of the range of journal articles (not inclusive)
5417            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5418            * @return the ordered range of matching journal articles
5419            * @throws SystemException if a system exception occurred
5420            */
5421            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C(
5422                    long groupId, long classNameId, long classPK, int start, int end,
5423                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5424                    throws com.liferay.portal.kernel.exception.SystemException;
5425    
5426            /**
5427            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5428            *
5429            * @param groupId the group ID
5430            * @param classNameId the class name ID
5431            * @param classPK the class p k
5432            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5433            * @return the first matching journal article
5434            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5435            * @throws SystemException if a system exception occurred
5436            */
5437            public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_First(
5438                    long groupId, long classNameId, long classPK,
5439                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5440                    throws com.liferay.portal.kernel.exception.SystemException,
5441                            com.liferay.portlet.journal.NoSuchArticleException;
5442    
5443            /**
5444            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5445            *
5446            * @param groupId the group ID
5447            * @param classNameId the class name ID
5448            * @param classPK the class p k
5449            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5450            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
5451            * @throws SystemException if a system exception occurred
5452            */
5453            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_C_First(
5454                    long groupId, long classNameId, long classPK,
5455                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5456                    throws com.liferay.portal.kernel.exception.SystemException;
5457    
5458            /**
5459            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5460            *
5461            * @param groupId the group ID
5462            * @param classNameId the class name ID
5463            * @param classPK the class p k
5464            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5465            * @return the last matching journal article
5466            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5467            * @throws SystemException if a system exception occurred
5468            */
5469            public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_Last(
5470                    long groupId, long classNameId, long classPK,
5471                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5472                    throws com.liferay.portal.kernel.exception.SystemException,
5473                            com.liferay.portlet.journal.NoSuchArticleException;
5474    
5475            /**
5476            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5477            *
5478            * @param groupId the group ID
5479            * @param classNameId the class name ID
5480            * @param classPK the class p k
5481            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5482            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
5483            * @throws SystemException if a system exception occurred
5484            */
5485            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_C_Last(
5486                    long groupId, long classNameId, long classPK,
5487                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5488                    throws com.liferay.portal.kernel.exception.SystemException;
5489    
5490            /**
5491            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5492            *
5493            * @param id the primary key of the current journal article
5494            * @param groupId the group ID
5495            * @param classNameId the class name ID
5496            * @param classPK the class p k
5497            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5498            * @return the previous, current, and next journal article
5499            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
5500            * @throws SystemException if a system exception occurred
5501            */
5502            public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_C_PrevAndNext(
5503                    long id, long groupId, long classNameId, long classPK,
5504                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5505                    throws com.liferay.portal.kernel.exception.SystemException,
5506                            com.liferay.portlet.journal.NoSuchArticleException;
5507    
5508            /**
5509            * Returns all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5510            *
5511            * @param groupId the group ID
5512            * @param classNameId the class name ID
5513            * @param classPK the class p k
5514            * @return the matching journal articles that the user has permission to view
5515            * @throws SystemException if a system exception occurred
5516            */
5517            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C(
5518                    long groupId, long classNameId, long classPK)
5519                    throws com.liferay.portal.kernel.exception.SystemException;
5520    
5521            /**
5522            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5523            *
5524            * <p>
5525            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5526            * </p>
5527            *
5528            * @param groupId the group ID
5529            * @param classNameId the class name ID
5530            * @param classPK the class p k
5531            * @param start the lower bound of the range of journal articles
5532            * @param end the upper bound of the range of journal articles (not inclusive)
5533            * @return the range of matching journal articles that the user has permission to view
5534            * @throws SystemException if a system exception occurred
5535            */
5536            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C(
5537                    long groupId, long classNameId, long classPK, int start, int end)
5538                    throws com.liferay.portal.kernel.exception.SystemException;
5539    
5540            /**
5541            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5542            *
5543            * <p>
5544            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5545            * </p>
5546            *
5547            * @param groupId the group ID
5548            * @param classNameId the class name ID
5549            * @param classPK the class p k
5550            * @param start the lower bound of the range of journal articles
5551            * @param end the upper bound of the range of journal articles (not inclusive)
5552            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5553            * @return the ordered range of matching journal articles that the user has permission to view
5554            * @throws SystemException if a system exception occurred
5555            */
5556            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C(
5557                    long groupId, long classNameId, long classPK, int start, int end,
5558                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5559                    throws com.liferay.portal.kernel.exception.SystemException;
5560    
5561            /**
5562            * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5563            *
5564            * @param id the primary key of the current journal article
5565            * @param groupId the group ID
5566            * @param classNameId the class name ID
5567            * @param classPK the class p k
5568            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5569            * @return the previous, current, and next journal article
5570            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
5571            * @throws SystemException if a system exception occurred
5572            */
5573            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_C_PrevAndNext(
5574                    long id, long groupId, long classNameId, long classPK,
5575                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5576                    throws com.liferay.portal.kernel.exception.SystemException,
5577                            com.liferay.portlet.journal.NoSuchArticleException;
5578    
5579            /**
5580            * Removes all the journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63; from the database.
5581            *
5582            * @param groupId the group ID
5583            * @param classNameId the class name ID
5584            * @param classPK the class p k
5585            * @throws SystemException if a system exception occurred
5586            */
5587            public void removeByG_C_C(long groupId, long classNameId, long classPK)
5588                    throws com.liferay.portal.kernel.exception.SystemException;
5589    
5590            /**
5591            * Returns the number of journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5592            *
5593            * @param groupId the group ID
5594            * @param classNameId the class name ID
5595            * @param classPK the class p k
5596            * @return the number of matching journal articles
5597            * @throws SystemException if a system exception occurred
5598            */
5599            public int countByG_C_C(long groupId, long classNameId, long classPK)
5600                    throws com.liferay.portal.kernel.exception.SystemException;
5601    
5602            /**
5603            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5604            *
5605            * @param groupId the group ID
5606            * @param classNameId the class name ID
5607            * @param classPK the class p k
5608            * @return the number of matching journal articles that the user has permission to view
5609            * @throws SystemException if a system exception occurred
5610            */
5611            public int filterCountByG_C_C(long groupId, long classNameId, long classPK)
5612                    throws com.liferay.portal.kernel.exception.SystemException;
5613    
5614            /**
5615            * Returns the journal article where groupId = &#63; and classNameId = &#63; and structureId = &#63; or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found.
5616            *
5617            * @param groupId the group ID
5618            * @param classNameId the class name ID
5619            * @param structureId the structure ID
5620            * @return the matching journal article
5621            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5622            * @throws SystemException if a system exception occurred
5623            */
5624            public com.liferay.portlet.journal.model.JournalArticle findByG_C_S(
5625                    long groupId, long classNameId, java.lang.String structureId)
5626                    throws com.liferay.portal.kernel.exception.SystemException,
5627                            com.liferay.portlet.journal.NoSuchArticleException;
5628    
5629            /**
5630            * Returns the journal article where groupId = &#63; and classNameId = &#63; and structureId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
5631            *
5632            * @param groupId the group ID
5633            * @param classNameId the class name ID
5634            * @param structureId the structure ID
5635            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
5636            * @throws SystemException if a system exception occurred
5637            */
5638            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_S(
5639                    long groupId, long classNameId, java.lang.String structureId)
5640                    throws com.liferay.portal.kernel.exception.SystemException;
5641    
5642            /**
5643            * Returns the journal article where groupId = &#63; and classNameId = &#63; and structureId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
5644            *
5645            * @param groupId the group ID
5646            * @param classNameId the class name ID
5647            * @param structureId the structure ID
5648            * @param retrieveFromCache whether to use the finder cache
5649            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
5650            * @throws SystemException if a system exception occurred
5651            */
5652            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_S(
5653                    long groupId, long classNameId, java.lang.String structureId,
5654                    boolean retrieveFromCache)
5655                    throws com.liferay.portal.kernel.exception.SystemException;
5656    
5657            /**
5658            * Removes the journal article where groupId = &#63; and classNameId = &#63; and structureId = &#63; from the database.
5659            *
5660            * @param groupId the group ID
5661            * @param classNameId the class name ID
5662            * @param structureId the structure ID
5663            * @return the journal article that was removed
5664            * @throws SystemException if a system exception occurred
5665            */
5666            public com.liferay.portlet.journal.model.JournalArticle removeByG_C_S(
5667                    long groupId, long classNameId, java.lang.String structureId)
5668                    throws com.liferay.portal.kernel.exception.SystemException,
5669                            com.liferay.portlet.journal.NoSuchArticleException;
5670    
5671            /**
5672            * Returns the number of journal articles where groupId = &#63; and classNameId = &#63; and structureId = &#63;.
5673            *
5674            * @param groupId the group ID
5675            * @param classNameId the class name ID
5676            * @param structureId the structure ID
5677            * @return the number of matching journal articles
5678            * @throws SystemException if a system exception occurred
5679            */
5680            public int countByG_C_S(long groupId, long classNameId,
5681                    java.lang.String structureId)
5682                    throws com.liferay.portal.kernel.exception.SystemException;
5683    
5684            /**
5685            * Returns all the journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
5686            *
5687            * @param groupId the group ID
5688            * @param classNameId the class name ID
5689            * @param templateId the template ID
5690            * @return the matching journal articles
5691            * @throws SystemException if a system exception occurred
5692            */
5693            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T(
5694                    long groupId, long classNameId, java.lang.String templateId)
5695                    throws com.liferay.portal.kernel.exception.SystemException;
5696    
5697            /**
5698            * Returns a range of all the journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
5699            *
5700            * <p>
5701            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5702            * </p>
5703            *
5704            * @param groupId the group ID
5705            * @param classNameId the class name ID
5706            * @param templateId the template ID
5707            * @param start the lower bound of the range of journal articles
5708            * @param end the upper bound of the range of journal articles (not inclusive)
5709            * @return the range of matching journal articles
5710            * @throws SystemException if a system exception occurred
5711            */
5712            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T(
5713                    long groupId, long classNameId, java.lang.String templateId, int start,
5714                    int end) throws com.liferay.portal.kernel.exception.SystemException;
5715    
5716            /**
5717            * Returns an ordered range of all the journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
5718            *
5719            * <p>
5720            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5721            * </p>
5722            *
5723            * @param groupId the group ID
5724            * @param classNameId the class name ID
5725            * @param templateId the template ID
5726            * @param start the lower bound of the range of journal articles
5727            * @param end the upper bound of the range of journal articles (not inclusive)
5728            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5729            * @return the ordered range of matching journal articles
5730            * @throws SystemException if a system exception occurred
5731            */
5732            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T(
5733                    long groupId, long classNameId, java.lang.String templateId, int start,
5734                    int end,
5735                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5736                    throws com.liferay.portal.kernel.exception.SystemException;
5737    
5738            /**
5739            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
5740            *
5741            * @param groupId the group ID
5742            * @param classNameId the class name ID
5743            * @param templateId the template ID
5744            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5745            * @return the first matching journal article
5746            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5747            * @throws SystemException if a system exception occurred
5748            */
5749            public com.liferay.portlet.journal.model.JournalArticle findByG_C_T_First(
5750                    long groupId, long classNameId, java.lang.String templateId,
5751                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5752                    throws com.liferay.portal.kernel.exception.SystemException,
5753                            com.liferay.portlet.journal.NoSuchArticleException;
5754    
5755            /**
5756            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
5757            *
5758            * @param groupId the group ID
5759            * @param classNameId the class name ID
5760            * @param templateId the template ID
5761            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5762            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
5763            * @throws SystemException if a system exception occurred
5764            */
5765            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_T_First(
5766                    long groupId, long classNameId, java.lang.String templateId,
5767                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5768                    throws com.liferay.portal.kernel.exception.SystemException;
5769    
5770            /**
5771            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
5772            *
5773            * @param groupId the group ID
5774            * @param classNameId the class name ID
5775            * @param templateId the template ID
5776            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5777            * @return the last matching journal article
5778            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5779            * @throws SystemException if a system exception occurred
5780            */
5781            public com.liferay.portlet.journal.model.JournalArticle findByG_C_T_Last(
5782                    long groupId, long classNameId, java.lang.String templateId,
5783                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5784                    throws com.liferay.portal.kernel.exception.SystemException,
5785                            com.liferay.portlet.journal.NoSuchArticleException;
5786    
5787            /**
5788            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
5789            *
5790            * @param groupId the group ID
5791            * @param classNameId the class name ID
5792            * @param templateId the template ID
5793            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5794            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
5795            * @throws SystemException if a system exception occurred
5796            */
5797            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_T_Last(
5798                    long groupId, long classNameId, java.lang.String templateId,
5799                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5800                    throws com.liferay.portal.kernel.exception.SystemException;
5801    
5802            /**
5803            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
5804            *
5805            * @param id the primary key of the current journal article
5806            * @param groupId the group ID
5807            * @param classNameId the class name ID
5808            * @param templateId the template ID
5809            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5810            * @return the previous, current, and next journal article
5811            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
5812            * @throws SystemException if a system exception occurred
5813            */
5814            public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_T_PrevAndNext(
5815                    long id, long groupId, long classNameId, java.lang.String templateId,
5816                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5817                    throws com.liferay.portal.kernel.exception.SystemException,
5818                            com.liferay.portlet.journal.NoSuchArticleException;
5819    
5820            /**
5821            * Returns all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
5822            *
5823            * @param groupId the group ID
5824            * @param classNameId the class name ID
5825            * @param templateId the template ID
5826            * @return the matching journal articles that the user has permission to view
5827            * @throws SystemException if a system exception occurred
5828            */
5829            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T(
5830                    long groupId, long classNameId, java.lang.String templateId)
5831                    throws com.liferay.portal.kernel.exception.SystemException;
5832    
5833            /**
5834            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
5835            *
5836            * <p>
5837            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5838            * </p>
5839            *
5840            * @param groupId the group ID
5841            * @param classNameId the class name ID
5842            * @param templateId the template ID
5843            * @param start the lower bound of the range of journal articles
5844            * @param end the upper bound of the range of journal articles (not inclusive)
5845            * @return the range of matching journal articles that the user has permission to view
5846            * @throws SystemException if a system exception occurred
5847            */
5848            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T(
5849                    long groupId, long classNameId, java.lang.String templateId, int start,
5850                    int end) throws com.liferay.portal.kernel.exception.SystemException;
5851    
5852            /**
5853            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
5854            *
5855            * <p>
5856            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5857            * </p>
5858            *
5859            * @param groupId the group ID
5860            * @param classNameId the class name ID
5861            * @param templateId the template ID
5862            * @param start the lower bound of the range of journal articles
5863            * @param end the upper bound of the range of journal articles (not inclusive)
5864            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5865            * @return the ordered range of matching journal articles that the user has permission to view
5866            * @throws SystemException if a system exception occurred
5867            */
5868            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T(
5869                    long groupId, long classNameId, java.lang.String templateId, int start,
5870                    int end,
5871                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5872                    throws com.liferay.portal.kernel.exception.SystemException;
5873    
5874            /**
5875            * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
5876            *
5877            * @param id the primary key of the current journal article
5878            * @param groupId the group ID
5879            * @param classNameId the class name ID
5880            * @param templateId the template ID
5881            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5882            * @return the previous, current, and next journal article
5883            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
5884            * @throws SystemException if a system exception occurred
5885            */
5886            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_T_PrevAndNext(
5887                    long id, long groupId, long classNameId, java.lang.String templateId,
5888                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5889                    throws com.liferay.portal.kernel.exception.SystemException,
5890                            com.liferay.portlet.journal.NoSuchArticleException;
5891    
5892            /**
5893            * Removes all the journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63; from the database.
5894            *
5895            * @param groupId the group ID
5896            * @param classNameId the class name ID
5897            * @param templateId the template ID
5898            * @throws SystemException if a system exception occurred
5899            */
5900            public void removeByG_C_T(long groupId, long classNameId,
5901                    java.lang.String templateId)
5902                    throws com.liferay.portal.kernel.exception.SystemException;
5903    
5904            /**
5905            * Returns the number of journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
5906            *
5907            * @param groupId the group ID
5908            * @param classNameId the class name ID
5909            * @param templateId the template ID
5910            * @return the number of matching journal articles
5911            * @throws SystemException if a system exception occurred
5912            */
5913            public int countByG_C_T(long groupId, long classNameId,
5914                    java.lang.String templateId)
5915                    throws com.liferay.portal.kernel.exception.SystemException;
5916    
5917            /**
5918            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
5919            *
5920            * @param groupId the group ID
5921            * @param classNameId the class name ID
5922            * @param templateId the template ID
5923            * @return the number of matching journal articles that the user has permission to view
5924            * @throws SystemException if a system exception occurred
5925            */
5926            public int filterCountByG_C_T(long groupId, long classNameId,
5927                    java.lang.String templateId)
5928                    throws com.liferay.portal.kernel.exception.SystemException;
5929    
5930            /**
5931            * Returns all the journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
5932            *
5933            * @param groupId the group ID
5934            * @param classNameId the class name ID
5935            * @param layoutUuid the layout uuid
5936            * @return the matching journal articles
5937            * @throws SystemException if a system exception occurred
5938            */
5939            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L(
5940                    long groupId, long classNameId, java.lang.String layoutUuid)
5941                    throws com.liferay.portal.kernel.exception.SystemException;
5942    
5943            /**
5944            * Returns a range of all the journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
5945            *
5946            * <p>
5947            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5948            * </p>
5949            *
5950            * @param groupId the group ID
5951            * @param classNameId the class name ID
5952            * @param layoutUuid the layout uuid
5953            * @param start the lower bound of the range of journal articles
5954            * @param end the upper bound of the range of journal articles (not inclusive)
5955            * @return the range of matching journal articles
5956            * @throws SystemException if a system exception occurred
5957            */
5958            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L(
5959                    long groupId, long classNameId, java.lang.String layoutUuid, int start,
5960                    int end) throws com.liferay.portal.kernel.exception.SystemException;
5961    
5962            /**
5963            * Returns an ordered range of all the journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
5964            *
5965            * <p>
5966            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5967            * </p>
5968            *
5969            * @param groupId the group ID
5970            * @param classNameId the class name ID
5971            * @param layoutUuid the layout uuid
5972            * @param start the lower bound of the range of journal articles
5973            * @param end the upper bound of the range of journal articles (not inclusive)
5974            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5975            * @return the ordered range of matching journal articles
5976            * @throws SystemException if a system exception occurred
5977            */
5978            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L(
5979                    long groupId, long classNameId, java.lang.String layoutUuid, int start,
5980                    int end,
5981                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5982                    throws com.liferay.portal.kernel.exception.SystemException;
5983    
5984            /**
5985            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
5986            *
5987            * @param groupId the group ID
5988            * @param classNameId the class name ID
5989            * @param layoutUuid the layout uuid
5990            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5991            * @return the first matching journal article
5992            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5993            * @throws SystemException if a system exception occurred
5994            */
5995            public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_First(
5996                    long groupId, long classNameId, java.lang.String layoutUuid,
5997                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5998                    throws com.liferay.portal.kernel.exception.SystemException,
5999                            com.liferay.portlet.journal.NoSuchArticleException;
6000    
6001            /**
6002            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
6003            *
6004            * @param groupId the group ID
6005            * @param classNameId the class name ID
6006            * @param layoutUuid the layout uuid
6007            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6008            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
6009            * @throws SystemException if a system exception occurred
6010            */
6011            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_L_First(
6012                    long groupId, long classNameId, java.lang.String layoutUuid,
6013                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6014                    throws com.liferay.portal.kernel.exception.SystemException;
6015    
6016            /**
6017            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
6018            *
6019            * @param groupId the group ID
6020            * @param classNameId the class name ID
6021            * @param layoutUuid the layout uuid
6022            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6023            * @return the last matching journal article
6024            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
6025            * @throws SystemException if a system exception occurred
6026            */
6027            public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_Last(
6028                    long groupId, long classNameId, java.lang.String layoutUuid,
6029                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6030                    throws com.liferay.portal.kernel.exception.SystemException,
6031                            com.liferay.portlet.journal.NoSuchArticleException;
6032    
6033            /**
6034            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
6035            *
6036            * @param groupId the group ID
6037            * @param classNameId the class name ID
6038            * @param layoutUuid the layout uuid
6039            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6040            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
6041            * @throws SystemException if a system exception occurred
6042            */
6043            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_L_Last(
6044                    long groupId, long classNameId, java.lang.String layoutUuid,
6045                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6046                    throws com.liferay.portal.kernel.exception.SystemException;
6047    
6048            /**
6049            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
6050            *
6051            * @param id the primary key of the current journal article
6052            * @param groupId the group ID
6053            * @param classNameId the class name ID
6054            * @param layoutUuid the layout uuid
6055            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6056            * @return the previous, current, and next journal article
6057            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
6058            * @throws SystemException if a system exception occurred
6059            */
6060            public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_L_PrevAndNext(
6061                    long id, long groupId, long classNameId, java.lang.String layoutUuid,
6062                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6063                    throws com.liferay.portal.kernel.exception.SystemException,
6064                            com.liferay.portlet.journal.NoSuchArticleException;
6065    
6066            /**
6067            * Returns all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
6068            *
6069            * @param groupId the group ID
6070            * @param classNameId the class name ID
6071            * @param layoutUuid the layout uuid
6072            * @return the matching journal articles that the user has permission to view
6073            * @throws SystemException if a system exception occurred
6074            */
6075            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L(
6076                    long groupId, long classNameId, java.lang.String layoutUuid)
6077                    throws com.liferay.portal.kernel.exception.SystemException;
6078    
6079            /**
6080            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
6081            *
6082            * <p>
6083            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6084            * </p>
6085            *
6086            * @param groupId the group ID
6087            * @param classNameId the class name ID
6088            * @param layoutUuid the layout uuid
6089            * @param start the lower bound of the range of journal articles
6090            * @param end the upper bound of the range of journal articles (not inclusive)
6091            * @return the range of matching journal articles that the user has permission to view
6092            * @throws SystemException if a system exception occurred
6093            */
6094            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L(
6095                    long groupId, long classNameId, java.lang.String layoutUuid, int start,
6096                    int end) throws com.liferay.portal.kernel.exception.SystemException;
6097    
6098            /**
6099            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
6100            *
6101            * <p>
6102            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6103            * </p>
6104            *
6105            * @param groupId the group ID
6106            * @param classNameId the class name ID
6107            * @param layoutUuid the layout uuid
6108            * @param start the lower bound of the range of journal articles
6109            * @param end the upper bound of the range of journal articles (not inclusive)
6110            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
6111            * @return the ordered range of matching journal articles that the user has permission to view
6112            * @throws SystemException if a system exception occurred
6113            */
6114            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L(
6115                    long groupId, long classNameId, java.lang.String layoutUuid, int start,
6116                    int end,
6117                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6118                    throws com.liferay.portal.kernel.exception.SystemException;
6119    
6120            /**
6121            * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
6122            *
6123            * @param id the primary key of the current journal article
6124            * @param groupId the group ID
6125            * @param classNameId the class name ID
6126            * @param layoutUuid the layout uuid
6127            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6128            * @return the previous, current, and next journal article
6129            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
6130            * @throws SystemException if a system exception occurred
6131            */
6132            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_L_PrevAndNext(
6133                    long id, long groupId, long classNameId, java.lang.String layoutUuid,
6134                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6135                    throws com.liferay.portal.kernel.exception.SystemException,
6136                            com.liferay.portlet.journal.NoSuchArticleException;
6137    
6138            /**
6139            * Removes all the journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63; from the database.
6140            *
6141            * @param groupId the group ID
6142            * @param classNameId the class name ID
6143            * @param layoutUuid the layout uuid
6144            * @throws SystemException if a system exception occurred
6145            */
6146            public void removeByG_C_L(long groupId, long classNameId,
6147                    java.lang.String layoutUuid)
6148                    throws com.liferay.portal.kernel.exception.SystemException;
6149    
6150            /**
6151            * Returns the number of journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
6152            *
6153            * @param groupId the group ID
6154            * @param classNameId the class name ID
6155            * @param layoutUuid the layout uuid
6156            * @return the number of matching journal articles
6157            * @throws SystemException if a system exception occurred
6158            */
6159            public int countByG_C_L(long groupId, long classNameId,
6160                    java.lang.String layoutUuid)
6161                    throws com.liferay.portal.kernel.exception.SystemException;
6162    
6163            /**
6164            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
6165            *
6166            * @param groupId the group ID
6167            * @param classNameId the class name ID
6168            * @param layoutUuid the layout uuid
6169            * @return the number of matching journal articles that the user has permission to view
6170            * @throws SystemException if a system exception occurred
6171            */
6172            public int filterCountByG_C_L(long groupId, long classNameId,
6173                    java.lang.String layoutUuid)
6174                    throws com.liferay.portal.kernel.exception.SystemException;
6175    
6176            /**
6177            * Returns the journal article where groupId = &#63; and articleId = &#63; and version = &#63; or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found.
6178            *
6179            * @param groupId the group ID
6180            * @param articleId the article ID
6181            * @param version the version
6182            * @return the matching journal article
6183            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
6184            * @throws SystemException if a system exception occurred
6185            */
6186            public com.liferay.portlet.journal.model.JournalArticle findByG_A_V(
6187                    long groupId, java.lang.String articleId, double version)
6188                    throws com.liferay.portal.kernel.exception.SystemException,
6189                            com.liferay.portlet.journal.NoSuchArticleException;
6190    
6191            /**
6192            * Returns the journal article where groupId = &#63; and articleId = &#63; and version = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
6193            *
6194            * @param groupId the group ID
6195            * @param articleId the article ID
6196            * @param version the version
6197            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
6198            * @throws SystemException if a system exception occurred
6199            */
6200            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V(
6201                    long groupId, java.lang.String articleId, double version)
6202                    throws com.liferay.portal.kernel.exception.SystemException;
6203    
6204            /**
6205            * Returns the journal article where groupId = &#63; and articleId = &#63; and version = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
6206            *
6207            * @param groupId the group ID
6208            * @param articleId the article ID
6209            * @param version the version
6210            * @param retrieveFromCache whether to use the finder cache
6211            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
6212            * @throws SystemException if a system exception occurred
6213            */
6214            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V(
6215                    long groupId, java.lang.String articleId, double version,
6216                    boolean retrieveFromCache)
6217                    throws com.liferay.portal.kernel.exception.SystemException;
6218    
6219            /**
6220            * Removes the journal article where groupId = &#63; and articleId = &#63; and version = &#63; from the database.
6221            *
6222            * @param groupId the group ID
6223            * @param articleId the article ID
6224            * @param version the version
6225            * @return the journal article that was removed
6226            * @throws SystemException if a system exception occurred
6227            */
6228            public com.liferay.portlet.journal.model.JournalArticle removeByG_A_V(
6229                    long groupId, java.lang.String articleId, double version)
6230                    throws com.liferay.portal.kernel.exception.SystemException,
6231                            com.liferay.portlet.journal.NoSuchArticleException;
6232    
6233            /**
6234            * Returns the number of journal articles where groupId = &#63; and articleId = &#63; and version = &#63;.
6235            *
6236            * @param groupId the group ID
6237            * @param articleId the article ID
6238            * @param version the version
6239            * @return the number of matching journal articles
6240            * @throws SystemException if a system exception occurred
6241            */
6242            public int countByG_A_V(long groupId, java.lang.String articleId,
6243                    double version)
6244                    throws com.liferay.portal.kernel.exception.SystemException;
6245    
6246            /**
6247            * Returns all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
6248            *
6249            * @param groupId the group ID
6250            * @param articleId the article ID
6251            * @param status the status
6252            * @return the matching journal articles
6253            * @throws SystemException if a system exception occurred
6254            */
6255            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
6256                    long groupId, java.lang.String articleId, int status)
6257                    throws com.liferay.portal.kernel.exception.SystemException;
6258    
6259            /**
6260            * Returns a range of all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
6261            *
6262            * <p>
6263            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6264            * </p>
6265            *
6266            * @param groupId the group ID
6267            * @param articleId the article ID
6268            * @param status the status
6269            * @param start the lower bound of the range of journal articles
6270            * @param end the upper bound of the range of journal articles (not inclusive)
6271            * @return the range of matching journal articles
6272            * @throws SystemException if a system exception occurred
6273            */
6274            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
6275                    long groupId, java.lang.String articleId, int status, int start, int end)
6276                    throws com.liferay.portal.kernel.exception.SystemException;
6277    
6278            /**
6279            * Returns an ordered range of all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
6280            *
6281            * <p>
6282            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6283            * </p>
6284            *
6285            * @param groupId the group ID
6286            * @param articleId the article ID
6287            * @param status the status
6288            * @param start the lower bound of the range of journal articles
6289            * @param end the upper bound of the range of journal articles (not inclusive)
6290            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
6291            * @return the ordered range of matching journal articles
6292            * @throws SystemException if a system exception occurred
6293            */
6294            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
6295                    long groupId, java.lang.String articleId, int status, int start,
6296                    int end,
6297                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6298                    throws com.liferay.portal.kernel.exception.SystemException;
6299    
6300            /**
6301            * Returns the first journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
6302            *
6303            * @param groupId the group ID
6304            * @param articleId the article ID
6305            * @param status the status
6306            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6307            * @return the first matching journal article
6308            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
6309            * @throws SystemException if a system exception occurred
6310            */
6311            public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_First(
6312                    long groupId, java.lang.String articleId, int status,
6313                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6314                    throws com.liferay.portal.kernel.exception.SystemException,
6315                            com.liferay.portlet.journal.NoSuchArticleException;
6316    
6317            /**
6318            * Returns the first journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
6319            *
6320            * @param groupId the group ID
6321            * @param articleId the article ID
6322            * @param status the status
6323            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6324            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
6325            * @throws SystemException if a system exception occurred
6326            */
6327            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_ST_First(
6328                    long groupId, java.lang.String articleId, int status,
6329                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6330                    throws com.liferay.portal.kernel.exception.SystemException;
6331    
6332            /**
6333            * Returns the last journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
6334            *
6335            * @param groupId the group ID
6336            * @param articleId the article ID
6337            * @param status the status
6338            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6339            * @return the last matching journal article
6340            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
6341            * @throws SystemException if a system exception occurred
6342            */
6343            public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_Last(
6344                    long groupId, java.lang.String articleId, int status,
6345                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6346                    throws com.liferay.portal.kernel.exception.SystemException,
6347                            com.liferay.portlet.journal.NoSuchArticleException;
6348    
6349            /**
6350            * Returns the last journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
6351            *
6352            * @param groupId the group ID
6353            * @param articleId the article ID
6354            * @param status the status
6355            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6356            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
6357            * @throws SystemException if a system exception occurred
6358            */
6359            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_ST_Last(
6360                    long groupId, java.lang.String articleId, int status,
6361                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6362                    throws com.liferay.portal.kernel.exception.SystemException;
6363    
6364            /**
6365            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
6366            *
6367            * @param id the primary key of the current journal article
6368            * @param groupId the group ID
6369            * @param articleId the article ID
6370            * @param status the status
6371            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6372            * @return the previous, current, and next journal article
6373            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
6374            * @throws SystemException if a system exception occurred
6375            */
6376            public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_ST_PrevAndNext(
6377                    long id, long groupId, java.lang.String articleId, int status,
6378                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6379                    throws com.liferay.portal.kernel.exception.SystemException,
6380                            com.liferay.portlet.journal.NoSuchArticleException;
6381    
6382            /**
6383            * Returns all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = &#63;.
6384            *
6385            * @param groupId the group ID
6386            * @param articleId the article ID
6387            * @param status the status
6388            * @return the matching journal articles that the user has permission to view
6389            * @throws SystemException if a system exception occurred
6390            */
6391            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
6392                    long groupId, java.lang.String articleId, int status)
6393                    throws com.liferay.portal.kernel.exception.SystemException;
6394    
6395            /**
6396            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = &#63;.
6397            *
6398            * <p>
6399            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6400            * </p>
6401            *
6402            * @param groupId the group ID
6403            * @param articleId the article ID
6404            * @param status the status
6405            * @param start the lower bound of the range of journal articles
6406            * @param end the upper bound of the range of journal articles (not inclusive)
6407            * @return the range of matching journal articles that the user has permission to view
6408            * @throws SystemException if a system exception occurred
6409            */
6410            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
6411                    long groupId, java.lang.String articleId, int status, int start, int end)
6412                    throws com.liferay.portal.kernel.exception.SystemException;
6413    
6414            /**
6415            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and articleId = &#63; and status = &#63;.
6416            *
6417            * <p>
6418            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6419            * </p>
6420            *
6421            * @param groupId the group ID
6422            * @param articleId the article ID
6423            * @param status the status
6424            * @param start the lower bound of the range of journal articles
6425            * @param end the upper bound of the range of journal articles (not inclusive)
6426            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
6427            * @return the ordered range of matching journal articles that the user has permission to view
6428            * @throws SystemException if a system exception occurred
6429            */
6430            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
6431                    long groupId, java.lang.String articleId, int status, int start,
6432                    int end,
6433                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6434                    throws com.liferay.portal.kernel.exception.SystemException;
6435    
6436            /**
6437            * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = &#63;.
6438            *
6439            * @param id the primary key of the current journal article
6440            * @param groupId the group ID
6441            * @param articleId the article ID
6442            * @param status the status
6443            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6444            * @return the previous, current, and next journal article
6445            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
6446            * @throws SystemException if a system exception occurred
6447            */
6448            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_ST_PrevAndNext(
6449                    long id, long groupId, java.lang.String articleId, int status,
6450                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6451                    throws com.liferay.portal.kernel.exception.SystemException,
6452                            com.liferay.portlet.journal.NoSuchArticleException;
6453    
6454            /**
6455            * Returns all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = any &#63;.
6456            *
6457            * @param groupId the group ID
6458            * @param articleId the article ID
6459            * @param statuses the statuses
6460            * @return the matching journal articles that the user has permission to view
6461            * @throws SystemException if a system exception occurred
6462            */
6463            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
6464                    long groupId, java.lang.String articleId, int[] statuses)
6465                    throws com.liferay.portal.kernel.exception.SystemException;
6466    
6467            /**
6468            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = any &#63;.
6469            *
6470            * <p>
6471            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6472            * </p>
6473            *
6474            * @param groupId the group ID
6475            * @param articleId the article ID
6476            * @param statuses the statuses
6477            * @param start the lower bound of the range of journal articles
6478            * @param end the upper bound of the range of journal articles (not inclusive)
6479            * @return the range of matching journal articles that the user has permission to view
6480            * @throws SystemException if a system exception occurred
6481            */
6482            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
6483                    long groupId, java.lang.String articleId, int[] statuses, int start,
6484                    int end) throws com.liferay.portal.kernel.exception.SystemException;
6485    
6486            /**
6487            * Returns an ordered range of all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = any &#63;.
6488            *
6489            * <p>
6490            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6491            * </p>
6492            *
6493            * @param groupId the group ID
6494            * @param articleId the article ID
6495            * @param statuses the statuses
6496            * @param start the lower bound of the range of journal articles
6497            * @param end the upper bound of the range of journal articles (not inclusive)
6498            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
6499            * @return the ordered range of matching journal articles that the user has permission to view
6500            * @throws SystemException if a system exception occurred
6501            */
6502            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
6503                    long groupId, java.lang.String articleId, int[] statuses, int start,
6504                    int end,
6505                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6506                    throws com.liferay.portal.kernel.exception.SystemException;
6507    
6508            /**
6509            * Returns all the journal articles where groupId = &#63; and articleId = &#63; and status = any &#63;.
6510            *
6511            * <p>
6512            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6513            * </p>
6514            *
6515            * @param groupId the group ID
6516            * @param articleId the article ID
6517            * @param statuses the statuses
6518            * @return the matching journal articles
6519            * @throws SystemException if a system exception occurred
6520            */
6521            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
6522                    long groupId, java.lang.String articleId, int[] statuses)
6523                    throws com.liferay.portal.kernel.exception.SystemException;
6524    
6525            /**
6526            * Returns a range of all the journal articles where groupId = &#63; and articleId = &#63; and status = any &#63;.
6527            *
6528            * <p>
6529            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6530            * </p>
6531            *
6532            * @param groupId the group ID
6533            * @param articleId the article ID
6534            * @param statuses the statuses
6535            * @param start the lower bound of the range of journal articles
6536            * @param end the upper bound of the range of journal articles (not inclusive)
6537            * @return the range of matching journal articles
6538            * @throws SystemException if a system exception occurred
6539            */
6540            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
6541                    long groupId, java.lang.String articleId, int[] statuses, int start,
6542                    int end) throws com.liferay.portal.kernel.exception.SystemException;
6543    
6544            /**
6545            * Returns an ordered range of all the journal articles where groupId = &#63; and articleId = &#63; and status = any &#63;.
6546            *
6547            * <p>
6548            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6549            * </p>
6550            *
6551            * @param groupId the group ID
6552            * @param articleId the article ID
6553            * @param statuses the statuses
6554            * @param start the lower bound of the range of journal articles
6555            * @param end the upper bound of the range of journal articles (not inclusive)
6556            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
6557            * @return the ordered range of matching journal articles
6558            * @throws SystemException if a system exception occurred
6559            */
6560            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
6561                    long groupId, java.lang.String articleId, int[] statuses, int start,
6562                    int end,
6563                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6564                    throws com.liferay.portal.kernel.exception.SystemException;
6565    
6566            /**
6567            * Removes all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63; from the database.
6568            *
6569            * @param groupId the group ID
6570            * @param articleId the article ID
6571            * @param status the status
6572            * @throws SystemException if a system exception occurred
6573            */
6574            public void removeByG_A_ST(long groupId, java.lang.String articleId,
6575                    int status) throws com.liferay.portal.kernel.exception.SystemException;
6576    
6577            /**
6578            * Returns the number of journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
6579            *
6580            * @param groupId the group ID
6581            * @param articleId the article ID
6582            * @param status the status
6583            * @return the number of matching journal articles
6584            * @throws SystemException if a system exception occurred
6585            */
6586            public int countByG_A_ST(long groupId, java.lang.String articleId,
6587                    int status) throws com.liferay.portal.kernel.exception.SystemException;
6588    
6589            /**
6590            * Returns the number of journal articles where groupId = &#63; and articleId = &#63; and status = any &#63;.
6591            *
6592            * @param groupId the group ID
6593            * @param articleId the article ID
6594            * @param statuses the statuses
6595            * @return the number of matching journal articles
6596            * @throws SystemException if a system exception occurred
6597            */
6598            public int countByG_A_ST(long groupId, java.lang.String articleId,
6599                    int[] statuses)
6600                    throws com.liferay.portal.kernel.exception.SystemException;
6601    
6602            /**
6603            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = &#63;.
6604            *
6605            * @param groupId the group ID
6606            * @param articleId the article ID
6607            * @param status the status
6608            * @return the number of matching journal articles that the user has permission to view
6609            * @throws SystemException if a system exception occurred
6610            */
6611            public int filterCountByG_A_ST(long groupId, java.lang.String articleId,
6612                    int status) throws com.liferay.portal.kernel.exception.SystemException;
6613    
6614            /**
6615            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = any &#63;.
6616            *
6617            * @param groupId the group ID
6618            * @param articleId the article ID
6619            * @param statuses the statuses
6620            * @return the number of matching journal articles that the user has permission to view
6621            * @throws SystemException if a system exception occurred
6622            */
6623            public int filterCountByG_A_ST(long groupId, java.lang.String articleId,
6624                    int[] statuses)
6625                    throws com.liferay.portal.kernel.exception.SystemException;
6626    
6627            /**
6628            * Returns all the journal articles where groupId = &#63; and articleId = &#63; and status &ne; &#63;.
6629            *
6630            * @param groupId the group ID
6631            * @param articleId the article ID
6632            * @param status the status
6633            * @return the matching journal articles
6634            * @throws SystemException if a system exception occurred
6635            */
6636            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_NotST(
6637                    long groupId, java.lang.String articleId, int status)
6638                    throws com.liferay.portal.kernel.exception.SystemException;
6639    
6640            /**
6641            * Returns a range of all the journal articles where groupId = &#63; and articleId = &#63; and status &ne; &#63;.
6642            *
6643            * <p>
6644            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6645            * </p>
6646            *
6647            * @param groupId the group ID
6648            * @param articleId the article ID
6649            * @param status the status
6650            * @param start the lower bound of the range of journal articles
6651            * @param end the upper bound of the range of journal articles (not inclusive)
6652            * @return the range of matching journal articles
6653            * @throws SystemException if a system exception occurred
6654            */
6655            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_NotST(
6656                    long groupId, java.lang.String articleId, int status, int start, int end)
6657                    throws com.liferay.portal.kernel.exception.SystemException;
6658    
6659            /**
6660            * Returns an ordered range of all the journal articles where groupId = &#63; and articleId = &#63; and status &ne; &#63;.
6661            *
6662            * <p>
6663            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6664            * </p>
6665            *
6666            * @param groupId the group ID
6667            * @param articleId the article ID
6668            * @param status the status
6669            * @param start the lower bound of the range of journal articles
6670            * @param end the upper bound of the range of journal articles (not inclusive)
6671            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
6672            * @return the ordered range of matching journal articles
6673            * @throws SystemException if a system exception occurred
6674            */
6675            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_NotST(
6676                    long groupId, java.lang.String articleId, int status, int start,
6677                    int end,
6678                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6679                    throws com.liferay.portal.kernel.exception.SystemException;
6680    
6681            /**
6682            * Returns the first journal article in the ordered set where groupId = &#63; and articleId = &#63; and status &ne; &#63;.
6683            *
6684            * @param groupId the group ID
6685            * @param articleId the article ID
6686            * @param status the status
6687            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6688            * @return the first matching journal article
6689            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
6690            * @throws SystemException if a system exception occurred
6691            */
6692            public com.liferay.portlet.journal.model.JournalArticle findByG_A_NotST_First(
6693                    long groupId, java.lang.String articleId, int status,
6694                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6695                    throws com.liferay.portal.kernel.exception.SystemException,
6696                            com.liferay.portlet.journal.NoSuchArticleException;
6697    
6698            /**
6699            * Returns the first journal article in the ordered set where groupId = &#63; and articleId = &#63; and status &ne; &#63;.
6700            *
6701            * @param groupId the group ID
6702            * @param articleId the article ID
6703            * @param status the status
6704            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6705            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
6706            * @throws SystemException if a system exception occurred
6707            */
6708            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_NotST_First(
6709                    long groupId, java.lang.String articleId, int status,
6710                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6711                    throws com.liferay.portal.kernel.exception.SystemException;
6712    
6713            /**
6714            * Returns the last journal article in the ordered set where groupId = &#63; and articleId = &#63; and status &ne; &#63;.
6715            *
6716            * @param groupId the group ID
6717            * @param articleId the article ID
6718            * @param status the status
6719            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6720            * @return the last matching journal article
6721            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
6722            * @throws SystemException if a system exception occurred
6723            */
6724            public com.liferay.portlet.journal.model.JournalArticle findByG_A_NotST_Last(
6725                    long groupId, java.lang.String articleId, int status,
6726                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6727                    throws com.liferay.portal.kernel.exception.SystemException,
6728                            com.liferay.portlet.journal.NoSuchArticleException;
6729    
6730            /**
6731            * Returns the last journal article in the ordered set where groupId = &#63; and articleId = &#63; and status &ne; &#63;.
6732            *
6733            * @param groupId the group ID
6734            * @param articleId the article ID
6735            * @param status the status
6736            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6737            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
6738            * @throws SystemException if a system exception occurred
6739            */
6740            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_NotST_Last(
6741                    long groupId, java.lang.String articleId, int status,
6742                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6743                    throws com.liferay.portal.kernel.exception.SystemException;
6744    
6745            /**
6746            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and articleId = &#63; and status &ne; &#63;.
6747            *
6748            * @param id the primary key of the current journal article
6749            * @param groupId the group ID
6750            * @param articleId the article ID
6751            * @param status the status
6752            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6753            * @return the previous, current, and next journal article
6754            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
6755            * @throws SystemException if a system exception occurred
6756            */
6757            public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_NotST_PrevAndNext(
6758                    long id, long groupId, java.lang.String articleId, int status,
6759                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6760                    throws com.liferay.portal.kernel.exception.SystemException,
6761                            com.liferay.portlet.journal.NoSuchArticleException;
6762    
6763            /**
6764            * Returns all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status &ne; &#63;.
6765            *
6766            * @param groupId the group ID
6767            * @param articleId the article ID
6768            * @param status the status
6769            * @return the matching journal articles that the user has permission to view
6770            * @throws SystemException if a system exception occurred
6771            */
6772            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_NotST(
6773                    long groupId, java.lang.String articleId, int status)
6774                    throws com.liferay.portal.kernel.exception.SystemException;
6775    
6776            /**
6777            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status &ne; &#63;.
6778            *
6779            * <p>
6780            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6781            * </p>
6782            *
6783            * @param groupId the group ID
6784            * @param articleId the article ID
6785            * @param status the status
6786            * @param start the lower bound of the range of journal articles
6787            * @param end the upper bound of the range of journal articles (not inclusive)
6788            * @return the range of matching journal articles that the user has permission to view
6789            * @throws SystemException if a system exception occurred
6790            */
6791            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_NotST(
6792                    long groupId, java.lang.String articleId, int status, int start, int end)
6793                    throws com.liferay.portal.kernel.exception.SystemException;
6794    
6795            /**
6796            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and articleId = &#63; and status &ne; &#63;.
6797            *
6798            * <p>
6799            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6800            * </p>
6801            *
6802            * @param groupId the group ID
6803            * @param articleId the article ID
6804            * @param status the status
6805            * @param start the lower bound of the range of journal articles
6806            * @param end the upper bound of the range of journal articles (not inclusive)
6807            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
6808            * @return the ordered range of matching journal articles that the user has permission to view
6809            * @throws SystemException if a system exception occurred
6810            */
6811            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_NotST(
6812                    long groupId, java.lang.String articleId, int status, int start,
6813                    int end,
6814                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6815                    throws com.liferay.portal.kernel.exception.SystemException;
6816    
6817            /**
6818            * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status &ne; &#63;.
6819            *
6820            * @param id the primary key of the current journal article
6821            * @param groupId the group ID
6822            * @param articleId the article ID
6823            * @param status the status
6824            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6825            * @return the previous, current, and next journal article
6826            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
6827            * @throws SystemException if a system exception occurred
6828            */
6829            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_NotST_PrevAndNext(
6830                    long id, long groupId, java.lang.String articleId, int status,
6831                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6832                    throws com.liferay.portal.kernel.exception.SystemException,
6833                            com.liferay.portlet.journal.NoSuchArticleException;
6834    
6835            /**
6836            * Removes all the journal articles where groupId = &#63; and articleId = &#63; and status &ne; &#63; from the database.
6837            *
6838            * @param groupId the group ID
6839            * @param articleId the article ID
6840            * @param status the status
6841            * @throws SystemException if a system exception occurred
6842            */
6843            public void removeByG_A_NotST(long groupId, java.lang.String articleId,
6844                    int status) throws com.liferay.portal.kernel.exception.SystemException;
6845    
6846            /**
6847            * Returns the number of journal articles where groupId = &#63; and articleId = &#63; and status &ne; &#63;.
6848            *
6849            * @param groupId the group ID
6850            * @param articleId the article ID
6851            * @param status the status
6852            * @return the number of matching journal articles
6853            * @throws SystemException if a system exception occurred
6854            */
6855            public int countByG_A_NotST(long groupId, java.lang.String articleId,
6856                    int status) throws com.liferay.portal.kernel.exception.SystemException;
6857    
6858            /**
6859            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status &ne; &#63;.
6860            *
6861            * @param groupId the group ID
6862            * @param articleId the article ID
6863            * @param status the status
6864            * @return the number of matching journal articles that the user has permission to view
6865            * @throws SystemException if a system exception occurred
6866            */
6867            public int filterCountByG_A_NotST(long groupId, java.lang.String articleId,
6868                    int status) throws com.liferay.portal.kernel.exception.SystemException;
6869    
6870            /**
6871            * Returns all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
6872            *
6873            * @param groupId the group ID
6874            * @param urlTitle the url title
6875            * @param status the status
6876            * @return the matching journal articles
6877            * @throws SystemException if a system exception occurred
6878            */
6879            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST(
6880                    long groupId, java.lang.String urlTitle, int status)
6881                    throws com.liferay.portal.kernel.exception.SystemException;
6882    
6883            /**
6884            * Returns a range of all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
6885            *
6886            * <p>
6887            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6888            * </p>
6889            *
6890            * @param groupId the group ID
6891            * @param urlTitle the url title
6892            * @param status the status
6893            * @param start the lower bound of the range of journal articles
6894            * @param end the upper bound of the range of journal articles (not inclusive)
6895            * @return the range of matching journal articles
6896            * @throws SystemException if a system exception occurred
6897            */
6898            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST(
6899                    long groupId, java.lang.String urlTitle, int status, int start, int end)
6900                    throws com.liferay.portal.kernel.exception.SystemException;
6901    
6902            /**
6903            * Returns an ordered range of all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
6904            *
6905            * <p>
6906            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6907            * </p>
6908            *
6909            * @param groupId the group ID
6910            * @param urlTitle the url title
6911            * @param status the status
6912            * @param start the lower bound of the range of journal articles
6913            * @param end the upper bound of the range of journal articles (not inclusive)
6914            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
6915            * @return the ordered range of matching journal articles
6916            * @throws SystemException if a system exception occurred
6917            */
6918            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST(
6919                    long groupId, java.lang.String urlTitle, int status, int start,
6920                    int end,
6921                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6922                    throws com.liferay.portal.kernel.exception.SystemException;
6923    
6924            /**
6925            * Returns the first journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
6926            *
6927            * @param groupId the group ID
6928            * @param urlTitle the url title
6929            * @param status the status
6930            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6931            * @return the first matching journal article
6932            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
6933            * @throws SystemException if a system exception occurred
6934            */
6935            public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_First(
6936                    long groupId, java.lang.String urlTitle, int status,
6937                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6938                    throws com.liferay.portal.kernel.exception.SystemException,
6939                            com.liferay.portlet.journal.NoSuchArticleException;
6940    
6941            /**
6942            * Returns the first journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
6943            *
6944            * @param groupId the group ID
6945            * @param urlTitle the url title
6946            * @param status the status
6947            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6948            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
6949            * @throws SystemException if a system exception occurred
6950            */
6951            public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_ST_First(
6952                    long groupId, java.lang.String urlTitle, int status,
6953                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6954                    throws com.liferay.portal.kernel.exception.SystemException;
6955    
6956            /**
6957            * Returns the last journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
6958            *
6959            * @param groupId the group ID
6960            * @param urlTitle the url title
6961            * @param status the status
6962            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6963            * @return the last matching journal article
6964            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
6965            * @throws SystemException if a system exception occurred
6966            */
6967            public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_Last(
6968                    long groupId, java.lang.String urlTitle, int status,
6969                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6970                    throws com.liferay.portal.kernel.exception.SystemException,
6971                            com.liferay.portlet.journal.NoSuchArticleException;
6972    
6973            /**
6974            * Returns the last journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
6975            *
6976            * @param groupId the group ID
6977            * @param urlTitle the url title
6978            * @param status the status
6979            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6980            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
6981            * @throws SystemException if a system exception occurred
6982            */
6983            public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_ST_Last(
6984                    long groupId, java.lang.String urlTitle, int status,
6985                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6986                    throws com.liferay.portal.kernel.exception.SystemException;
6987    
6988            /**
6989            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
6990            *
6991            * @param id the primary key of the current journal article
6992            * @param groupId the group ID
6993            * @param urlTitle the url title
6994            * @param status the status
6995            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6996            * @return the previous, current, and next journal article
6997            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
6998            * @throws SystemException if a system exception occurred
6999            */
7000            public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_ST_PrevAndNext(
7001                    long id, long groupId, java.lang.String urlTitle, int status,
7002                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7003                    throws com.liferay.portal.kernel.exception.SystemException,
7004                            com.liferay.portlet.journal.NoSuchArticleException;
7005    
7006            /**
7007            * Returns all the journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63; and status = &#63;.
7008            *
7009            * @param groupId the group ID
7010            * @param urlTitle the url title
7011            * @param status the status
7012            * @return the matching journal articles that the user has permission to view
7013            * @throws SystemException if a system exception occurred
7014            */
7015            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST(
7016                    long groupId, java.lang.String urlTitle, int status)
7017                    throws com.liferay.portal.kernel.exception.SystemException;
7018    
7019            /**
7020            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63; and status = &#63;.
7021            *
7022            * <p>
7023            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
7024            * </p>
7025            *
7026            * @param groupId the group ID
7027            * @param urlTitle the url title
7028            * @param status the status
7029            * @param start the lower bound of the range of journal articles
7030            * @param end the upper bound of the range of journal articles (not inclusive)
7031            * @return the range of matching journal articles that the user has permission to view
7032            * @throws SystemException if a system exception occurred
7033            */
7034            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST(
7035                    long groupId, java.lang.String urlTitle, int status, int start, int end)
7036                    throws com.liferay.portal.kernel.exception.SystemException;
7037    
7038            /**
7039            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and urlTitle = &#63; and status = &#63;.
7040            *
7041            * <p>
7042            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
7043            * </p>
7044            *
7045            * @param groupId the group ID
7046            * @param urlTitle the url title
7047            * @param status the status
7048            * @param start the lower bound of the range of journal articles
7049            * @param end the upper bound of the range of journal articles (not inclusive)
7050            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
7051            * @return the ordered range of matching journal articles that the user has permission to view
7052            * @throws SystemException if a system exception occurred
7053            */
7054            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST(
7055                    long groupId, java.lang.String urlTitle, int status, int start,
7056                    int end,
7057                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7058                    throws com.liferay.portal.kernel.exception.SystemException;
7059    
7060            /**
7061            * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63; and status = &#63;.
7062            *
7063            * @param id the primary key of the current journal article
7064            * @param groupId the group ID
7065            * @param urlTitle the url title
7066            * @param status the status
7067            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
7068            * @return the previous, current, and next journal article
7069            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
7070            * @throws SystemException if a system exception occurred
7071            */
7072            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_ST_PrevAndNext(
7073                    long id, long groupId, java.lang.String urlTitle, int status,
7074                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7075                    throws com.liferay.portal.kernel.exception.SystemException,
7076                            com.liferay.portlet.journal.NoSuchArticleException;
7077    
7078            /**
7079            * Removes all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63; from the database.
7080            *
7081            * @param groupId the group ID
7082            * @param urlTitle the url title
7083            * @param status the status
7084            * @throws SystemException if a system exception occurred
7085            */
7086            public void removeByG_UT_ST(long groupId, java.lang.String urlTitle,
7087                    int status) throws com.liferay.portal.kernel.exception.SystemException;
7088    
7089            /**
7090            * Returns the number of journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
7091            *
7092            * @param groupId the group ID
7093            * @param urlTitle the url title
7094            * @param status the status
7095            * @return the number of matching journal articles
7096            * @throws SystemException if a system exception occurred
7097            */
7098            public int countByG_UT_ST(long groupId, java.lang.String urlTitle,
7099                    int status) throws com.liferay.portal.kernel.exception.SystemException;
7100    
7101            /**
7102            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63; and status = &#63;.
7103            *
7104            * @param groupId the group ID
7105            * @param urlTitle the url title
7106            * @param status the status
7107            * @return the number of matching journal articles that the user has permission to view
7108            * @throws SystemException if a system exception occurred
7109            */
7110            public int filterCountByG_UT_ST(long groupId, java.lang.String urlTitle,
7111                    int status) throws com.liferay.portal.kernel.exception.SystemException;
7112    
7113            /**
7114            * Returns all the journal articles where companyId = &#63; and version = &#63; and status = &#63;.
7115            *
7116            * @param companyId the company ID
7117            * @param version the version
7118            * @param status the status
7119            * @return the matching journal articles
7120            * @throws SystemException if a system exception occurred
7121            */
7122            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST(
7123                    long companyId, double version, int status)
7124                    throws com.liferay.portal.kernel.exception.SystemException;
7125    
7126            /**
7127            * Returns a range of all the journal articles where companyId = &#63; and version = &#63; and status = &#63;.
7128            *
7129            * <p>
7130            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
7131            * </p>
7132            *
7133            * @param companyId the company ID
7134            * @param version the version
7135            * @param status the status
7136            * @param start the lower bound of the range of journal articles
7137            * @param end the upper bound of the range of journal articles (not inclusive)
7138            * @return the range of matching journal articles
7139            * @throws SystemException if a system exception occurred
7140            */
7141            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST(
7142                    long companyId, double version, int status, int start, int end)
7143                    throws com.liferay.portal.kernel.exception.SystemException;
7144    
7145            /**
7146            * Returns an ordered range of all the journal articles where companyId = &#63; and version = &#63; and status = &#63;.
7147            *
7148            * <p>
7149            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
7150            * </p>
7151            *
7152            * @param companyId the company ID
7153            * @param version the version
7154            * @param status the status
7155            * @param start the lower bound of the range of journal articles
7156            * @param end the upper bound of the range of journal articles (not inclusive)
7157            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
7158            * @return the ordered range of matching journal articles
7159            * @throws SystemException if a system exception occurred
7160            */
7161            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST(
7162                    long companyId, double version, int status, int start, int end,
7163                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7164                    throws com.liferay.portal.kernel.exception.SystemException;
7165    
7166            /**
7167            * Returns the first journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
7168            *
7169            * @param companyId the company ID
7170            * @param version the version
7171            * @param status the status
7172            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
7173            * @return the first matching journal article
7174            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
7175            * @throws SystemException if a system exception occurred
7176            */
7177            public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_First(
7178                    long companyId, double version, int status,
7179                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7180                    throws com.liferay.portal.kernel.exception.SystemException,
7181                            com.liferay.portlet.journal.NoSuchArticleException;
7182    
7183            /**
7184            * Returns the first journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
7185            *
7186            * @param companyId the company ID
7187            * @param version the version
7188            * @param status the status
7189            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
7190            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
7191            * @throws SystemException if a system exception occurred
7192            */
7193            public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_ST_First(
7194                    long companyId, double version, int status,
7195                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7196                    throws com.liferay.portal.kernel.exception.SystemException;
7197    
7198            /**
7199            * Returns the last journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
7200            *
7201            * @param companyId the company ID
7202            * @param version the version
7203            * @param status the status
7204            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
7205            * @return the last matching journal article
7206            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
7207            * @throws SystemException if a system exception occurred
7208            */
7209            public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_Last(
7210                    long companyId, double version, int status,
7211                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7212                    throws com.liferay.portal.kernel.exception.SystemException,
7213                            com.liferay.portlet.journal.NoSuchArticleException;
7214    
7215            /**
7216            * Returns the last journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
7217            *
7218            * @param companyId the company ID
7219            * @param version the version
7220            * @param status the status
7221            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
7222            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
7223            * @throws SystemException if a system exception occurred
7224            */
7225            public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_ST_Last(
7226                    long companyId, double version, int status,
7227                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7228                    throws com.liferay.portal.kernel.exception.SystemException;
7229    
7230            /**
7231            * Returns the journal articles before and after the current journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
7232            *
7233            * @param id the primary key of the current journal article
7234            * @param companyId the company ID
7235            * @param version the version
7236            * @param status the status
7237            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
7238            * @return the previous, current, and next journal article
7239            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
7240            * @throws SystemException if a system exception occurred
7241            */
7242            public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_ST_PrevAndNext(
7243                    long id, long companyId, double version, int status,
7244                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7245                    throws com.liferay.portal.kernel.exception.SystemException,
7246                            com.liferay.portlet.journal.NoSuchArticleException;
7247    
7248            /**
7249            * Removes all the journal articles where companyId = &#63; and version = &#63; and status = &#63; from the database.
7250            *
7251            * @param companyId the company ID
7252            * @param version the version
7253            * @param status the status
7254            * @throws SystemException if a system exception occurred
7255            */
7256            public void removeByC_V_ST(long companyId, double version, int status)
7257                    throws com.liferay.portal.kernel.exception.SystemException;
7258    
7259            /**
7260            * Returns the number of journal articles where companyId = &#63; and version = &#63; and status = &#63;.
7261            *
7262            * @param companyId the company ID
7263            * @param version the version
7264            * @param status the status
7265            * @return the number of matching journal articles
7266            * @throws SystemException if a system exception occurred
7267            */
7268            public int countByC_V_ST(long companyId, double version, int status)
7269                    throws com.liferay.portal.kernel.exception.SystemException;
7270    
7271            /**
7272            * Caches the journal article in the entity cache if it is enabled.
7273            *
7274            * @param journalArticle the journal article
7275            */
7276            public void cacheResult(
7277                    com.liferay.portlet.journal.model.JournalArticle journalArticle);
7278    
7279            /**
7280            * Caches the journal articles in the entity cache if it is enabled.
7281            *
7282            * @param journalArticles the journal articles
7283            */
7284            public void cacheResult(
7285                    java.util.List<com.liferay.portlet.journal.model.JournalArticle> journalArticles);
7286    
7287            /**
7288            * Creates a new journal article with the primary key. Does not add the journal article to the database.
7289            *
7290            * @param id the primary key for the new journal article
7291            * @return the new journal article
7292            */
7293            public com.liferay.portlet.journal.model.JournalArticle create(long id);
7294    
7295            /**
7296            * Removes the journal article with the primary key from the database. Also notifies the appropriate model listeners.
7297            *
7298            * @param id the primary key of the journal article
7299            * @return the journal article that was removed
7300            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
7301            * @throws SystemException if a system exception occurred
7302            */
7303            public com.liferay.portlet.journal.model.JournalArticle remove(long id)
7304                    throws com.liferay.portal.kernel.exception.SystemException,
7305                            com.liferay.portlet.journal.NoSuchArticleException;
7306    
7307            public com.liferay.portlet.journal.model.JournalArticle updateImpl(
7308                    com.liferay.portlet.journal.model.JournalArticle journalArticle)
7309                    throws com.liferay.portal.kernel.exception.SystemException;
7310    
7311            /**
7312            * Returns the journal article with the primary key or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found.
7313            *
7314            * @param id the primary key of the journal article
7315            * @return the journal article
7316            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
7317            * @throws SystemException if a system exception occurred
7318            */
7319            public com.liferay.portlet.journal.model.JournalArticle findByPrimaryKey(
7320                    long id)
7321                    throws com.liferay.portal.kernel.exception.SystemException,
7322                            com.liferay.portlet.journal.NoSuchArticleException;
7323    
7324            /**
7325            * Returns the journal article with the primary key or returns <code>null</code> if it could not be found.
7326            *
7327            * @param id the primary key of the journal article
7328            * @return the journal article, or <code>null</code> if a journal article with the primary key could not be found
7329            * @throws SystemException if a system exception occurred
7330            */
7331            public com.liferay.portlet.journal.model.JournalArticle fetchByPrimaryKey(
7332                    long id) throws com.liferay.portal.kernel.exception.SystemException;
7333    
7334            /**
7335            * Returns all the journal articles.
7336            *
7337            * @return the journal articles
7338            * @throws SystemException if a system exception occurred
7339            */
7340            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll()
7341                    throws com.liferay.portal.kernel.exception.SystemException;
7342    
7343            /**
7344            * Returns a range of all the journal articles.
7345            *
7346            * <p>
7347            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
7348            * </p>
7349            *
7350            * @param start the lower bound of the range of journal articles
7351            * @param end the upper bound of the range of journal articles (not inclusive)
7352            * @return the range of journal articles
7353            * @throws SystemException if a system exception occurred
7354            */
7355            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll(
7356                    int start, int end)
7357                    throws com.liferay.portal.kernel.exception.SystemException;
7358    
7359            /**
7360            * Returns an ordered range of all the journal articles.
7361            *
7362            * <p>
7363            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
7364            * </p>
7365            *
7366            * @param start the lower bound of the range of journal articles
7367            * @param end the upper bound of the range of journal articles (not inclusive)
7368            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
7369            * @return the ordered range of journal articles
7370            * @throws SystemException if a system exception occurred
7371            */
7372            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll(
7373                    int start, int end,
7374                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7375                    throws com.liferay.portal.kernel.exception.SystemException;
7376    
7377            /**
7378            * Removes all the journal articles from the database.
7379            *
7380            * @throws SystemException if a system exception occurred
7381            */
7382            public void removeAll()
7383                    throws com.liferay.portal.kernel.exception.SystemException;
7384    
7385            /**
7386            * Returns the number of journal articles.
7387            *
7388            * @return the number of journal articles
7389            * @throws SystemException if a system exception occurred
7390            */
7391            public int countAll()
7392                    throws com.liferay.portal.kernel.exception.SystemException;
7393    }