001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.journal.service.persistence;
016    
017    import 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 layoutUuid &ne; &#63;.
3563            *
3564            * @param groupId the group ID
3565            * @param layoutUuid the layout uuid
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_NotL(
3570                    long groupId, java.lang.String layoutUuid)
3571                    throws com.liferay.portal.kernel.exception.SystemException;
3572    
3573            /**
3574            * Returns a range of all the journal articles where groupId = &#63; and layoutUuid &ne; &#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 layoutUuid the layout uuid
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_NotL(
3588                    long groupId, java.lang.String layoutUuid, 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 layoutUuid &ne; &#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 layoutUuid the layout uuid
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_NotL(
3607                    long groupId, java.lang.String layoutUuid, 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 layoutUuid &ne; &#63;.
3613            *
3614            * @param groupId the group ID
3615            * @param layoutUuid the layout uuid
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_NotL_First(
3622                    long groupId, java.lang.String layoutUuid,
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 layoutUuid &ne; &#63;.
3629            *
3630            * @param groupId the group ID
3631            * @param layoutUuid the layout uuid
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_NotL_First(
3637                    long groupId, java.lang.String layoutUuid,
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 layoutUuid &ne; &#63;.
3643            *
3644            * @param groupId the group ID
3645            * @param layoutUuid the layout uuid
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_NotL_Last(
3652                    long groupId, java.lang.String layoutUuid,
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 layoutUuid &ne; &#63;.
3659            *
3660            * @param groupId the group ID
3661            * @param layoutUuid the layout uuid
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_NotL_Last(
3667                    long groupId, java.lang.String layoutUuid,
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 layoutUuid &ne; &#63;.
3673            *
3674            * @param id the primary key of the current journal article
3675            * @param groupId the group ID
3676            * @param layoutUuid the layout uuid
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_NotL_PrevAndNext(
3683                    long id, long groupId, java.lang.String layoutUuid,
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 layoutUuid &ne; &#63;.
3690            *
3691            * @param groupId the group ID
3692            * @param layoutUuid the layout uuid
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_NotL(
3697                    long groupId, java.lang.String layoutUuid)
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 layoutUuid &ne; &#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 layoutUuid the layout uuid
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_NotL(
3715                    long groupId, java.lang.String layoutUuid, 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 layoutUuid &ne; &#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 layoutUuid the layout uuid
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_NotL(
3734                    long groupId, java.lang.String layoutUuid, 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 layoutUuid &ne; &#63;.
3740            *
3741            * @param id the primary key of the current journal article
3742            * @param groupId the group ID
3743            * @param layoutUuid the layout uuid
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_NotL_PrevAndNext(
3750                    long id, long groupId, java.lang.String layoutUuid,
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            * Returns all the journal articles that the user has permission to view where groupId = &#63; and layoutUuid &ne; all &#63;.
3757            *
3758            * @param groupId the group ID
3759            * @param layoutUuids the layout uuids
3760            * @return the matching journal articles that the user has permission to view
3761            * @throws SystemException if a system exception occurred
3762            */
3763            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_NotL(
3764                    long groupId, java.lang.String[] layoutUuids)
3765                    throws com.liferay.portal.kernel.exception.SystemException;
3766    
3767            /**
3768            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and layoutUuid &ne; all &#63;.
3769            *
3770            * <p>
3771            * 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.
3772            * </p>
3773            *
3774            * @param groupId the group ID
3775            * @param layoutUuids the layout uuids
3776            * @param start the lower bound of the range of journal articles
3777            * @param end the upper bound of the range of journal articles (not inclusive)
3778            * @return the range of matching journal articles that the user has permission to view
3779            * @throws SystemException if a system exception occurred
3780            */
3781            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_NotL(
3782                    long groupId, java.lang.String[] layoutUuids, int start, int end)
3783                    throws com.liferay.portal.kernel.exception.SystemException;
3784    
3785            /**
3786            * Returns an ordered range of all the journal articles that the user has permission to view where groupId = &#63; and layoutUuid &ne; all &#63;.
3787            *
3788            * <p>
3789            * 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.
3790            * </p>
3791            *
3792            * @param groupId the group ID
3793            * @param layoutUuids the layout uuids
3794            * @param start the lower bound of the range of journal articles
3795            * @param end the upper bound of the range of journal articles (not inclusive)
3796            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3797            * @return the ordered range of matching journal articles that the user has permission to view
3798            * @throws SystemException if a system exception occurred
3799            */
3800            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_NotL(
3801                    long groupId, java.lang.String[] layoutUuids, int start, int end,
3802                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3803                    throws com.liferay.portal.kernel.exception.SystemException;
3804    
3805            /**
3806            * Returns all the journal articles where groupId = &#63; and layoutUuid &ne; all &#63;.
3807            *
3808            * <p>
3809            * 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.
3810            * </p>
3811            *
3812            * @param groupId the group ID
3813            * @param layoutUuids the layout uuids
3814            * @return the matching journal articles
3815            * @throws SystemException if a system exception occurred
3816            */
3817            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_NotL(
3818                    long groupId, java.lang.String[] layoutUuids)
3819                    throws com.liferay.portal.kernel.exception.SystemException;
3820    
3821            /**
3822            * Returns a range of all the journal articles where groupId = &#63; and layoutUuid &ne; all &#63;.
3823            *
3824            * <p>
3825            * 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.
3826            * </p>
3827            *
3828            * @param groupId the group ID
3829            * @param layoutUuids the layout uuids
3830            * @param start the lower bound of the range of journal articles
3831            * @param end the upper bound of the range of journal articles (not inclusive)
3832            * @return the range of matching journal articles
3833            * @throws SystemException if a system exception occurred
3834            */
3835            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_NotL(
3836                    long groupId, java.lang.String[] layoutUuids, int start, int end)
3837                    throws com.liferay.portal.kernel.exception.SystemException;
3838    
3839            /**
3840            * Returns an ordered range of all the journal articles where groupId = &#63; and layoutUuid &ne; all &#63;.
3841            *
3842            * <p>
3843            * 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.
3844            * </p>
3845            *
3846            * @param groupId the group ID
3847            * @param layoutUuids the layout uuids
3848            * @param start the lower bound of the range of journal articles
3849            * @param end the upper bound of the range of journal articles (not inclusive)
3850            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3851            * @return the ordered range of matching journal articles
3852            * @throws SystemException if a system exception occurred
3853            */
3854            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_NotL(
3855                    long groupId, java.lang.String[] layoutUuids, int start, int end,
3856                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3857                    throws com.liferay.portal.kernel.exception.SystemException;
3858    
3859            /**
3860            * Removes all the journal articles where groupId = &#63; and layoutUuid &ne; &#63; from the database.
3861            *
3862            * @param groupId the group ID
3863            * @param layoutUuid the layout uuid
3864            * @throws SystemException if a system exception occurred
3865            */
3866            public void removeByG_NotL(long groupId, java.lang.String layoutUuid)
3867                    throws com.liferay.portal.kernel.exception.SystemException;
3868    
3869            /**
3870            * Returns the number of journal articles where groupId = &#63; and layoutUuid &ne; &#63;.
3871            *
3872            * @param groupId the group ID
3873            * @param layoutUuid the layout uuid
3874            * @return the number of matching journal articles
3875            * @throws SystemException if a system exception occurred
3876            */
3877            public int countByG_NotL(long groupId, java.lang.String layoutUuid)
3878                    throws com.liferay.portal.kernel.exception.SystemException;
3879    
3880            /**
3881            * Returns the number of journal articles where groupId = &#63; and layoutUuid &ne; all &#63;.
3882            *
3883            * @param groupId the group ID
3884            * @param layoutUuids the layout uuids
3885            * @return the number of matching journal articles
3886            * @throws SystemException if a system exception occurred
3887            */
3888            public int countByG_NotL(long groupId, java.lang.String[] layoutUuids)
3889                    throws com.liferay.portal.kernel.exception.SystemException;
3890    
3891            /**
3892            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and layoutUuid &ne; &#63;.
3893            *
3894            * @param groupId the group ID
3895            * @param layoutUuid the layout uuid
3896            * @return the number of matching journal articles that the user has permission to view
3897            * @throws SystemException if a system exception occurred
3898            */
3899            public int filterCountByG_NotL(long groupId, java.lang.String layoutUuid)
3900                    throws com.liferay.portal.kernel.exception.SystemException;
3901    
3902            /**
3903            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and layoutUuid &ne; all &#63;.
3904            *
3905            * @param groupId the group ID
3906            * @param layoutUuids the layout uuids
3907            * @return the number of matching journal articles that the user has permission to view
3908            * @throws SystemException if a system exception occurred
3909            */
3910            public int filterCountByG_NotL(long groupId, java.lang.String[] layoutUuids)
3911                    throws com.liferay.portal.kernel.exception.SystemException;
3912    
3913            /**
3914            * Returns all the journal articles where groupId = &#63; and status = &#63;.
3915            *
3916            * @param groupId the group ID
3917            * @param status the status
3918            * @return the matching journal articles
3919            * @throws SystemException if a system exception occurred
3920            */
3921            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST(
3922                    long groupId, int status)
3923                    throws com.liferay.portal.kernel.exception.SystemException;
3924    
3925            /**
3926            * Returns a range of all the journal articles where groupId = &#63; and status = &#63;.
3927            *
3928            * <p>
3929            * 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.
3930            * </p>
3931            *
3932            * @param groupId the group ID
3933            * @param status the status
3934            * @param start the lower bound of the range of journal articles
3935            * @param end the upper bound of the range of journal articles (not inclusive)
3936            * @return the range of matching journal articles
3937            * @throws SystemException if a system exception occurred
3938            */
3939            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST(
3940                    long groupId, int status, int start, int end)
3941                    throws com.liferay.portal.kernel.exception.SystemException;
3942    
3943            /**
3944            * Returns an ordered range of all the journal articles where groupId = &#63; and status = &#63;.
3945            *
3946            * <p>
3947            * 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.
3948            * </p>
3949            *
3950            * @param groupId the group ID
3951            * @param status the status
3952            * @param start the lower bound of the range of journal articles
3953            * @param end the upper bound of the range of journal articles (not inclusive)
3954            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3955            * @return the ordered range of matching journal articles
3956            * @throws SystemException if a system exception occurred
3957            */
3958            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST(
3959                    long groupId, int status, int start, int end,
3960                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3961                    throws com.liferay.portal.kernel.exception.SystemException;
3962    
3963            /**
3964            * Returns the first journal article in the ordered set where groupId = &#63; and status = &#63;.
3965            *
3966            * @param groupId the group ID
3967            * @param status the status
3968            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3969            * @return the first matching journal article
3970            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3971            * @throws SystemException if a system exception occurred
3972            */
3973            public com.liferay.portlet.journal.model.JournalArticle findByG_ST_First(
3974                    long groupId, int status,
3975                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3976                    throws com.liferay.portal.kernel.exception.SystemException,
3977                            com.liferay.portlet.journal.NoSuchArticleException;
3978    
3979            /**
3980            * Returns the first journal article in the ordered set where groupId = &#63; and status = &#63;.
3981            *
3982            * @param groupId the group ID
3983            * @param status the status
3984            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3985            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
3986            * @throws SystemException if a system exception occurred
3987            */
3988            public com.liferay.portlet.journal.model.JournalArticle fetchByG_ST_First(
3989                    long groupId, int status,
3990                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3991                    throws com.liferay.portal.kernel.exception.SystemException;
3992    
3993            /**
3994            * Returns the last journal article in the ordered set where groupId = &#63; and status = &#63;.
3995            *
3996            * @param groupId the group ID
3997            * @param status the status
3998            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3999            * @return the last matching journal article
4000            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4001            * @throws SystemException if a system exception occurred
4002            */
4003            public com.liferay.portlet.journal.model.JournalArticle findByG_ST_Last(
4004                    long groupId, int status,
4005                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4006                    throws com.liferay.portal.kernel.exception.SystemException,
4007                            com.liferay.portlet.journal.NoSuchArticleException;
4008    
4009            /**
4010            * Returns the last journal article in the ordered set where groupId = &#63; and status = &#63;.
4011            *
4012            * @param groupId the group ID
4013            * @param status the status
4014            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4015            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
4016            * @throws SystemException if a system exception occurred
4017            */
4018            public com.liferay.portlet.journal.model.JournalArticle fetchByG_ST_Last(
4019                    long groupId, int status,
4020                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4021                    throws com.liferay.portal.kernel.exception.SystemException;
4022    
4023            /**
4024            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and status = &#63;.
4025            *
4026            * @param id the primary key of the current journal article
4027            * @param groupId the group ID
4028            * @param status the status
4029            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4030            * @return the previous, current, and next journal article
4031            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
4032            * @throws SystemException if a system exception occurred
4033            */
4034            public com.liferay.portlet.journal.model.JournalArticle[] findByG_ST_PrevAndNext(
4035                    long id, long groupId, int status,
4036                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4037                    throws com.liferay.portal.kernel.exception.SystemException,
4038                            com.liferay.portlet.journal.NoSuchArticleException;
4039    
4040            /**
4041            * Returns all the journal articles that the user has permission to view where groupId = &#63; and status = &#63;.
4042            *
4043            * @param groupId the group ID
4044            * @param status the status
4045            * @return the matching journal articles that the user has permission to view
4046            * @throws SystemException if a system exception occurred
4047            */
4048            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST(
4049                    long groupId, int status)
4050                    throws com.liferay.portal.kernel.exception.SystemException;
4051    
4052            /**
4053            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and status = &#63;.
4054            *
4055            * <p>
4056            * 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.
4057            * </p>
4058            *
4059            * @param groupId the group ID
4060            * @param status the status
4061            * @param start the lower bound of the range of journal articles
4062            * @param end the upper bound of the range of journal articles (not inclusive)
4063            * @return the range of matching journal articles that the user has permission to view
4064            * @throws SystemException if a system exception occurred
4065            */
4066            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST(
4067                    long groupId, int status, int start, int end)
4068                    throws com.liferay.portal.kernel.exception.SystemException;
4069    
4070            /**
4071            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and status = &#63;.
4072            *
4073            * <p>
4074            * 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.
4075            * </p>
4076            *
4077            * @param groupId the group ID
4078            * @param status the status
4079            * @param start the lower bound of the range of journal articles
4080            * @param end the upper bound of the range of journal articles (not inclusive)
4081            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4082            * @return the ordered range of matching journal articles that the user has permission to view
4083            * @throws SystemException if a system exception occurred
4084            */
4085            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST(
4086                    long groupId, int status, int start, int end,
4087                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4088                    throws com.liferay.portal.kernel.exception.SystemException;
4089    
4090            /**
4091            * 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;.
4092            *
4093            * @param id the primary key of the current journal article
4094            * @param groupId the group ID
4095            * @param status the status
4096            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4097            * @return the previous, current, and next journal article
4098            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
4099            * @throws SystemException if a system exception occurred
4100            */
4101            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_ST_PrevAndNext(
4102                    long id, long groupId, int status,
4103                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4104                    throws com.liferay.portal.kernel.exception.SystemException,
4105                            com.liferay.portlet.journal.NoSuchArticleException;
4106    
4107            /**
4108            * Removes all the journal articles where groupId = &#63; and status = &#63; from the database.
4109            *
4110            * @param groupId the group ID
4111            * @param status the status
4112            * @throws SystemException if a system exception occurred
4113            */
4114            public void removeByG_ST(long groupId, int status)
4115                    throws com.liferay.portal.kernel.exception.SystemException;
4116    
4117            /**
4118            * Returns the number of journal articles where groupId = &#63; and status = &#63;.
4119            *
4120            * @param groupId the group ID
4121            * @param status the status
4122            * @return the number of matching journal articles
4123            * @throws SystemException if a system exception occurred
4124            */
4125            public int countByG_ST(long groupId, int status)
4126                    throws com.liferay.portal.kernel.exception.SystemException;
4127    
4128            /**
4129            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and status = &#63;.
4130            *
4131            * @param groupId the group ID
4132            * @param status the status
4133            * @return the number of matching journal articles that the user has permission to view
4134            * @throws SystemException if a system exception occurred
4135            */
4136            public int filterCountByG_ST(long groupId, int status)
4137                    throws com.liferay.portal.kernel.exception.SystemException;
4138    
4139            /**
4140            * Returns all the journal articles where companyId = &#63; and version = &#63;.
4141            *
4142            * @param companyId the company ID
4143            * @param version the version
4144            * @return the matching journal articles
4145            * @throws SystemException if a system exception occurred
4146            */
4147            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V(
4148                    long companyId, double version)
4149                    throws com.liferay.portal.kernel.exception.SystemException;
4150    
4151            /**
4152            * Returns a range of all the journal articles where companyId = &#63; and version = &#63;.
4153            *
4154            * <p>
4155            * 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.
4156            * </p>
4157            *
4158            * @param companyId the company ID
4159            * @param version the version
4160            * @param start the lower bound of the range of journal articles
4161            * @param end the upper bound of the range of journal articles (not inclusive)
4162            * @return the range of matching journal articles
4163            * @throws SystemException if a system exception occurred
4164            */
4165            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V(
4166                    long companyId, double version, int start, int end)
4167                    throws com.liferay.portal.kernel.exception.SystemException;
4168    
4169            /**
4170            * Returns an ordered range of all the journal articles where companyId = &#63; and version = &#63;.
4171            *
4172            * <p>
4173            * 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.
4174            * </p>
4175            *
4176            * @param companyId the company ID
4177            * @param version the version
4178            * @param start the lower bound of the range of journal articles
4179            * @param end the upper bound of the range of journal articles (not inclusive)
4180            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4181            * @return the ordered range of matching journal articles
4182            * @throws SystemException if a system exception occurred
4183            */
4184            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V(
4185                    long companyId, double version, int start, int end,
4186                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4187                    throws com.liferay.portal.kernel.exception.SystemException;
4188    
4189            /**
4190            * Returns the first journal article in the ordered set where companyId = &#63; and version = &#63;.
4191            *
4192            * @param companyId the company ID
4193            * @param version the version
4194            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4195            * @return the first matching journal article
4196            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4197            * @throws SystemException if a system exception occurred
4198            */
4199            public com.liferay.portlet.journal.model.JournalArticle findByC_V_First(
4200                    long companyId, double version,
4201                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4202                    throws com.liferay.portal.kernel.exception.SystemException,
4203                            com.liferay.portlet.journal.NoSuchArticleException;
4204    
4205            /**
4206            * Returns the first journal article in the ordered set where companyId = &#63; and version = &#63;.
4207            *
4208            * @param companyId the company ID
4209            * @param version the version
4210            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4211            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
4212            * @throws SystemException if a system exception occurred
4213            */
4214            public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_First(
4215                    long companyId, double version,
4216                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4217                    throws com.liferay.portal.kernel.exception.SystemException;
4218    
4219            /**
4220            * Returns the last journal article in the ordered set where companyId = &#63; and version = &#63;.
4221            *
4222            * @param companyId the company ID
4223            * @param version the version
4224            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4225            * @return the last matching journal article
4226            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4227            * @throws SystemException if a system exception occurred
4228            */
4229            public com.liferay.portlet.journal.model.JournalArticle findByC_V_Last(
4230                    long companyId, double version,
4231                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4232                    throws com.liferay.portal.kernel.exception.SystemException,
4233                            com.liferay.portlet.journal.NoSuchArticleException;
4234    
4235            /**
4236            * Returns the last journal article in the ordered set where companyId = &#63; and version = &#63;.
4237            *
4238            * @param companyId the company ID
4239            * @param version the version
4240            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4241            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
4242            * @throws SystemException if a system exception occurred
4243            */
4244            public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_Last(
4245                    long companyId, double version,
4246                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4247                    throws com.liferay.portal.kernel.exception.SystemException;
4248    
4249            /**
4250            * Returns the journal articles before and after the current journal article in the ordered set where companyId = &#63; and version = &#63;.
4251            *
4252            * @param id the primary key of the current journal article
4253            * @param companyId the company ID
4254            * @param version the version
4255            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4256            * @return the previous, current, and next journal article
4257            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
4258            * @throws SystemException if a system exception occurred
4259            */
4260            public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_PrevAndNext(
4261                    long id, long companyId, double version,
4262                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4263                    throws com.liferay.portal.kernel.exception.SystemException,
4264                            com.liferay.portlet.journal.NoSuchArticleException;
4265    
4266            /**
4267            * Removes all the journal articles where companyId = &#63; and version = &#63; from the database.
4268            *
4269            * @param companyId the company ID
4270            * @param version the version
4271            * @throws SystemException if a system exception occurred
4272            */
4273            public void removeByC_V(long companyId, double version)
4274                    throws com.liferay.portal.kernel.exception.SystemException;
4275    
4276            /**
4277            * Returns the number of journal articles where companyId = &#63; and version = &#63;.
4278            *
4279            * @param companyId the company ID
4280            * @param version the version
4281            * @return the number of matching journal articles
4282            * @throws SystemException if a system exception occurred
4283            */
4284            public int countByC_V(long companyId, double version)
4285                    throws com.liferay.portal.kernel.exception.SystemException;
4286    
4287            /**
4288            * Returns all the journal articles where companyId = &#63; and status = &#63;.
4289            *
4290            * @param companyId the company ID
4291            * @param status the status
4292            * @return the matching journal articles
4293            * @throws SystemException if a system exception occurred
4294            */
4295            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST(
4296                    long companyId, int status)
4297                    throws com.liferay.portal.kernel.exception.SystemException;
4298    
4299            /**
4300            * Returns a range of all the journal articles where companyId = &#63; and status = &#63;.
4301            *
4302            * <p>
4303            * 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.
4304            * </p>
4305            *
4306            * @param companyId the company ID
4307            * @param status the status
4308            * @param start the lower bound of the range of journal articles
4309            * @param end the upper bound of the range of journal articles (not inclusive)
4310            * @return the range of matching journal articles
4311            * @throws SystemException if a system exception occurred
4312            */
4313            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST(
4314                    long companyId, int status, int start, int end)
4315                    throws com.liferay.portal.kernel.exception.SystemException;
4316    
4317            /**
4318            * Returns an ordered range of all the journal articles where companyId = &#63; and status = &#63;.
4319            *
4320            * <p>
4321            * 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.
4322            * </p>
4323            *
4324            * @param companyId the company ID
4325            * @param status the status
4326            * @param start the lower bound of the range of journal articles
4327            * @param end the upper bound of the range of journal articles (not inclusive)
4328            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4329            * @return the ordered range of matching journal articles
4330            * @throws SystemException if a system exception occurred
4331            */
4332            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST(
4333                    long companyId, int status, int start, int end,
4334                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4335                    throws com.liferay.portal.kernel.exception.SystemException;
4336    
4337            /**
4338            * Returns the first journal article in the ordered set where companyId = &#63; and status = &#63;.
4339            *
4340            * @param companyId the company ID
4341            * @param status the status
4342            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4343            * @return the first matching journal article
4344            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4345            * @throws SystemException if a system exception occurred
4346            */
4347            public com.liferay.portlet.journal.model.JournalArticle findByC_ST_First(
4348                    long companyId, int status,
4349                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4350                    throws com.liferay.portal.kernel.exception.SystemException,
4351                            com.liferay.portlet.journal.NoSuchArticleException;
4352    
4353            /**
4354            * Returns the first journal article in the ordered set where companyId = &#63; and status = &#63;.
4355            *
4356            * @param companyId the company ID
4357            * @param status the status
4358            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4359            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
4360            * @throws SystemException if a system exception occurred
4361            */
4362            public com.liferay.portlet.journal.model.JournalArticle fetchByC_ST_First(
4363                    long companyId, int status,
4364                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4365                    throws com.liferay.portal.kernel.exception.SystemException;
4366    
4367            /**
4368            * Returns the last journal article in the ordered set where companyId = &#63; and status = &#63;.
4369            *
4370            * @param companyId the company ID
4371            * @param status the status
4372            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4373            * @return the last matching journal article
4374            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4375            * @throws SystemException if a system exception occurred
4376            */
4377            public com.liferay.portlet.journal.model.JournalArticle findByC_ST_Last(
4378                    long companyId, int status,
4379                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4380                    throws com.liferay.portal.kernel.exception.SystemException,
4381                            com.liferay.portlet.journal.NoSuchArticleException;
4382    
4383            /**
4384            * Returns the last journal article in the ordered set where companyId = &#63; and status = &#63;.
4385            *
4386            * @param companyId the company ID
4387            * @param status the status
4388            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4389            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
4390            * @throws SystemException if a system exception occurred
4391            */
4392            public com.liferay.portlet.journal.model.JournalArticle fetchByC_ST_Last(
4393                    long companyId, int status,
4394                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4395                    throws com.liferay.portal.kernel.exception.SystemException;
4396    
4397            /**
4398            * Returns the journal articles before and after the current journal article in the ordered set where companyId = &#63; and status = &#63;.
4399            *
4400            * @param id the primary key of the current journal article
4401            * @param companyId the company ID
4402            * @param status the status
4403            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4404            * @return the previous, current, and next journal article
4405            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
4406            * @throws SystemException if a system exception occurred
4407            */
4408            public com.liferay.portlet.journal.model.JournalArticle[] findByC_ST_PrevAndNext(
4409                    long id, long companyId, int status,
4410                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4411                    throws com.liferay.portal.kernel.exception.SystemException,
4412                            com.liferay.portlet.journal.NoSuchArticleException;
4413    
4414            /**
4415            * Removes all the journal articles where companyId = &#63; and status = &#63; from the database.
4416            *
4417            * @param companyId the company ID
4418            * @param status the status
4419            * @throws SystemException if a system exception occurred
4420            */
4421            public void removeByC_ST(long companyId, int status)
4422                    throws com.liferay.portal.kernel.exception.SystemException;
4423    
4424            /**
4425            * Returns the number of journal articles where companyId = &#63; and status = &#63;.
4426            *
4427            * @param companyId the company ID
4428            * @param status the status
4429            * @return the number of matching journal articles
4430            * @throws SystemException if a system exception occurred
4431            */
4432            public int countByC_ST(long companyId, int status)
4433                    throws com.liferay.portal.kernel.exception.SystemException;
4434    
4435            /**
4436            * Returns all the journal articles where companyId = &#63; and status &ne; &#63;.
4437            *
4438            * @param companyId the company ID
4439            * @param status the status
4440            * @return the matching journal articles
4441            * @throws SystemException if a system exception occurred
4442            */
4443            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_NotST(
4444                    long companyId, int status)
4445                    throws com.liferay.portal.kernel.exception.SystemException;
4446    
4447            /**
4448            * Returns a range of all the journal articles where companyId = &#63; and status &ne; &#63;.
4449            *
4450            * <p>
4451            * 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.
4452            * </p>
4453            *
4454            * @param companyId the company ID
4455            * @param status the status
4456            * @param start the lower bound of the range of journal articles
4457            * @param end the upper bound of the range of journal articles (not inclusive)
4458            * @return the range of matching journal articles
4459            * @throws SystemException if a system exception occurred
4460            */
4461            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_NotST(
4462                    long companyId, int status, int start, int end)
4463                    throws com.liferay.portal.kernel.exception.SystemException;
4464    
4465            /**
4466            * Returns an ordered range of all the journal articles where companyId = &#63; and status &ne; &#63;.
4467            *
4468            * <p>
4469            * 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.
4470            * </p>
4471            *
4472            * @param companyId the company ID
4473            * @param status the status
4474            * @param start the lower bound of the range of journal articles
4475            * @param end the upper bound of the range of journal articles (not inclusive)
4476            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4477            * @return the ordered range of matching journal articles
4478            * @throws SystemException if a system exception occurred
4479            */
4480            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_NotST(
4481                    long companyId, int status, int start, int end,
4482                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4483                    throws com.liferay.portal.kernel.exception.SystemException;
4484    
4485            /**
4486            * Returns the first journal article in the ordered set where companyId = &#63; and status &ne; &#63;.
4487            *
4488            * @param companyId the company ID
4489            * @param status the status
4490            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4491            * @return the first matching journal article
4492            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4493            * @throws SystemException if a system exception occurred
4494            */
4495            public com.liferay.portlet.journal.model.JournalArticle findByC_NotST_First(
4496                    long companyId, int status,
4497                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4498                    throws com.liferay.portal.kernel.exception.SystemException,
4499                            com.liferay.portlet.journal.NoSuchArticleException;
4500    
4501            /**
4502            * Returns the first journal article in the ordered set where companyId = &#63; and status &ne; &#63;.
4503            *
4504            * @param companyId the company ID
4505            * @param status the status
4506            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4507            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
4508            * @throws SystemException if a system exception occurred
4509            */
4510            public com.liferay.portlet.journal.model.JournalArticle fetchByC_NotST_First(
4511                    long companyId, int status,
4512                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4513                    throws com.liferay.portal.kernel.exception.SystemException;
4514    
4515            /**
4516            * Returns the last journal article in the ordered set where companyId = &#63; and status &ne; &#63;.
4517            *
4518            * @param companyId the company ID
4519            * @param status the status
4520            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4521            * @return the last matching journal article
4522            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4523            * @throws SystemException if a system exception occurred
4524            */
4525            public com.liferay.portlet.journal.model.JournalArticle findByC_NotST_Last(
4526                    long companyId, int status,
4527                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4528                    throws com.liferay.portal.kernel.exception.SystemException,
4529                            com.liferay.portlet.journal.NoSuchArticleException;
4530    
4531            /**
4532            * Returns the last journal article in the ordered set where companyId = &#63; and status &ne; &#63;.
4533            *
4534            * @param companyId the company ID
4535            * @param status the status
4536            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4537            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
4538            * @throws SystemException if a system exception occurred
4539            */
4540            public com.liferay.portlet.journal.model.JournalArticle fetchByC_NotST_Last(
4541                    long companyId, int status,
4542                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4543                    throws com.liferay.portal.kernel.exception.SystemException;
4544    
4545            /**
4546            * Returns the journal articles before and after the current journal article in the ordered set where companyId = &#63; and status &ne; &#63;.
4547            *
4548            * @param id the primary key of the current journal article
4549            * @param companyId the company ID
4550            * @param status the status
4551            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4552            * @return the previous, current, and next journal article
4553            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
4554            * @throws SystemException if a system exception occurred
4555            */
4556            public com.liferay.portlet.journal.model.JournalArticle[] findByC_NotST_PrevAndNext(
4557                    long id, long companyId, int status,
4558                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4559                    throws com.liferay.portal.kernel.exception.SystemException,
4560                            com.liferay.portlet.journal.NoSuchArticleException;
4561    
4562            /**
4563            * Removes all the journal articles where companyId = &#63; and status &ne; &#63; from the database.
4564            *
4565            * @param companyId the company ID
4566            * @param status the status
4567            * @throws SystemException if a system exception occurred
4568            */
4569            public void removeByC_NotST(long companyId, int status)
4570                    throws com.liferay.portal.kernel.exception.SystemException;
4571    
4572            /**
4573            * Returns the number of journal articles where companyId = &#63; and status &ne; &#63;.
4574            *
4575            * @param companyId the company ID
4576            * @param status the status
4577            * @return the number of matching journal articles
4578            * @throws SystemException if a system exception occurred
4579            */
4580            public int countByC_NotST(long companyId, int status)
4581                    throws com.liferay.portal.kernel.exception.SystemException;
4582    
4583            /**
4584            * Returns all the journal articles where classNameId = &#63; and templateId = &#63;.
4585            *
4586            * @param classNameId the class name ID
4587            * @param templateId the template ID
4588            * @return the matching journal articles
4589            * @throws SystemException if a system exception occurred
4590            */
4591            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_T(
4592                    long classNameId, java.lang.String templateId)
4593                    throws com.liferay.portal.kernel.exception.SystemException;
4594    
4595            /**
4596            * Returns a range of all the journal articles where classNameId = &#63; and templateId = &#63;.
4597            *
4598            * <p>
4599            * 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.
4600            * </p>
4601            *
4602            * @param classNameId the class name ID
4603            * @param templateId the template ID
4604            * @param start the lower bound of the range of journal articles
4605            * @param end the upper bound of the range of journal articles (not inclusive)
4606            * @return the range of matching journal articles
4607            * @throws SystemException if a system exception occurred
4608            */
4609            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_T(
4610                    long classNameId, java.lang.String templateId, int start, int end)
4611                    throws com.liferay.portal.kernel.exception.SystemException;
4612    
4613            /**
4614            * Returns an ordered range of all the journal articles where classNameId = &#63; and templateId = &#63;.
4615            *
4616            * <p>
4617            * 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.
4618            * </p>
4619            *
4620            * @param classNameId the class name ID
4621            * @param templateId the template ID
4622            * @param start the lower bound of the range of journal articles
4623            * @param end the upper bound of the range of journal articles (not inclusive)
4624            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4625            * @return the ordered range of matching journal articles
4626            * @throws SystemException if a system exception occurred
4627            */
4628            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_T(
4629                    long classNameId, java.lang.String templateId, int start, int end,
4630                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4631                    throws com.liferay.portal.kernel.exception.SystemException;
4632    
4633            /**
4634            * Returns the first journal article in the ordered set where classNameId = &#63; and templateId = &#63;.
4635            *
4636            * @param classNameId the class name ID
4637            * @param templateId the template ID
4638            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4639            * @return the first matching journal article
4640            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4641            * @throws SystemException if a system exception occurred
4642            */
4643            public com.liferay.portlet.journal.model.JournalArticle findByC_T_First(
4644                    long classNameId, java.lang.String templateId,
4645                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4646                    throws com.liferay.portal.kernel.exception.SystemException,
4647                            com.liferay.portlet.journal.NoSuchArticleException;
4648    
4649            /**
4650            * Returns the first journal article in the ordered set where classNameId = &#63; and templateId = &#63;.
4651            *
4652            * @param classNameId the class name ID
4653            * @param templateId the template ID
4654            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4655            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
4656            * @throws SystemException if a system exception occurred
4657            */
4658            public com.liferay.portlet.journal.model.JournalArticle fetchByC_T_First(
4659                    long classNameId, java.lang.String templateId,
4660                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4661                    throws com.liferay.portal.kernel.exception.SystemException;
4662    
4663            /**
4664            * Returns the last journal article in the ordered set where classNameId = &#63; and templateId = &#63;.
4665            *
4666            * @param classNameId the class name ID
4667            * @param templateId the template ID
4668            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4669            * @return the last matching journal article
4670            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4671            * @throws SystemException if a system exception occurred
4672            */
4673            public com.liferay.portlet.journal.model.JournalArticle findByC_T_Last(
4674                    long classNameId, java.lang.String templateId,
4675                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4676                    throws com.liferay.portal.kernel.exception.SystemException,
4677                            com.liferay.portlet.journal.NoSuchArticleException;
4678    
4679            /**
4680            * Returns the last journal article in the ordered set where classNameId = &#63; and templateId = &#63;.
4681            *
4682            * @param classNameId the class name ID
4683            * @param templateId the template ID
4684            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4685            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
4686            * @throws SystemException if a system exception occurred
4687            */
4688            public com.liferay.portlet.journal.model.JournalArticle fetchByC_T_Last(
4689                    long classNameId, java.lang.String templateId,
4690                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4691                    throws com.liferay.portal.kernel.exception.SystemException;
4692    
4693            /**
4694            * Returns the journal articles before and after the current journal article in the ordered set where classNameId = &#63; and templateId = &#63;.
4695            *
4696            * @param id the primary key of the current journal article
4697            * @param classNameId the class name ID
4698            * @param templateId the template ID
4699            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4700            * @return the previous, current, and next journal article
4701            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
4702            * @throws SystemException if a system exception occurred
4703            */
4704            public com.liferay.portlet.journal.model.JournalArticle[] findByC_T_PrevAndNext(
4705                    long id, long classNameId, java.lang.String templateId,
4706                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4707                    throws com.liferay.portal.kernel.exception.SystemException,
4708                            com.liferay.portlet.journal.NoSuchArticleException;
4709    
4710            /**
4711            * Removes all the journal articles where classNameId = &#63; and templateId = &#63; from the database.
4712            *
4713            * @param classNameId the class name ID
4714            * @param templateId the template ID
4715            * @throws SystemException if a system exception occurred
4716            */
4717            public void removeByC_T(long classNameId, java.lang.String templateId)
4718                    throws com.liferay.portal.kernel.exception.SystemException;
4719    
4720            /**
4721            * Returns the number of journal articles where classNameId = &#63; and templateId = &#63;.
4722            *
4723            * @param classNameId the class name ID
4724            * @param templateId the template ID
4725            * @return the number of matching journal articles
4726            * @throws SystemException if a system exception occurred
4727            */
4728            public int countByC_T(long classNameId, java.lang.String templateId)
4729                    throws com.liferay.portal.kernel.exception.SystemException;
4730    
4731            /**
4732            * Returns all the journal articles where displayDate &lt; &#63; and status = &#63;.
4733            *
4734            * @param displayDate the display date
4735            * @param status the status
4736            * @return the matching journal articles
4737            * @throws SystemException if a system exception occurred
4738            */
4739            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLtD_S(
4740                    java.util.Date displayDate, int status)
4741                    throws com.liferay.portal.kernel.exception.SystemException;
4742    
4743            /**
4744            * Returns a range of all the journal articles where displayDate &lt; &#63; and status = &#63;.
4745            *
4746            * <p>
4747            * 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.
4748            * </p>
4749            *
4750            * @param displayDate the display date
4751            * @param status the status
4752            * @param start the lower bound of the range of journal articles
4753            * @param end the upper bound of the range of journal articles (not inclusive)
4754            * @return the range of matching journal articles
4755            * @throws SystemException if a system exception occurred
4756            */
4757            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLtD_S(
4758                    java.util.Date displayDate, int status, int start, int end)
4759                    throws com.liferay.portal.kernel.exception.SystemException;
4760    
4761            /**
4762            * Returns an ordered range of all the journal articles where displayDate &lt; &#63; and status = &#63;.
4763            *
4764            * <p>
4765            * 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.
4766            * </p>
4767            *
4768            * @param displayDate the display date
4769            * @param status the status
4770            * @param start the lower bound of the range of journal articles
4771            * @param end the upper bound of the range of journal articles (not inclusive)
4772            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4773            * @return the ordered range of matching journal articles
4774            * @throws SystemException if a system exception occurred
4775            */
4776            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLtD_S(
4777                    java.util.Date displayDate, int status, int start, int end,
4778                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4779                    throws com.liferay.portal.kernel.exception.SystemException;
4780    
4781            /**
4782            * Returns the first journal article in the ordered set where displayDate &lt; &#63; and status = &#63;.
4783            *
4784            * @param displayDate the display date
4785            * @param status the status
4786            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4787            * @return the first matching journal article
4788            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4789            * @throws SystemException if a system exception occurred
4790            */
4791            public com.liferay.portlet.journal.model.JournalArticle findByLtD_S_First(
4792                    java.util.Date displayDate, int status,
4793                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4794                    throws com.liferay.portal.kernel.exception.SystemException,
4795                            com.liferay.portlet.journal.NoSuchArticleException;
4796    
4797            /**
4798            * Returns the first journal article in the ordered set where displayDate &lt; &#63; and status = &#63;.
4799            *
4800            * @param displayDate the display date
4801            * @param status the status
4802            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4803            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
4804            * @throws SystemException if a system exception occurred
4805            */
4806            public com.liferay.portlet.journal.model.JournalArticle fetchByLtD_S_First(
4807                    java.util.Date displayDate, int status,
4808                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4809                    throws com.liferay.portal.kernel.exception.SystemException;
4810    
4811            /**
4812            * Returns the last journal article in the ordered set where displayDate &lt; &#63; and status = &#63;.
4813            *
4814            * @param displayDate the display date
4815            * @param status the status
4816            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4817            * @return the last 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 findByLtD_S_Last(
4822                    java.util.Date displayDate, int status,
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 last journal article in the ordered set where displayDate &lt; &#63; and status = &#63;.
4829            *
4830            * @param displayDate the display date
4831            * @param status the status
4832            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4833            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
4834            * @throws SystemException if a system exception occurred
4835            */
4836            public com.liferay.portlet.journal.model.JournalArticle fetchByLtD_S_Last(
4837                    java.util.Date displayDate, int status,
4838                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4839                    throws com.liferay.portal.kernel.exception.SystemException;
4840    
4841            /**
4842            * Returns the journal articles before and after the current journal article in the ordered set where displayDate &lt; &#63; and status = &#63;.
4843            *
4844            * @param id the primary key of the current journal article
4845            * @param displayDate the display date
4846            * @param status the status
4847            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4848            * @return the previous, current, and next journal article
4849            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
4850            * @throws SystemException if a system exception occurred
4851            */
4852            public com.liferay.portlet.journal.model.JournalArticle[] findByLtD_S_PrevAndNext(
4853                    long id, java.util.Date displayDate, int status,
4854                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4855                    throws com.liferay.portal.kernel.exception.SystemException,
4856                            com.liferay.portlet.journal.NoSuchArticleException;
4857    
4858            /**
4859            * Removes all the journal articles where displayDate &lt; &#63; and status = &#63; from the database.
4860            *
4861            * @param displayDate the display date
4862            * @param status the status
4863            * @throws SystemException if a system exception occurred
4864            */
4865            public void removeByLtD_S(java.util.Date displayDate, int status)
4866                    throws com.liferay.portal.kernel.exception.SystemException;
4867    
4868            /**
4869            * Returns the number of journal articles where displayDate &lt; &#63; and status = &#63;.
4870            *
4871            * @param displayDate the display date
4872            * @param status the status
4873            * @return the number of matching journal articles
4874            * @throws SystemException if a system exception occurred
4875            */
4876            public int countByLtD_S(java.util.Date displayDate, int status)
4877                    throws com.liferay.portal.kernel.exception.SystemException;
4878    
4879            /**
4880            * Returns all the journal articles where resourcePrimKey = &#63; and indexable = &#63; and status = &#63;.
4881            *
4882            * @param resourcePrimKey the resource prim key
4883            * @param indexable the indexable
4884            * @param status the status
4885            * @return the matching journal articles
4886            * @throws SystemException if a system exception occurred
4887            */
4888            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S(
4889                    long resourcePrimKey, boolean indexable, int status)
4890                    throws com.liferay.portal.kernel.exception.SystemException;
4891    
4892            /**
4893            * Returns a range of all the journal articles where resourcePrimKey = &#63; and indexable = &#63; and status = &#63;.
4894            *
4895            * <p>
4896            * 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.
4897            * </p>
4898            *
4899            * @param resourcePrimKey the resource prim key
4900            * @param indexable the indexable
4901            * @param status the status
4902            * @param start the lower bound of the range of journal articles
4903            * @param end the upper bound of the range of journal articles (not inclusive)
4904            * @return the range of matching journal articles
4905            * @throws SystemException if a system exception occurred
4906            */
4907            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S(
4908                    long resourcePrimKey, boolean indexable, int status, int start, int end)
4909                    throws com.liferay.portal.kernel.exception.SystemException;
4910    
4911            /**
4912            * Returns an ordered range of all the journal articles where resourcePrimKey = &#63; and indexable = &#63; and status = &#63;.
4913            *
4914            * <p>
4915            * 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.
4916            * </p>
4917            *
4918            * @param resourcePrimKey the resource prim key
4919            * @param indexable the indexable
4920            * @param status the status
4921            * @param start the lower bound of the range of journal articles
4922            * @param end the upper bound of the range of journal articles (not inclusive)
4923            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4924            * @return the ordered range of matching journal articles
4925            * @throws SystemException if a system exception occurred
4926            */
4927            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S(
4928                    long resourcePrimKey, boolean indexable, int status, int start,
4929                    int end,
4930                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4931                    throws com.liferay.portal.kernel.exception.SystemException;
4932    
4933            /**
4934            * Returns the first journal article in the ordered set where resourcePrimKey = &#63; and indexable = &#63; and status = &#63;.
4935            *
4936            * @param resourcePrimKey the resource prim key
4937            * @param indexable the indexable
4938            * @param status the status
4939            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4940            * @return the first matching journal article
4941            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4942            * @throws SystemException if a system exception occurred
4943            */
4944            public com.liferay.portlet.journal.model.JournalArticle findByR_I_S_First(
4945                    long resourcePrimKey, boolean indexable, int status,
4946                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4947                    throws com.liferay.portal.kernel.exception.SystemException,
4948                            com.liferay.portlet.journal.NoSuchArticleException;
4949    
4950            /**
4951            * Returns the first journal article in the ordered set where resourcePrimKey = &#63; and indexable = &#63; and status = &#63;.
4952            *
4953            * @param resourcePrimKey the resource prim key
4954            * @param indexable the indexable
4955            * @param status the status
4956            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4957            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
4958            * @throws SystemException if a system exception occurred
4959            */
4960            public com.liferay.portlet.journal.model.JournalArticle fetchByR_I_S_First(
4961                    long resourcePrimKey, boolean indexable, int status,
4962                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4963                    throws com.liferay.portal.kernel.exception.SystemException;
4964    
4965            /**
4966            * Returns the last journal article in the ordered set where resourcePrimKey = &#63; and indexable = &#63; and status = &#63;.
4967            *
4968            * @param resourcePrimKey the resource prim key
4969            * @param indexable the indexable
4970            * @param status the status
4971            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4972            * @return the last matching journal article
4973            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4974            * @throws SystemException if a system exception occurred
4975            */
4976            public com.liferay.portlet.journal.model.JournalArticle findByR_I_S_Last(
4977                    long resourcePrimKey, boolean indexable, int status,
4978                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4979                    throws com.liferay.portal.kernel.exception.SystemException,
4980                            com.liferay.portlet.journal.NoSuchArticleException;
4981    
4982            /**
4983            * Returns the last journal article in the ordered set where resourcePrimKey = &#63; and indexable = &#63; and status = &#63;.
4984            *
4985            * @param resourcePrimKey the resource prim key
4986            * @param indexable the indexable
4987            * @param status the status
4988            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4989            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
4990            * @throws SystemException if a system exception occurred
4991            */
4992            public com.liferay.portlet.journal.model.JournalArticle fetchByR_I_S_Last(
4993                    long resourcePrimKey, boolean indexable, int status,
4994                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4995                    throws com.liferay.portal.kernel.exception.SystemException;
4996    
4997            /**
4998            * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = &#63; and indexable = &#63; and status = &#63;.
4999            *
5000            * @param id the primary key of the current journal article
5001            * @param resourcePrimKey the resource prim key
5002            * @param indexable the indexable
5003            * @param status the status
5004            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5005            * @return the previous, current, and next journal article
5006            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
5007            * @throws SystemException if a system exception occurred
5008            */
5009            public com.liferay.portlet.journal.model.JournalArticle[] findByR_I_S_PrevAndNext(
5010                    long id, long resourcePrimKey, boolean indexable, int status,
5011                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5012                    throws com.liferay.portal.kernel.exception.SystemException,
5013                            com.liferay.portlet.journal.NoSuchArticleException;
5014    
5015            /**
5016            * Returns all the journal articles where resourcePrimKey = &#63; and indexable = &#63; and status = any &#63;.
5017            *
5018            * <p>
5019            * 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.
5020            * </p>
5021            *
5022            * @param resourcePrimKey the resource prim key
5023            * @param indexable the indexable
5024            * @param statuses the statuses
5025            * @return the matching journal articles
5026            * @throws SystemException if a system exception occurred
5027            */
5028            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S(
5029                    long resourcePrimKey, boolean indexable, int[] statuses)
5030                    throws com.liferay.portal.kernel.exception.SystemException;
5031    
5032            /**
5033            * Returns a range of all the journal articles where resourcePrimKey = &#63; and indexable = &#63; and status = any &#63;.
5034            *
5035            * <p>
5036            * 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.
5037            * </p>
5038            *
5039            * @param resourcePrimKey the resource prim key
5040            * @param indexable the indexable
5041            * @param statuses the statuses
5042            * @param start the lower bound of the range of journal articles
5043            * @param end the upper bound of the range of journal articles (not inclusive)
5044            * @return the range of matching journal articles
5045            * @throws SystemException if a system exception occurred
5046            */
5047            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S(
5048                    long resourcePrimKey, boolean indexable, int[] statuses, int start,
5049                    int end) throws com.liferay.portal.kernel.exception.SystemException;
5050    
5051            /**
5052            * Returns an ordered range of all the journal articles where resourcePrimKey = &#63; and indexable = &#63; and status = any &#63;.
5053            *
5054            * <p>
5055            * 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.
5056            * </p>
5057            *
5058            * @param resourcePrimKey the resource prim key
5059            * @param indexable the indexable
5060            * @param statuses the statuses
5061            * @param start the lower bound of the range of journal articles
5062            * @param end the upper bound of the range of journal articles (not inclusive)
5063            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5064            * @return the ordered range of matching journal articles
5065            * @throws SystemException if a system exception occurred
5066            */
5067            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S(
5068                    long resourcePrimKey, boolean indexable, int[] statuses, int start,
5069                    int end,
5070                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5071                    throws com.liferay.portal.kernel.exception.SystemException;
5072    
5073            /**
5074            * Removes all the journal articles where resourcePrimKey = &#63; and indexable = &#63; and status = &#63; from the database.
5075            *
5076            * @param resourcePrimKey the resource prim key
5077            * @param indexable the indexable
5078            * @param status the status
5079            * @throws SystemException if a system exception occurred
5080            */
5081            public void removeByR_I_S(long resourcePrimKey, boolean indexable,
5082                    int status) throws com.liferay.portal.kernel.exception.SystemException;
5083    
5084            /**
5085            * Returns the number of journal articles where resourcePrimKey = &#63; and indexable = &#63; and status = &#63;.
5086            *
5087            * @param resourcePrimKey the resource prim key
5088            * @param indexable the indexable
5089            * @param status the status
5090            * @return the number of matching journal articles
5091            * @throws SystemException if a system exception occurred
5092            */
5093            public int countByR_I_S(long resourcePrimKey, boolean indexable, int status)
5094                    throws com.liferay.portal.kernel.exception.SystemException;
5095    
5096            /**
5097            * Returns the number of journal articles where resourcePrimKey = &#63; and indexable = &#63; and status = any &#63;.
5098            *
5099            * @param resourcePrimKey the resource prim key
5100            * @param indexable the indexable
5101            * @param statuses the statuses
5102            * @return the number of matching journal articles
5103            * @throws SystemException if a system exception occurred
5104            */
5105            public int countByR_I_S(long resourcePrimKey, boolean indexable,
5106                    int[] statuses)
5107                    throws com.liferay.portal.kernel.exception.SystemException;
5108    
5109            /**
5110            * Returns all the journal articles where groupId = &#63; and userId = &#63; and classNameId = &#63;.
5111            *
5112            * @param groupId the group ID
5113            * @param userId the user ID
5114            * @param classNameId the class name ID
5115            * @return the matching journal articles
5116            * @throws SystemException if a system exception occurred
5117            */
5118            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C(
5119                    long groupId, long userId, long classNameId)
5120                    throws com.liferay.portal.kernel.exception.SystemException;
5121    
5122            /**
5123            * Returns a range of all the journal articles where groupId = &#63; and userId = &#63; and classNameId = &#63;.
5124            *
5125            * <p>
5126            * 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.
5127            * </p>
5128            *
5129            * @param groupId the group ID
5130            * @param userId the user ID
5131            * @param classNameId the class name ID
5132            * @param start the lower bound of the range of journal articles
5133            * @param end the upper bound of the range of journal articles (not inclusive)
5134            * @return the range of matching journal articles
5135            * @throws SystemException if a system exception occurred
5136            */
5137            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C(
5138                    long groupId, long userId, long classNameId, int start, int end)
5139                    throws com.liferay.portal.kernel.exception.SystemException;
5140    
5141            /**
5142            * Returns an ordered range of all the journal articles where groupId = &#63; and userId = &#63; and classNameId = &#63;.
5143            *
5144            * <p>
5145            * 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.
5146            * </p>
5147            *
5148            * @param groupId the group ID
5149            * @param userId the user ID
5150            * @param classNameId the class name ID
5151            * @param start the lower bound of the range of journal articles
5152            * @param end the upper bound of the range of journal articles (not inclusive)
5153            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5154            * @return the ordered range of matching journal articles
5155            * @throws SystemException if a system exception occurred
5156            */
5157            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C(
5158                    long groupId, long userId, long classNameId, int start, int end,
5159                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5160                    throws com.liferay.portal.kernel.exception.SystemException;
5161    
5162            /**
5163            * Returns the first journal article in the ordered set where groupId = &#63; and userId = &#63; and classNameId = &#63;.
5164            *
5165            * @param groupId the group ID
5166            * @param userId the user ID
5167            * @param classNameId the class name ID
5168            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5169            * @return the first matching journal article
5170            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5171            * @throws SystemException if a system exception occurred
5172            */
5173            public com.liferay.portlet.journal.model.JournalArticle findByG_U_C_First(
5174                    long groupId, long userId, long classNameId,
5175                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5176                    throws com.liferay.portal.kernel.exception.SystemException,
5177                            com.liferay.portlet.journal.NoSuchArticleException;
5178    
5179            /**
5180            * Returns the first journal article in the ordered set where groupId = &#63; and userId = &#63; and classNameId = &#63;.
5181            *
5182            * @param groupId the group ID
5183            * @param userId the user ID
5184            * @param classNameId the class name ID
5185            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5186            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
5187            * @throws SystemException if a system exception occurred
5188            */
5189            public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_C_First(
5190                    long groupId, long userId, long classNameId,
5191                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5192                    throws com.liferay.portal.kernel.exception.SystemException;
5193    
5194            /**
5195            * Returns the last journal article in the ordered set where groupId = &#63; and userId = &#63; and classNameId = &#63;.
5196            *
5197            * @param groupId the group ID
5198            * @param userId the user ID
5199            * @param classNameId the class name ID
5200            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5201            * @return the last matching journal article
5202            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5203            * @throws SystemException if a system exception occurred
5204            */
5205            public com.liferay.portlet.journal.model.JournalArticle findByG_U_C_Last(
5206                    long groupId, long userId, long classNameId,
5207                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5208                    throws com.liferay.portal.kernel.exception.SystemException,
5209                            com.liferay.portlet.journal.NoSuchArticleException;
5210    
5211            /**
5212            * Returns the last journal article in the ordered set where groupId = &#63; and userId = &#63; and classNameId = &#63;.
5213            *
5214            * @param groupId the group ID
5215            * @param userId the user ID
5216            * @param classNameId the class name ID
5217            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5218            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
5219            * @throws SystemException if a system exception occurred
5220            */
5221            public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_C_Last(
5222                    long groupId, long userId, long classNameId,
5223                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5224                    throws com.liferay.portal.kernel.exception.SystemException;
5225    
5226            /**
5227            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and userId = &#63; and classNameId = &#63;.
5228            *
5229            * @param id the primary key of the current journal article
5230            * @param groupId the group ID
5231            * @param userId the user ID
5232            * @param classNameId the class name ID
5233            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5234            * @return the previous, current, and next journal article
5235            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
5236            * @throws SystemException if a system exception occurred
5237            */
5238            public com.liferay.portlet.journal.model.JournalArticle[] findByG_U_C_PrevAndNext(
5239                    long id, long groupId, long userId, long classNameId,
5240                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5241                    throws com.liferay.portal.kernel.exception.SystemException,
5242                            com.liferay.portlet.journal.NoSuchArticleException;
5243    
5244            /**
5245            * Returns all the journal articles that the user has permission to view where groupId = &#63; and userId = &#63; and classNameId = &#63;.
5246            *
5247            * @param groupId the group ID
5248            * @param userId the user ID
5249            * @param classNameId the class name ID
5250            * @return the matching journal articles that the user has permission to view
5251            * @throws SystemException if a system exception occurred
5252            */
5253            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C(
5254                    long groupId, long userId, long classNameId)
5255                    throws com.liferay.portal.kernel.exception.SystemException;
5256    
5257            /**
5258            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and userId = &#63; and classNameId = &#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 userId the user ID
5266            * @param classNameId the class name ID
5267            * @param start the lower bound of the range of journal articles
5268            * @param end the upper bound of the range of journal articles (not inclusive)
5269            * @return the range of matching journal articles that the user has permission to view
5270            * @throws SystemException if a system exception occurred
5271            */
5272            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C(
5273                    long groupId, long userId, long classNameId, int start, int end)
5274                    throws com.liferay.portal.kernel.exception.SystemException;
5275    
5276            /**
5277            * 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;.
5278            *
5279            * <p>
5280            * 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.
5281            * </p>
5282            *
5283            * @param groupId the group ID
5284            * @param userId the user ID
5285            * @param classNameId the class name ID
5286            * @param start the lower bound of the range of journal articles
5287            * @param end the upper bound of the range of journal articles (not inclusive)
5288            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5289            * @return the ordered range of matching journal articles that the user has permission to view
5290            * @throws SystemException if a system exception occurred
5291            */
5292            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C(
5293                    long groupId, long userId, long classNameId, int start, int end,
5294                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5295                    throws com.liferay.portal.kernel.exception.SystemException;
5296    
5297            /**
5298            * 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;.
5299            *
5300            * @param id the primary key of the current journal article
5301            * @param groupId the group ID
5302            * @param userId the user ID
5303            * @param classNameId the class name ID
5304            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5305            * @return the previous, current, and next journal article
5306            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
5307            * @throws SystemException if a system exception occurred
5308            */
5309            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_U_C_PrevAndNext(
5310                    long id, long groupId, long userId, long classNameId,
5311                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5312                    throws com.liferay.portal.kernel.exception.SystemException,
5313                            com.liferay.portlet.journal.NoSuchArticleException;
5314    
5315            /**
5316            * Removes all the journal articles where groupId = &#63; and userId = &#63; and classNameId = &#63; from the database.
5317            *
5318            * @param groupId the group ID
5319            * @param userId the user ID
5320            * @param classNameId the class name ID
5321            * @throws SystemException if a system exception occurred
5322            */
5323            public void removeByG_U_C(long groupId, long userId, long classNameId)
5324                    throws com.liferay.portal.kernel.exception.SystemException;
5325    
5326            /**
5327            * Returns the number of journal articles where groupId = &#63; and userId = &#63; and classNameId = &#63;.
5328            *
5329            * @param groupId the group ID
5330            * @param userId the user ID
5331            * @param classNameId the class name ID
5332            * @return the number of matching journal articles
5333            * @throws SystemException if a system exception occurred
5334            */
5335            public int countByG_U_C(long groupId, long userId, long classNameId)
5336                    throws com.liferay.portal.kernel.exception.SystemException;
5337    
5338            /**
5339            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and userId = &#63; and classNameId = &#63;.
5340            *
5341            * @param groupId the group ID
5342            * @param userId the user ID
5343            * @param classNameId the class name ID
5344            * @return the number of matching journal articles that the user has permission to view
5345            * @throws SystemException if a system exception occurred
5346            */
5347            public int filterCountByG_U_C(long groupId, long userId, long classNameId)
5348                    throws com.liferay.portal.kernel.exception.SystemException;
5349    
5350            /**
5351            * Returns all the journal articles where groupId = &#63; and folderId = &#63; and status = &#63;.
5352            *
5353            * @param groupId the group ID
5354            * @param folderId the folder ID
5355            * @param status the status
5356            * @return the matching journal articles
5357            * @throws SystemException if a system exception occurred
5358            */
5359            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST(
5360                    long groupId, long folderId, int status)
5361                    throws com.liferay.portal.kernel.exception.SystemException;
5362    
5363            /**
5364            * Returns a range of all the journal articles where groupId = &#63; and folderId = &#63; and status = &#63;.
5365            *
5366            * <p>
5367            * 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.
5368            * </p>
5369            *
5370            * @param groupId the group ID
5371            * @param folderId the folder ID
5372            * @param status the status
5373            * @param start the lower bound of the range of journal articles
5374            * @param end the upper bound of the range of journal articles (not inclusive)
5375            * @return the range of matching journal articles
5376            * @throws SystemException if a system exception occurred
5377            */
5378            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST(
5379                    long groupId, long folderId, int status, int start, int end)
5380                    throws com.liferay.portal.kernel.exception.SystemException;
5381    
5382            /**
5383            * Returns an ordered range of all the journal articles where groupId = &#63; and folderId = &#63; and status = &#63;.
5384            *
5385            * <p>
5386            * 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.
5387            * </p>
5388            *
5389            * @param groupId the group ID
5390            * @param folderId the folder ID
5391            * @param status the status
5392            * @param start the lower bound of the range of journal articles
5393            * @param end the upper bound of the range of journal articles (not inclusive)
5394            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5395            * @return the ordered range of matching journal articles
5396            * @throws SystemException if a system exception occurred
5397            */
5398            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST(
5399                    long groupId, long folderId, int status, int start, int end,
5400                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5401                    throws com.liferay.portal.kernel.exception.SystemException;
5402    
5403            /**
5404            * Returns the first journal article in the ordered set where groupId = &#63; and folderId = &#63; and status = &#63;.
5405            *
5406            * @param groupId the group ID
5407            * @param folderId the folder ID
5408            * @param status the status
5409            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5410            * @return the first matching journal article
5411            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5412            * @throws SystemException if a system exception occurred
5413            */
5414            public com.liferay.portlet.journal.model.JournalArticle findByG_F_ST_First(
5415                    long groupId, long folderId, int status,
5416                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5417                    throws com.liferay.portal.kernel.exception.SystemException,
5418                            com.liferay.portlet.journal.NoSuchArticleException;
5419    
5420            /**
5421            * Returns the first journal article in the ordered set where groupId = &#63; and folderId = &#63; and status = &#63;.
5422            *
5423            * @param groupId the group ID
5424            * @param folderId the folder ID
5425            * @param status the status
5426            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5427            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
5428            * @throws SystemException if a system exception occurred
5429            */
5430            public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_ST_First(
5431                    long groupId, long folderId, int status,
5432                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5433                    throws com.liferay.portal.kernel.exception.SystemException;
5434    
5435            /**
5436            * Returns the last journal article in the ordered set where groupId = &#63; and folderId = &#63; and status = &#63;.
5437            *
5438            * @param groupId the group ID
5439            * @param folderId the folder ID
5440            * @param status the status
5441            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5442            * @return the last matching journal article
5443            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5444            * @throws SystemException if a system exception occurred
5445            */
5446            public com.liferay.portlet.journal.model.JournalArticle findByG_F_ST_Last(
5447                    long groupId, long folderId, int status,
5448                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5449                    throws com.liferay.portal.kernel.exception.SystemException,
5450                            com.liferay.portlet.journal.NoSuchArticleException;
5451    
5452            /**
5453            * Returns the last journal article in the ordered set where groupId = &#63; and folderId = &#63; and status = &#63;.
5454            *
5455            * @param groupId the group ID
5456            * @param folderId the folder ID
5457            * @param status the status
5458            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5459            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
5460            * @throws SystemException if a system exception occurred
5461            */
5462            public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_ST_Last(
5463                    long groupId, long folderId, int status,
5464                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5465                    throws com.liferay.portal.kernel.exception.SystemException;
5466    
5467            /**
5468            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and folderId = &#63; and status = &#63;.
5469            *
5470            * @param id the primary key of the current journal article
5471            * @param groupId the group ID
5472            * @param folderId the folder ID
5473            * @param status the status
5474            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5475            * @return the previous, current, and next journal article
5476            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
5477            * @throws SystemException if a system exception occurred
5478            */
5479            public com.liferay.portlet.journal.model.JournalArticle[] findByG_F_ST_PrevAndNext(
5480                    long id, long groupId, long folderId, int status,
5481                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5482                    throws com.liferay.portal.kernel.exception.SystemException,
5483                            com.liferay.portlet.journal.NoSuchArticleException;
5484    
5485            /**
5486            * Returns all the journal articles that the user has permission to view where groupId = &#63; and folderId = &#63; and status = &#63;.
5487            *
5488            * @param groupId the group ID
5489            * @param folderId the folder ID
5490            * @param status the status
5491            * @return the matching journal articles that the user has permission to view
5492            * @throws SystemException if a system exception occurred
5493            */
5494            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST(
5495                    long groupId, long folderId, int status)
5496                    throws com.liferay.portal.kernel.exception.SystemException;
5497    
5498            /**
5499            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and folderId = &#63; and status = &#63;.
5500            *
5501            * <p>
5502            * 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.
5503            * </p>
5504            *
5505            * @param groupId the group ID
5506            * @param folderId the folder ID
5507            * @param status the status
5508            * @param start the lower bound of the range of journal articles
5509            * @param end the upper bound of the range of journal articles (not inclusive)
5510            * @return the range of matching journal articles that the user has permission to view
5511            * @throws SystemException if a system exception occurred
5512            */
5513            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST(
5514                    long groupId, long folderId, int status, int start, int end)
5515                    throws com.liferay.portal.kernel.exception.SystemException;
5516    
5517            /**
5518            * 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;.
5519            *
5520            * <p>
5521            * 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.
5522            * </p>
5523            *
5524            * @param groupId the group ID
5525            * @param folderId the folder ID
5526            * @param status the status
5527            * @param start the lower bound of the range of journal articles
5528            * @param end the upper bound of the range of journal articles (not inclusive)
5529            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5530            * @return the ordered range of matching journal articles that the user has permission to view
5531            * @throws SystemException if a system exception occurred
5532            */
5533            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST(
5534                    long groupId, long folderId, int status, int start, int end,
5535                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5536                    throws com.liferay.portal.kernel.exception.SystemException;
5537    
5538            /**
5539            * 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;.
5540            *
5541            * @param id the primary key of the current journal article
5542            * @param groupId the group ID
5543            * @param folderId the folder ID
5544            * @param status the status
5545            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5546            * @return the previous, current, and next journal article
5547            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
5548            * @throws SystemException if a system exception occurred
5549            */
5550            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_F_ST_PrevAndNext(
5551                    long id, long groupId, long folderId, int status,
5552                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5553                    throws com.liferay.portal.kernel.exception.SystemException,
5554                            com.liferay.portlet.journal.NoSuchArticleException;
5555    
5556            /**
5557            * Returns all the journal articles that the user has permission to view where groupId = &#63; and folderId = &#63; and status = any &#63;.
5558            *
5559            * @param groupId the group ID
5560            * @param folderId the folder ID
5561            * @param statuses the statuses
5562            * @return the matching journal articles that the user has permission to view
5563            * @throws SystemException if a system exception occurred
5564            */
5565            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST(
5566                    long groupId, long folderId, int[] statuses)
5567                    throws com.liferay.portal.kernel.exception.SystemException;
5568    
5569            /**
5570            * 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;.
5571            *
5572            * <p>
5573            * 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.
5574            * </p>
5575            *
5576            * @param groupId the group ID
5577            * @param folderId the folder ID
5578            * @param statuses the statuses
5579            * @param start the lower bound of the range of journal articles
5580            * @param end the upper bound of the range of journal articles (not inclusive)
5581            * @return the range of matching journal articles that the user has permission to view
5582            * @throws SystemException if a system exception occurred
5583            */
5584            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST(
5585                    long groupId, long folderId, int[] statuses, int start, int end)
5586                    throws com.liferay.portal.kernel.exception.SystemException;
5587    
5588            /**
5589            * 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;.
5590            *
5591            * <p>
5592            * 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.
5593            * </p>
5594            *
5595            * @param groupId the group ID
5596            * @param folderId the folder ID
5597            * @param statuses the statuses
5598            * @param start the lower bound of the range of journal articles
5599            * @param end the upper bound of the range of journal articles (not inclusive)
5600            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5601            * @return the ordered range of matching journal articles that the user has permission to view
5602            * @throws SystemException if a system exception occurred
5603            */
5604            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST(
5605                    long groupId, long folderId, int[] statuses, int start, int end,
5606                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5607                    throws com.liferay.portal.kernel.exception.SystemException;
5608    
5609            /**
5610            * Returns all the journal articles where groupId = &#63; and folderId = &#63; and status = any &#63;.
5611            *
5612            * <p>
5613            * 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.
5614            * </p>
5615            *
5616            * @param groupId the group ID
5617            * @param folderId the folder ID
5618            * @param statuses the statuses
5619            * @return the matching journal articles
5620            * @throws SystemException if a system exception occurred
5621            */
5622            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST(
5623                    long groupId, long folderId, int[] statuses)
5624                    throws com.liferay.portal.kernel.exception.SystemException;
5625    
5626            /**
5627            * Returns a range of all the journal articles where groupId = &#63; and folderId = &#63; and status = any &#63;.
5628            *
5629            * <p>
5630            * 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.
5631            * </p>
5632            *
5633            * @param groupId the group ID
5634            * @param folderId the folder ID
5635            * @param statuses the statuses
5636            * @param start the lower bound of the range of journal articles
5637            * @param end the upper bound of the range of journal articles (not inclusive)
5638            * @return the range of matching journal articles
5639            * @throws SystemException if a system exception occurred
5640            */
5641            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST(
5642                    long groupId, long folderId, int[] statuses, int start, int end)
5643                    throws com.liferay.portal.kernel.exception.SystemException;
5644    
5645            /**
5646            * Returns an ordered range of all the journal articles where groupId = &#63; and folderId = &#63; and status = any &#63;.
5647            *
5648            * <p>
5649            * 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.
5650            * </p>
5651            *
5652            * @param groupId the group ID
5653            * @param folderId the folder ID
5654            * @param statuses the statuses
5655            * @param start the lower bound of the range of journal articles
5656            * @param end the upper bound of the range of journal articles (not inclusive)
5657            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5658            * @return the ordered range of matching journal articles
5659            * @throws SystemException if a system exception occurred
5660            */
5661            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST(
5662                    long groupId, long folderId, int[] statuses, int start, int end,
5663                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5664                    throws com.liferay.portal.kernel.exception.SystemException;
5665    
5666            /**
5667            * Removes all the journal articles where groupId = &#63; and folderId = &#63; and status = &#63; from the database.
5668            *
5669            * @param groupId the group ID
5670            * @param folderId the folder ID
5671            * @param status the status
5672            * @throws SystemException if a system exception occurred
5673            */
5674            public void removeByG_F_ST(long groupId, long folderId, int status)
5675                    throws com.liferay.portal.kernel.exception.SystemException;
5676    
5677            /**
5678            * Returns the number of journal articles where groupId = &#63; and folderId = &#63; and status = &#63;.
5679            *
5680            * @param groupId the group ID
5681            * @param folderId the folder ID
5682            * @param status the status
5683            * @return the number of matching journal articles
5684            * @throws SystemException if a system exception occurred
5685            */
5686            public int countByG_F_ST(long groupId, long folderId, int status)
5687                    throws com.liferay.portal.kernel.exception.SystemException;
5688    
5689            /**
5690            * Returns the number of journal articles where groupId = &#63; and folderId = &#63; and status = any &#63;.
5691            *
5692            * @param groupId the group ID
5693            * @param folderId the folder ID
5694            * @param statuses the statuses
5695            * @return the number of matching journal articles
5696            * @throws SystemException if a system exception occurred
5697            */
5698            public int countByG_F_ST(long groupId, long folderId, int[] statuses)
5699                    throws com.liferay.portal.kernel.exception.SystemException;
5700    
5701            /**
5702            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and folderId = &#63; and status = &#63;.
5703            *
5704            * @param groupId the group ID
5705            * @param folderId the folder ID
5706            * @param status the status
5707            * @return the number of matching journal articles that the user has permission to view
5708            * @throws SystemException if a system exception occurred
5709            */
5710            public int filterCountByG_F_ST(long groupId, long folderId, int status)
5711                    throws com.liferay.portal.kernel.exception.SystemException;
5712    
5713            /**
5714            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and folderId = &#63; and status = any &#63;.
5715            *
5716            * @param groupId the group ID
5717            * @param folderId the folder ID
5718            * @param statuses the statuses
5719            * @return the number of matching journal articles that the user has permission to view
5720            * @throws SystemException if a system exception occurred
5721            */
5722            public int filterCountByG_F_ST(long groupId, long folderId, int[] statuses)
5723                    throws com.liferay.portal.kernel.exception.SystemException;
5724    
5725            /**
5726            * Returns all the journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5727            *
5728            * @param groupId the group ID
5729            * @param classNameId the class name ID
5730            * @param classPK the class p k
5731            * @return the matching journal articles
5732            * @throws SystemException if a system exception occurred
5733            */
5734            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C(
5735                    long groupId, long classNameId, long classPK)
5736                    throws com.liferay.portal.kernel.exception.SystemException;
5737    
5738            /**
5739            * Returns a range of all the journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5740            *
5741            * <p>
5742            * 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.
5743            * </p>
5744            *
5745            * @param groupId the group ID
5746            * @param classNameId the class name ID
5747            * @param classPK the class p k
5748            * @param start the lower bound of the range of journal articles
5749            * @param end the upper bound of the range of journal articles (not inclusive)
5750            * @return the range of matching journal articles
5751            * @throws SystemException if a system exception occurred
5752            */
5753            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C(
5754                    long groupId, long classNameId, long classPK, int start, int end)
5755                    throws com.liferay.portal.kernel.exception.SystemException;
5756    
5757            /**
5758            * Returns an ordered range of all the journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5759            *
5760            * <p>
5761            * 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.
5762            * </p>
5763            *
5764            * @param groupId the group ID
5765            * @param classNameId the class name ID
5766            * @param classPK the class p k
5767            * @param start the lower bound of the range of journal articles
5768            * @param end the upper bound of the range of journal articles (not inclusive)
5769            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5770            * @return the ordered range of matching journal articles
5771            * @throws SystemException if a system exception occurred
5772            */
5773            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C(
5774                    long groupId, long classNameId, long classPK, int start, int end,
5775                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5776                    throws com.liferay.portal.kernel.exception.SystemException;
5777    
5778            /**
5779            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5780            *
5781            * @param groupId the group ID
5782            * @param classNameId the class name ID
5783            * @param classPK the class p k
5784            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5785            * @return the first matching journal article
5786            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5787            * @throws SystemException if a system exception occurred
5788            */
5789            public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_First(
5790                    long groupId, long classNameId, long classPK,
5791                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5792                    throws com.liferay.portal.kernel.exception.SystemException,
5793                            com.liferay.portlet.journal.NoSuchArticleException;
5794    
5795            /**
5796            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5797            *
5798            * @param groupId the group ID
5799            * @param classNameId the class name ID
5800            * @param classPK the class p k
5801            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5802            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
5803            * @throws SystemException if a system exception occurred
5804            */
5805            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_C_First(
5806                    long groupId, long classNameId, long classPK,
5807                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5808                    throws com.liferay.portal.kernel.exception.SystemException;
5809    
5810            /**
5811            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5812            *
5813            * @param groupId the group ID
5814            * @param classNameId the class name ID
5815            * @param classPK the class p k
5816            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5817            * @return the last matching journal article
5818            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5819            * @throws SystemException if a system exception occurred
5820            */
5821            public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_Last(
5822                    long groupId, long classNameId, long classPK,
5823                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5824                    throws com.liferay.portal.kernel.exception.SystemException,
5825                            com.liferay.portlet.journal.NoSuchArticleException;
5826    
5827            /**
5828            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5829            *
5830            * @param groupId the group ID
5831            * @param classNameId the class name ID
5832            * @param classPK the class p k
5833            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5834            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
5835            * @throws SystemException if a system exception occurred
5836            */
5837            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_C_Last(
5838                    long groupId, long classNameId, long classPK,
5839                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5840                    throws com.liferay.portal.kernel.exception.SystemException;
5841    
5842            /**
5843            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5844            *
5845            * @param id the primary key of the current journal article
5846            * @param groupId the group ID
5847            * @param classNameId the class name ID
5848            * @param classPK the class p k
5849            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5850            * @return the previous, current, and next journal article
5851            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
5852            * @throws SystemException if a system exception occurred
5853            */
5854            public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_C_PrevAndNext(
5855                    long id, long groupId, long classNameId, long classPK,
5856                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5857                    throws com.liferay.portal.kernel.exception.SystemException,
5858                            com.liferay.portlet.journal.NoSuchArticleException;
5859    
5860            /**
5861            * Returns all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5862            *
5863            * @param groupId the group ID
5864            * @param classNameId the class name ID
5865            * @param classPK the class p k
5866            * @return the matching journal articles that the user has permission to view
5867            * @throws SystemException if a system exception occurred
5868            */
5869            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C(
5870                    long groupId, long classNameId, long classPK)
5871                    throws com.liferay.portal.kernel.exception.SystemException;
5872    
5873            /**
5874            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5875            *
5876            * <p>
5877            * 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.
5878            * </p>
5879            *
5880            * @param groupId the group ID
5881            * @param classNameId the class name ID
5882            * @param classPK the class p k
5883            * @param start the lower bound of the range of journal articles
5884            * @param end the upper bound of the range of journal articles (not inclusive)
5885            * @return the range of matching journal articles that the user has permission to view
5886            * @throws SystemException if a system exception occurred
5887            */
5888            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C(
5889                    long groupId, long classNameId, long classPK, int start, int end)
5890                    throws com.liferay.portal.kernel.exception.SystemException;
5891    
5892            /**
5893            * 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;.
5894            *
5895            * <p>
5896            * 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.
5897            * </p>
5898            *
5899            * @param groupId the group ID
5900            * @param classNameId the class name ID
5901            * @param classPK the class p k
5902            * @param start the lower bound of the range of journal articles
5903            * @param end the upper bound of the range of journal articles (not inclusive)
5904            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5905            * @return the ordered range of matching journal articles that the user has permission to view
5906            * @throws SystemException if a system exception occurred
5907            */
5908            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C(
5909                    long groupId, long classNameId, long classPK, int start, int end,
5910                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5911                    throws com.liferay.portal.kernel.exception.SystemException;
5912    
5913            /**
5914            * 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;.
5915            *
5916            * @param id the primary key of the current journal article
5917            * @param groupId the group ID
5918            * @param classNameId the class name ID
5919            * @param classPK the class p k
5920            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5921            * @return the previous, current, and next journal article
5922            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
5923            * @throws SystemException if a system exception occurred
5924            */
5925            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_C_PrevAndNext(
5926                    long id, long groupId, long classNameId, long classPK,
5927                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5928                    throws com.liferay.portal.kernel.exception.SystemException,
5929                            com.liferay.portlet.journal.NoSuchArticleException;
5930    
5931            /**
5932            * Removes all the journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63; from the database.
5933            *
5934            * @param groupId the group ID
5935            * @param classNameId the class name ID
5936            * @param classPK the class p k
5937            * @throws SystemException if a system exception occurred
5938            */
5939            public void removeByG_C_C(long groupId, long classNameId, long classPK)
5940                    throws com.liferay.portal.kernel.exception.SystemException;
5941    
5942            /**
5943            * Returns the number of journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5944            *
5945            * @param groupId the group ID
5946            * @param classNameId the class name ID
5947            * @param classPK the class p k
5948            * @return the number of matching journal articles
5949            * @throws SystemException if a system exception occurred
5950            */
5951            public int countByG_C_C(long groupId, long classNameId, long classPK)
5952                    throws com.liferay.portal.kernel.exception.SystemException;
5953    
5954            /**
5955            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5956            *
5957            * @param groupId the group ID
5958            * @param classNameId the class name ID
5959            * @param classPK the class p k
5960            * @return the number of matching journal articles that the user has permission to view
5961            * @throws SystemException if a system exception occurred
5962            */
5963            public int filterCountByG_C_C(long groupId, long classNameId, long classPK)
5964                    throws com.liferay.portal.kernel.exception.SystemException;
5965    
5966            /**
5967            * 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.
5968            *
5969            * @param groupId the group ID
5970            * @param classNameId the class name ID
5971            * @param structureId the structure ID
5972            * @return the matching journal article
5973            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5974            * @throws SystemException if a system exception occurred
5975            */
5976            public com.liferay.portlet.journal.model.JournalArticle findByG_C_S(
5977                    long groupId, long classNameId, java.lang.String structureId)
5978                    throws com.liferay.portal.kernel.exception.SystemException,
5979                            com.liferay.portlet.journal.NoSuchArticleException;
5980    
5981            /**
5982            * 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.
5983            *
5984            * @param groupId the group ID
5985            * @param classNameId the class name ID
5986            * @param structureId the structure ID
5987            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
5988            * @throws SystemException if a system exception occurred
5989            */
5990            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_S(
5991                    long groupId, long classNameId, java.lang.String structureId)
5992                    throws com.liferay.portal.kernel.exception.SystemException;
5993    
5994            /**
5995            * 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.
5996            *
5997            * @param groupId the group ID
5998            * @param classNameId the class name ID
5999            * @param structureId the structure ID
6000            * @param retrieveFromCache whether to use the finder cache
6001            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
6002            * @throws SystemException if a system exception occurred
6003            */
6004            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_S(
6005                    long groupId, long classNameId, java.lang.String structureId,
6006                    boolean retrieveFromCache)
6007                    throws com.liferay.portal.kernel.exception.SystemException;
6008    
6009            /**
6010            * Removes the journal article where groupId = &#63; and classNameId = &#63; and structureId = &#63; from the database.
6011            *
6012            * @param groupId the group ID
6013            * @param classNameId the class name ID
6014            * @param structureId the structure ID
6015            * @return the journal article that was removed
6016            * @throws SystemException if a system exception occurred
6017            */
6018            public com.liferay.portlet.journal.model.JournalArticle removeByG_C_S(
6019                    long groupId, long classNameId, java.lang.String structureId)
6020                    throws com.liferay.portal.kernel.exception.SystemException,
6021                            com.liferay.portlet.journal.NoSuchArticleException;
6022    
6023            /**
6024            * Returns the number of journal articles where groupId = &#63; and classNameId = &#63; and structureId = &#63;.
6025            *
6026            * @param groupId the group ID
6027            * @param classNameId the class name ID
6028            * @param structureId the structure ID
6029            * @return the number of matching journal articles
6030            * @throws SystemException if a system exception occurred
6031            */
6032            public int countByG_C_S(long groupId, long classNameId,
6033                    java.lang.String structureId)
6034                    throws com.liferay.portal.kernel.exception.SystemException;
6035    
6036            /**
6037            * Returns all the journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
6038            *
6039            * @param groupId the group ID
6040            * @param classNameId the class name ID
6041            * @param templateId the template ID
6042            * @return the matching journal articles
6043            * @throws SystemException if a system exception occurred
6044            */
6045            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T(
6046                    long groupId, long classNameId, java.lang.String templateId)
6047                    throws com.liferay.portal.kernel.exception.SystemException;
6048    
6049            /**
6050            * Returns a range of all the journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
6051            *
6052            * <p>
6053            * 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.
6054            * </p>
6055            *
6056            * @param groupId the group ID
6057            * @param classNameId the class name ID
6058            * @param templateId the template ID
6059            * @param start the lower bound of the range of journal articles
6060            * @param end the upper bound of the range of journal articles (not inclusive)
6061            * @return the range of matching journal articles
6062            * @throws SystemException if a system exception occurred
6063            */
6064            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T(
6065                    long groupId, long classNameId, java.lang.String templateId, int start,
6066                    int end) throws com.liferay.portal.kernel.exception.SystemException;
6067    
6068            /**
6069            * Returns an ordered range of all the journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
6070            *
6071            * <p>
6072            * 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.
6073            * </p>
6074            *
6075            * @param groupId the group ID
6076            * @param classNameId the class name ID
6077            * @param templateId the template ID
6078            * @param start the lower bound of the range of journal articles
6079            * @param end the upper bound of the range of journal articles (not inclusive)
6080            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
6081            * @return the ordered range of matching journal articles
6082            * @throws SystemException if a system exception occurred
6083            */
6084            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T(
6085                    long groupId, long classNameId, java.lang.String templateId, int start,
6086                    int end,
6087                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6088                    throws com.liferay.portal.kernel.exception.SystemException;
6089    
6090            /**
6091            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
6092            *
6093            * @param groupId the group ID
6094            * @param classNameId the class name ID
6095            * @param templateId the template ID
6096            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6097            * @return the first matching journal article
6098            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
6099            * @throws SystemException if a system exception occurred
6100            */
6101            public com.liferay.portlet.journal.model.JournalArticle findByG_C_T_First(
6102                    long groupId, long classNameId, java.lang.String templateId,
6103                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6104                    throws com.liferay.portal.kernel.exception.SystemException,
6105                            com.liferay.portlet.journal.NoSuchArticleException;
6106    
6107            /**
6108            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
6109            *
6110            * @param groupId the group ID
6111            * @param classNameId the class name ID
6112            * @param templateId the template ID
6113            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6114            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
6115            * @throws SystemException if a system exception occurred
6116            */
6117            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_T_First(
6118                    long groupId, long classNameId, java.lang.String templateId,
6119                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6120                    throws com.liferay.portal.kernel.exception.SystemException;
6121    
6122            /**
6123            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
6124            *
6125            * @param groupId the group ID
6126            * @param classNameId the class name ID
6127            * @param templateId the template ID
6128            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6129            * @return the last matching journal article
6130            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
6131            * @throws SystemException if a system exception occurred
6132            */
6133            public com.liferay.portlet.journal.model.JournalArticle findByG_C_T_Last(
6134                    long groupId, long classNameId, java.lang.String templateId,
6135                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6136                    throws com.liferay.portal.kernel.exception.SystemException,
6137                            com.liferay.portlet.journal.NoSuchArticleException;
6138    
6139            /**
6140            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
6141            *
6142            * @param groupId the group ID
6143            * @param classNameId the class name ID
6144            * @param templateId the template ID
6145            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6146            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
6147            * @throws SystemException if a system exception occurred
6148            */
6149            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_T_Last(
6150                    long groupId, long classNameId, java.lang.String templateId,
6151                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6152                    throws com.liferay.portal.kernel.exception.SystemException;
6153    
6154            /**
6155            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
6156            *
6157            * @param id the primary key of the current journal article
6158            * @param groupId the group ID
6159            * @param classNameId the class name ID
6160            * @param templateId the template ID
6161            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6162            * @return the previous, current, and next journal article
6163            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
6164            * @throws SystemException if a system exception occurred
6165            */
6166            public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_T_PrevAndNext(
6167                    long id, long groupId, long classNameId, java.lang.String templateId,
6168                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6169                    throws com.liferay.portal.kernel.exception.SystemException,
6170                            com.liferay.portlet.journal.NoSuchArticleException;
6171    
6172            /**
6173            * Returns all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
6174            *
6175            * @param groupId the group ID
6176            * @param classNameId the class name ID
6177            * @param templateId the template ID
6178            * @return the matching journal articles that the user has permission to view
6179            * @throws SystemException if a system exception occurred
6180            */
6181            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T(
6182                    long groupId, long classNameId, java.lang.String templateId)
6183                    throws com.liferay.portal.kernel.exception.SystemException;
6184    
6185            /**
6186            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
6187            *
6188            * <p>
6189            * 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.
6190            * </p>
6191            *
6192            * @param groupId the group ID
6193            * @param classNameId the class name ID
6194            * @param templateId the template ID
6195            * @param start the lower bound of the range of journal articles
6196            * @param end the upper bound of the range of journal articles (not inclusive)
6197            * @return the range of matching journal articles that the user has permission to view
6198            * @throws SystemException if a system exception occurred
6199            */
6200            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T(
6201                    long groupId, long classNameId, java.lang.String templateId, int start,
6202                    int end) throws com.liferay.portal.kernel.exception.SystemException;
6203    
6204            /**
6205            * 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;.
6206            *
6207            * <p>
6208            * 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.
6209            * </p>
6210            *
6211            * @param groupId the group ID
6212            * @param classNameId the class name ID
6213            * @param templateId the template ID
6214            * @param start the lower bound of the range of journal articles
6215            * @param end the upper bound of the range of journal articles (not inclusive)
6216            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
6217            * @return the ordered range of matching journal articles that the user has permission to view
6218            * @throws SystemException if a system exception occurred
6219            */
6220            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T(
6221                    long groupId, long classNameId, java.lang.String templateId, int start,
6222                    int end,
6223                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6224                    throws com.liferay.portal.kernel.exception.SystemException;
6225    
6226            /**
6227            * 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;.
6228            *
6229            * @param id the primary key of the current journal article
6230            * @param groupId the group ID
6231            * @param classNameId the class name ID
6232            * @param templateId the template ID
6233            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6234            * @return the previous, current, and next journal article
6235            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
6236            * @throws SystemException if a system exception occurred
6237            */
6238            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_T_PrevAndNext(
6239                    long id, long groupId, long classNameId, java.lang.String templateId,
6240                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6241                    throws com.liferay.portal.kernel.exception.SystemException,
6242                            com.liferay.portlet.journal.NoSuchArticleException;
6243    
6244            /**
6245            * Removes all the journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63; from the database.
6246            *
6247            * @param groupId the group ID
6248            * @param classNameId the class name ID
6249            * @param templateId the template ID
6250            * @throws SystemException if a system exception occurred
6251            */
6252            public void removeByG_C_T(long groupId, long classNameId,
6253                    java.lang.String templateId)
6254                    throws com.liferay.portal.kernel.exception.SystemException;
6255    
6256            /**
6257            * Returns the number of journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
6258            *
6259            * @param groupId the group ID
6260            * @param classNameId the class name ID
6261            * @param templateId the template ID
6262            * @return the number of matching journal articles
6263            * @throws SystemException if a system exception occurred
6264            */
6265            public int countByG_C_T(long groupId, long classNameId,
6266                    java.lang.String templateId)
6267                    throws com.liferay.portal.kernel.exception.SystemException;
6268    
6269            /**
6270            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
6271            *
6272            * @param groupId the group ID
6273            * @param classNameId the class name ID
6274            * @param templateId the template ID
6275            * @return the number of matching journal articles that the user has permission to view
6276            * @throws SystemException if a system exception occurred
6277            */
6278            public int filterCountByG_C_T(long groupId, long classNameId,
6279                    java.lang.String templateId)
6280                    throws com.liferay.portal.kernel.exception.SystemException;
6281    
6282            /**
6283            * Returns all the journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
6284            *
6285            * @param groupId the group ID
6286            * @param classNameId the class name ID
6287            * @param layoutUuid the layout uuid
6288            * @return the matching journal articles
6289            * @throws SystemException if a system exception occurred
6290            */
6291            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L(
6292                    long groupId, long classNameId, java.lang.String layoutUuid)
6293                    throws com.liferay.portal.kernel.exception.SystemException;
6294    
6295            /**
6296            * Returns a range of all the journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
6297            *
6298            * <p>
6299            * 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.
6300            * </p>
6301            *
6302            * @param groupId the group ID
6303            * @param classNameId the class name ID
6304            * @param layoutUuid the layout uuid
6305            * @param start the lower bound of the range of journal articles
6306            * @param end the upper bound of the range of journal articles (not inclusive)
6307            * @return the range of matching journal articles
6308            * @throws SystemException if a system exception occurred
6309            */
6310            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L(
6311                    long groupId, long classNameId, java.lang.String layoutUuid, int start,
6312                    int end) throws com.liferay.portal.kernel.exception.SystemException;
6313    
6314            /**
6315            * Returns an ordered range of all the journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
6316            *
6317            * <p>
6318            * 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.
6319            * </p>
6320            *
6321            * @param groupId the group ID
6322            * @param classNameId the class name ID
6323            * @param layoutUuid the layout uuid
6324            * @param start the lower bound of the range of journal articles
6325            * @param end the upper bound of the range of journal articles (not inclusive)
6326            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
6327            * @return the ordered range of matching journal articles
6328            * @throws SystemException if a system exception occurred
6329            */
6330            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L(
6331                    long groupId, long classNameId, java.lang.String layoutUuid, int start,
6332                    int end,
6333                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6334                    throws com.liferay.portal.kernel.exception.SystemException;
6335    
6336            /**
6337            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
6338            *
6339            * @param groupId the group ID
6340            * @param classNameId the class name ID
6341            * @param layoutUuid the layout uuid
6342            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6343            * @return the first matching journal article
6344            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
6345            * @throws SystemException if a system exception occurred
6346            */
6347            public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_First(
6348                    long groupId, long classNameId, java.lang.String layoutUuid,
6349                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6350                    throws com.liferay.portal.kernel.exception.SystemException,
6351                            com.liferay.portlet.journal.NoSuchArticleException;
6352    
6353            /**
6354            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
6355            *
6356            * @param groupId the group ID
6357            * @param classNameId the class name ID
6358            * @param layoutUuid the layout uuid
6359            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6360            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
6361            * @throws SystemException if a system exception occurred
6362            */
6363            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_L_First(
6364                    long groupId, long classNameId, java.lang.String layoutUuid,
6365                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6366                    throws com.liferay.portal.kernel.exception.SystemException;
6367    
6368            /**
6369            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
6370            *
6371            * @param groupId the group ID
6372            * @param classNameId the class name ID
6373            * @param layoutUuid the layout uuid
6374            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6375            * @return the last matching journal article
6376            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
6377            * @throws SystemException if a system exception occurred
6378            */
6379            public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_Last(
6380                    long groupId, long classNameId, java.lang.String layoutUuid,
6381                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6382                    throws com.liferay.portal.kernel.exception.SystemException,
6383                            com.liferay.portlet.journal.NoSuchArticleException;
6384    
6385            /**
6386            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
6387            *
6388            * @param groupId the group ID
6389            * @param classNameId the class name ID
6390            * @param layoutUuid the layout uuid
6391            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6392            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
6393            * @throws SystemException if a system exception occurred
6394            */
6395            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_L_Last(
6396                    long groupId, long classNameId, java.lang.String layoutUuid,
6397                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6398                    throws com.liferay.portal.kernel.exception.SystemException;
6399    
6400            /**
6401            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
6402            *
6403            * @param id the primary key of the current journal article
6404            * @param groupId the group ID
6405            * @param classNameId the class name ID
6406            * @param layoutUuid the layout uuid
6407            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6408            * @return the previous, current, and next journal article
6409            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
6410            * @throws SystemException if a system exception occurred
6411            */
6412            public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_L_PrevAndNext(
6413                    long id, long groupId, long classNameId, java.lang.String layoutUuid,
6414                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6415                    throws com.liferay.portal.kernel.exception.SystemException,
6416                            com.liferay.portlet.journal.NoSuchArticleException;
6417    
6418            /**
6419            * Returns all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
6420            *
6421            * @param groupId the group ID
6422            * @param classNameId the class name ID
6423            * @param layoutUuid the layout uuid
6424            * @return the matching journal articles that the user has permission to view
6425            * @throws SystemException if a system exception occurred
6426            */
6427            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L(
6428                    long groupId, long classNameId, java.lang.String layoutUuid)
6429                    throws com.liferay.portal.kernel.exception.SystemException;
6430    
6431            /**
6432            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
6433            *
6434            * <p>
6435            * 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.
6436            * </p>
6437            *
6438            * @param groupId the group ID
6439            * @param classNameId the class name ID
6440            * @param layoutUuid the layout uuid
6441            * @param start the lower bound of the range of journal articles
6442            * @param end the upper bound of the range of journal articles (not inclusive)
6443            * @return the range of matching journal articles that the user has permission to view
6444            * @throws SystemException if a system exception occurred
6445            */
6446            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L(
6447                    long groupId, long classNameId, java.lang.String layoutUuid, int start,
6448                    int end) throws com.liferay.portal.kernel.exception.SystemException;
6449    
6450            /**
6451            * 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;.
6452            *
6453            * <p>
6454            * 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.
6455            * </p>
6456            *
6457            * @param groupId the group ID
6458            * @param classNameId the class name ID
6459            * @param layoutUuid the layout uuid
6460            * @param start the lower bound of the range of journal articles
6461            * @param end the upper bound of the range of journal articles (not inclusive)
6462            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
6463            * @return the ordered range of matching journal articles that the user has permission to view
6464            * @throws SystemException if a system exception occurred
6465            */
6466            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L(
6467                    long groupId, long classNameId, java.lang.String layoutUuid, int start,
6468                    int end,
6469                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6470                    throws com.liferay.portal.kernel.exception.SystemException;
6471    
6472            /**
6473            * 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;.
6474            *
6475            * @param id the primary key of the current journal article
6476            * @param groupId the group ID
6477            * @param classNameId the class name ID
6478            * @param layoutUuid the layout uuid
6479            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6480            * @return the previous, current, and next journal article
6481            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
6482            * @throws SystemException if a system exception occurred
6483            */
6484            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_L_PrevAndNext(
6485                    long id, long groupId, long classNameId, java.lang.String layoutUuid,
6486                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6487                    throws com.liferay.portal.kernel.exception.SystemException,
6488                            com.liferay.portlet.journal.NoSuchArticleException;
6489    
6490            /**
6491            * Removes all the journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63; from the database.
6492            *
6493            * @param groupId the group ID
6494            * @param classNameId the class name ID
6495            * @param layoutUuid the layout uuid
6496            * @throws SystemException if a system exception occurred
6497            */
6498            public void removeByG_C_L(long groupId, long classNameId,
6499                    java.lang.String layoutUuid)
6500                    throws com.liferay.portal.kernel.exception.SystemException;
6501    
6502            /**
6503            * Returns the number of journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
6504            *
6505            * @param groupId the group ID
6506            * @param classNameId the class name ID
6507            * @param layoutUuid the layout uuid
6508            * @return the number of matching journal articles
6509            * @throws SystemException if a system exception occurred
6510            */
6511            public int countByG_C_L(long groupId, long classNameId,
6512                    java.lang.String layoutUuid)
6513                    throws com.liferay.portal.kernel.exception.SystemException;
6514    
6515            /**
6516            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
6517            *
6518            * @param groupId the group ID
6519            * @param classNameId the class name ID
6520            * @param layoutUuid the layout uuid
6521            * @return the number of matching journal articles that the user has permission to view
6522            * @throws SystemException if a system exception occurred
6523            */
6524            public int filterCountByG_C_L(long groupId, long classNameId,
6525                    java.lang.String layoutUuid)
6526                    throws com.liferay.portal.kernel.exception.SystemException;
6527    
6528            /**
6529            * 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.
6530            *
6531            * @param groupId the group ID
6532            * @param articleId the article ID
6533            * @param version the version
6534            * @return the matching journal article
6535            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
6536            * @throws SystemException if a system exception occurred
6537            */
6538            public com.liferay.portlet.journal.model.JournalArticle findByG_A_V(
6539                    long groupId, java.lang.String articleId, double version)
6540                    throws com.liferay.portal.kernel.exception.SystemException,
6541                            com.liferay.portlet.journal.NoSuchArticleException;
6542    
6543            /**
6544            * 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.
6545            *
6546            * @param groupId the group ID
6547            * @param articleId the article ID
6548            * @param version the version
6549            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
6550            * @throws SystemException if a system exception occurred
6551            */
6552            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V(
6553                    long groupId, java.lang.String articleId, double version)
6554                    throws com.liferay.portal.kernel.exception.SystemException;
6555    
6556            /**
6557            * 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.
6558            *
6559            * @param groupId the group ID
6560            * @param articleId the article ID
6561            * @param version the version
6562            * @param retrieveFromCache whether to use the finder cache
6563            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
6564            * @throws SystemException if a system exception occurred
6565            */
6566            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V(
6567                    long groupId, java.lang.String articleId, double version,
6568                    boolean retrieveFromCache)
6569                    throws com.liferay.portal.kernel.exception.SystemException;
6570    
6571            /**
6572            * Removes the journal article where groupId = &#63; and articleId = &#63; and version = &#63; from the database.
6573            *
6574            * @param groupId the group ID
6575            * @param articleId the article ID
6576            * @param version the version
6577            * @return the journal article that was removed
6578            * @throws SystemException if a system exception occurred
6579            */
6580            public com.liferay.portlet.journal.model.JournalArticle removeByG_A_V(
6581                    long groupId, java.lang.String articleId, double version)
6582                    throws com.liferay.portal.kernel.exception.SystemException,
6583                            com.liferay.portlet.journal.NoSuchArticleException;
6584    
6585            /**
6586            * Returns the number of journal articles where groupId = &#63; and articleId = &#63; and version = &#63;.
6587            *
6588            * @param groupId the group ID
6589            * @param articleId the article ID
6590            * @param version the version
6591            * @return the number of matching journal articles
6592            * @throws SystemException if a system exception occurred
6593            */
6594            public int countByG_A_V(long groupId, java.lang.String articleId,
6595                    double version)
6596                    throws com.liferay.portal.kernel.exception.SystemException;
6597    
6598            /**
6599            * Returns all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
6600            *
6601            * @param groupId the group ID
6602            * @param articleId the article ID
6603            * @param status the status
6604            * @return the matching journal articles
6605            * @throws SystemException if a system exception occurred
6606            */
6607            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
6608                    long groupId, java.lang.String articleId, int status)
6609                    throws com.liferay.portal.kernel.exception.SystemException;
6610    
6611            /**
6612            * Returns a range of all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
6613            *
6614            * <p>
6615            * 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.
6616            * </p>
6617            *
6618            * @param groupId the group ID
6619            * @param articleId the article ID
6620            * @param status the status
6621            * @param start the lower bound of the range of journal articles
6622            * @param end the upper bound of the range of journal articles (not inclusive)
6623            * @return the range of matching journal articles
6624            * @throws SystemException if a system exception occurred
6625            */
6626            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
6627                    long groupId, java.lang.String articleId, int status, int start, int end)
6628                    throws com.liferay.portal.kernel.exception.SystemException;
6629    
6630            /**
6631            * Returns an ordered range of all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
6632            *
6633            * <p>
6634            * 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.
6635            * </p>
6636            *
6637            * @param groupId the group ID
6638            * @param articleId the article ID
6639            * @param status the status
6640            * @param start the lower bound of the range of journal articles
6641            * @param end the upper bound of the range of journal articles (not inclusive)
6642            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
6643            * @return the ordered range of matching journal articles
6644            * @throws SystemException if a system exception occurred
6645            */
6646            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
6647                    long groupId, java.lang.String articleId, int status, int start,
6648                    int end,
6649                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6650                    throws com.liferay.portal.kernel.exception.SystemException;
6651    
6652            /**
6653            * Returns the first journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
6654            *
6655            * @param groupId the group ID
6656            * @param articleId the article ID
6657            * @param status the status
6658            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6659            * @return the first matching journal article
6660            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
6661            * @throws SystemException if a system exception occurred
6662            */
6663            public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_First(
6664                    long groupId, java.lang.String articleId, int status,
6665                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6666                    throws com.liferay.portal.kernel.exception.SystemException,
6667                            com.liferay.portlet.journal.NoSuchArticleException;
6668    
6669            /**
6670            * Returns the first journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
6671            *
6672            * @param groupId the group ID
6673            * @param articleId the article ID
6674            * @param status the status
6675            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6676            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
6677            * @throws SystemException if a system exception occurred
6678            */
6679            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_ST_First(
6680                    long groupId, java.lang.String articleId, int status,
6681                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6682                    throws com.liferay.portal.kernel.exception.SystemException;
6683    
6684            /**
6685            * Returns the last journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
6686            *
6687            * @param groupId the group ID
6688            * @param articleId the article ID
6689            * @param status the status
6690            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6691            * @return the last matching journal article
6692            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
6693            * @throws SystemException if a system exception occurred
6694            */
6695            public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_Last(
6696                    long groupId, java.lang.String articleId, int status,
6697                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6698                    throws com.liferay.portal.kernel.exception.SystemException,
6699                            com.liferay.portlet.journal.NoSuchArticleException;
6700    
6701            /**
6702            * Returns the last journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
6703            *
6704            * @param groupId the group ID
6705            * @param articleId the article ID
6706            * @param status the status
6707            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6708            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
6709            * @throws SystemException if a system exception occurred
6710            */
6711            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_ST_Last(
6712                    long groupId, java.lang.String articleId, int status,
6713                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6714                    throws com.liferay.portal.kernel.exception.SystemException;
6715    
6716            /**
6717            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
6718            *
6719            * @param id the primary key of the current journal article
6720            * @param groupId the group ID
6721            * @param articleId the article ID
6722            * @param status the status
6723            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6724            * @return the previous, current, and next journal article
6725            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
6726            * @throws SystemException if a system exception occurred
6727            */
6728            public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_ST_PrevAndNext(
6729                    long id, long groupId, java.lang.String articleId, int status,
6730                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6731                    throws com.liferay.portal.kernel.exception.SystemException,
6732                            com.liferay.portlet.journal.NoSuchArticleException;
6733    
6734            /**
6735            * Returns all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = &#63;.
6736            *
6737            * @param groupId the group ID
6738            * @param articleId the article ID
6739            * @param status the status
6740            * @return the matching journal articles that the user has permission to view
6741            * @throws SystemException if a system exception occurred
6742            */
6743            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
6744                    long groupId, java.lang.String articleId, int status)
6745                    throws com.liferay.portal.kernel.exception.SystemException;
6746    
6747            /**
6748            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = &#63;.
6749            *
6750            * <p>
6751            * 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.
6752            * </p>
6753            *
6754            * @param groupId the group ID
6755            * @param articleId the article ID
6756            * @param status the status
6757            * @param start the lower bound of the range of journal articles
6758            * @param end the upper bound of the range of journal articles (not inclusive)
6759            * @return the range of matching journal articles that the user has permission to view
6760            * @throws SystemException if a system exception occurred
6761            */
6762            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
6763                    long groupId, java.lang.String articleId, int status, int start, int end)
6764                    throws com.liferay.portal.kernel.exception.SystemException;
6765    
6766            /**
6767            * 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;.
6768            *
6769            * <p>
6770            * 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.
6771            * </p>
6772            *
6773            * @param groupId the group ID
6774            * @param articleId the article ID
6775            * @param status the status
6776            * @param start the lower bound of the range of journal articles
6777            * @param end the upper bound of the range of journal articles (not inclusive)
6778            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
6779            * @return the ordered range of matching journal articles that the user has permission to view
6780            * @throws SystemException if a system exception occurred
6781            */
6782            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
6783                    long groupId, java.lang.String articleId, int status, int start,
6784                    int end,
6785                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6786                    throws com.liferay.portal.kernel.exception.SystemException;
6787    
6788            /**
6789            * 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;.
6790            *
6791            * @param id the primary key of the current journal article
6792            * @param groupId the group ID
6793            * @param articleId the article ID
6794            * @param status the status
6795            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6796            * @return the previous, current, and next journal article
6797            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
6798            * @throws SystemException if a system exception occurred
6799            */
6800            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_ST_PrevAndNext(
6801                    long id, long groupId, java.lang.String articleId, int status,
6802                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6803                    throws com.liferay.portal.kernel.exception.SystemException,
6804                            com.liferay.portlet.journal.NoSuchArticleException;
6805    
6806            /**
6807            * Returns all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = any &#63;.
6808            *
6809            * @param groupId the group ID
6810            * @param articleId the article ID
6811            * @param statuses the statuses
6812            * @return the matching journal articles that the user has permission to view
6813            * @throws SystemException if a system exception occurred
6814            */
6815            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
6816                    long groupId, java.lang.String articleId, int[] statuses)
6817                    throws com.liferay.portal.kernel.exception.SystemException;
6818    
6819            /**
6820            * 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;.
6821            *
6822            * <p>
6823            * 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.
6824            * </p>
6825            *
6826            * @param groupId the group ID
6827            * @param articleId the article ID
6828            * @param statuses the statuses
6829            * @param start the lower bound of the range of journal articles
6830            * @param end the upper bound of the range of journal articles (not inclusive)
6831            * @return the range of matching journal articles that the user has permission to view
6832            * @throws SystemException if a system exception occurred
6833            */
6834            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
6835                    long groupId, java.lang.String articleId, int[] statuses, int start,
6836                    int end) throws com.liferay.portal.kernel.exception.SystemException;
6837    
6838            /**
6839            * 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;.
6840            *
6841            * <p>
6842            * 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.
6843            * </p>
6844            *
6845            * @param groupId the group ID
6846            * @param articleId the article ID
6847            * @param statuses the statuses
6848            * @param start the lower bound of the range of journal articles
6849            * @param end the upper bound of the range of journal articles (not inclusive)
6850            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
6851            * @return the ordered range of matching journal articles that the user has permission to view
6852            * @throws SystemException if a system exception occurred
6853            */
6854            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
6855                    long groupId, java.lang.String articleId, int[] statuses, int start,
6856                    int end,
6857                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6858                    throws com.liferay.portal.kernel.exception.SystemException;
6859    
6860            /**
6861            * Returns all the journal articles where groupId = &#63; and articleId = &#63; and status = any &#63;.
6862            *
6863            * <p>
6864            * 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.
6865            * </p>
6866            *
6867            * @param groupId the group ID
6868            * @param articleId the article ID
6869            * @param statuses the statuses
6870            * @return the matching journal articles
6871            * @throws SystemException if a system exception occurred
6872            */
6873            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
6874                    long groupId, java.lang.String articleId, int[] statuses)
6875                    throws com.liferay.portal.kernel.exception.SystemException;
6876    
6877            /**
6878            * Returns a range of all the journal articles where groupId = &#63; and articleId = &#63; and status = any &#63;.
6879            *
6880            * <p>
6881            * 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.
6882            * </p>
6883            *
6884            * @param groupId the group ID
6885            * @param articleId the article ID
6886            * @param statuses the statuses
6887            * @param start the lower bound of the range of journal articles
6888            * @param end the upper bound of the range of journal articles (not inclusive)
6889            * @return the range of matching journal articles
6890            * @throws SystemException if a system exception occurred
6891            */
6892            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
6893                    long groupId, java.lang.String articleId, int[] statuses, int start,
6894                    int end) throws com.liferay.portal.kernel.exception.SystemException;
6895    
6896            /**
6897            * Returns an ordered range of all the journal articles where groupId = &#63; and articleId = &#63; and status = any &#63;.
6898            *
6899            * <p>
6900            * 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.
6901            * </p>
6902            *
6903            * @param groupId the group ID
6904            * @param articleId the article ID
6905            * @param statuses the statuses
6906            * @param start the lower bound of the range of journal articles
6907            * @param end the upper bound of the range of journal articles (not inclusive)
6908            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
6909            * @return the ordered range of matching journal articles
6910            * @throws SystemException if a system exception occurred
6911            */
6912            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
6913                    long groupId, java.lang.String articleId, int[] statuses, int start,
6914                    int end,
6915                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6916                    throws com.liferay.portal.kernel.exception.SystemException;
6917    
6918            /**
6919            * Removes all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63; from the database.
6920            *
6921            * @param groupId the group ID
6922            * @param articleId the article ID
6923            * @param status the status
6924            * @throws SystemException if a system exception occurred
6925            */
6926            public void removeByG_A_ST(long groupId, java.lang.String articleId,
6927                    int status) throws com.liferay.portal.kernel.exception.SystemException;
6928    
6929            /**
6930            * Returns the number of journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
6931            *
6932            * @param groupId the group ID
6933            * @param articleId the article ID
6934            * @param status the status
6935            * @return the number of matching journal articles
6936            * @throws SystemException if a system exception occurred
6937            */
6938            public int countByG_A_ST(long groupId, java.lang.String articleId,
6939                    int status) throws com.liferay.portal.kernel.exception.SystemException;
6940    
6941            /**
6942            * Returns the number of journal articles where groupId = &#63; and articleId = &#63; and status = any &#63;.
6943            *
6944            * @param groupId the group ID
6945            * @param articleId the article ID
6946            * @param statuses the statuses
6947            * @return the number of matching journal articles
6948            * @throws SystemException if a system exception occurred
6949            */
6950            public int countByG_A_ST(long groupId, java.lang.String articleId,
6951                    int[] statuses)
6952                    throws com.liferay.portal.kernel.exception.SystemException;
6953    
6954            /**
6955            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = &#63;.
6956            *
6957            * @param groupId the group ID
6958            * @param articleId the article ID
6959            * @param status the status
6960            * @return the number of matching journal articles that the user has permission to view
6961            * @throws SystemException if a system exception occurred
6962            */
6963            public int filterCountByG_A_ST(long groupId, java.lang.String articleId,
6964                    int status) throws com.liferay.portal.kernel.exception.SystemException;
6965    
6966            /**
6967            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = any &#63;.
6968            *
6969            * @param groupId the group ID
6970            * @param articleId the article ID
6971            * @param statuses the statuses
6972            * @return the number of matching journal articles that the user has permission to view
6973            * @throws SystemException if a system exception occurred
6974            */
6975            public int filterCountByG_A_ST(long groupId, java.lang.String articleId,
6976                    int[] statuses)
6977                    throws com.liferay.portal.kernel.exception.SystemException;
6978    
6979            /**
6980            * Returns all the journal articles where groupId = &#63; and articleId = &#63; and status &ne; &#63;.
6981            *
6982            * @param groupId the group ID
6983            * @param articleId the article ID
6984            * @param status the status
6985            * @return the matching journal articles
6986            * @throws SystemException if a system exception occurred
6987            */
6988            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_NotST(
6989                    long groupId, java.lang.String articleId, int status)
6990                    throws com.liferay.portal.kernel.exception.SystemException;
6991    
6992            /**
6993            * Returns a range of all the journal articles where groupId = &#63; and articleId = &#63; and status &ne; &#63;.
6994            *
6995            * <p>
6996            * 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.
6997            * </p>
6998            *
6999            * @param groupId the group ID
7000            * @param articleId the article ID
7001            * @param status the status
7002            * @param start the lower bound of the range of journal articles
7003            * @param end the upper bound of the range of journal articles (not inclusive)
7004            * @return the range of matching journal articles
7005            * @throws SystemException if a system exception occurred
7006            */
7007            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_NotST(
7008                    long groupId, java.lang.String articleId, int status, int start, int end)
7009                    throws com.liferay.portal.kernel.exception.SystemException;
7010    
7011            /**
7012            * Returns an ordered range of all the journal articles where groupId = &#63; and articleId = &#63; and status &ne; &#63;.
7013            *
7014            * <p>
7015            * 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.
7016            * </p>
7017            *
7018            * @param groupId the group ID
7019            * @param articleId the article ID
7020            * @param status the status
7021            * @param start the lower bound of the range of journal articles
7022            * @param end the upper bound of the range of journal articles (not inclusive)
7023            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
7024            * @return the ordered range of matching journal articles
7025            * @throws SystemException if a system exception occurred
7026            */
7027            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_NotST(
7028                    long groupId, java.lang.String articleId, int status, int start,
7029                    int end,
7030                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7031                    throws com.liferay.portal.kernel.exception.SystemException;
7032    
7033            /**
7034            * Returns the first journal article in the ordered set where groupId = &#63; and articleId = &#63; and status &ne; &#63;.
7035            *
7036            * @param groupId the group ID
7037            * @param articleId the article ID
7038            * @param status the status
7039            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
7040            * @return the first matching journal article
7041            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
7042            * @throws SystemException if a system exception occurred
7043            */
7044            public com.liferay.portlet.journal.model.JournalArticle findByG_A_NotST_First(
7045                    long groupId, java.lang.String articleId, int status,
7046                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7047                    throws com.liferay.portal.kernel.exception.SystemException,
7048                            com.liferay.portlet.journal.NoSuchArticleException;
7049    
7050            /**
7051            * Returns the first journal article in the ordered set where groupId = &#63; and articleId = &#63; and status &ne; &#63;.
7052            *
7053            * @param groupId the group ID
7054            * @param articleId the article ID
7055            * @param status the status
7056            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
7057            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
7058            * @throws SystemException if a system exception occurred
7059            */
7060            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_NotST_First(
7061                    long groupId, java.lang.String articleId, int status,
7062                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7063                    throws com.liferay.portal.kernel.exception.SystemException;
7064    
7065            /**
7066            * Returns the last journal article in the ordered set where groupId = &#63; and articleId = &#63; and status &ne; &#63;.
7067            *
7068            * @param groupId the group ID
7069            * @param articleId the article ID
7070            * @param status the status
7071            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
7072            * @return the last matching journal article
7073            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
7074            * @throws SystemException if a system exception occurred
7075            */
7076            public com.liferay.portlet.journal.model.JournalArticle findByG_A_NotST_Last(
7077                    long groupId, java.lang.String articleId, int status,
7078                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7079                    throws com.liferay.portal.kernel.exception.SystemException,
7080                            com.liferay.portlet.journal.NoSuchArticleException;
7081    
7082            /**
7083            * Returns the last journal article in the ordered set where groupId = &#63; and articleId = &#63; and status &ne; &#63;.
7084            *
7085            * @param groupId the group ID
7086            * @param articleId the article ID
7087            * @param status the status
7088            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
7089            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
7090            * @throws SystemException if a system exception occurred
7091            */
7092            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_NotST_Last(
7093                    long groupId, java.lang.String articleId, int status,
7094                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7095                    throws com.liferay.portal.kernel.exception.SystemException;
7096    
7097            /**
7098            * 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;.
7099            *
7100            * @param id the primary key of the current journal article
7101            * @param groupId the group ID
7102            * @param articleId the article ID
7103            * @param status the status
7104            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
7105            * @return the previous, current, and next journal article
7106            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
7107            * @throws SystemException if a system exception occurred
7108            */
7109            public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_NotST_PrevAndNext(
7110                    long id, long groupId, java.lang.String articleId, int status,
7111                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7112                    throws com.liferay.portal.kernel.exception.SystemException,
7113                            com.liferay.portlet.journal.NoSuchArticleException;
7114    
7115            /**
7116            * Returns all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status &ne; &#63;.
7117            *
7118            * @param groupId the group ID
7119            * @param articleId the article ID
7120            * @param status the status
7121            * @return the matching journal articles that the user has permission to view
7122            * @throws SystemException if a system exception occurred
7123            */
7124            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_NotST(
7125                    long groupId, java.lang.String articleId, int status)
7126                    throws com.liferay.portal.kernel.exception.SystemException;
7127    
7128            /**
7129            * 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;.
7130            *
7131            * <p>
7132            * 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.
7133            * </p>
7134            *
7135            * @param groupId the group ID
7136            * @param articleId the article ID
7137            * @param status the status
7138            * @param start the lower bound of the range of journal articles
7139            * @param end the upper bound of the range of journal articles (not inclusive)
7140            * @return the range of matching journal articles that the user has permission to view
7141            * @throws SystemException if a system exception occurred
7142            */
7143            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_NotST(
7144                    long groupId, java.lang.String articleId, int status, int start, int end)
7145                    throws com.liferay.portal.kernel.exception.SystemException;
7146    
7147            /**
7148            * 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;.
7149            *
7150            * <p>
7151            * 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.
7152            * </p>
7153            *
7154            * @param groupId the group ID
7155            * @param articleId the article ID
7156            * @param status the status
7157            * @param start the lower bound of the range of journal articles
7158            * @param end the upper bound of the range of journal articles (not inclusive)
7159            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
7160            * @return the ordered range of matching journal articles that the user has permission to view
7161            * @throws SystemException if a system exception occurred
7162            */
7163            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_NotST(
7164                    long groupId, java.lang.String articleId, int status, int start,
7165                    int end,
7166                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7167                    throws com.liferay.portal.kernel.exception.SystemException;
7168    
7169            /**
7170            * 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;.
7171            *
7172            * @param id the primary key of the current journal article
7173            * @param groupId the group ID
7174            * @param articleId the article ID
7175            * @param status the status
7176            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
7177            * @return the previous, current, and next journal article
7178            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
7179            * @throws SystemException if a system exception occurred
7180            */
7181            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_NotST_PrevAndNext(
7182                    long id, long groupId, java.lang.String articleId, int status,
7183                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7184                    throws com.liferay.portal.kernel.exception.SystemException,
7185                            com.liferay.portlet.journal.NoSuchArticleException;
7186    
7187            /**
7188            * Removes all the journal articles where groupId = &#63; and articleId = &#63; and status &ne; &#63; from the database.
7189            *
7190            * @param groupId the group ID
7191            * @param articleId the article ID
7192            * @param status the status
7193            * @throws SystemException if a system exception occurred
7194            */
7195            public void removeByG_A_NotST(long groupId, java.lang.String articleId,
7196                    int status) throws com.liferay.portal.kernel.exception.SystemException;
7197    
7198            /**
7199            * Returns the number of journal articles where groupId = &#63; and articleId = &#63; and status &ne; &#63;.
7200            *
7201            * @param groupId the group ID
7202            * @param articleId the article ID
7203            * @param status the status
7204            * @return the number of matching journal articles
7205            * @throws SystemException if a system exception occurred
7206            */
7207            public int countByG_A_NotST(long groupId, java.lang.String articleId,
7208                    int status) throws com.liferay.portal.kernel.exception.SystemException;
7209    
7210            /**
7211            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status &ne; &#63;.
7212            *
7213            * @param groupId the group ID
7214            * @param articleId the article ID
7215            * @param status the status
7216            * @return the number of matching journal articles that the user has permission to view
7217            * @throws SystemException if a system exception occurred
7218            */
7219            public int filterCountByG_A_NotST(long groupId, java.lang.String articleId,
7220                    int status) throws com.liferay.portal.kernel.exception.SystemException;
7221    
7222            /**
7223            * Returns all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
7224            *
7225            * @param groupId the group ID
7226            * @param urlTitle the url title
7227            * @param status the status
7228            * @return the matching journal articles
7229            * @throws SystemException if a system exception occurred
7230            */
7231            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST(
7232                    long groupId, java.lang.String urlTitle, int status)
7233                    throws com.liferay.portal.kernel.exception.SystemException;
7234    
7235            /**
7236            * Returns a range of all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
7237            *
7238            * <p>
7239            * 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.
7240            * </p>
7241            *
7242            * @param groupId the group ID
7243            * @param urlTitle the url title
7244            * @param status the status
7245            * @param start the lower bound of the range of journal articles
7246            * @param end the upper bound of the range of journal articles (not inclusive)
7247            * @return the range of matching journal articles
7248            * @throws SystemException if a system exception occurred
7249            */
7250            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST(
7251                    long groupId, java.lang.String urlTitle, int status, int start, int end)
7252                    throws com.liferay.portal.kernel.exception.SystemException;
7253    
7254            /**
7255            * Returns an ordered range of all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
7256            *
7257            * <p>
7258            * 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.
7259            * </p>
7260            *
7261            * @param groupId the group ID
7262            * @param urlTitle the url title
7263            * @param status the status
7264            * @param start the lower bound of the range of journal articles
7265            * @param end the upper bound of the range of journal articles (not inclusive)
7266            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
7267            * @return the ordered range of matching journal articles
7268            * @throws SystemException if a system exception occurred
7269            */
7270            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST(
7271                    long groupId, java.lang.String urlTitle, int status, int start,
7272                    int end,
7273                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7274                    throws com.liferay.portal.kernel.exception.SystemException;
7275    
7276            /**
7277            * Returns the first journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
7278            *
7279            * @param groupId the group ID
7280            * @param urlTitle the url title
7281            * @param status the status
7282            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
7283            * @return the first matching journal article
7284            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
7285            * @throws SystemException if a system exception occurred
7286            */
7287            public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_First(
7288                    long groupId, java.lang.String urlTitle, int status,
7289                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7290                    throws com.liferay.portal.kernel.exception.SystemException,
7291                            com.liferay.portlet.journal.NoSuchArticleException;
7292    
7293            /**
7294            * Returns the first journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
7295            *
7296            * @param groupId the group ID
7297            * @param urlTitle the url title
7298            * @param status the status
7299            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
7300            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
7301            * @throws SystemException if a system exception occurred
7302            */
7303            public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_ST_First(
7304                    long groupId, java.lang.String urlTitle, int status,
7305                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7306                    throws com.liferay.portal.kernel.exception.SystemException;
7307    
7308            /**
7309            * Returns the last journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
7310            *
7311            * @param groupId the group ID
7312            * @param urlTitle the url title
7313            * @param status the status
7314            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
7315            * @return the last matching journal article
7316            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
7317            * @throws SystemException if a system exception occurred
7318            */
7319            public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_Last(
7320                    long groupId, java.lang.String urlTitle, int status,
7321                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7322                    throws com.liferay.portal.kernel.exception.SystemException,
7323                            com.liferay.portlet.journal.NoSuchArticleException;
7324    
7325            /**
7326            * Returns the last journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
7327            *
7328            * @param groupId the group ID
7329            * @param urlTitle the url title
7330            * @param status the status
7331            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
7332            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
7333            * @throws SystemException if a system exception occurred
7334            */
7335            public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_ST_Last(
7336                    long groupId, java.lang.String urlTitle, int status,
7337                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7338                    throws com.liferay.portal.kernel.exception.SystemException;
7339    
7340            /**
7341            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
7342            *
7343            * @param id the primary key of the current journal article
7344            * @param groupId the group ID
7345            * @param urlTitle the url title
7346            * @param status the status
7347            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
7348            * @return the previous, current, and next journal article
7349            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
7350            * @throws SystemException if a system exception occurred
7351            */
7352            public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_ST_PrevAndNext(
7353                    long id, long groupId, java.lang.String urlTitle, int status,
7354                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7355                    throws com.liferay.portal.kernel.exception.SystemException,
7356                            com.liferay.portlet.journal.NoSuchArticleException;
7357    
7358            /**
7359            * Returns all the journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63; and status = &#63;.
7360            *
7361            * @param groupId the group ID
7362            * @param urlTitle the url title
7363            * @param status the status
7364            * @return the matching journal articles that the user has permission to view
7365            * @throws SystemException if a system exception occurred
7366            */
7367            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST(
7368                    long groupId, java.lang.String urlTitle, int status)
7369                    throws com.liferay.portal.kernel.exception.SystemException;
7370    
7371            /**
7372            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63; and status = &#63;.
7373            *
7374            * <p>
7375            * 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.
7376            * </p>
7377            *
7378            * @param groupId the group ID
7379            * @param urlTitle the url title
7380            * @param status the status
7381            * @param start the lower bound of the range of journal articles
7382            * @param end the upper bound of the range of journal articles (not inclusive)
7383            * @return the range of matching journal articles that the user has permission to view
7384            * @throws SystemException if a system exception occurred
7385            */
7386            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST(
7387                    long groupId, java.lang.String urlTitle, int status, int start, int end)
7388                    throws com.liferay.portal.kernel.exception.SystemException;
7389    
7390            /**
7391            * 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;.
7392            *
7393            * <p>
7394            * 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.
7395            * </p>
7396            *
7397            * @param groupId the group ID
7398            * @param urlTitle the url title
7399            * @param status the status
7400            * @param start the lower bound of the range of journal articles
7401            * @param end the upper bound of the range of journal articles (not inclusive)
7402            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
7403            * @return the ordered range of matching journal articles that the user has permission to view
7404            * @throws SystemException if a system exception occurred
7405            */
7406            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST(
7407                    long groupId, java.lang.String urlTitle, int status, int start,
7408                    int end,
7409                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7410                    throws com.liferay.portal.kernel.exception.SystemException;
7411    
7412            /**
7413            * 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;.
7414            *
7415            * @param id the primary key of the current journal article
7416            * @param groupId the group ID
7417            * @param urlTitle the url title
7418            * @param status the status
7419            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
7420            * @return the previous, current, and next journal article
7421            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
7422            * @throws SystemException if a system exception occurred
7423            */
7424            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_ST_PrevAndNext(
7425                    long id, long groupId, java.lang.String urlTitle, int status,
7426                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7427                    throws com.liferay.portal.kernel.exception.SystemException,
7428                            com.liferay.portlet.journal.NoSuchArticleException;
7429    
7430            /**
7431            * Removes all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63; from the database.
7432            *
7433            * @param groupId the group ID
7434            * @param urlTitle the url title
7435            * @param status the status
7436            * @throws SystemException if a system exception occurred
7437            */
7438            public void removeByG_UT_ST(long groupId, java.lang.String urlTitle,
7439                    int status) throws com.liferay.portal.kernel.exception.SystemException;
7440    
7441            /**
7442            * Returns the number of journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
7443            *
7444            * @param groupId the group ID
7445            * @param urlTitle the url title
7446            * @param status the status
7447            * @return the number of matching journal articles
7448            * @throws SystemException if a system exception occurred
7449            */
7450            public int countByG_UT_ST(long groupId, java.lang.String urlTitle,
7451                    int status) throws com.liferay.portal.kernel.exception.SystemException;
7452    
7453            /**
7454            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63; and status = &#63;.
7455            *
7456            * @param groupId the group ID
7457            * @param urlTitle the url title
7458            * @param status the status
7459            * @return the number of matching journal articles that the user has permission to view
7460            * @throws SystemException if a system exception occurred
7461            */
7462            public int filterCountByG_UT_ST(long groupId, java.lang.String urlTitle,
7463                    int status) throws com.liferay.portal.kernel.exception.SystemException;
7464    
7465            /**
7466            * Returns all the journal articles where companyId = &#63; and version = &#63; and status = &#63;.
7467            *
7468            * @param companyId the company ID
7469            * @param version the version
7470            * @param status the status
7471            * @return the matching journal articles
7472            * @throws SystemException if a system exception occurred
7473            */
7474            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST(
7475                    long companyId, double version, int status)
7476                    throws com.liferay.portal.kernel.exception.SystemException;
7477    
7478            /**
7479            * Returns a range of all the journal articles where companyId = &#63; and version = &#63; and status = &#63;.
7480            *
7481            * <p>
7482            * 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.
7483            * </p>
7484            *
7485            * @param companyId the company ID
7486            * @param version the version
7487            * @param status the status
7488            * @param start the lower bound of the range of journal articles
7489            * @param end the upper bound of the range of journal articles (not inclusive)
7490            * @return the range of matching journal articles
7491            * @throws SystemException if a system exception occurred
7492            */
7493            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST(
7494                    long companyId, double version, int status, int start, int end)
7495                    throws com.liferay.portal.kernel.exception.SystemException;
7496    
7497            /**
7498            * Returns an ordered range of all the journal articles where companyId = &#63; and version = &#63; and status = &#63;.
7499            *
7500            * <p>
7501            * 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.
7502            * </p>
7503            *
7504            * @param companyId the company ID
7505            * @param version the version
7506            * @param status the status
7507            * @param start the lower bound of the range of journal articles
7508            * @param end the upper bound of the range of journal articles (not inclusive)
7509            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
7510            * @return the ordered range of matching journal articles
7511            * @throws SystemException if a system exception occurred
7512            */
7513            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST(
7514                    long companyId, double version, int status, int start, int end,
7515                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7516                    throws com.liferay.portal.kernel.exception.SystemException;
7517    
7518            /**
7519            * Returns the first journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
7520            *
7521            * @param companyId the company ID
7522            * @param version the version
7523            * @param status the status
7524            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
7525            * @return the first matching journal article
7526            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
7527            * @throws SystemException if a system exception occurred
7528            */
7529            public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_First(
7530                    long companyId, double version, int status,
7531                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7532                    throws com.liferay.portal.kernel.exception.SystemException,
7533                            com.liferay.portlet.journal.NoSuchArticleException;
7534    
7535            /**
7536            * Returns the first journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
7537            *
7538            * @param companyId the company ID
7539            * @param version the version
7540            * @param status the status
7541            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
7542            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
7543            * @throws SystemException if a system exception occurred
7544            */
7545            public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_ST_First(
7546                    long companyId, double version, int status,
7547                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7548                    throws com.liferay.portal.kernel.exception.SystemException;
7549    
7550            /**
7551            * Returns the last journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
7552            *
7553            * @param companyId the company ID
7554            * @param version the version
7555            * @param status the status
7556            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
7557            * @return the last matching journal article
7558            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
7559            * @throws SystemException if a system exception occurred
7560            */
7561            public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_Last(
7562                    long companyId, double version, int status,
7563                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7564                    throws com.liferay.portal.kernel.exception.SystemException,
7565                            com.liferay.portlet.journal.NoSuchArticleException;
7566    
7567            /**
7568            * Returns the last journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
7569            *
7570            * @param companyId the company ID
7571            * @param version the version
7572            * @param status the status
7573            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
7574            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
7575            * @throws SystemException if a system exception occurred
7576            */
7577            public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_ST_Last(
7578                    long companyId, double version, int status,
7579                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7580                    throws com.liferay.portal.kernel.exception.SystemException;
7581    
7582            /**
7583            * Returns the journal articles before and after the current journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
7584            *
7585            * @param id the primary key of the current journal article
7586            * @param companyId the company ID
7587            * @param version the version
7588            * @param status the status
7589            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
7590            * @return the previous, current, and next journal article
7591            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
7592            * @throws SystemException if a system exception occurred
7593            */
7594            public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_ST_PrevAndNext(
7595                    long id, long companyId, double version, int status,
7596                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7597                    throws com.liferay.portal.kernel.exception.SystemException,
7598                            com.liferay.portlet.journal.NoSuchArticleException;
7599    
7600            /**
7601            * Removes all the journal articles where companyId = &#63; and version = &#63; and status = &#63; from the database.
7602            *
7603            * @param companyId the company ID
7604            * @param version the version
7605            * @param status the status
7606            * @throws SystemException if a system exception occurred
7607            */
7608            public void removeByC_V_ST(long companyId, double version, int status)
7609                    throws com.liferay.portal.kernel.exception.SystemException;
7610    
7611            /**
7612            * Returns the number of journal articles where companyId = &#63; and version = &#63; and status = &#63;.
7613            *
7614            * @param companyId the company ID
7615            * @param version the version
7616            * @param status the status
7617            * @return the number of matching journal articles
7618            * @throws SystemException if a system exception occurred
7619            */
7620            public int countByC_V_ST(long companyId, double version, int status)
7621                    throws com.liferay.portal.kernel.exception.SystemException;
7622    
7623            /**
7624            * Caches the journal article in the entity cache if it is enabled.
7625            *
7626            * @param journalArticle the journal article
7627            */
7628            public void cacheResult(
7629                    com.liferay.portlet.journal.model.JournalArticle journalArticle);
7630    
7631            /**
7632            * Caches the journal articles in the entity cache if it is enabled.
7633            *
7634            * @param journalArticles the journal articles
7635            */
7636            public void cacheResult(
7637                    java.util.List<com.liferay.portlet.journal.model.JournalArticle> journalArticles);
7638    
7639            /**
7640            * Creates a new journal article with the primary key. Does not add the journal article to the database.
7641            *
7642            * @param id the primary key for the new journal article
7643            * @return the new journal article
7644            */
7645            public com.liferay.portlet.journal.model.JournalArticle create(long id);
7646    
7647            /**
7648            * Removes the journal article with the primary key from the database. Also notifies the appropriate model listeners.
7649            *
7650            * @param id the primary key of the journal article
7651            * @return the journal article that was removed
7652            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
7653            * @throws SystemException if a system exception occurred
7654            */
7655            public com.liferay.portlet.journal.model.JournalArticle remove(long id)
7656                    throws com.liferay.portal.kernel.exception.SystemException,
7657                            com.liferay.portlet.journal.NoSuchArticleException;
7658    
7659            public com.liferay.portlet.journal.model.JournalArticle updateImpl(
7660                    com.liferay.portlet.journal.model.JournalArticle journalArticle)
7661                    throws com.liferay.portal.kernel.exception.SystemException;
7662    
7663            /**
7664            * Returns the journal article with the primary key or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found.
7665            *
7666            * @param id the primary key of the journal article
7667            * @return the journal article
7668            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
7669            * @throws SystemException if a system exception occurred
7670            */
7671            public com.liferay.portlet.journal.model.JournalArticle findByPrimaryKey(
7672                    long id)
7673                    throws com.liferay.portal.kernel.exception.SystemException,
7674                            com.liferay.portlet.journal.NoSuchArticleException;
7675    
7676            /**
7677            * Returns the journal article with the primary key or returns <code>null</code> if it could not be found.
7678            *
7679            * @param id the primary key of the journal article
7680            * @return the journal article, or <code>null</code> if a journal article with the primary key could not be found
7681            * @throws SystemException if a system exception occurred
7682            */
7683            public com.liferay.portlet.journal.model.JournalArticle fetchByPrimaryKey(
7684                    long id) throws com.liferay.portal.kernel.exception.SystemException;
7685    
7686            /**
7687            * Returns all the journal articles.
7688            *
7689            * @return the journal articles
7690            * @throws SystemException if a system exception occurred
7691            */
7692            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll()
7693                    throws com.liferay.portal.kernel.exception.SystemException;
7694    
7695            /**
7696            * Returns a range of all the journal articles.
7697            *
7698            * <p>
7699            * 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.
7700            * </p>
7701            *
7702            * @param start the lower bound of the range of journal articles
7703            * @param end the upper bound of the range of journal articles (not inclusive)
7704            * @return the range of journal articles
7705            * @throws SystemException if a system exception occurred
7706            */
7707            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll(
7708                    int start, int end)
7709                    throws com.liferay.portal.kernel.exception.SystemException;
7710    
7711            /**
7712            * Returns an ordered range of all the journal articles.
7713            *
7714            * <p>
7715            * 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.
7716            * </p>
7717            *
7718            * @param start the lower bound of the range of journal articles
7719            * @param end the upper bound of the range of journal articles (not inclusive)
7720            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
7721            * @return the ordered range of journal articles
7722            * @throws SystemException if a system exception occurred
7723            */
7724            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll(
7725                    int start, int end,
7726                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
7727                    throws com.liferay.portal.kernel.exception.SystemException;
7728    
7729            /**
7730            * Removes all the journal articles from the database.
7731            *
7732            * @throws SystemException if a system exception occurred
7733            */
7734            public void removeAll()
7735                    throws com.liferay.portal.kernel.exception.SystemException;
7736    
7737            /**
7738            * Returns the number of journal articles.
7739            *
7740            * @return the number of journal articles
7741            * @throws SystemException if a system exception occurred
7742            */
7743            public int countAll()
7744                    throws com.liferay.portal.kernel.exception.SystemException;
7745    }