001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.journal.service.persistence;
016    
017    import com.liferay.portal.service.persistence.BasePersistence;
018    
019    import com.liferay.portlet.journal.model.JournalArticle;
020    
021    /**
022     * The persistence interface for the journal article service.
023     *
024     * <p>
025     * Caching information and settings can be found in <code>portal.properties</code>
026     * </p>
027     *
028     * @author Brian Wing Shun Chan
029     * @see JournalArticlePersistenceImpl
030     * @see JournalArticleUtil
031     * @generated
032     */
033    public interface JournalArticlePersistence extends BasePersistence<JournalArticle> {
034            /*
035             * NOTE FOR DEVELOPERS:
036             *
037             * 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.
038             */
039    
040            /**
041            * Returns all the journal articles where uuid = &#63;.
042            *
043            * @param uuid the uuid
044            * @return the matching journal articles
045            * @throws SystemException if a system exception occurred
046            */
047            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid(
048                    java.lang.String uuid)
049                    throws com.liferay.portal.kernel.exception.SystemException;
050    
051            /**
052            * Returns a range of all the journal articles where uuid = &#63;.
053            *
054            * <p>
055            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
056            * </p>
057            *
058            * @param uuid the uuid
059            * @param start the lower bound of the range of journal articles
060            * @param end the upper bound of the range of journal articles (not inclusive)
061            * @return the range of matching journal articles
062            * @throws SystemException if a system exception occurred
063            */
064            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid(
065                    java.lang.String uuid, int start, int end)
066                    throws com.liferay.portal.kernel.exception.SystemException;
067    
068            /**
069            * Returns an ordered range of all the journal articles where uuid = &#63;.
070            *
071            * <p>
072            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
073            * </p>
074            *
075            * @param uuid the uuid
076            * @param start the lower bound of the range of journal articles
077            * @param end the upper bound of the range of journal articles (not inclusive)
078            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
079            * @return the ordered range of matching journal articles
080            * @throws SystemException if a system exception occurred
081            */
082            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid(
083                    java.lang.String uuid, int start, int end,
084                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
085                    throws com.liferay.portal.kernel.exception.SystemException;
086    
087            /**
088            * Returns the first journal article in the ordered set where uuid = &#63;.
089            *
090            * @param uuid the uuid
091            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
092            * @return the first matching journal article
093            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
094            * @throws SystemException if a system exception occurred
095            */
096            public com.liferay.portlet.journal.model.JournalArticle findByUuid_First(
097                    java.lang.String uuid,
098                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
099                    throws com.liferay.portal.kernel.exception.SystemException,
100                            com.liferay.portlet.journal.NoSuchArticleException;
101    
102            /**
103            * Returns the first journal article in the ordered set where uuid = &#63;.
104            *
105            * @param uuid the uuid
106            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
107            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
108            * @throws SystemException if a system exception occurred
109            */
110            public com.liferay.portlet.journal.model.JournalArticle fetchByUuid_First(
111                    java.lang.String uuid,
112                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
113                    throws com.liferay.portal.kernel.exception.SystemException;
114    
115            /**
116            * Returns the last journal article in the ordered set where uuid = &#63;.
117            *
118            * @param uuid the uuid
119            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
120            * @return the last matching journal article
121            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
122            * @throws SystemException if a system exception occurred
123            */
124            public com.liferay.portlet.journal.model.JournalArticle findByUuid_Last(
125                    java.lang.String uuid,
126                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
127                    throws com.liferay.portal.kernel.exception.SystemException,
128                            com.liferay.portlet.journal.NoSuchArticleException;
129    
130            /**
131            * Returns the last journal article in the ordered set where uuid = &#63;.
132            *
133            * @param uuid the uuid
134            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
135            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
136            * @throws SystemException if a system exception occurred
137            */
138            public com.liferay.portlet.journal.model.JournalArticle fetchByUuid_Last(
139                    java.lang.String uuid,
140                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
141                    throws com.liferay.portal.kernel.exception.SystemException;
142    
143            /**
144            * Returns the journal articles before and after the current journal article in the ordered set where uuid = &#63;.
145            *
146            * @param id the primary key of the current journal article
147            * @param uuid the uuid
148            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
149            * @return the previous, current, and next journal article
150            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
151            * @throws SystemException if a system exception occurred
152            */
153            public com.liferay.portlet.journal.model.JournalArticle[] findByUuid_PrevAndNext(
154                    long id, java.lang.String uuid,
155                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
156                    throws com.liferay.portal.kernel.exception.SystemException,
157                            com.liferay.portlet.journal.NoSuchArticleException;
158    
159            /**
160            * Removes all the journal articles where uuid = &#63; from the database.
161            *
162            * @param uuid the uuid
163            * @throws SystemException if a system exception occurred
164            */
165            public void removeByUuid(java.lang.String uuid)
166                    throws com.liferay.portal.kernel.exception.SystemException;
167    
168            /**
169            * Returns the number of journal articles where uuid = &#63;.
170            *
171            * @param uuid the uuid
172            * @return the number of matching journal articles
173            * @throws SystemException if a system exception occurred
174            */
175            public int countByUuid(java.lang.String uuid)
176                    throws com.liferay.portal.kernel.exception.SystemException;
177    
178            /**
179            * 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.
180            *
181            * @param uuid the uuid
182            * @param groupId the group ID
183            * @return the matching journal article
184            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
185            * @throws SystemException if a system exception occurred
186            */
187            public com.liferay.portlet.journal.model.JournalArticle findByUUID_G(
188                    java.lang.String uuid, long groupId)
189                    throws com.liferay.portal.kernel.exception.SystemException,
190                            com.liferay.portlet.journal.NoSuchArticleException;
191    
192            /**
193            * 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.
194            *
195            * @param uuid the uuid
196            * @param groupId the group ID
197            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
198            * @throws SystemException if a system exception occurred
199            */
200            public com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G(
201                    java.lang.String uuid, long groupId)
202                    throws com.liferay.portal.kernel.exception.SystemException;
203    
204            /**
205            * 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.
206            *
207            * @param uuid the uuid
208            * @param groupId the group ID
209            * @param retrieveFromCache whether to use the finder cache
210            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
211            * @throws SystemException if a system exception occurred
212            */
213            public com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G(
214                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
215                    throws com.liferay.portal.kernel.exception.SystemException;
216    
217            /**
218            * Removes the journal article where uuid = &#63; and groupId = &#63; from the database.
219            *
220            * @param uuid the uuid
221            * @param groupId the group ID
222            * @return the journal article that was removed
223            * @throws SystemException if a system exception occurred
224            */
225            public com.liferay.portlet.journal.model.JournalArticle removeByUUID_G(
226                    java.lang.String uuid, long groupId)
227                    throws com.liferay.portal.kernel.exception.SystemException,
228                            com.liferay.portlet.journal.NoSuchArticleException;
229    
230            /**
231            * Returns the number of journal articles where uuid = &#63; and groupId = &#63;.
232            *
233            * @param uuid the uuid
234            * @param groupId the group ID
235            * @return the number of matching journal articles
236            * @throws SystemException if a system exception occurred
237            */
238            public int countByUUID_G(java.lang.String uuid, long groupId)
239                    throws com.liferay.portal.kernel.exception.SystemException;
240    
241            /**
242            * Returns all the journal articles where uuid = &#63; and companyId = &#63;.
243            *
244            * @param uuid the uuid
245            * @param companyId the company ID
246            * @return the matching journal articles
247            * @throws SystemException if a system exception occurred
248            */
249            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid_C(
250                    java.lang.String uuid, long companyId)
251                    throws com.liferay.portal.kernel.exception.SystemException;
252    
253            /**
254            * Returns a range of all the journal articles where uuid = &#63; and companyId = &#63;.
255            *
256            * <p>
257            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
258            * </p>
259            *
260            * @param uuid the uuid
261            * @param companyId the company ID
262            * @param start the lower bound of the range of journal articles
263            * @param end the upper bound of the range of journal articles (not inclusive)
264            * @return the range of matching journal articles
265            * @throws SystemException if a system exception occurred
266            */
267            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid_C(
268                    java.lang.String uuid, long companyId, int start, int end)
269                    throws com.liferay.portal.kernel.exception.SystemException;
270    
271            /**
272            * Returns an ordered range of all the journal articles where uuid = &#63; and companyId = &#63;.
273            *
274            * <p>
275            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
276            * </p>
277            *
278            * @param uuid the uuid
279            * @param companyId the company ID
280            * @param start the lower bound of the range of journal articles
281            * @param end the upper bound of the range of journal articles (not inclusive)
282            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
283            * @return the ordered range of matching journal articles
284            * @throws SystemException if a system exception occurred
285            */
286            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid_C(
287                    java.lang.String uuid, long companyId, int start, int end,
288                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
289                    throws com.liferay.portal.kernel.exception.SystemException;
290    
291            /**
292            * Returns the first journal article in the ordered set where uuid = &#63; and companyId = &#63;.
293            *
294            * @param uuid the uuid
295            * @param companyId the company ID
296            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
297            * @return the first matching journal article
298            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
299            * @throws SystemException if a system exception occurred
300            */
301            public com.liferay.portlet.journal.model.JournalArticle findByUuid_C_First(
302                    java.lang.String uuid, long companyId,
303                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
304                    throws com.liferay.portal.kernel.exception.SystemException,
305                            com.liferay.portlet.journal.NoSuchArticleException;
306    
307            /**
308            * Returns the first journal article in the ordered set where uuid = &#63; and companyId = &#63;.
309            *
310            * @param uuid the uuid
311            * @param companyId the company ID
312            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
313            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
314            * @throws SystemException if a system exception occurred
315            */
316            public com.liferay.portlet.journal.model.JournalArticle fetchByUuid_C_First(
317                    java.lang.String uuid, long companyId,
318                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
319                    throws com.liferay.portal.kernel.exception.SystemException;
320    
321            /**
322            * Returns the last journal article in the ordered set where uuid = &#63; and companyId = &#63;.
323            *
324            * @param uuid the uuid
325            * @param companyId the company ID
326            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
327            * @return the last matching journal article
328            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
329            * @throws SystemException if a system exception occurred
330            */
331            public com.liferay.portlet.journal.model.JournalArticle findByUuid_C_Last(
332                    java.lang.String uuid, long companyId,
333                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
334                    throws com.liferay.portal.kernel.exception.SystemException,
335                            com.liferay.portlet.journal.NoSuchArticleException;
336    
337            /**
338            * Returns the last journal article in the ordered set where uuid = &#63; and companyId = &#63;.
339            *
340            * @param uuid the uuid
341            * @param companyId the company ID
342            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
343            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
344            * @throws SystemException if a system exception occurred
345            */
346            public com.liferay.portlet.journal.model.JournalArticle fetchByUuid_C_Last(
347                    java.lang.String uuid, long companyId,
348                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
349                    throws com.liferay.portal.kernel.exception.SystemException;
350    
351            /**
352            * Returns the journal articles before and after the current journal article in the ordered set where uuid = &#63; and companyId = &#63;.
353            *
354            * @param id the primary key of the current journal article
355            * @param uuid the uuid
356            * @param companyId the company ID
357            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
358            * @return the previous, current, and next journal article
359            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
360            * @throws SystemException if a system exception occurred
361            */
362            public com.liferay.portlet.journal.model.JournalArticle[] findByUuid_C_PrevAndNext(
363                    long id, java.lang.String uuid, long companyId,
364                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
365                    throws com.liferay.portal.kernel.exception.SystemException,
366                            com.liferay.portlet.journal.NoSuchArticleException;
367    
368            /**
369            * Removes all the journal articles where uuid = &#63; and companyId = &#63; from the database.
370            *
371            * @param uuid the uuid
372            * @param companyId the company ID
373            * @throws SystemException if a system exception occurred
374            */
375            public void removeByUuid_C(java.lang.String uuid, long companyId)
376                    throws com.liferay.portal.kernel.exception.SystemException;
377    
378            /**
379            * Returns the number of journal articles where uuid = &#63; and companyId = &#63;.
380            *
381            * @param uuid the uuid
382            * @param companyId the company ID
383            * @return the number of matching journal articles
384            * @throws SystemException if a system exception occurred
385            */
386            public int countByUuid_C(java.lang.String uuid, long companyId)
387                    throws com.liferay.portal.kernel.exception.SystemException;
388    
389            /**
390            * Returns all the journal articles where resourcePrimKey = &#63;.
391            *
392            * @param resourcePrimKey the resource prim key
393            * @return the matching journal articles
394            * @throws SystemException if a system exception occurred
395            */
396            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey(
397                    long resourcePrimKey)
398                    throws com.liferay.portal.kernel.exception.SystemException;
399    
400            /**
401            * Returns a range of all the journal articles where resourcePrimKey = &#63;.
402            *
403            * <p>
404            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
405            * </p>
406            *
407            * @param resourcePrimKey the resource prim key
408            * @param start the lower bound of the range of journal articles
409            * @param end the upper bound of the range of journal articles (not inclusive)
410            * @return the range of matching journal articles
411            * @throws SystemException if a system exception occurred
412            */
413            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey(
414                    long resourcePrimKey, int start, int end)
415                    throws com.liferay.portal.kernel.exception.SystemException;
416    
417            /**
418            * Returns an ordered range of all the journal articles where resourcePrimKey = &#63;.
419            *
420            * <p>
421            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
422            * </p>
423            *
424            * @param resourcePrimKey the resource prim key
425            * @param start the lower bound of the range of journal articles
426            * @param end the upper bound of the range of journal articles (not inclusive)
427            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
428            * @return the ordered range of matching journal articles
429            * @throws SystemException if a system exception occurred
430            */
431            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey(
432                    long resourcePrimKey, int start, int end,
433                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
434                    throws com.liferay.portal.kernel.exception.SystemException;
435    
436            /**
437            * Returns the first journal article in the ordered set where resourcePrimKey = &#63;.
438            *
439            * @param resourcePrimKey the resource prim key
440            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
441            * @return the first matching journal article
442            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
443            * @throws SystemException if a system exception occurred
444            */
445            public com.liferay.portlet.journal.model.JournalArticle findByResourcePrimKey_First(
446                    long resourcePrimKey,
447                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
448                    throws com.liferay.portal.kernel.exception.SystemException,
449                            com.liferay.portlet.journal.NoSuchArticleException;
450    
451            /**
452            * Returns the first journal article in the ordered set where resourcePrimKey = &#63;.
453            *
454            * @param resourcePrimKey the resource prim key
455            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
456            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
457            * @throws SystemException if a system exception occurred
458            */
459            public com.liferay.portlet.journal.model.JournalArticle fetchByResourcePrimKey_First(
460                    long resourcePrimKey,
461                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
462                    throws com.liferay.portal.kernel.exception.SystemException;
463    
464            /**
465            * Returns the last journal article in the ordered set where resourcePrimKey = &#63;.
466            *
467            * @param resourcePrimKey the resource prim key
468            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
469            * @return the last matching journal article
470            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
471            * @throws SystemException if a system exception occurred
472            */
473            public com.liferay.portlet.journal.model.JournalArticle findByResourcePrimKey_Last(
474                    long resourcePrimKey,
475                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
476                    throws com.liferay.portal.kernel.exception.SystemException,
477                            com.liferay.portlet.journal.NoSuchArticleException;
478    
479            /**
480            * Returns the last journal article in the ordered set where resourcePrimKey = &#63;.
481            *
482            * @param resourcePrimKey the resource prim key
483            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
484            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
485            * @throws SystemException if a system exception occurred
486            */
487            public com.liferay.portlet.journal.model.JournalArticle fetchByResourcePrimKey_Last(
488                    long resourcePrimKey,
489                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
490                    throws com.liferay.portal.kernel.exception.SystemException;
491    
492            /**
493            * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = &#63;.
494            *
495            * @param id the primary key of the current journal article
496            * @param resourcePrimKey the resource prim key
497            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
498            * @return the previous, current, and next journal article
499            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
500            * @throws SystemException if a system exception occurred
501            */
502            public com.liferay.portlet.journal.model.JournalArticle[] findByResourcePrimKey_PrevAndNext(
503                    long id, long resourcePrimKey,
504                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
505                    throws com.liferay.portal.kernel.exception.SystemException,
506                            com.liferay.portlet.journal.NoSuchArticleException;
507    
508            /**
509            * Removes all the journal articles where resourcePrimKey = &#63; from the database.
510            *
511            * @param resourcePrimKey the resource prim key
512            * @throws SystemException if a system exception occurred
513            */
514            public void removeByResourcePrimKey(long resourcePrimKey)
515                    throws com.liferay.portal.kernel.exception.SystemException;
516    
517            /**
518            * Returns the number of journal articles where resourcePrimKey = &#63;.
519            *
520            * @param resourcePrimKey the resource prim key
521            * @return the number of matching journal articles
522            * @throws SystemException if a system exception occurred
523            */
524            public int countByResourcePrimKey(long resourcePrimKey)
525                    throws com.liferay.portal.kernel.exception.SystemException;
526    
527            /**
528            * Returns all the journal articles where groupId = &#63;.
529            *
530            * @param groupId the group ID
531            * @return the matching journal articles
532            * @throws SystemException if a system exception occurred
533            */
534            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId(
535                    long groupId)
536                    throws com.liferay.portal.kernel.exception.SystemException;
537    
538            /**
539            * Returns a range of all the journal articles where groupId = &#63;.
540            *
541            * <p>
542            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
543            * </p>
544            *
545            * @param groupId the group ID
546            * @param start the lower bound of the range of journal articles
547            * @param end the upper bound of the range of journal articles (not inclusive)
548            * @return the range of matching journal articles
549            * @throws SystemException if a system exception occurred
550            */
551            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId(
552                    long groupId, int start, int end)
553                    throws com.liferay.portal.kernel.exception.SystemException;
554    
555            /**
556            * Returns an ordered range of all the journal articles where groupId = &#63;.
557            *
558            * <p>
559            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
560            * </p>
561            *
562            * @param groupId the group ID
563            * @param start the lower bound of the range of journal articles
564            * @param end the upper bound of the range of journal articles (not inclusive)
565            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
566            * @return the ordered range of matching journal articles
567            * @throws SystemException if a system exception occurred
568            */
569            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId(
570                    long groupId, int start, int end,
571                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
572                    throws com.liferay.portal.kernel.exception.SystemException;
573    
574            /**
575            * Returns the first journal article in the ordered set where groupId = &#63;.
576            *
577            * @param groupId the group ID
578            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
579            * @return the first matching journal article
580            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
581            * @throws SystemException if a system exception occurred
582            */
583            public com.liferay.portlet.journal.model.JournalArticle findByGroupId_First(
584                    long groupId,
585                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
586                    throws com.liferay.portal.kernel.exception.SystemException,
587                            com.liferay.portlet.journal.NoSuchArticleException;
588    
589            /**
590            * Returns the first journal article in the ordered set where groupId = &#63;.
591            *
592            * @param groupId the group ID
593            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
594            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
595            * @throws SystemException if a system exception occurred
596            */
597            public com.liferay.portlet.journal.model.JournalArticle fetchByGroupId_First(
598                    long groupId,
599                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
600                    throws com.liferay.portal.kernel.exception.SystemException;
601    
602            /**
603            * Returns the last journal article in the ordered set where groupId = &#63;.
604            *
605            * @param groupId the group ID
606            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
607            * @return the last matching journal article
608            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
609            * @throws SystemException if a system exception occurred
610            */
611            public com.liferay.portlet.journal.model.JournalArticle findByGroupId_Last(
612                    long groupId,
613                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
614                    throws com.liferay.portal.kernel.exception.SystemException,
615                            com.liferay.portlet.journal.NoSuchArticleException;
616    
617            /**
618            * Returns the last journal article in the ordered set where groupId = &#63;.
619            *
620            * @param groupId the group ID
621            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
622            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
623            * @throws SystemException if a system exception occurred
624            */
625            public com.liferay.portlet.journal.model.JournalArticle fetchByGroupId_Last(
626                    long groupId,
627                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
628                    throws com.liferay.portal.kernel.exception.SystemException;
629    
630            /**
631            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63;.
632            *
633            * @param id the primary key of the current journal article
634            * @param groupId the group ID
635            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
636            * @return the previous, current, and next journal article
637            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
638            * @throws SystemException if a system exception occurred
639            */
640            public com.liferay.portlet.journal.model.JournalArticle[] findByGroupId_PrevAndNext(
641                    long id, long groupId,
642                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
643                    throws com.liferay.portal.kernel.exception.SystemException,
644                            com.liferay.portlet.journal.NoSuchArticleException;
645    
646            /**
647            * Returns all the journal articles that the user has permission to view where groupId = &#63;.
648            *
649            * @param groupId the group ID
650            * @return the matching journal articles that the user has permission to view
651            * @throws SystemException if a system exception occurred
652            */
653            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId(
654                    long groupId)
655                    throws com.liferay.portal.kernel.exception.SystemException;
656    
657            /**
658            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63;.
659            *
660            * <p>
661            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
662            * </p>
663            *
664            * @param groupId the group ID
665            * @param start the lower bound of the range of journal articles
666            * @param end the upper bound of the range of journal articles (not inclusive)
667            * @return the range of matching journal articles that the user has permission to view
668            * @throws SystemException if a system exception occurred
669            */
670            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId(
671                    long groupId, int start, int end)
672                    throws com.liferay.portal.kernel.exception.SystemException;
673    
674            /**
675            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63;.
676            *
677            * <p>
678            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
679            * </p>
680            *
681            * @param groupId the group ID
682            * @param start the lower bound of the range of journal articles
683            * @param end the upper bound of the range of journal articles (not inclusive)
684            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
685            * @return the ordered range of matching journal articles that the user has permission to view
686            * @throws SystemException if a system exception occurred
687            */
688            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId(
689                    long groupId, int start, int end,
690                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
691                    throws com.liferay.portal.kernel.exception.SystemException;
692    
693            /**
694            * 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;.
695            *
696            * @param id the primary key of the current journal article
697            * @param groupId the group ID
698            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
699            * @return the previous, current, and next journal article
700            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
701            * @throws SystemException if a system exception occurred
702            */
703            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByGroupId_PrevAndNext(
704                    long id, long groupId,
705                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
706                    throws com.liferay.portal.kernel.exception.SystemException,
707                            com.liferay.portlet.journal.NoSuchArticleException;
708    
709            /**
710            * Removes all the journal articles where groupId = &#63; from the database.
711            *
712            * @param groupId the group ID
713            * @throws SystemException if a system exception occurred
714            */
715            public void removeByGroupId(long groupId)
716                    throws com.liferay.portal.kernel.exception.SystemException;
717    
718            /**
719            * Returns the number of journal articles where groupId = &#63;.
720            *
721            * @param groupId the group ID
722            * @return the number of matching journal articles
723            * @throws SystemException if a system exception occurred
724            */
725            public int countByGroupId(long groupId)
726                    throws com.liferay.portal.kernel.exception.SystemException;
727    
728            /**
729            * Returns the number of journal articles that the user has permission to view where groupId = &#63;.
730            *
731            * @param groupId the group ID
732            * @return the number of matching journal articles that the user has permission to view
733            * @throws SystemException if a system exception occurred
734            */
735            public int filterCountByGroupId(long groupId)
736                    throws com.liferay.portal.kernel.exception.SystemException;
737    
738            /**
739            * Returns all the journal articles where companyId = &#63;.
740            *
741            * @param companyId the company ID
742            * @return the matching journal articles
743            * @throws SystemException if a system exception occurred
744            */
745            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId(
746                    long companyId)
747                    throws com.liferay.portal.kernel.exception.SystemException;
748    
749            /**
750            * Returns a range of all the journal articles where companyId = &#63;.
751            *
752            * <p>
753            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
754            * </p>
755            *
756            * @param companyId the company ID
757            * @param start the lower bound of the range of journal articles
758            * @param end the upper bound of the range of journal articles (not inclusive)
759            * @return the range of matching journal articles
760            * @throws SystemException if a system exception occurred
761            */
762            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId(
763                    long companyId, int start, int end)
764                    throws com.liferay.portal.kernel.exception.SystemException;
765    
766            /**
767            * Returns an ordered range of all the journal articles where companyId = &#63;.
768            *
769            * <p>
770            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
771            * </p>
772            *
773            * @param companyId the company ID
774            * @param start the lower bound of the range of journal articles
775            * @param end the upper bound of the range of journal articles (not inclusive)
776            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
777            * @return the ordered range of matching journal articles
778            * @throws SystemException if a system exception occurred
779            */
780            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId(
781                    long companyId, int start, int end,
782                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
783                    throws com.liferay.portal.kernel.exception.SystemException;
784    
785            /**
786            * Returns the first journal article in the ordered set where companyId = &#63;.
787            *
788            * @param companyId the company ID
789            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
790            * @return the first matching journal article
791            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
792            * @throws SystemException if a system exception occurred
793            */
794            public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_First(
795                    long companyId,
796                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
797                    throws com.liferay.portal.kernel.exception.SystemException,
798                            com.liferay.portlet.journal.NoSuchArticleException;
799    
800            /**
801            * Returns the first journal article in the ordered set where companyId = &#63;.
802            *
803            * @param companyId the company ID
804            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
805            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
806            * @throws SystemException if a system exception occurred
807            */
808            public com.liferay.portlet.journal.model.JournalArticle fetchByCompanyId_First(
809                    long companyId,
810                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
811                    throws com.liferay.portal.kernel.exception.SystemException;
812    
813            /**
814            * Returns the last journal article in the ordered set where companyId = &#63;.
815            *
816            * @param companyId the company ID
817            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
818            * @return the last matching journal article
819            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
820            * @throws SystemException if a system exception occurred
821            */
822            public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_Last(
823                    long companyId,
824                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
825                    throws com.liferay.portal.kernel.exception.SystemException,
826                            com.liferay.portlet.journal.NoSuchArticleException;
827    
828            /**
829            * Returns the last journal article in the ordered set where companyId = &#63;.
830            *
831            * @param companyId the company ID
832            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
833            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
834            * @throws SystemException if a system exception occurred
835            */
836            public com.liferay.portlet.journal.model.JournalArticle fetchByCompanyId_Last(
837                    long companyId,
838                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
839                    throws com.liferay.portal.kernel.exception.SystemException;
840    
841            /**
842            * Returns the journal articles before and after the current journal article in the ordered set where companyId = &#63;.
843            *
844            * @param id the primary key of the current journal article
845            * @param companyId the company ID
846            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
847            * @return the previous, current, and next journal article
848            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
849            * @throws SystemException if a system exception occurred
850            */
851            public com.liferay.portlet.journal.model.JournalArticle[] findByCompanyId_PrevAndNext(
852                    long id, long companyId,
853                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
854                    throws com.liferay.portal.kernel.exception.SystemException,
855                            com.liferay.portlet.journal.NoSuchArticleException;
856    
857            /**
858            * Removes all the journal articles where companyId = &#63; from the database.
859            *
860            * @param companyId the company ID
861            * @throws SystemException if a system exception occurred
862            */
863            public void removeByCompanyId(long companyId)
864                    throws com.liferay.portal.kernel.exception.SystemException;
865    
866            /**
867            * Returns the number of journal articles where companyId = &#63;.
868            *
869            * @param companyId the company ID
870            * @return the number of matching journal articles
871            * @throws SystemException if a system exception occurred
872            */
873            public int countByCompanyId(long companyId)
874                    throws com.liferay.portal.kernel.exception.SystemException;
875    
876            /**
877            * Returns all the journal articles where structureId = &#63;.
878            *
879            * @param structureId the structure ID
880            * @return the matching journal articles
881            * @throws SystemException if a system exception occurred
882            */
883            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId(
884                    java.lang.String structureId)
885                    throws com.liferay.portal.kernel.exception.SystemException;
886    
887            /**
888            * Returns a range of all the journal articles where structureId = &#63;.
889            *
890            * <p>
891            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
892            * </p>
893            *
894            * @param structureId the structure ID
895            * @param start the lower bound of the range of journal articles
896            * @param end the upper bound of the range of journal articles (not inclusive)
897            * @return the range of matching journal articles
898            * @throws SystemException if a system exception occurred
899            */
900            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId(
901                    java.lang.String structureId, int start, int end)
902                    throws com.liferay.portal.kernel.exception.SystemException;
903    
904            /**
905            * Returns an ordered range of all the journal articles where structureId = &#63;.
906            *
907            * <p>
908            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
909            * </p>
910            *
911            * @param structureId the structure ID
912            * @param start the lower bound of the range of journal articles
913            * @param end the upper bound of the range of journal articles (not inclusive)
914            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
915            * @return the ordered range of matching journal articles
916            * @throws SystemException if a system exception occurred
917            */
918            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId(
919                    java.lang.String structureId, int start, int end,
920                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
921                    throws com.liferay.portal.kernel.exception.SystemException;
922    
923            /**
924            * Returns the first journal article in the ordered set where structureId = &#63;.
925            *
926            * @param structureId the structure ID
927            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
928            * @return the first matching journal article
929            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
930            * @throws SystemException if a system exception occurred
931            */
932            public com.liferay.portlet.journal.model.JournalArticle findByStructureId_First(
933                    java.lang.String structureId,
934                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
935                    throws com.liferay.portal.kernel.exception.SystemException,
936                            com.liferay.portlet.journal.NoSuchArticleException;
937    
938            /**
939            * Returns the first journal article in the ordered set where structureId = &#63;.
940            *
941            * @param structureId the structure ID
942            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
943            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
944            * @throws SystemException if a system exception occurred
945            */
946            public com.liferay.portlet.journal.model.JournalArticle fetchByStructureId_First(
947                    java.lang.String structureId,
948                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
949                    throws com.liferay.portal.kernel.exception.SystemException;
950    
951            /**
952            * Returns the last journal article in the ordered set where structureId = &#63;.
953            *
954            * @param structureId the structure ID
955            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
956            * @return the last matching journal article
957            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
958            * @throws SystemException if a system exception occurred
959            */
960            public com.liferay.portlet.journal.model.JournalArticle findByStructureId_Last(
961                    java.lang.String structureId,
962                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
963                    throws com.liferay.portal.kernel.exception.SystemException,
964                            com.liferay.portlet.journal.NoSuchArticleException;
965    
966            /**
967            * Returns the last journal article in the ordered set where structureId = &#63;.
968            *
969            * @param structureId the structure ID
970            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
971            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
972            * @throws SystemException if a system exception occurred
973            */
974            public com.liferay.portlet.journal.model.JournalArticle fetchByStructureId_Last(
975                    java.lang.String structureId,
976                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
977                    throws com.liferay.portal.kernel.exception.SystemException;
978    
979            /**
980            * Returns the journal articles before and after the current journal article in the ordered set where structureId = &#63;.
981            *
982            * @param id the primary key of the current journal article
983            * @param structureId the structure ID
984            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
985            * @return the previous, current, and next journal article
986            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
987            * @throws SystemException if a system exception occurred
988            */
989            public com.liferay.portlet.journal.model.JournalArticle[] findByStructureId_PrevAndNext(
990                    long id, java.lang.String structureId,
991                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
992                    throws com.liferay.portal.kernel.exception.SystemException,
993                            com.liferay.portlet.journal.NoSuchArticleException;
994    
995            /**
996            * Returns all the journal articles where structureId = any &#63;.
997            *
998            * <p>
999            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1000            * </p>
1001            *
1002            * @param structureIds the structure IDs
1003            * @return the matching journal articles
1004            * @throws SystemException if a system exception occurred
1005            */
1006            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId(
1007                    java.lang.String[] structureIds)
1008                    throws com.liferay.portal.kernel.exception.SystemException;
1009    
1010            /**
1011            * Returns a range of all the journal articles where structureId = any &#63;.
1012            *
1013            * <p>
1014            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1015            * </p>
1016            *
1017            * @param structureIds the structure IDs
1018            * @param start the lower bound of the range of journal articles
1019            * @param end the upper bound of the range of journal articles (not inclusive)
1020            * @return the range of matching journal articles
1021            * @throws SystemException if a system exception occurred
1022            */
1023            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId(
1024                    java.lang.String[] structureIds, int start, int end)
1025                    throws com.liferay.portal.kernel.exception.SystemException;
1026    
1027            /**
1028            * Returns an ordered range of all the journal articles where structureId = any &#63;.
1029            *
1030            * <p>
1031            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1032            * </p>
1033            *
1034            * @param structureIds the structure IDs
1035            * @param start the lower bound of the range of journal articles
1036            * @param end the upper bound of the range of journal articles (not inclusive)
1037            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1038            * @return the ordered range of matching journal articles
1039            * @throws SystemException if a system exception occurred
1040            */
1041            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId(
1042                    java.lang.String[] structureIds, int start, int end,
1043                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1044                    throws com.liferay.portal.kernel.exception.SystemException;
1045    
1046            /**
1047            * Removes all the journal articles where structureId = &#63; from the database.
1048            *
1049            * @param structureId the structure ID
1050            * @throws SystemException if a system exception occurred
1051            */
1052            public void removeByStructureId(java.lang.String structureId)
1053                    throws com.liferay.portal.kernel.exception.SystemException;
1054    
1055            /**
1056            * Returns the number of journal articles where structureId = &#63;.
1057            *
1058            * @param structureId the structure ID
1059            * @return the number of matching journal articles
1060            * @throws SystemException if a system exception occurred
1061            */
1062            public int countByStructureId(java.lang.String structureId)
1063                    throws com.liferay.portal.kernel.exception.SystemException;
1064    
1065            /**
1066            * Returns the number of journal articles where structureId = any &#63;.
1067            *
1068            * @param structureIds the structure IDs
1069            * @return the number of matching journal articles
1070            * @throws SystemException if a system exception occurred
1071            */
1072            public int countByStructureId(java.lang.String[] structureIds)
1073                    throws com.liferay.portal.kernel.exception.SystemException;
1074    
1075            /**
1076            * Returns all the journal articles where templateId = &#63;.
1077            *
1078            * @param templateId the template ID
1079            * @return the matching journal articles
1080            * @throws SystemException if a system exception occurred
1081            */
1082            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId(
1083                    java.lang.String templateId)
1084                    throws com.liferay.portal.kernel.exception.SystemException;
1085    
1086            /**
1087            * Returns a range of all the journal articles where templateId = &#63;.
1088            *
1089            * <p>
1090            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1091            * </p>
1092            *
1093            * @param templateId the template ID
1094            * @param start the lower bound of the range of journal articles
1095            * @param end the upper bound of the range of journal articles (not inclusive)
1096            * @return the range of matching journal articles
1097            * @throws SystemException if a system exception occurred
1098            */
1099            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId(
1100                    java.lang.String templateId, int start, int end)
1101                    throws com.liferay.portal.kernel.exception.SystemException;
1102    
1103            /**
1104            * Returns an ordered range of all the journal articles where templateId = &#63;.
1105            *
1106            * <p>
1107            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1108            * </p>
1109            *
1110            * @param templateId the template ID
1111            * @param start the lower bound of the range of journal articles
1112            * @param end the upper bound of the range of journal articles (not inclusive)
1113            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1114            * @return the ordered range of matching journal articles
1115            * @throws SystemException if a system exception occurred
1116            */
1117            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId(
1118                    java.lang.String templateId, int start, int end,
1119                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1120                    throws com.liferay.portal.kernel.exception.SystemException;
1121    
1122            /**
1123            * Returns the first journal article in the ordered set where templateId = &#63;.
1124            *
1125            * @param templateId the template ID
1126            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1127            * @return the first matching journal article
1128            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1129            * @throws SystemException if a system exception occurred
1130            */
1131            public com.liferay.portlet.journal.model.JournalArticle findByTemplateId_First(
1132                    java.lang.String templateId,
1133                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1134                    throws com.liferay.portal.kernel.exception.SystemException,
1135                            com.liferay.portlet.journal.NoSuchArticleException;
1136    
1137            /**
1138            * Returns the first journal article in the ordered set where templateId = &#63;.
1139            *
1140            * @param templateId the template ID
1141            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1142            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
1143            * @throws SystemException if a system exception occurred
1144            */
1145            public com.liferay.portlet.journal.model.JournalArticle fetchByTemplateId_First(
1146                    java.lang.String templateId,
1147                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1148                    throws com.liferay.portal.kernel.exception.SystemException;
1149    
1150            /**
1151            * Returns the last journal article in the ordered set where templateId = &#63;.
1152            *
1153            * @param templateId the template ID
1154            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1155            * @return the last matching journal article
1156            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1157            * @throws SystemException if a system exception occurred
1158            */
1159            public com.liferay.portlet.journal.model.JournalArticle findByTemplateId_Last(
1160                    java.lang.String templateId,
1161                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1162                    throws com.liferay.portal.kernel.exception.SystemException,
1163                            com.liferay.portlet.journal.NoSuchArticleException;
1164    
1165            /**
1166            * Returns the last journal article in the ordered set where templateId = &#63;.
1167            *
1168            * @param templateId the template ID
1169            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1170            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
1171            * @throws SystemException if a system exception occurred
1172            */
1173            public com.liferay.portlet.journal.model.JournalArticle fetchByTemplateId_Last(
1174                    java.lang.String templateId,
1175                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1176                    throws com.liferay.portal.kernel.exception.SystemException;
1177    
1178            /**
1179            * Returns the journal articles before and after the current journal article in the ordered set where templateId = &#63;.
1180            *
1181            * @param id the primary key of the current journal article
1182            * @param templateId the template ID
1183            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1184            * @return the previous, current, and next journal article
1185            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1186            * @throws SystemException if a system exception occurred
1187            */
1188            public com.liferay.portlet.journal.model.JournalArticle[] findByTemplateId_PrevAndNext(
1189                    long id, java.lang.String templateId,
1190                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1191                    throws com.liferay.portal.kernel.exception.SystemException,
1192                            com.liferay.portlet.journal.NoSuchArticleException;
1193    
1194            /**
1195            * Removes all the journal articles where templateId = &#63; from the database.
1196            *
1197            * @param templateId the template ID
1198            * @throws SystemException if a system exception occurred
1199            */
1200            public void removeByTemplateId(java.lang.String templateId)
1201                    throws com.liferay.portal.kernel.exception.SystemException;
1202    
1203            /**
1204            * Returns the number of journal articles where templateId = &#63;.
1205            *
1206            * @param templateId the template ID
1207            * @return the number of matching journal articles
1208            * @throws SystemException if a system exception occurred
1209            */
1210            public int countByTemplateId(java.lang.String templateId)
1211                    throws com.liferay.portal.kernel.exception.SystemException;
1212    
1213            /**
1214            * Returns all the journal articles where layoutUuid = &#63;.
1215            *
1216            * @param layoutUuid the layout uuid
1217            * @return the matching journal articles
1218            * @throws SystemException if a system exception occurred
1219            */
1220            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid(
1221                    java.lang.String layoutUuid)
1222                    throws com.liferay.portal.kernel.exception.SystemException;
1223    
1224            /**
1225            * Returns a range of all the journal articles where layoutUuid = &#63;.
1226            *
1227            * <p>
1228            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1229            * </p>
1230            *
1231            * @param layoutUuid the layout uuid
1232            * @param start the lower bound of the range of journal articles
1233            * @param end the upper bound of the range of journal articles (not inclusive)
1234            * @return the range of matching journal articles
1235            * @throws SystemException if a system exception occurred
1236            */
1237            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid(
1238                    java.lang.String layoutUuid, int start, int end)
1239                    throws com.liferay.portal.kernel.exception.SystemException;
1240    
1241            /**
1242            * Returns an ordered range of all the journal articles where layoutUuid = &#63;.
1243            *
1244            * <p>
1245            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1246            * </p>
1247            *
1248            * @param layoutUuid the layout uuid
1249            * @param start the lower bound of the range of journal articles
1250            * @param end the upper bound of the range of journal articles (not inclusive)
1251            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1252            * @return the ordered range of matching journal articles
1253            * @throws SystemException if a system exception occurred
1254            */
1255            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid(
1256                    java.lang.String layoutUuid, int start, int end,
1257                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1258                    throws com.liferay.portal.kernel.exception.SystemException;
1259    
1260            /**
1261            * Returns the first journal article in the ordered set where layoutUuid = &#63;.
1262            *
1263            * @param layoutUuid the layout uuid
1264            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1265            * @return the first matching journal article
1266            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1267            * @throws SystemException if a system exception occurred
1268            */
1269            public com.liferay.portlet.journal.model.JournalArticle findByLayoutUuid_First(
1270                    java.lang.String layoutUuid,
1271                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1272                    throws com.liferay.portal.kernel.exception.SystemException,
1273                            com.liferay.portlet.journal.NoSuchArticleException;
1274    
1275            /**
1276            * Returns the first journal article in the ordered set where layoutUuid = &#63;.
1277            *
1278            * @param layoutUuid the layout uuid
1279            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1280            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
1281            * @throws SystemException if a system exception occurred
1282            */
1283            public com.liferay.portlet.journal.model.JournalArticle fetchByLayoutUuid_First(
1284                    java.lang.String layoutUuid,
1285                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1286                    throws com.liferay.portal.kernel.exception.SystemException;
1287    
1288            /**
1289            * Returns the last journal article in the ordered set where layoutUuid = &#63;.
1290            *
1291            * @param layoutUuid the layout uuid
1292            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1293            * @return the last matching journal article
1294            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1295            * @throws SystemException if a system exception occurred
1296            */
1297            public com.liferay.portlet.journal.model.JournalArticle findByLayoutUuid_Last(
1298                    java.lang.String layoutUuid,
1299                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1300                    throws com.liferay.portal.kernel.exception.SystemException,
1301                            com.liferay.portlet.journal.NoSuchArticleException;
1302    
1303            /**
1304            * Returns the last journal article in the ordered set where layoutUuid = &#63;.
1305            *
1306            * @param layoutUuid the layout uuid
1307            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1308            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
1309            * @throws SystemException if a system exception occurred
1310            */
1311            public com.liferay.portlet.journal.model.JournalArticle fetchByLayoutUuid_Last(
1312                    java.lang.String layoutUuid,
1313                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1314                    throws com.liferay.portal.kernel.exception.SystemException;
1315    
1316            /**
1317            * Returns the journal articles before and after the current journal article in the ordered set where layoutUuid = &#63;.
1318            *
1319            * @param id the primary key of the current journal article
1320            * @param layoutUuid the layout uuid
1321            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1322            * @return the previous, current, and next journal article
1323            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1324            * @throws SystemException if a system exception occurred
1325            */
1326            public com.liferay.portlet.journal.model.JournalArticle[] findByLayoutUuid_PrevAndNext(
1327                    long id, java.lang.String layoutUuid,
1328                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1329                    throws com.liferay.portal.kernel.exception.SystemException,
1330                            com.liferay.portlet.journal.NoSuchArticleException;
1331    
1332            /**
1333            * Removes all the journal articles where layoutUuid = &#63; from the database.
1334            *
1335            * @param layoutUuid the layout uuid
1336            * @throws SystemException if a system exception occurred
1337            */
1338            public void removeByLayoutUuid(java.lang.String layoutUuid)
1339                    throws com.liferay.portal.kernel.exception.SystemException;
1340    
1341            /**
1342            * Returns the number of journal articles where layoutUuid = &#63;.
1343            *
1344            * @param layoutUuid the layout uuid
1345            * @return the number of matching journal articles
1346            * @throws SystemException if a system exception occurred
1347            */
1348            public int countByLayoutUuid(java.lang.String layoutUuid)
1349                    throws com.liferay.portal.kernel.exception.SystemException;
1350    
1351            /**
1352            * Returns all the journal articles where smallImageId = &#63;.
1353            *
1354            * @param smallImageId the small image ID
1355            * @return the matching journal articles
1356            * @throws SystemException if a system exception occurred
1357            */
1358            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
1359                    long smallImageId)
1360                    throws com.liferay.portal.kernel.exception.SystemException;
1361    
1362            /**
1363            * Returns a range of all the journal articles where smallImageId = &#63;.
1364            *
1365            * <p>
1366            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1367            * </p>
1368            *
1369            * @param smallImageId the small image ID
1370            * @param start the lower bound of the range of journal articles
1371            * @param end the upper bound of the range of journal articles (not inclusive)
1372            * @return the range of matching journal articles
1373            * @throws SystemException if a system exception occurred
1374            */
1375            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
1376                    long smallImageId, int start, int end)
1377                    throws com.liferay.portal.kernel.exception.SystemException;
1378    
1379            /**
1380            * Returns an ordered range of all the journal articles where smallImageId = &#63;.
1381            *
1382            * <p>
1383            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1384            * </p>
1385            *
1386            * @param smallImageId the small image ID
1387            * @param start the lower bound of the range of journal articles
1388            * @param end the upper bound of the range of journal articles (not inclusive)
1389            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1390            * @return the ordered range of matching journal articles
1391            * @throws SystemException if a system exception occurred
1392            */
1393            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
1394                    long smallImageId, int start, int end,
1395                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1396                    throws com.liferay.portal.kernel.exception.SystemException;
1397    
1398            /**
1399            * Returns the first journal article in the ordered set where smallImageId = &#63;.
1400            *
1401            * @param smallImageId the small image ID
1402            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1403            * @return the first matching journal article
1404            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1405            * @throws SystemException if a system exception occurred
1406            */
1407            public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_First(
1408                    long smallImageId,
1409                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1410                    throws com.liferay.portal.kernel.exception.SystemException,
1411                            com.liferay.portlet.journal.NoSuchArticleException;
1412    
1413            /**
1414            * Returns the first journal article in the ordered set where smallImageId = &#63;.
1415            *
1416            * @param smallImageId the small image ID
1417            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1418            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
1419            * @throws SystemException if a system exception occurred
1420            */
1421            public com.liferay.portlet.journal.model.JournalArticle fetchBySmallImageId_First(
1422                    long smallImageId,
1423                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1424                    throws com.liferay.portal.kernel.exception.SystemException;
1425    
1426            /**
1427            * Returns the last journal article in the ordered set where smallImageId = &#63;.
1428            *
1429            * @param smallImageId the small image ID
1430            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1431            * @return the last matching journal article
1432            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1433            * @throws SystemException if a system exception occurred
1434            */
1435            public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_Last(
1436                    long smallImageId,
1437                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1438                    throws com.liferay.portal.kernel.exception.SystemException,
1439                            com.liferay.portlet.journal.NoSuchArticleException;
1440    
1441            /**
1442            * Returns the last journal article in the ordered set where smallImageId = &#63;.
1443            *
1444            * @param smallImageId the small image ID
1445            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1446            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
1447            * @throws SystemException if a system exception occurred
1448            */
1449            public com.liferay.portlet.journal.model.JournalArticle fetchBySmallImageId_Last(
1450                    long smallImageId,
1451                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1452                    throws com.liferay.portal.kernel.exception.SystemException;
1453    
1454            /**
1455            * Returns the journal articles before and after the current journal article in the ordered set where smallImageId = &#63;.
1456            *
1457            * @param id the primary key of the current journal article
1458            * @param smallImageId the small image ID
1459            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1460            * @return the previous, current, and next journal article
1461            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1462            * @throws SystemException if a system exception occurred
1463            */
1464            public com.liferay.portlet.journal.model.JournalArticle[] findBySmallImageId_PrevAndNext(
1465                    long id, long smallImageId,
1466                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1467                    throws com.liferay.portal.kernel.exception.SystemException,
1468                            com.liferay.portlet.journal.NoSuchArticleException;
1469    
1470            /**
1471            * Removes all the journal articles where smallImageId = &#63; from the database.
1472            *
1473            * @param smallImageId the small image ID
1474            * @throws SystemException if a system exception occurred
1475            */
1476            public void removeBySmallImageId(long smallImageId)
1477                    throws com.liferay.portal.kernel.exception.SystemException;
1478    
1479            /**
1480            * Returns the number of journal articles where smallImageId = &#63;.
1481            *
1482            * @param smallImageId the small image ID
1483            * @return the number of matching journal articles
1484            * @throws SystemException if a system exception occurred
1485            */
1486            public int countBySmallImageId(long smallImageId)
1487                    throws com.liferay.portal.kernel.exception.SystemException;
1488    
1489            /**
1490            * Returns all the journal articles where resourcePrimKey = &#63; and status = &#63;.
1491            *
1492            * @param resourcePrimKey the resource prim key
1493            * @param status the status
1494            * @return the matching journal articles
1495            * @throws SystemException if a system exception occurred
1496            */
1497            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST(
1498                    long resourcePrimKey, int status)
1499                    throws com.liferay.portal.kernel.exception.SystemException;
1500    
1501            /**
1502            * Returns a range of all the journal articles where resourcePrimKey = &#63; and status = &#63;.
1503            *
1504            * <p>
1505            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1506            * </p>
1507            *
1508            * @param resourcePrimKey the resource prim key
1509            * @param status the status
1510            * @param start the lower bound of the range of journal articles
1511            * @param end the upper bound of the range of journal articles (not inclusive)
1512            * @return the range of matching journal articles
1513            * @throws SystemException if a system exception occurred
1514            */
1515            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST(
1516                    long resourcePrimKey, int status, int start, int end)
1517                    throws com.liferay.portal.kernel.exception.SystemException;
1518    
1519            /**
1520            * Returns an ordered range of all the journal articles where resourcePrimKey = &#63; and status = &#63;.
1521            *
1522            * <p>
1523            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1524            * </p>
1525            *
1526            * @param resourcePrimKey the resource prim key
1527            * @param status the status
1528            * @param start the lower bound of the range of journal articles
1529            * @param end the upper bound of the range of journal articles (not inclusive)
1530            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1531            * @return the ordered range of matching journal articles
1532            * @throws SystemException if a system exception occurred
1533            */
1534            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST(
1535                    long resourcePrimKey, int status, int start, int end,
1536                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1537                    throws com.liferay.portal.kernel.exception.SystemException;
1538    
1539            /**
1540            * Returns the first journal article in the ordered set where resourcePrimKey = &#63; and status = &#63;.
1541            *
1542            * @param resourcePrimKey the resource prim key
1543            * @param status the status
1544            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1545            * @return the first matching journal article
1546            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1547            * @throws SystemException if a system exception occurred
1548            */
1549            public com.liferay.portlet.journal.model.JournalArticle findByR_ST_First(
1550                    long resourcePrimKey, int status,
1551                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1552                    throws com.liferay.portal.kernel.exception.SystemException,
1553                            com.liferay.portlet.journal.NoSuchArticleException;
1554    
1555            /**
1556            * Returns the first journal article in the ordered set where resourcePrimKey = &#63; and status = &#63;.
1557            *
1558            * @param resourcePrimKey the resource prim key
1559            * @param status the status
1560            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1561            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
1562            * @throws SystemException if a system exception occurred
1563            */
1564            public com.liferay.portlet.journal.model.JournalArticle fetchByR_ST_First(
1565                    long resourcePrimKey, int status,
1566                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1567                    throws com.liferay.portal.kernel.exception.SystemException;
1568    
1569            /**
1570            * Returns the last journal article in the ordered set where resourcePrimKey = &#63; and status = &#63;.
1571            *
1572            * @param resourcePrimKey the resource prim key
1573            * @param status the status
1574            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1575            * @return the last matching journal article
1576            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1577            * @throws SystemException if a system exception occurred
1578            */
1579            public com.liferay.portlet.journal.model.JournalArticle findByR_ST_Last(
1580                    long resourcePrimKey, int status,
1581                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1582                    throws com.liferay.portal.kernel.exception.SystemException,
1583                            com.liferay.portlet.journal.NoSuchArticleException;
1584    
1585            /**
1586            * Returns the last journal article in the ordered set where resourcePrimKey = &#63; and status = &#63;.
1587            *
1588            * @param resourcePrimKey the resource prim key
1589            * @param status the status
1590            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1591            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
1592            * @throws SystemException if a system exception occurred
1593            */
1594            public com.liferay.portlet.journal.model.JournalArticle fetchByR_ST_Last(
1595                    long resourcePrimKey, int status,
1596                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1597                    throws com.liferay.portal.kernel.exception.SystemException;
1598    
1599            /**
1600            * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = &#63; and status = &#63;.
1601            *
1602            * @param id the primary key of the current journal article
1603            * @param resourcePrimKey the resource prim key
1604            * @param status the status
1605            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1606            * @return the previous, current, and next journal article
1607            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1608            * @throws SystemException if a system exception occurred
1609            */
1610            public com.liferay.portlet.journal.model.JournalArticle[] findByR_ST_PrevAndNext(
1611                    long id, long resourcePrimKey, int status,
1612                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1613                    throws com.liferay.portal.kernel.exception.SystemException,
1614                            com.liferay.portlet.journal.NoSuchArticleException;
1615    
1616            /**
1617            * Removes all the journal articles where resourcePrimKey = &#63; and status = &#63; from the database.
1618            *
1619            * @param resourcePrimKey the resource prim key
1620            * @param status the status
1621            * @throws SystemException if a system exception occurred
1622            */
1623            public void removeByR_ST(long resourcePrimKey, int status)
1624                    throws com.liferay.portal.kernel.exception.SystemException;
1625    
1626            /**
1627            * Returns the number of journal articles where resourcePrimKey = &#63; and status = &#63;.
1628            *
1629            * @param resourcePrimKey the resource prim key
1630            * @param status the status
1631            * @return the number of matching journal articles
1632            * @throws SystemException if a system exception occurred
1633            */
1634            public int countByR_ST(long resourcePrimKey, int status)
1635                    throws com.liferay.portal.kernel.exception.SystemException;
1636    
1637            /**
1638            * Returns all the journal articles where groupId = &#63; and userId = &#63;.
1639            *
1640            * @param groupId the group ID
1641            * @param userId the user ID
1642            * @return the matching journal articles
1643            * @throws SystemException if a system exception occurred
1644            */
1645            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U(
1646                    long groupId, long userId)
1647                    throws com.liferay.portal.kernel.exception.SystemException;
1648    
1649            /**
1650            * Returns a range of all the journal articles where groupId = &#63; and userId = &#63;.
1651            *
1652            * <p>
1653            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1654            * </p>
1655            *
1656            * @param groupId the group ID
1657            * @param userId the user ID
1658            * @param start the lower bound of the range of journal articles
1659            * @param end the upper bound of the range of journal articles (not inclusive)
1660            * @return the range of matching journal articles
1661            * @throws SystemException if a system exception occurred
1662            */
1663            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U(
1664                    long groupId, long userId, int start, int end)
1665                    throws com.liferay.portal.kernel.exception.SystemException;
1666    
1667            /**
1668            * Returns an ordered range of all the journal articles where groupId = &#63; and userId = &#63;.
1669            *
1670            * <p>
1671            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1672            * </p>
1673            *
1674            * @param groupId the group ID
1675            * @param userId the user ID
1676            * @param start the lower bound of the range of journal articles
1677            * @param end the upper bound of the range of journal articles (not inclusive)
1678            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1679            * @return the ordered range of matching journal articles
1680            * @throws SystemException if a system exception occurred
1681            */
1682            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U(
1683                    long groupId, long userId, int start, int end,
1684                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1685                    throws com.liferay.portal.kernel.exception.SystemException;
1686    
1687            /**
1688            * Returns the first journal article in the ordered set where groupId = &#63; and userId = &#63;.
1689            *
1690            * @param groupId the group ID
1691            * @param userId the user ID
1692            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1693            * @return the first matching journal article
1694            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1695            * @throws SystemException if a system exception occurred
1696            */
1697            public com.liferay.portlet.journal.model.JournalArticle findByG_U_First(
1698                    long groupId, long userId,
1699                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1700                    throws com.liferay.portal.kernel.exception.SystemException,
1701                            com.liferay.portlet.journal.NoSuchArticleException;
1702    
1703            /**
1704            * Returns the first journal article in the ordered set where groupId = &#63; and userId = &#63;.
1705            *
1706            * @param groupId the group ID
1707            * @param userId the user ID
1708            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1709            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
1710            * @throws SystemException if a system exception occurred
1711            */
1712            public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_First(
1713                    long groupId, long userId,
1714                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1715                    throws com.liferay.portal.kernel.exception.SystemException;
1716    
1717            /**
1718            * Returns the last journal article in the ordered set where groupId = &#63; and userId = &#63;.
1719            *
1720            * @param groupId the group ID
1721            * @param userId the user ID
1722            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1723            * @return the last matching journal article
1724            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1725            * @throws SystemException if a system exception occurred
1726            */
1727            public com.liferay.portlet.journal.model.JournalArticle findByG_U_Last(
1728                    long groupId, long userId,
1729                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1730                    throws com.liferay.portal.kernel.exception.SystemException,
1731                            com.liferay.portlet.journal.NoSuchArticleException;
1732    
1733            /**
1734            * Returns the last journal article in the ordered set where groupId = &#63; and userId = &#63;.
1735            *
1736            * @param groupId the group ID
1737            * @param userId the user ID
1738            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1739            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
1740            * @throws SystemException if a system exception occurred
1741            */
1742            public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_Last(
1743                    long groupId, long userId,
1744                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1745                    throws com.liferay.portal.kernel.exception.SystemException;
1746    
1747            /**
1748            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and userId = &#63;.
1749            *
1750            * @param id the primary key of the current journal article
1751            * @param groupId the group ID
1752            * @param userId the user ID
1753            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1754            * @return the previous, current, and next journal article
1755            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1756            * @throws SystemException if a system exception occurred
1757            */
1758            public com.liferay.portlet.journal.model.JournalArticle[] findByG_U_PrevAndNext(
1759                    long id, long groupId, long userId,
1760                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1761                    throws com.liferay.portal.kernel.exception.SystemException,
1762                            com.liferay.portlet.journal.NoSuchArticleException;
1763    
1764            /**
1765            * Returns all the journal articles that the user has permission to view where groupId = &#63; and userId = &#63;.
1766            *
1767            * @param groupId the group ID
1768            * @param userId the user ID
1769            * @return the matching journal articles that the user has permission to view
1770            * @throws SystemException if a system exception occurred
1771            */
1772            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U(
1773                    long groupId, long userId)
1774                    throws com.liferay.portal.kernel.exception.SystemException;
1775    
1776            /**
1777            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and userId = &#63;.
1778            *
1779            * <p>
1780            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1781            * </p>
1782            *
1783            * @param groupId the group ID
1784            * @param userId the user ID
1785            * @param start the lower bound of the range of journal articles
1786            * @param end the upper bound of the range of journal articles (not inclusive)
1787            * @return the range of matching journal articles that the user has permission to view
1788            * @throws SystemException if a system exception occurred
1789            */
1790            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U(
1791                    long groupId, long userId, int start, int end)
1792                    throws com.liferay.portal.kernel.exception.SystemException;
1793    
1794            /**
1795            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and userId = &#63;.
1796            *
1797            * <p>
1798            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1799            * </p>
1800            *
1801            * @param groupId the group ID
1802            * @param userId the user ID
1803            * @param start the lower bound of the range of journal articles
1804            * @param end the upper bound of the range of journal articles (not inclusive)
1805            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1806            * @return the ordered range of matching journal articles that the user has permission to view
1807            * @throws SystemException if a system exception occurred
1808            */
1809            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U(
1810                    long groupId, long userId, int start, int end,
1811                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1812                    throws com.liferay.portal.kernel.exception.SystemException;
1813    
1814            /**
1815            * 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;.
1816            *
1817            * @param id the primary key of the current journal article
1818            * @param groupId the group ID
1819            * @param userId the user ID
1820            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1821            * @return the previous, current, and next journal article
1822            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1823            * @throws SystemException if a system exception occurred
1824            */
1825            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_U_PrevAndNext(
1826                    long id, long groupId, long userId,
1827                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1828                    throws com.liferay.portal.kernel.exception.SystemException,
1829                            com.liferay.portlet.journal.NoSuchArticleException;
1830    
1831            /**
1832            * Removes all the journal articles where groupId = &#63; and userId = &#63; from the database.
1833            *
1834            * @param groupId the group ID
1835            * @param userId the user ID
1836            * @throws SystemException if a system exception occurred
1837            */
1838            public void removeByG_U(long groupId, long userId)
1839                    throws com.liferay.portal.kernel.exception.SystemException;
1840    
1841            /**
1842            * Returns the number of journal articles where groupId = &#63; and userId = &#63;.
1843            *
1844            * @param groupId the group ID
1845            * @param userId the user ID
1846            * @return the number of matching journal articles
1847            * @throws SystemException if a system exception occurred
1848            */
1849            public int countByG_U(long groupId, long userId)
1850                    throws com.liferay.portal.kernel.exception.SystemException;
1851    
1852            /**
1853            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and userId = &#63;.
1854            *
1855            * @param groupId the group ID
1856            * @param userId the user ID
1857            * @return the number of matching journal articles that the user has permission to view
1858            * @throws SystemException if a system exception occurred
1859            */
1860            public int filterCountByG_U(long groupId, long userId)
1861                    throws com.liferay.portal.kernel.exception.SystemException;
1862    
1863            /**
1864            * Returns all the journal articles where groupId = &#63; and folderId = &#63;.
1865            *
1866            * @param groupId the group ID
1867            * @param folderId the folder ID
1868            * @return the matching journal articles
1869            * @throws SystemException if a system exception occurred
1870            */
1871            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F(
1872                    long groupId, long folderId)
1873                    throws com.liferay.portal.kernel.exception.SystemException;
1874    
1875            /**
1876            * Returns a range of all the journal articles where groupId = &#63; and folderId = &#63;.
1877            *
1878            * <p>
1879            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1880            * </p>
1881            *
1882            * @param groupId the group ID
1883            * @param folderId the folder ID
1884            * @param start the lower bound of the range of journal articles
1885            * @param end the upper bound of the range of journal articles (not inclusive)
1886            * @return the range of matching journal articles
1887            * @throws SystemException if a system exception occurred
1888            */
1889            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F(
1890                    long groupId, long folderId, int start, int end)
1891                    throws com.liferay.portal.kernel.exception.SystemException;
1892    
1893            /**
1894            * Returns an ordered range of all the journal articles where groupId = &#63; and folderId = &#63;.
1895            *
1896            * <p>
1897            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1898            * </p>
1899            *
1900            * @param groupId the group ID
1901            * @param folderId the folder ID
1902            * @param start the lower bound of the range of journal articles
1903            * @param end the upper bound of the range of journal articles (not inclusive)
1904            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1905            * @return the ordered range of matching journal articles
1906            * @throws SystemException if a system exception occurred
1907            */
1908            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F(
1909                    long groupId, long folderId, int start, int end,
1910                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1911                    throws com.liferay.portal.kernel.exception.SystemException;
1912    
1913            /**
1914            * Returns the first journal article in the ordered set where groupId = &#63; and folderId = &#63;.
1915            *
1916            * @param groupId the group ID
1917            * @param folderId the folder ID
1918            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1919            * @return the first matching journal article
1920            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1921            * @throws SystemException if a system exception occurred
1922            */
1923            public com.liferay.portlet.journal.model.JournalArticle findByG_F_First(
1924                    long groupId, long folderId,
1925                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1926                    throws com.liferay.portal.kernel.exception.SystemException,
1927                            com.liferay.portlet.journal.NoSuchArticleException;
1928    
1929            /**
1930            * Returns the first journal article in the ordered set where groupId = &#63; and folderId = &#63;.
1931            *
1932            * @param groupId the group ID
1933            * @param folderId the folder ID
1934            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1935            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
1936            * @throws SystemException if a system exception occurred
1937            */
1938            public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_First(
1939                    long groupId, long folderId,
1940                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1941                    throws com.liferay.portal.kernel.exception.SystemException;
1942    
1943            /**
1944            * Returns the last journal article in the ordered set where groupId = &#63; and folderId = &#63;.
1945            *
1946            * @param groupId the group ID
1947            * @param folderId the folder ID
1948            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1949            * @return the last matching journal article
1950            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1951            * @throws SystemException if a system exception occurred
1952            */
1953            public com.liferay.portlet.journal.model.JournalArticle findByG_F_Last(
1954                    long groupId, long folderId,
1955                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1956                    throws com.liferay.portal.kernel.exception.SystemException,
1957                            com.liferay.portlet.journal.NoSuchArticleException;
1958    
1959            /**
1960            * Returns the last journal article in the ordered set where groupId = &#63; and folderId = &#63;.
1961            *
1962            * @param groupId the group ID
1963            * @param folderId the folder ID
1964            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1965            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
1966            * @throws SystemException if a system exception occurred
1967            */
1968            public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_Last(
1969                    long groupId, long folderId,
1970                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1971                    throws com.liferay.portal.kernel.exception.SystemException;
1972    
1973            /**
1974            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and folderId = &#63;.
1975            *
1976            * @param id the primary key of the current journal article
1977            * @param groupId the group ID
1978            * @param folderId the folder ID
1979            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1980            * @return the previous, current, and next journal article
1981            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1982            * @throws SystemException if a system exception occurred
1983            */
1984            public com.liferay.portlet.journal.model.JournalArticle[] findByG_F_PrevAndNext(
1985                    long id, long groupId, long folderId,
1986                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1987                    throws com.liferay.portal.kernel.exception.SystemException,
1988                            com.liferay.portlet.journal.NoSuchArticleException;
1989    
1990            /**
1991            * Returns all the journal articles that the user has permission to view where groupId = &#63; and folderId = &#63;.
1992            *
1993            * @param groupId the group ID
1994            * @param folderId the folder ID
1995            * @return the matching journal articles that the user has permission to view
1996            * @throws SystemException if a system exception occurred
1997            */
1998            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F(
1999                    long groupId, long folderId)
2000                    throws com.liferay.portal.kernel.exception.SystemException;
2001    
2002            /**
2003            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and folderId = &#63;.
2004            *
2005            * <p>
2006            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2007            * </p>
2008            *
2009            * @param groupId the group ID
2010            * @param folderId the folder ID
2011            * @param start the lower bound of the range of journal articles
2012            * @param end the upper bound of the range of journal articles (not inclusive)
2013            * @return the range of matching journal articles that the user has permission to view
2014            * @throws SystemException if a system exception occurred
2015            */
2016            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F(
2017                    long groupId, long folderId, int start, int end)
2018                    throws com.liferay.portal.kernel.exception.SystemException;
2019    
2020            /**
2021            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and folderId = &#63;.
2022            *
2023            * <p>
2024            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2025            * </p>
2026            *
2027            * @param groupId the group ID
2028            * @param folderId the folder ID
2029            * @param start the lower bound of the range of journal articles
2030            * @param end the upper bound of the range of journal articles (not inclusive)
2031            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2032            * @return the ordered range of matching journal articles that the user has permission to view
2033            * @throws SystemException if a system exception occurred
2034            */
2035            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F(
2036                    long groupId, long folderId, int start, int end,
2037                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2038                    throws com.liferay.portal.kernel.exception.SystemException;
2039    
2040            /**
2041            * 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;.
2042            *
2043            * @param id the primary key of the current journal article
2044            * @param groupId the group ID
2045            * @param folderId the folder ID
2046            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2047            * @return the previous, current, and next journal article
2048            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2049            * @throws SystemException if a system exception occurred
2050            */
2051            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_F_PrevAndNext(
2052                    long id, long groupId, long folderId,
2053                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2054                    throws com.liferay.portal.kernel.exception.SystemException,
2055                            com.liferay.portlet.journal.NoSuchArticleException;
2056    
2057            /**
2058            * Returns all the journal articles that the user has permission to view where groupId = &#63; and folderId = any &#63;.
2059            *
2060            * @param groupId the group ID
2061            * @param folderIds the folder IDs
2062            * @return the matching journal articles that the user has permission to view
2063            * @throws SystemException if a system exception occurred
2064            */
2065            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F(
2066                    long groupId, long[] folderIds)
2067                    throws com.liferay.portal.kernel.exception.SystemException;
2068    
2069            /**
2070            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and folderId = any &#63;.
2071            *
2072            * <p>
2073            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2074            * </p>
2075            *
2076            * @param groupId the group ID
2077            * @param folderIds the folder IDs
2078            * @param start the lower bound of the range of journal articles
2079            * @param end the upper bound of the range of journal articles (not inclusive)
2080            * @return the range of matching journal articles that the user has permission to view
2081            * @throws SystemException if a system exception occurred
2082            */
2083            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F(
2084                    long groupId, long[] folderIds, int start, int end)
2085                    throws com.liferay.portal.kernel.exception.SystemException;
2086    
2087            /**
2088            * Returns an ordered range of all the journal articles that the user has permission to view where groupId = &#63; and folderId = any &#63;.
2089            *
2090            * <p>
2091            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2092            * </p>
2093            *
2094            * @param groupId the group ID
2095            * @param folderIds the folder IDs
2096            * @param start the lower bound of the range of journal articles
2097            * @param end the upper bound of the range of journal articles (not inclusive)
2098            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2099            * @return the ordered range of matching journal articles that the user has permission to view
2100            * @throws SystemException if a system exception occurred
2101            */
2102            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F(
2103                    long groupId, long[] folderIds, int start, int end,
2104                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2105                    throws com.liferay.portal.kernel.exception.SystemException;
2106    
2107            /**
2108            * Returns all the journal articles where groupId = &#63; and folderId = any &#63;.
2109            *
2110            * <p>
2111            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2112            * </p>
2113            *
2114            * @param groupId the group ID
2115            * @param folderIds the folder IDs
2116            * @return the matching journal articles
2117            * @throws SystemException if a system exception occurred
2118            */
2119            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F(
2120                    long groupId, long[] folderIds)
2121                    throws com.liferay.portal.kernel.exception.SystemException;
2122    
2123            /**
2124            * Returns a range of all the journal articles where groupId = &#63; and folderId = any &#63;.
2125            *
2126            * <p>
2127            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2128            * </p>
2129            *
2130            * @param groupId the group ID
2131            * @param folderIds the folder IDs
2132            * @param start the lower bound of the range of journal articles
2133            * @param end the upper bound of the range of journal articles (not inclusive)
2134            * @return the range of matching journal articles
2135            * @throws SystemException if a system exception occurred
2136            */
2137            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F(
2138                    long groupId, long[] folderIds, int start, int end)
2139                    throws com.liferay.portal.kernel.exception.SystemException;
2140    
2141            /**
2142            * Returns an ordered range of all the journal articles where groupId = &#63; and folderId = any &#63;.
2143            *
2144            * <p>
2145            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2146            * </p>
2147            *
2148            * @param groupId the group ID
2149            * @param folderIds the folder IDs
2150            * @param start the lower bound of the range of journal articles
2151            * @param end the upper bound of the range of journal articles (not inclusive)
2152            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2153            * @return the ordered range of matching journal articles
2154            * @throws SystemException if a system exception occurred
2155            */
2156            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F(
2157                    long groupId, long[] folderIds, int start, int end,
2158                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2159                    throws com.liferay.portal.kernel.exception.SystemException;
2160    
2161            /**
2162            * Removes all the journal articles where groupId = &#63; and folderId = &#63; from the database.
2163            *
2164            * @param groupId the group ID
2165            * @param folderId the folder ID
2166            * @throws SystemException if a system exception occurred
2167            */
2168            public void removeByG_F(long groupId, long folderId)
2169                    throws com.liferay.portal.kernel.exception.SystemException;
2170    
2171            /**
2172            * Returns the number of journal articles where groupId = &#63; and folderId = &#63;.
2173            *
2174            * @param groupId the group ID
2175            * @param folderId the folder ID
2176            * @return the number of matching journal articles
2177            * @throws SystemException if a system exception occurred
2178            */
2179            public int countByG_F(long groupId, long folderId)
2180                    throws com.liferay.portal.kernel.exception.SystemException;
2181    
2182            /**
2183            * Returns the number of journal articles where groupId = &#63; and folderId = any &#63;.
2184            *
2185            * @param groupId the group ID
2186            * @param folderIds the folder IDs
2187            * @return the number of matching journal articles
2188            * @throws SystemException if a system exception occurred
2189            */
2190            public int countByG_F(long groupId, long[] folderIds)
2191                    throws com.liferay.portal.kernel.exception.SystemException;
2192    
2193            /**
2194            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and folderId = &#63;.
2195            *
2196            * @param groupId the group ID
2197            * @param folderId the folder ID
2198            * @return the number of matching journal articles that the user has permission to view
2199            * @throws SystemException if a system exception occurred
2200            */
2201            public int filterCountByG_F(long groupId, long folderId)
2202                    throws com.liferay.portal.kernel.exception.SystemException;
2203    
2204            /**
2205            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and folderId = any &#63;.
2206            *
2207            * @param groupId the group ID
2208            * @param folderIds the folder IDs
2209            * @return the number of matching journal articles that the user has permission to view
2210            * @throws SystemException if a system exception occurred
2211            */
2212            public int filterCountByG_F(long groupId, long[] folderIds)
2213                    throws com.liferay.portal.kernel.exception.SystemException;
2214    
2215            /**
2216            * Returns all the journal articles where groupId = &#63; and articleId = &#63;.
2217            *
2218            * @param groupId the group ID
2219            * @param articleId the article ID
2220            * @return the matching journal articles
2221            * @throws SystemException if a system exception occurred
2222            */
2223            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
2224                    long groupId, java.lang.String articleId)
2225                    throws com.liferay.portal.kernel.exception.SystemException;
2226    
2227            /**
2228            * Returns a range of all the journal articles where groupId = &#63; and articleId = &#63;.
2229            *
2230            * <p>
2231            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2232            * </p>
2233            *
2234            * @param groupId the group ID
2235            * @param articleId the article ID
2236            * @param start the lower bound of the range of journal articles
2237            * @param end the upper bound of the range of journal articles (not inclusive)
2238            * @return the range of matching journal articles
2239            * @throws SystemException if a system exception occurred
2240            */
2241            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
2242                    long groupId, java.lang.String articleId, int start, int end)
2243                    throws com.liferay.portal.kernel.exception.SystemException;
2244    
2245            /**
2246            * Returns an ordered range of all the journal articles where groupId = &#63; and articleId = &#63;.
2247            *
2248            * <p>
2249            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2250            * </p>
2251            *
2252            * @param groupId the group ID
2253            * @param articleId the article ID
2254            * @param start the lower bound of the range of journal articles
2255            * @param end the upper bound of the range of journal articles (not inclusive)
2256            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2257            * @return the ordered range of matching journal articles
2258            * @throws SystemException if a system exception occurred
2259            */
2260            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
2261                    long groupId, java.lang.String articleId, int start, int end,
2262                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2263                    throws com.liferay.portal.kernel.exception.SystemException;
2264    
2265            /**
2266            * Returns the first journal article in the ordered set where groupId = &#63; and articleId = &#63;.
2267            *
2268            * @param groupId the group ID
2269            * @param articleId the article ID
2270            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2271            * @return the first matching journal article
2272            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2273            * @throws SystemException if a system exception occurred
2274            */
2275            public com.liferay.portlet.journal.model.JournalArticle findByG_A_First(
2276                    long groupId, java.lang.String articleId,
2277                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2278                    throws com.liferay.portal.kernel.exception.SystemException,
2279                            com.liferay.portlet.journal.NoSuchArticleException;
2280    
2281            /**
2282            * Returns the first journal article in the ordered set where groupId = &#63; and articleId = &#63;.
2283            *
2284            * @param groupId the group ID
2285            * @param articleId the article ID
2286            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2287            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
2288            * @throws SystemException if a system exception occurred
2289            */
2290            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_First(
2291                    long groupId, java.lang.String articleId,
2292                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2293                    throws com.liferay.portal.kernel.exception.SystemException;
2294    
2295            /**
2296            * Returns the last journal article in the ordered set where groupId = &#63; and articleId = &#63;.
2297            *
2298            * @param groupId the group ID
2299            * @param articleId the article ID
2300            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2301            * @return the last matching journal article
2302            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2303            * @throws SystemException if a system exception occurred
2304            */
2305            public com.liferay.portlet.journal.model.JournalArticle findByG_A_Last(
2306                    long groupId, java.lang.String articleId,
2307                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2308                    throws com.liferay.portal.kernel.exception.SystemException,
2309                            com.liferay.portlet.journal.NoSuchArticleException;
2310    
2311            /**
2312            * Returns the last journal article in the ordered set where groupId = &#63; and articleId = &#63;.
2313            *
2314            * @param groupId the group ID
2315            * @param articleId the article ID
2316            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2317            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
2318            * @throws SystemException if a system exception occurred
2319            */
2320            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_Last(
2321                    long groupId, java.lang.String articleId,
2322                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2323                    throws com.liferay.portal.kernel.exception.SystemException;
2324    
2325            /**
2326            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and articleId = &#63;.
2327            *
2328            * @param id the primary key of the current journal article
2329            * @param groupId the group ID
2330            * @param articleId the article ID
2331            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2332            * @return the previous, current, and next journal article
2333            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2334            * @throws SystemException if a system exception occurred
2335            */
2336            public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_PrevAndNext(
2337                    long id, long groupId, java.lang.String articleId,
2338                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2339                    throws com.liferay.portal.kernel.exception.SystemException,
2340                            com.liferay.portlet.journal.NoSuchArticleException;
2341    
2342            /**
2343            * Returns all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63;.
2344            *
2345            * @param groupId the group ID
2346            * @param articleId the article ID
2347            * @return the matching journal articles that the user has permission to view
2348            * @throws SystemException if a system exception occurred
2349            */
2350            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A(
2351                    long groupId, java.lang.String articleId)
2352                    throws com.liferay.portal.kernel.exception.SystemException;
2353    
2354            /**
2355            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63;.
2356            *
2357            * <p>
2358            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2359            * </p>
2360            *
2361            * @param groupId the group ID
2362            * @param articleId the article ID
2363            * @param start the lower bound of the range of journal articles
2364            * @param end the upper bound of the range of journal articles (not inclusive)
2365            * @return the range of matching journal articles that the user has permission to view
2366            * @throws SystemException if a system exception occurred
2367            */
2368            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A(
2369                    long groupId, java.lang.String articleId, int start, int end)
2370                    throws com.liferay.portal.kernel.exception.SystemException;
2371    
2372            /**
2373            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and articleId = &#63;.
2374            *
2375            * <p>
2376            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2377            * </p>
2378            *
2379            * @param groupId the group ID
2380            * @param articleId the article ID
2381            * @param start the lower bound of the range of journal articles
2382            * @param end the upper bound of the range of journal articles (not inclusive)
2383            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2384            * @return the ordered range of matching journal articles that the user has permission to view
2385            * @throws SystemException if a system exception occurred
2386            */
2387            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A(
2388                    long groupId, java.lang.String articleId, int start, int end,
2389                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2390                    throws com.liferay.portal.kernel.exception.SystemException;
2391    
2392            /**
2393            * 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;.
2394            *
2395            * @param id the primary key of the current journal article
2396            * @param groupId the group ID
2397            * @param articleId the article ID
2398            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2399            * @return the previous, current, and next journal article
2400            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2401            * @throws SystemException if a system exception occurred
2402            */
2403            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_PrevAndNext(
2404                    long id, long groupId, java.lang.String articleId,
2405                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2406                    throws com.liferay.portal.kernel.exception.SystemException,
2407                            com.liferay.portlet.journal.NoSuchArticleException;
2408    
2409            /**
2410            * Removes all the journal articles where groupId = &#63; and articleId = &#63; from the database.
2411            *
2412            * @param groupId the group ID
2413            * @param articleId the article ID
2414            * @throws SystemException if a system exception occurred
2415            */
2416            public void removeByG_A(long groupId, java.lang.String articleId)
2417                    throws com.liferay.portal.kernel.exception.SystemException;
2418    
2419            /**
2420            * Returns the number of journal articles where groupId = &#63; and articleId = &#63;.
2421            *
2422            * @param groupId the group ID
2423            * @param articleId the article ID
2424            * @return the number of matching journal articles
2425            * @throws SystemException if a system exception occurred
2426            */
2427            public int countByG_A(long groupId, java.lang.String articleId)
2428                    throws com.liferay.portal.kernel.exception.SystemException;
2429    
2430            /**
2431            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and articleId = &#63;.
2432            *
2433            * @param groupId the group ID
2434            * @param articleId the article ID
2435            * @return the number of matching journal articles that the user has permission to view
2436            * @throws SystemException if a system exception occurred
2437            */
2438            public int filterCountByG_A(long groupId, java.lang.String articleId)
2439                    throws com.liferay.portal.kernel.exception.SystemException;
2440    
2441            /**
2442            * Returns all the journal articles where groupId = &#63; and urlTitle = &#63;.
2443            *
2444            * @param groupId the group ID
2445            * @param urlTitle the url title
2446            * @return the matching journal articles
2447            * @throws SystemException if a system exception occurred
2448            */
2449            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
2450                    long groupId, java.lang.String urlTitle)
2451                    throws com.liferay.portal.kernel.exception.SystemException;
2452    
2453            /**
2454            * Returns a range of all the journal articles where groupId = &#63; and urlTitle = &#63;.
2455            *
2456            * <p>
2457            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2458            * </p>
2459            *
2460            * @param groupId the group ID
2461            * @param urlTitle the url title
2462            * @param start the lower bound of the range of journal articles
2463            * @param end the upper bound of the range of journal articles (not inclusive)
2464            * @return the range of matching journal articles
2465            * @throws SystemException if a system exception occurred
2466            */
2467            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
2468                    long groupId, java.lang.String urlTitle, int start, int end)
2469                    throws com.liferay.portal.kernel.exception.SystemException;
2470    
2471            /**
2472            * Returns an ordered range of all the journal articles where groupId = &#63; and urlTitle = &#63;.
2473            *
2474            * <p>
2475            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2476            * </p>
2477            *
2478            * @param groupId the group ID
2479            * @param urlTitle the url title
2480            * @param start the lower bound of the range of journal articles
2481            * @param end the upper bound of the range of journal articles (not inclusive)
2482            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2483            * @return the ordered range of matching journal articles
2484            * @throws SystemException if a system exception occurred
2485            */
2486            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
2487                    long groupId, java.lang.String urlTitle, int start, int end,
2488                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2489                    throws com.liferay.portal.kernel.exception.SystemException;
2490    
2491            /**
2492            * Returns the first journal article in the ordered set where groupId = &#63; and urlTitle = &#63;.
2493            *
2494            * @param groupId the group ID
2495            * @param urlTitle the url title
2496            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2497            * @return the first matching journal article
2498            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2499            * @throws SystemException if a system exception occurred
2500            */
2501            public com.liferay.portlet.journal.model.JournalArticle findByG_UT_First(
2502                    long groupId, java.lang.String urlTitle,
2503                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2504                    throws com.liferay.portal.kernel.exception.SystemException,
2505                            com.liferay.portlet.journal.NoSuchArticleException;
2506    
2507            /**
2508            * Returns the first journal article in the ordered set where groupId = &#63; and urlTitle = &#63;.
2509            *
2510            * @param groupId the group ID
2511            * @param urlTitle the url title
2512            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2513            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
2514            * @throws SystemException if a system exception occurred
2515            */
2516            public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_First(
2517                    long groupId, java.lang.String urlTitle,
2518                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2519                    throws com.liferay.portal.kernel.exception.SystemException;
2520    
2521            /**
2522            * Returns the last journal article in the ordered set where groupId = &#63; and urlTitle = &#63;.
2523            *
2524            * @param groupId the group ID
2525            * @param urlTitle the url title
2526            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2527            * @return the last matching journal article
2528            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2529            * @throws SystemException if a system exception occurred
2530            */
2531            public com.liferay.portlet.journal.model.JournalArticle findByG_UT_Last(
2532                    long groupId, java.lang.String urlTitle,
2533                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2534                    throws com.liferay.portal.kernel.exception.SystemException,
2535                            com.liferay.portlet.journal.NoSuchArticleException;
2536    
2537            /**
2538            * Returns the last journal article in the ordered set where groupId = &#63; and urlTitle = &#63;.
2539            *
2540            * @param groupId the group ID
2541            * @param urlTitle the url title
2542            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2543            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
2544            * @throws SystemException if a system exception occurred
2545            */
2546            public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_Last(
2547                    long groupId, java.lang.String urlTitle,
2548                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2549                    throws com.liferay.portal.kernel.exception.SystemException;
2550    
2551            /**
2552            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and urlTitle = &#63;.
2553            *
2554            * @param id the primary key of the current journal article
2555            * @param groupId the group ID
2556            * @param urlTitle the url title
2557            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2558            * @return the previous, current, and next journal article
2559            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2560            * @throws SystemException if a system exception occurred
2561            */
2562            public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_PrevAndNext(
2563                    long id, long groupId, java.lang.String urlTitle,
2564                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2565                    throws com.liferay.portal.kernel.exception.SystemException,
2566                            com.liferay.portlet.journal.NoSuchArticleException;
2567    
2568            /**
2569            * Returns all the journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63;.
2570            *
2571            * @param groupId the group ID
2572            * @param urlTitle the url title
2573            * @return the matching journal articles that the user has permission to view
2574            * @throws SystemException if a system exception occurred
2575            */
2576            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT(
2577                    long groupId, java.lang.String urlTitle)
2578                    throws com.liferay.portal.kernel.exception.SystemException;
2579    
2580            /**
2581            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63;.
2582            *
2583            * <p>
2584            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2585            * </p>
2586            *
2587            * @param groupId the group ID
2588            * @param urlTitle the url title
2589            * @param start the lower bound of the range of journal articles
2590            * @param end the upper bound of the range of journal articles (not inclusive)
2591            * @return the range of matching journal articles that the user has permission to view
2592            * @throws SystemException if a system exception occurred
2593            */
2594            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT(
2595                    long groupId, java.lang.String urlTitle, int start, int end)
2596                    throws com.liferay.portal.kernel.exception.SystemException;
2597    
2598            /**
2599            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and urlTitle = &#63;.
2600            *
2601            * <p>
2602            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2603            * </p>
2604            *
2605            * @param groupId the group ID
2606            * @param urlTitle the url title
2607            * @param start the lower bound of the range of journal articles
2608            * @param end the upper bound of the range of journal articles (not inclusive)
2609            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2610            * @return the ordered range of matching journal articles that the user has permission to view
2611            * @throws SystemException if a system exception occurred
2612            */
2613            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT(
2614                    long groupId, java.lang.String urlTitle, int start, int end,
2615                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2616                    throws com.liferay.portal.kernel.exception.SystemException;
2617    
2618            /**
2619            * 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;.
2620            *
2621            * @param id the primary key of the current journal article
2622            * @param groupId the group ID
2623            * @param urlTitle the url title
2624            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2625            * @return the previous, current, and next journal article
2626            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2627            * @throws SystemException if a system exception occurred
2628            */
2629            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_PrevAndNext(
2630                    long id, long groupId, java.lang.String urlTitle,
2631                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2632                    throws com.liferay.portal.kernel.exception.SystemException,
2633                            com.liferay.portlet.journal.NoSuchArticleException;
2634    
2635            /**
2636            * Removes all the journal articles where groupId = &#63; and urlTitle = &#63; from the database.
2637            *
2638            * @param groupId the group ID
2639            * @param urlTitle the url title
2640            * @throws SystemException if a system exception occurred
2641            */
2642            public void removeByG_UT(long groupId, java.lang.String urlTitle)
2643                    throws com.liferay.portal.kernel.exception.SystemException;
2644    
2645            /**
2646            * Returns the number of journal articles where groupId = &#63; and urlTitle = &#63;.
2647            *
2648            * @param groupId the group ID
2649            * @param urlTitle the url title
2650            * @return the number of matching journal articles
2651            * @throws SystemException if a system exception occurred
2652            */
2653            public int countByG_UT(long groupId, java.lang.String urlTitle)
2654                    throws com.liferay.portal.kernel.exception.SystemException;
2655    
2656            /**
2657            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63;.
2658            *
2659            * @param groupId the group ID
2660            * @param urlTitle the url title
2661            * @return the number of matching journal articles that the user has permission to view
2662            * @throws SystemException if a system exception occurred
2663            */
2664            public int filterCountByG_UT(long groupId, java.lang.String urlTitle)
2665                    throws com.liferay.portal.kernel.exception.SystemException;
2666    
2667            /**
2668            * Returns all the journal articles where groupId = &#63; and structureId = &#63;.
2669            *
2670            * @param groupId the group ID
2671            * @param structureId the structure ID
2672            * @return the matching journal articles
2673            * @throws SystemException if a system exception occurred
2674            */
2675            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
2676                    long groupId, java.lang.String structureId)
2677                    throws com.liferay.portal.kernel.exception.SystemException;
2678    
2679            /**
2680            * Returns a range of all the journal articles where groupId = &#63; and structureId = &#63;.
2681            *
2682            * <p>
2683            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2684            * </p>
2685            *
2686            * @param groupId the group ID
2687            * @param structureId the structure ID
2688            * @param start the lower bound of the range of journal articles
2689            * @param end the upper bound of the range of journal articles (not inclusive)
2690            * @return the range of matching journal articles
2691            * @throws SystemException if a system exception occurred
2692            */
2693            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
2694                    long groupId, java.lang.String structureId, int start, int end)
2695                    throws com.liferay.portal.kernel.exception.SystemException;
2696    
2697            /**
2698            * Returns an ordered range of all the journal articles where groupId = &#63; and structureId = &#63;.
2699            *
2700            * <p>
2701            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2702            * </p>
2703            *
2704            * @param groupId the group ID
2705            * @param structureId the structure ID
2706            * @param start the lower bound of the range of journal articles
2707            * @param end the upper bound of the range of journal articles (not inclusive)
2708            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2709            * @return the ordered range of matching journal articles
2710            * @throws SystemException if a system exception occurred
2711            */
2712            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
2713                    long groupId, java.lang.String structureId, int start, int end,
2714                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2715                    throws com.liferay.portal.kernel.exception.SystemException;
2716    
2717            /**
2718            * Returns the first journal article in the ordered set where groupId = &#63; and structureId = &#63;.
2719            *
2720            * @param groupId the group ID
2721            * @param structureId the structure ID
2722            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2723            * @return the first matching journal article
2724            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2725            * @throws SystemException if a system exception occurred
2726            */
2727            public com.liferay.portlet.journal.model.JournalArticle findByG_S_First(
2728                    long groupId, java.lang.String structureId,
2729                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2730                    throws com.liferay.portal.kernel.exception.SystemException,
2731                            com.liferay.portlet.journal.NoSuchArticleException;
2732    
2733            /**
2734            * Returns the first journal article in the ordered set where groupId = &#63; and structureId = &#63;.
2735            *
2736            * @param groupId the group ID
2737            * @param structureId the structure ID
2738            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2739            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
2740            * @throws SystemException if a system exception occurred
2741            */
2742            public com.liferay.portlet.journal.model.JournalArticle fetchByG_S_First(
2743                    long groupId, java.lang.String structureId,
2744                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2745                    throws com.liferay.portal.kernel.exception.SystemException;
2746    
2747            /**
2748            * Returns the last journal article in the ordered set where groupId = &#63; and structureId = &#63;.
2749            *
2750            * @param groupId the group ID
2751            * @param structureId the structure ID
2752            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2753            * @return the last matching journal article
2754            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2755            * @throws SystemException if a system exception occurred
2756            */
2757            public com.liferay.portlet.journal.model.JournalArticle findByG_S_Last(
2758                    long groupId, java.lang.String structureId,
2759                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2760                    throws com.liferay.portal.kernel.exception.SystemException,
2761                            com.liferay.portlet.journal.NoSuchArticleException;
2762    
2763            /**
2764            * Returns the last journal article in the ordered set where groupId = &#63; and structureId = &#63;.
2765            *
2766            * @param groupId the group ID
2767            * @param structureId the structure ID
2768            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2769            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
2770            * @throws SystemException if a system exception occurred
2771            */
2772            public com.liferay.portlet.journal.model.JournalArticle fetchByG_S_Last(
2773                    long groupId, java.lang.String structureId,
2774                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2775                    throws com.liferay.portal.kernel.exception.SystemException;
2776    
2777            /**
2778            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and structureId = &#63;.
2779            *
2780            * @param id the primary key of the current journal article
2781            * @param groupId the group ID
2782            * @param structureId the structure ID
2783            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2784            * @return the previous, current, and next journal article
2785            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2786            * @throws SystemException if a system exception occurred
2787            */
2788            public com.liferay.portlet.journal.model.JournalArticle[] findByG_S_PrevAndNext(
2789                    long id, long groupId, java.lang.String structureId,
2790                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2791                    throws com.liferay.portal.kernel.exception.SystemException,
2792                            com.liferay.portlet.journal.NoSuchArticleException;
2793    
2794            /**
2795            * Returns all the journal articles that the user has permission to view where groupId = &#63; and structureId = &#63;.
2796            *
2797            * @param groupId the group ID
2798            * @param structureId the structure ID
2799            * @return the matching journal articles that the user has permission to view
2800            * @throws SystemException if a system exception occurred
2801            */
2802            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S(
2803                    long groupId, java.lang.String structureId)
2804                    throws com.liferay.portal.kernel.exception.SystemException;
2805    
2806            /**
2807            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and structureId = &#63;.
2808            *
2809            * <p>
2810            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2811            * </p>
2812            *
2813            * @param groupId the group ID
2814            * @param structureId the structure ID
2815            * @param start the lower bound of the range of journal articles
2816            * @param end the upper bound of the range of journal articles (not inclusive)
2817            * @return the range of matching journal articles that the user has permission to view
2818            * @throws SystemException if a system exception occurred
2819            */
2820            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S(
2821                    long groupId, java.lang.String structureId, int start, int end)
2822                    throws com.liferay.portal.kernel.exception.SystemException;
2823    
2824            /**
2825            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and structureId = &#63;.
2826            *
2827            * <p>
2828            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2829            * </p>
2830            *
2831            * @param groupId the group ID
2832            * @param structureId the structure ID
2833            * @param start the lower bound of the range of journal articles
2834            * @param end the upper bound of the range of journal articles (not inclusive)
2835            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2836            * @return the ordered range of matching journal articles that the user has permission to view
2837            * @throws SystemException if a system exception occurred
2838            */
2839            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S(
2840                    long groupId, java.lang.String structureId, int start, int end,
2841                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2842                    throws com.liferay.portal.kernel.exception.SystemException;
2843    
2844            /**
2845            * 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;.
2846            *
2847            * @param id the primary key of the current journal article
2848            * @param groupId the group ID
2849            * @param structureId the structure ID
2850            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2851            * @return the previous, current, and next journal article
2852            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2853            * @throws SystemException if a system exception occurred
2854            */
2855            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_S_PrevAndNext(
2856                    long id, long groupId, java.lang.String structureId,
2857                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2858                    throws com.liferay.portal.kernel.exception.SystemException,
2859                            com.liferay.portlet.journal.NoSuchArticleException;
2860    
2861            /**
2862            * Removes all the journal articles where groupId = &#63; and structureId = &#63; from the database.
2863            *
2864            * @param groupId the group ID
2865            * @param structureId the structure ID
2866            * @throws SystemException if a system exception occurred
2867            */
2868            public void removeByG_S(long groupId, java.lang.String structureId)
2869                    throws com.liferay.portal.kernel.exception.SystemException;
2870    
2871            /**
2872            * Returns the number of journal articles where groupId = &#63; and structureId = &#63;.
2873            *
2874            * @param groupId the group ID
2875            * @param structureId the structure ID
2876            * @return the number of matching journal articles
2877            * @throws SystemException if a system exception occurred
2878            */
2879            public int countByG_S(long groupId, java.lang.String structureId)
2880                    throws com.liferay.portal.kernel.exception.SystemException;
2881    
2882            /**
2883            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and structureId = &#63;.
2884            *
2885            * @param groupId the group ID
2886            * @param structureId the structure ID
2887            * @return the number of matching journal articles that the user has permission to view
2888            * @throws SystemException if a system exception occurred
2889            */
2890            public int filterCountByG_S(long groupId, java.lang.String structureId)
2891                    throws com.liferay.portal.kernel.exception.SystemException;
2892    
2893            /**
2894            * Returns all the journal articles where groupId = &#63; and templateId = &#63;.
2895            *
2896            * @param groupId the group ID
2897            * @param templateId the template ID
2898            * @return the matching journal articles
2899            * @throws SystemException if a system exception occurred
2900            */
2901            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
2902                    long groupId, java.lang.String templateId)
2903                    throws com.liferay.portal.kernel.exception.SystemException;
2904    
2905            /**
2906            * Returns a range of all the journal articles where groupId = &#63; and templateId = &#63;.
2907            *
2908            * <p>
2909            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2910            * </p>
2911            *
2912            * @param groupId the group ID
2913            * @param templateId the template ID
2914            * @param start the lower bound of the range of journal articles
2915            * @param end the upper bound of the range of journal articles (not inclusive)
2916            * @return the range of matching journal articles
2917            * @throws SystemException if a system exception occurred
2918            */
2919            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
2920                    long groupId, java.lang.String templateId, int start, int end)
2921                    throws com.liferay.portal.kernel.exception.SystemException;
2922    
2923            /**
2924            * Returns an ordered range of all the journal articles where groupId = &#63; and templateId = &#63;.
2925            *
2926            * <p>
2927            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2928            * </p>
2929            *
2930            * @param groupId the group ID
2931            * @param templateId the template ID
2932            * @param start the lower bound of the range of journal articles
2933            * @param end the upper bound of the range of journal articles (not inclusive)
2934            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2935            * @return the ordered range of matching journal articles
2936            * @throws SystemException if a system exception occurred
2937            */
2938            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
2939                    long groupId, java.lang.String templateId, int start, int end,
2940                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2941                    throws com.liferay.portal.kernel.exception.SystemException;
2942    
2943            /**
2944            * Returns the first journal article in the ordered set where groupId = &#63; and templateId = &#63;.
2945            *
2946            * @param groupId the group ID
2947            * @param templateId the template ID
2948            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2949            * @return the first matching journal article
2950            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2951            * @throws SystemException if a system exception occurred
2952            */
2953            public com.liferay.portlet.journal.model.JournalArticle findByG_T_First(
2954                    long groupId, java.lang.String templateId,
2955                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2956                    throws com.liferay.portal.kernel.exception.SystemException,
2957                            com.liferay.portlet.journal.NoSuchArticleException;
2958    
2959            /**
2960            * Returns the first journal article in the ordered set where groupId = &#63; and templateId = &#63;.
2961            *
2962            * @param groupId the group ID
2963            * @param templateId the template ID
2964            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2965            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
2966            * @throws SystemException if a system exception occurred
2967            */
2968            public com.liferay.portlet.journal.model.JournalArticle fetchByG_T_First(
2969                    long groupId, java.lang.String templateId,
2970                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2971                    throws com.liferay.portal.kernel.exception.SystemException;
2972    
2973            /**
2974            * Returns the last journal article in the ordered set where groupId = &#63; and templateId = &#63;.
2975            *
2976            * @param groupId the group ID
2977            * @param templateId the template ID
2978            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2979            * @return the last matching journal article
2980            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2981            * @throws SystemException if a system exception occurred
2982            */
2983            public com.liferay.portlet.journal.model.JournalArticle findByG_T_Last(
2984                    long groupId, java.lang.String templateId,
2985                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2986                    throws com.liferay.portal.kernel.exception.SystemException,
2987                            com.liferay.portlet.journal.NoSuchArticleException;
2988    
2989            /**
2990            * Returns the last journal article in the ordered set where groupId = &#63; and templateId = &#63;.
2991            *
2992            * @param groupId the group ID
2993            * @param templateId the template ID
2994            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2995            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
2996            * @throws SystemException if a system exception occurred
2997            */
2998            public com.liferay.portlet.journal.model.JournalArticle fetchByG_T_Last(
2999                    long groupId, java.lang.String templateId,
3000                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3001                    throws com.liferay.portal.kernel.exception.SystemException;
3002    
3003            /**
3004            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and templateId = &#63;.
3005            *
3006            * @param id the primary key of the current journal article
3007            * @param groupId the group ID
3008            * @param templateId the template ID
3009            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3010            * @return the previous, current, and next journal article
3011            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3012            * @throws SystemException if a system exception occurred
3013            */
3014            public com.liferay.portlet.journal.model.JournalArticle[] findByG_T_PrevAndNext(
3015                    long id, long groupId, java.lang.String templateId,
3016                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3017                    throws com.liferay.portal.kernel.exception.SystemException,
3018                            com.liferay.portlet.journal.NoSuchArticleException;
3019    
3020            /**
3021            * Returns all the journal articles that the user has permission to view where groupId = &#63; and templateId = &#63;.
3022            *
3023            * @param groupId the group ID
3024            * @param templateId the template ID
3025            * @return the matching journal articles that the user has permission to view
3026            * @throws SystemException if a system exception occurred
3027            */
3028            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T(
3029                    long groupId, java.lang.String templateId)
3030                    throws com.liferay.portal.kernel.exception.SystemException;
3031    
3032            /**
3033            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and templateId = &#63;.
3034            *
3035            * <p>
3036            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3037            * </p>
3038            *
3039            * @param groupId the group ID
3040            * @param templateId the template ID
3041            * @param start the lower bound of the range of journal articles
3042            * @param end the upper bound of the range of journal articles (not inclusive)
3043            * @return the range of matching journal articles that the user has permission to view
3044            * @throws SystemException if a system exception occurred
3045            */
3046            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T(
3047                    long groupId, java.lang.String templateId, int start, int end)
3048                    throws com.liferay.portal.kernel.exception.SystemException;
3049    
3050            /**
3051            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and templateId = &#63;.
3052            *
3053            * <p>
3054            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3055            * </p>
3056            *
3057            * @param groupId the group ID
3058            * @param templateId the template ID
3059            * @param start the lower bound of the range of journal articles
3060            * @param end the upper bound of the range of journal articles (not inclusive)
3061            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3062            * @return the ordered range of matching journal articles that the user has permission to view
3063            * @throws SystemException if a system exception occurred
3064            */
3065            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T(
3066                    long groupId, java.lang.String templateId, int start, int end,
3067                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3068                    throws com.liferay.portal.kernel.exception.SystemException;
3069    
3070            /**
3071            * 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;.
3072            *
3073            * @param id the primary key of the current journal article
3074            * @param groupId the group ID
3075            * @param templateId the template ID
3076            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3077            * @return the previous, current, and next journal article
3078            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3079            * @throws SystemException if a system exception occurred
3080            */
3081            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_T_PrevAndNext(
3082                    long id, long groupId, java.lang.String templateId,
3083                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3084                    throws com.liferay.portal.kernel.exception.SystemException,
3085                            com.liferay.portlet.journal.NoSuchArticleException;
3086    
3087            /**
3088            * Removes all the journal articles where groupId = &#63; and templateId = &#63; from the database.
3089            *
3090            * @param groupId the group ID
3091            * @param templateId the template ID
3092            * @throws SystemException if a system exception occurred
3093            */
3094            public void removeByG_T(long groupId, java.lang.String templateId)
3095                    throws com.liferay.portal.kernel.exception.SystemException;
3096    
3097            /**
3098            * Returns the number of journal articles where groupId = &#63; and templateId = &#63;.
3099            *
3100            * @param groupId the group ID
3101            * @param templateId the template ID
3102            * @return the number of matching journal articles
3103            * @throws SystemException if a system exception occurred
3104            */
3105            public int countByG_T(long groupId, java.lang.String templateId)
3106                    throws com.liferay.portal.kernel.exception.SystemException;
3107    
3108            /**
3109            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and templateId = &#63;.
3110            *
3111            * @param groupId the group ID
3112            * @param templateId the template ID
3113            * @return the number of matching journal articles that the user has permission to view
3114            * @throws SystemException if a system exception occurred
3115            */
3116            public int filterCountByG_T(long groupId, java.lang.String templateId)
3117                    throws com.liferay.portal.kernel.exception.SystemException;
3118    
3119            /**
3120            * Returns all the journal articles where groupId = &#63; and layoutUuid = &#63;.
3121            *
3122            * @param groupId the group ID
3123            * @param layoutUuid the layout uuid
3124            * @return the matching journal articles
3125            * @throws SystemException if a system exception occurred
3126            */
3127            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L(
3128                    long groupId, java.lang.String layoutUuid)
3129                    throws com.liferay.portal.kernel.exception.SystemException;
3130    
3131            /**
3132            * Returns a range of all the journal articles where groupId = &#63; and layoutUuid = &#63;.
3133            *
3134            * <p>
3135            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3136            * </p>
3137            *
3138            * @param groupId the group ID
3139            * @param layoutUuid the layout uuid
3140            * @param start the lower bound of the range of journal articles
3141            * @param end the upper bound of the range of journal articles (not inclusive)
3142            * @return the range of matching journal articles
3143            * @throws SystemException if a system exception occurred
3144            */
3145            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L(
3146                    long groupId, java.lang.String layoutUuid, int start, int end)
3147                    throws com.liferay.portal.kernel.exception.SystemException;
3148    
3149            /**
3150            * Returns an ordered range of all the journal articles where groupId = &#63; and layoutUuid = &#63;.
3151            *
3152            * <p>
3153            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3154            * </p>
3155            *
3156            * @param groupId the group ID
3157            * @param layoutUuid the layout uuid
3158            * @param start the lower bound of the range of journal articles
3159            * @param end the upper bound of the range of journal articles (not inclusive)
3160            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3161            * @return the ordered range of matching journal articles
3162            * @throws SystemException if a system exception occurred
3163            */
3164            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L(
3165                    long groupId, java.lang.String layoutUuid, int start, int end,
3166                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3167                    throws com.liferay.portal.kernel.exception.SystemException;
3168    
3169            /**
3170            * Returns the first journal article in the ordered set where groupId = &#63; and layoutUuid = &#63;.
3171            *
3172            * @param groupId the group ID
3173            * @param layoutUuid the layout uuid
3174            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3175            * @return the first matching journal article
3176            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3177            * @throws SystemException if a system exception occurred
3178            */
3179            public com.liferay.portlet.journal.model.JournalArticle findByG_L_First(
3180                    long groupId, java.lang.String layoutUuid,
3181                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3182                    throws com.liferay.portal.kernel.exception.SystemException,
3183                            com.liferay.portlet.journal.NoSuchArticleException;
3184    
3185            /**
3186            * Returns the first journal article in the ordered set where groupId = &#63; and layoutUuid = &#63;.
3187            *
3188            * @param groupId the group ID
3189            * @param layoutUuid the layout uuid
3190            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3191            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
3192            * @throws SystemException if a system exception occurred
3193            */
3194            public com.liferay.portlet.journal.model.JournalArticle fetchByG_L_First(
3195                    long groupId, java.lang.String layoutUuid,
3196                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3197                    throws com.liferay.portal.kernel.exception.SystemException;
3198    
3199            /**
3200            * Returns the last journal article in the ordered set where groupId = &#63; and layoutUuid = &#63;.
3201            *
3202            * @param groupId the group ID
3203            * @param layoutUuid the layout uuid
3204            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3205            * @return the last matching journal article
3206            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3207            * @throws SystemException if a system exception occurred
3208            */
3209            public com.liferay.portlet.journal.model.JournalArticle findByG_L_Last(
3210                    long groupId, java.lang.String layoutUuid,
3211                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3212                    throws com.liferay.portal.kernel.exception.SystemException,
3213                            com.liferay.portlet.journal.NoSuchArticleException;
3214    
3215            /**
3216            * Returns the last journal article in the ordered set where groupId = &#63; and layoutUuid = &#63;.
3217            *
3218            * @param groupId the group ID
3219            * @param layoutUuid the layout uuid
3220            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3221            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
3222            * @throws SystemException if a system exception occurred
3223            */
3224            public com.liferay.portlet.journal.model.JournalArticle fetchByG_L_Last(
3225                    long groupId, java.lang.String layoutUuid,
3226                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3227                    throws com.liferay.portal.kernel.exception.SystemException;
3228    
3229            /**
3230            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and layoutUuid = &#63;.
3231            *
3232            * @param id the primary key of the current journal article
3233            * @param groupId the group ID
3234            * @param layoutUuid the layout uuid
3235            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3236            * @return the previous, current, and next journal article
3237            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3238            * @throws SystemException if a system exception occurred
3239            */
3240            public com.liferay.portlet.journal.model.JournalArticle[] findByG_L_PrevAndNext(
3241                    long id, long groupId, java.lang.String layoutUuid,
3242                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3243                    throws com.liferay.portal.kernel.exception.SystemException,
3244                            com.liferay.portlet.journal.NoSuchArticleException;
3245    
3246            /**
3247            * Returns all the journal articles that the user has permission to view where groupId = &#63; and layoutUuid = &#63;.
3248            *
3249            * @param groupId the group ID
3250            * @param layoutUuid the layout uuid
3251            * @return the matching journal articles that the user has permission to view
3252            * @throws SystemException if a system exception occurred
3253            */
3254            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L(
3255                    long groupId, java.lang.String layoutUuid)
3256                    throws com.liferay.portal.kernel.exception.SystemException;
3257    
3258            /**
3259            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and layoutUuid = &#63;.
3260            *
3261            * <p>
3262            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3263            * </p>
3264            *
3265            * @param groupId the group ID
3266            * @param layoutUuid the layout uuid
3267            * @param start the lower bound of the range of journal articles
3268            * @param end the upper bound of the range of journal articles (not inclusive)
3269            * @return the range of matching journal articles that the user has permission to view
3270            * @throws SystemException if a system exception occurred
3271            */
3272            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L(
3273                    long groupId, java.lang.String layoutUuid, int start, int end)
3274                    throws com.liferay.portal.kernel.exception.SystemException;
3275    
3276            /**
3277            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and layoutUuid = &#63;.
3278            *
3279            * <p>
3280            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3281            * </p>
3282            *
3283            * @param groupId the group ID
3284            * @param layoutUuid the layout uuid
3285            * @param start the lower bound of the range of journal articles
3286            * @param end the upper bound of the range of journal articles (not inclusive)
3287            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3288            * @return the ordered range of matching journal articles that the user has permission to view
3289            * @throws SystemException if a system exception occurred
3290            */
3291            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L(
3292                    long groupId, java.lang.String layoutUuid, int start, int end,
3293                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3294                    throws com.liferay.portal.kernel.exception.SystemException;
3295    
3296            /**
3297            * 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;.
3298            *
3299            * @param id the primary key of the current journal article
3300            * @param groupId the group ID
3301            * @param layoutUuid the layout uuid
3302            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3303            * @return the previous, current, and next journal article
3304            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3305            * @throws SystemException if a system exception occurred
3306            */
3307            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_L_PrevAndNext(
3308                    long id, long groupId, java.lang.String layoutUuid,
3309                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3310                    throws com.liferay.portal.kernel.exception.SystemException,
3311                            com.liferay.portlet.journal.NoSuchArticleException;
3312    
3313            /**
3314            * Removes all the journal articles where groupId = &#63; and layoutUuid = &#63; from the database.
3315            *
3316            * @param groupId the group ID
3317            * @param layoutUuid the layout uuid
3318            * @throws SystemException if a system exception occurred
3319            */
3320            public void removeByG_L(long groupId, java.lang.String layoutUuid)
3321                    throws com.liferay.portal.kernel.exception.SystemException;
3322    
3323            /**
3324            * Returns the number of journal articles where groupId = &#63; and layoutUuid = &#63;.
3325            *
3326            * @param groupId the group ID
3327            * @param layoutUuid the layout uuid
3328            * @return the number of matching journal articles
3329            * @throws SystemException if a system exception occurred
3330            */
3331            public int countByG_L(long groupId, java.lang.String layoutUuid)
3332                    throws com.liferay.portal.kernel.exception.SystemException;
3333    
3334            /**
3335            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and layoutUuid = &#63;.
3336            *
3337            * @param groupId the group ID
3338            * @param layoutUuid the layout uuid
3339            * @return the number of matching journal articles that the user has permission to view
3340            * @throws SystemException if a system exception occurred
3341            */
3342            public int filterCountByG_L(long groupId, java.lang.String layoutUuid)
3343                    throws com.liferay.portal.kernel.exception.SystemException;
3344    
3345            /**
3346            * Returns all the journal articles where groupId = &#63; and status = &#63;.
3347            *
3348            * @param groupId the group ID
3349            * @param status the status
3350            * @return the matching journal articles
3351            * @throws SystemException if a system exception occurred
3352            */
3353            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST(
3354                    long groupId, int status)
3355                    throws com.liferay.portal.kernel.exception.SystemException;
3356    
3357            /**
3358            * Returns a range of all the journal articles where groupId = &#63; and status = &#63;.
3359            *
3360            * <p>
3361            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3362            * </p>
3363            *
3364            * @param groupId the group ID
3365            * @param status the status
3366            * @param start the lower bound of the range of journal articles
3367            * @param end the upper bound of the range of journal articles (not inclusive)
3368            * @return the range of matching journal articles
3369            * @throws SystemException if a system exception occurred
3370            */
3371            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST(
3372                    long groupId, int status, int start, int end)
3373                    throws com.liferay.portal.kernel.exception.SystemException;
3374    
3375            /**
3376            * Returns an ordered range of all the journal articles where groupId = &#63; and status = &#63;.
3377            *
3378            * <p>
3379            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3380            * </p>
3381            *
3382            * @param groupId the group ID
3383            * @param status the status
3384            * @param start the lower bound of the range of journal articles
3385            * @param end the upper bound of the range of journal articles (not inclusive)
3386            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3387            * @return the ordered range of matching journal articles
3388            * @throws SystemException if a system exception occurred
3389            */
3390            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST(
3391                    long groupId, int status, int start, int end,
3392                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3393                    throws com.liferay.portal.kernel.exception.SystemException;
3394    
3395            /**
3396            * Returns the first journal article in the ordered set where groupId = &#63; and status = &#63;.
3397            *
3398            * @param groupId the group ID
3399            * @param status the status
3400            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3401            * @return the first matching journal article
3402            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3403            * @throws SystemException if a system exception occurred
3404            */
3405            public com.liferay.portlet.journal.model.JournalArticle findByG_ST_First(
3406                    long groupId, int status,
3407                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3408                    throws com.liferay.portal.kernel.exception.SystemException,
3409                            com.liferay.portlet.journal.NoSuchArticleException;
3410    
3411            /**
3412            * Returns the first journal article in the ordered set where groupId = &#63; and status = &#63;.
3413            *
3414            * @param groupId the group ID
3415            * @param status the status
3416            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3417            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
3418            * @throws SystemException if a system exception occurred
3419            */
3420            public com.liferay.portlet.journal.model.JournalArticle fetchByG_ST_First(
3421                    long groupId, int status,
3422                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3423                    throws com.liferay.portal.kernel.exception.SystemException;
3424    
3425            /**
3426            * Returns the last journal article in the ordered set where groupId = &#63; and status = &#63;.
3427            *
3428            * @param groupId the group ID
3429            * @param status the status
3430            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3431            * @return the last matching journal article
3432            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3433            * @throws SystemException if a system exception occurred
3434            */
3435            public com.liferay.portlet.journal.model.JournalArticle findByG_ST_Last(
3436                    long groupId, int status,
3437                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3438                    throws com.liferay.portal.kernel.exception.SystemException,
3439                            com.liferay.portlet.journal.NoSuchArticleException;
3440    
3441            /**
3442            * Returns the last journal article in the ordered set where groupId = &#63; and status = &#63;.
3443            *
3444            * @param groupId the group ID
3445            * @param status the status
3446            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3447            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
3448            * @throws SystemException if a system exception occurred
3449            */
3450            public com.liferay.portlet.journal.model.JournalArticle fetchByG_ST_Last(
3451                    long groupId, int status,
3452                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3453                    throws com.liferay.portal.kernel.exception.SystemException;
3454    
3455            /**
3456            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and status = &#63;.
3457            *
3458            * @param id the primary key of the current journal article
3459            * @param groupId the group ID
3460            * @param status the status
3461            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3462            * @return the previous, current, and next journal article
3463            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3464            * @throws SystemException if a system exception occurred
3465            */
3466            public com.liferay.portlet.journal.model.JournalArticle[] findByG_ST_PrevAndNext(
3467                    long id, long groupId, int status,
3468                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3469                    throws com.liferay.portal.kernel.exception.SystemException,
3470                            com.liferay.portlet.journal.NoSuchArticleException;
3471    
3472            /**
3473            * Returns all the journal articles that the user has permission to view where groupId = &#63; and status = &#63;.
3474            *
3475            * @param groupId the group ID
3476            * @param status the status
3477            * @return the matching journal articles that the user has permission to view
3478            * @throws SystemException if a system exception occurred
3479            */
3480            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST(
3481                    long groupId, int status)
3482                    throws com.liferay.portal.kernel.exception.SystemException;
3483    
3484            /**
3485            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and status = &#63;.
3486            *
3487            * <p>
3488            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3489            * </p>
3490            *
3491            * @param groupId the group ID
3492            * @param status the status
3493            * @param start the lower bound of the range of journal articles
3494            * @param end the upper bound of the range of journal articles (not inclusive)
3495            * @return the range of matching journal articles that the user has permission to view
3496            * @throws SystemException if a system exception occurred
3497            */
3498            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST(
3499                    long groupId, int status, int start, int end)
3500                    throws com.liferay.portal.kernel.exception.SystemException;
3501    
3502            /**
3503            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and status = &#63;.
3504            *
3505            * <p>
3506            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3507            * </p>
3508            *
3509            * @param groupId the group ID
3510            * @param status the status
3511            * @param start the lower bound of the range of journal articles
3512            * @param end the upper bound of the range of journal articles (not inclusive)
3513            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3514            * @return the ordered range of matching journal articles that the user has permission to view
3515            * @throws SystemException if a system exception occurred
3516            */
3517            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST(
3518                    long groupId, int status, int start, int end,
3519                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3520                    throws com.liferay.portal.kernel.exception.SystemException;
3521    
3522            /**
3523            * 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;.
3524            *
3525            * @param id the primary key of the current journal article
3526            * @param groupId the group ID
3527            * @param status the status
3528            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3529            * @return the previous, current, and next journal article
3530            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3531            * @throws SystemException if a system exception occurred
3532            */
3533            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_ST_PrevAndNext(
3534                    long id, long groupId, int status,
3535                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3536                    throws com.liferay.portal.kernel.exception.SystemException,
3537                            com.liferay.portlet.journal.NoSuchArticleException;
3538    
3539            /**
3540            * Removes all the journal articles where groupId = &#63; and status = &#63; from the database.
3541            *
3542            * @param groupId the group ID
3543            * @param status the status
3544            * @throws SystemException if a system exception occurred
3545            */
3546            public void removeByG_ST(long groupId, int status)
3547                    throws com.liferay.portal.kernel.exception.SystemException;
3548    
3549            /**
3550            * Returns the number of journal articles where groupId = &#63; and status = &#63;.
3551            *
3552            * @param groupId the group ID
3553            * @param status the status
3554            * @return the number of matching journal articles
3555            * @throws SystemException if a system exception occurred
3556            */
3557            public int countByG_ST(long groupId, int status)
3558                    throws com.liferay.portal.kernel.exception.SystemException;
3559    
3560            /**
3561            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and status = &#63;.
3562            *
3563            * @param groupId the group ID
3564            * @param status the status
3565            * @return the number of matching journal articles that the user has permission to view
3566            * @throws SystemException if a system exception occurred
3567            */
3568            public int filterCountByG_ST(long groupId, int status)
3569                    throws com.liferay.portal.kernel.exception.SystemException;
3570    
3571            /**
3572            * Returns all the journal articles where companyId = &#63; and version = &#63;.
3573            *
3574            * @param companyId the company ID
3575            * @param version the version
3576            * @return the matching journal articles
3577            * @throws SystemException if a system exception occurred
3578            */
3579            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V(
3580                    long companyId, double version)
3581                    throws com.liferay.portal.kernel.exception.SystemException;
3582    
3583            /**
3584            * Returns a range of all the journal articles where companyId = &#63; and version = &#63;.
3585            *
3586            * <p>
3587            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3588            * </p>
3589            *
3590            * @param companyId the company ID
3591            * @param version the version
3592            * @param start the lower bound of the range of journal articles
3593            * @param end the upper bound of the range of journal articles (not inclusive)
3594            * @return the range of matching journal articles
3595            * @throws SystemException if a system exception occurred
3596            */
3597            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V(
3598                    long companyId, double version, int start, int end)
3599                    throws com.liferay.portal.kernel.exception.SystemException;
3600    
3601            /**
3602            * Returns an ordered range of all the journal articles where companyId = &#63; and version = &#63;.
3603            *
3604            * <p>
3605            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3606            * </p>
3607            *
3608            * @param companyId the company ID
3609            * @param version the version
3610            * @param start the lower bound of the range of journal articles
3611            * @param end the upper bound of the range of journal articles (not inclusive)
3612            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3613            * @return the ordered range of matching journal articles
3614            * @throws SystemException if a system exception occurred
3615            */
3616            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V(
3617                    long companyId, double version, int start, int end,
3618                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3619                    throws com.liferay.portal.kernel.exception.SystemException;
3620    
3621            /**
3622            * Returns the first journal article in the ordered set where companyId = &#63; and version = &#63;.
3623            *
3624            * @param companyId the company ID
3625            * @param version the version
3626            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3627            * @return the first matching journal article
3628            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3629            * @throws SystemException if a system exception occurred
3630            */
3631            public com.liferay.portlet.journal.model.JournalArticle findByC_V_First(
3632                    long companyId, double version,
3633                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3634                    throws com.liferay.portal.kernel.exception.SystemException,
3635                            com.liferay.portlet.journal.NoSuchArticleException;
3636    
3637            /**
3638            * Returns the first journal article in the ordered set where companyId = &#63; and version = &#63;.
3639            *
3640            * @param companyId the company ID
3641            * @param version the version
3642            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3643            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
3644            * @throws SystemException if a system exception occurred
3645            */
3646            public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_First(
3647                    long companyId, double version,
3648                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3649                    throws com.liferay.portal.kernel.exception.SystemException;
3650    
3651            /**
3652            * Returns the last journal article in the ordered set where companyId = &#63; and version = &#63;.
3653            *
3654            * @param companyId the company ID
3655            * @param version the version
3656            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3657            * @return the last matching journal article
3658            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3659            * @throws SystemException if a system exception occurred
3660            */
3661            public com.liferay.portlet.journal.model.JournalArticle findByC_V_Last(
3662                    long companyId, double version,
3663                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3664                    throws com.liferay.portal.kernel.exception.SystemException,
3665                            com.liferay.portlet.journal.NoSuchArticleException;
3666    
3667            /**
3668            * Returns the last journal article in the ordered set where companyId = &#63; and version = &#63;.
3669            *
3670            * @param companyId the company ID
3671            * @param version the version
3672            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3673            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
3674            * @throws SystemException if a system exception occurred
3675            */
3676            public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_Last(
3677                    long companyId, double version,
3678                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3679                    throws com.liferay.portal.kernel.exception.SystemException;
3680    
3681            /**
3682            * Returns the journal articles before and after the current journal article in the ordered set where companyId = &#63; and version = &#63;.
3683            *
3684            * @param id the primary key of the current journal article
3685            * @param companyId the company ID
3686            * @param version the version
3687            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3688            * @return the previous, current, and next journal article
3689            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3690            * @throws SystemException if a system exception occurred
3691            */
3692            public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_PrevAndNext(
3693                    long id, long companyId, double version,
3694                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3695                    throws com.liferay.portal.kernel.exception.SystemException,
3696                            com.liferay.portlet.journal.NoSuchArticleException;
3697    
3698            /**
3699            * Removes all the journal articles where companyId = &#63; and version = &#63; from the database.
3700            *
3701            * @param companyId the company ID
3702            * @param version the version
3703            * @throws SystemException if a system exception occurred
3704            */
3705            public void removeByC_V(long companyId, double version)
3706                    throws com.liferay.portal.kernel.exception.SystemException;
3707    
3708            /**
3709            * Returns the number of journal articles where companyId = &#63; and version = &#63;.
3710            *
3711            * @param companyId the company ID
3712            * @param version the version
3713            * @return the number of matching journal articles
3714            * @throws SystemException if a system exception occurred
3715            */
3716            public int countByC_V(long companyId, double version)
3717                    throws com.liferay.portal.kernel.exception.SystemException;
3718    
3719            /**
3720            * Returns all the journal articles where companyId = &#63; and status = &#63;.
3721            *
3722            * @param companyId the company ID
3723            * @param status the status
3724            * @return the matching journal articles
3725            * @throws SystemException if a system exception occurred
3726            */
3727            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST(
3728                    long companyId, int status)
3729                    throws com.liferay.portal.kernel.exception.SystemException;
3730    
3731            /**
3732            * Returns a range of all the journal articles where companyId = &#63; and status = &#63;.
3733            *
3734            * <p>
3735            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3736            * </p>
3737            *
3738            * @param companyId the company ID
3739            * @param status the status
3740            * @param start the lower bound of the range of journal articles
3741            * @param end the upper bound of the range of journal articles (not inclusive)
3742            * @return the range of matching journal articles
3743            * @throws SystemException if a system exception occurred
3744            */
3745            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST(
3746                    long companyId, int status, int start, int end)
3747                    throws com.liferay.portal.kernel.exception.SystemException;
3748    
3749            /**
3750            * Returns an ordered range of all the journal articles where companyId = &#63; and status = &#63;.
3751            *
3752            * <p>
3753            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3754            * </p>
3755            *
3756            * @param companyId the company ID
3757            * @param status the status
3758            * @param start the lower bound of the range of journal articles
3759            * @param end the upper bound of the range of journal articles (not inclusive)
3760            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3761            * @return the ordered range of matching journal articles
3762            * @throws SystemException if a system exception occurred
3763            */
3764            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST(
3765                    long companyId, int status, int start, int end,
3766                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3767                    throws com.liferay.portal.kernel.exception.SystemException;
3768    
3769            /**
3770            * Returns the first journal article in the ordered set where companyId = &#63; and status = &#63;.
3771            *
3772            * @param companyId the company ID
3773            * @param status the status
3774            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3775            * @return the first matching journal article
3776            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3777            * @throws SystemException if a system exception occurred
3778            */
3779            public com.liferay.portlet.journal.model.JournalArticle findByC_ST_First(
3780                    long companyId, int status,
3781                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3782                    throws com.liferay.portal.kernel.exception.SystemException,
3783                            com.liferay.portlet.journal.NoSuchArticleException;
3784    
3785            /**
3786            * Returns the first journal article in the ordered set where companyId = &#63; and status = &#63;.
3787            *
3788            * @param companyId the company ID
3789            * @param status the status
3790            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3791            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
3792            * @throws SystemException if a system exception occurred
3793            */
3794            public com.liferay.portlet.journal.model.JournalArticle fetchByC_ST_First(
3795                    long companyId, int status,
3796                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3797                    throws com.liferay.portal.kernel.exception.SystemException;
3798    
3799            /**
3800            * Returns the last journal article in the ordered set where companyId = &#63; and status = &#63;.
3801            *
3802            * @param companyId the company ID
3803            * @param status the status
3804            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3805            * @return the last matching journal article
3806            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3807            * @throws SystemException if a system exception occurred
3808            */
3809            public com.liferay.portlet.journal.model.JournalArticle findByC_ST_Last(
3810                    long companyId, int status,
3811                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3812                    throws com.liferay.portal.kernel.exception.SystemException,
3813                            com.liferay.portlet.journal.NoSuchArticleException;
3814    
3815            /**
3816            * Returns the last journal article in the ordered set where companyId = &#63; and status = &#63;.
3817            *
3818            * @param companyId the company ID
3819            * @param status the status
3820            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3821            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
3822            * @throws SystemException if a system exception occurred
3823            */
3824            public com.liferay.portlet.journal.model.JournalArticle fetchByC_ST_Last(
3825                    long companyId, int status,
3826                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3827                    throws com.liferay.portal.kernel.exception.SystemException;
3828    
3829            /**
3830            * Returns the journal articles before and after the current journal article in the ordered set where companyId = &#63; and status = &#63;.
3831            *
3832            * @param id the primary key of the current journal article
3833            * @param companyId the company ID
3834            * @param status the status
3835            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3836            * @return the previous, current, and next journal article
3837            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3838            * @throws SystemException if a system exception occurred
3839            */
3840            public com.liferay.portlet.journal.model.JournalArticle[] findByC_ST_PrevAndNext(
3841                    long id, long companyId, int status,
3842                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3843                    throws com.liferay.portal.kernel.exception.SystemException,
3844                            com.liferay.portlet.journal.NoSuchArticleException;
3845    
3846            /**
3847            * Removes all the journal articles where companyId = &#63; and status = &#63; from the database.
3848            *
3849            * @param companyId the company ID
3850            * @param status the status
3851            * @throws SystemException if a system exception occurred
3852            */
3853            public void removeByC_ST(long companyId, int status)
3854                    throws com.liferay.portal.kernel.exception.SystemException;
3855    
3856            /**
3857            * Returns the number of journal articles where companyId = &#63; and status = &#63;.
3858            *
3859            * @param companyId the company ID
3860            * @param status the status
3861            * @return the number of matching journal articles
3862            * @throws SystemException if a system exception occurred
3863            */
3864            public int countByC_ST(long companyId, int status)
3865                    throws com.liferay.portal.kernel.exception.SystemException;
3866    
3867            /**
3868            * Returns all the journal articles where companyId = &#63; and status &ne; &#63;.
3869            *
3870            * @param companyId the company ID
3871            * @param status the status
3872            * @return the matching journal articles
3873            * @throws SystemException if a system exception occurred
3874            */
3875            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_NotST(
3876                    long companyId, int status)
3877                    throws com.liferay.portal.kernel.exception.SystemException;
3878    
3879            /**
3880            * Returns a range of all the journal articles where companyId = &#63; and status &ne; &#63;.
3881            *
3882            * <p>
3883            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3884            * </p>
3885            *
3886            * @param companyId the company ID
3887            * @param status the status
3888            * @param start the lower bound of the range of journal articles
3889            * @param end the upper bound of the range of journal articles (not inclusive)
3890            * @return the range of matching journal articles
3891            * @throws SystemException if a system exception occurred
3892            */
3893            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_NotST(
3894                    long companyId, int status, int start, int end)
3895                    throws com.liferay.portal.kernel.exception.SystemException;
3896    
3897            /**
3898            * Returns an ordered range of all the journal articles where companyId = &#63; and status &ne; &#63;.
3899            *
3900            * <p>
3901            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3902            * </p>
3903            *
3904            * @param companyId the company ID
3905            * @param status the status
3906            * @param start the lower bound of the range of journal articles
3907            * @param end the upper bound of the range of journal articles (not inclusive)
3908            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3909            * @return the ordered range of matching journal articles
3910            * @throws SystemException if a system exception occurred
3911            */
3912            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_NotST(
3913                    long companyId, int status, int start, int end,
3914                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3915                    throws com.liferay.portal.kernel.exception.SystemException;
3916    
3917            /**
3918            * Returns the first journal article in the ordered set where companyId = &#63; and status &ne; &#63;.
3919            *
3920            * @param companyId the company ID
3921            * @param status the status
3922            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3923            * @return the first matching journal article
3924            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3925            * @throws SystemException if a system exception occurred
3926            */
3927            public com.liferay.portlet.journal.model.JournalArticle findByC_NotST_First(
3928                    long companyId, int status,
3929                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3930                    throws com.liferay.portal.kernel.exception.SystemException,
3931                            com.liferay.portlet.journal.NoSuchArticleException;
3932    
3933            /**
3934            * Returns the first journal article in the ordered set where companyId = &#63; and status &ne; &#63;.
3935            *
3936            * @param companyId the company ID
3937            * @param status the status
3938            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3939            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
3940            * @throws SystemException if a system exception occurred
3941            */
3942            public com.liferay.portlet.journal.model.JournalArticle fetchByC_NotST_First(
3943                    long companyId, int status,
3944                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3945                    throws com.liferay.portal.kernel.exception.SystemException;
3946    
3947            /**
3948            * Returns the last journal article in the ordered set where companyId = &#63; and status &ne; &#63;.
3949            *
3950            * @param companyId the company ID
3951            * @param status the status
3952            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3953            * @return the last matching journal article
3954            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3955            * @throws SystemException if a system exception occurred
3956            */
3957            public com.liferay.portlet.journal.model.JournalArticle findByC_NotST_Last(
3958                    long companyId, int status,
3959                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3960                    throws com.liferay.portal.kernel.exception.SystemException,
3961                            com.liferay.portlet.journal.NoSuchArticleException;
3962    
3963            /**
3964            * Returns the last journal article in the ordered set where companyId = &#63; and status &ne; &#63;.
3965            *
3966            * @param companyId the company ID
3967            * @param status the status
3968            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3969            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
3970            * @throws SystemException if a system exception occurred
3971            */
3972            public com.liferay.portlet.journal.model.JournalArticle fetchByC_NotST_Last(
3973                    long companyId, int status,
3974                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3975                    throws com.liferay.portal.kernel.exception.SystemException;
3976    
3977            /**
3978            * Returns the journal articles before and after the current journal article in the ordered set where companyId = &#63; and status &ne; &#63;.
3979            *
3980            * @param id the primary key of the current journal article
3981            * @param companyId the company ID
3982            * @param status the status
3983            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3984            * @return the previous, current, and next journal article
3985            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3986            * @throws SystemException if a system exception occurred
3987            */
3988            public com.liferay.portlet.journal.model.JournalArticle[] findByC_NotST_PrevAndNext(
3989                    long id, long companyId, int status,
3990                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3991                    throws com.liferay.portal.kernel.exception.SystemException,
3992                            com.liferay.portlet.journal.NoSuchArticleException;
3993    
3994            /**
3995            * Removes all the journal articles where companyId = &#63; and status &ne; &#63; from the database.
3996            *
3997            * @param companyId the company ID
3998            * @param status the status
3999            * @throws SystemException if a system exception occurred
4000            */
4001            public void removeByC_NotST(long companyId, int status)
4002                    throws com.liferay.portal.kernel.exception.SystemException;
4003    
4004            /**
4005            * Returns the number of journal articles where companyId = &#63; and status &ne; &#63;.
4006            *
4007            * @param companyId the company ID
4008            * @param status the status
4009            * @return the number of matching journal articles
4010            * @throws SystemException if a system exception occurred
4011            */
4012            public int countByC_NotST(long companyId, int status)
4013                    throws com.liferay.portal.kernel.exception.SystemException;
4014    
4015            /**
4016            * Returns all the journal articles where displayDate &lt; &#63; and status = &#63;.
4017            *
4018            * @param displayDate the display date
4019            * @param status the status
4020            * @return the matching journal articles
4021            * @throws SystemException if a system exception occurred
4022            */
4023            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLtD_S(
4024                    java.util.Date displayDate, int status)
4025                    throws com.liferay.portal.kernel.exception.SystemException;
4026    
4027            /**
4028            * Returns a range of all the journal articles where displayDate &lt; &#63; and status = &#63;.
4029            *
4030            * <p>
4031            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4032            * </p>
4033            *
4034            * @param displayDate the display date
4035            * @param status the status
4036            * @param start the lower bound of the range of journal articles
4037            * @param end the upper bound of the range of journal articles (not inclusive)
4038            * @return the range of matching journal articles
4039            * @throws SystemException if a system exception occurred
4040            */
4041            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLtD_S(
4042                    java.util.Date displayDate, int status, int start, int end)
4043                    throws com.liferay.portal.kernel.exception.SystemException;
4044    
4045            /**
4046            * Returns an ordered range of all the journal articles where displayDate &lt; &#63; and status = &#63;.
4047            *
4048            * <p>
4049            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4050            * </p>
4051            *
4052            * @param displayDate the display date
4053            * @param status the status
4054            * @param start the lower bound of the range of journal articles
4055            * @param end the upper bound of the range of journal articles (not inclusive)
4056            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4057            * @return the ordered range of matching journal articles
4058            * @throws SystemException if a system exception occurred
4059            */
4060            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLtD_S(
4061                    java.util.Date displayDate, int status, int start, int end,
4062                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4063                    throws com.liferay.portal.kernel.exception.SystemException;
4064    
4065            /**
4066            * Returns the first journal article in the ordered set where displayDate &lt; &#63; and status = &#63;.
4067            *
4068            * @param displayDate the display date
4069            * @param status the status
4070            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4071            * @return the first matching journal article
4072            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4073            * @throws SystemException if a system exception occurred
4074            */
4075            public com.liferay.portlet.journal.model.JournalArticle findByLtD_S_First(
4076                    java.util.Date displayDate, int status,
4077                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4078                    throws com.liferay.portal.kernel.exception.SystemException,
4079                            com.liferay.portlet.journal.NoSuchArticleException;
4080    
4081            /**
4082            * Returns the first journal article in the ordered set where displayDate &lt; &#63; and status = &#63;.
4083            *
4084            * @param displayDate the display date
4085            * @param status the status
4086            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4087            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
4088            * @throws SystemException if a system exception occurred
4089            */
4090            public com.liferay.portlet.journal.model.JournalArticle fetchByLtD_S_First(
4091                    java.util.Date displayDate, int status,
4092                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4093                    throws com.liferay.portal.kernel.exception.SystemException;
4094    
4095            /**
4096            * Returns the last journal article in the ordered set where displayDate &lt; &#63; and status = &#63;.
4097            *
4098            * @param displayDate the display date
4099            * @param status the status
4100            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4101            * @return the last matching journal article
4102            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4103            * @throws SystemException if a system exception occurred
4104            */
4105            public com.liferay.portlet.journal.model.JournalArticle findByLtD_S_Last(
4106                    java.util.Date displayDate, int status,
4107                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4108                    throws com.liferay.portal.kernel.exception.SystemException,
4109                            com.liferay.portlet.journal.NoSuchArticleException;
4110    
4111            /**
4112            * Returns the last journal article in the ordered set where displayDate &lt; &#63; and status = &#63;.
4113            *
4114            * @param displayDate the display date
4115            * @param status the status
4116            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4117            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
4118            * @throws SystemException if a system exception occurred
4119            */
4120            public com.liferay.portlet.journal.model.JournalArticle fetchByLtD_S_Last(
4121                    java.util.Date displayDate, int status,
4122                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4123                    throws com.liferay.portal.kernel.exception.SystemException;
4124    
4125            /**
4126            * Returns the journal articles before and after the current journal article in the ordered set where displayDate &lt; &#63; and status = &#63;.
4127            *
4128            * @param id the primary key of the current journal article
4129            * @param displayDate the display date
4130            * @param status the status
4131            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4132            * @return the previous, current, and next journal article
4133            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
4134            * @throws SystemException if a system exception occurred
4135            */
4136            public com.liferay.portlet.journal.model.JournalArticle[] findByLtD_S_PrevAndNext(
4137                    long id, java.util.Date displayDate, int status,
4138                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4139                    throws com.liferay.portal.kernel.exception.SystemException,
4140                            com.liferay.portlet.journal.NoSuchArticleException;
4141    
4142            /**
4143            * Removes all the journal articles where displayDate &lt; &#63; and status = &#63; from the database.
4144            *
4145            * @param displayDate the display date
4146            * @param status the status
4147            * @throws SystemException if a system exception occurred
4148            */
4149            public void removeByLtD_S(java.util.Date displayDate, int status)
4150                    throws com.liferay.portal.kernel.exception.SystemException;
4151    
4152            /**
4153            * Returns the number of journal articles where displayDate &lt; &#63; and status = &#63;.
4154            *
4155            * @param displayDate the display date
4156            * @param status the status
4157            * @return the number of matching journal articles
4158            * @throws SystemException if a system exception occurred
4159            */
4160            public int countByLtD_S(java.util.Date displayDate, int status)
4161                    throws com.liferay.portal.kernel.exception.SystemException;
4162    
4163            /**
4164            * Returns all the journal articles where resourcePrimKey = &#63; and indexable = &#63; and status = &#63;.
4165            *
4166            * @param resourcePrimKey the resource prim key
4167            * @param indexable the indexable
4168            * @param status the status
4169            * @return the matching journal articles
4170            * @throws SystemException if a system exception occurred
4171            */
4172            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S(
4173                    long resourcePrimKey, boolean indexable, int status)
4174                    throws com.liferay.portal.kernel.exception.SystemException;
4175    
4176            /**
4177            * Returns a range of all the journal articles where resourcePrimKey = &#63; and indexable = &#63; and status = &#63;.
4178            *
4179            * <p>
4180            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4181            * </p>
4182            *
4183            * @param resourcePrimKey the resource prim key
4184            * @param indexable the indexable
4185            * @param status the status
4186            * @param start the lower bound of the range of journal articles
4187            * @param end the upper bound of the range of journal articles (not inclusive)
4188            * @return the range of matching journal articles
4189            * @throws SystemException if a system exception occurred
4190            */
4191            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S(
4192                    long resourcePrimKey, boolean indexable, int status, int start, int end)
4193                    throws com.liferay.portal.kernel.exception.SystemException;
4194    
4195            /**
4196            * Returns an ordered range of all the journal articles where resourcePrimKey = &#63; and indexable = &#63; and status = &#63;.
4197            *
4198            * <p>
4199            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4200            * </p>
4201            *
4202            * @param resourcePrimKey the resource prim key
4203            * @param indexable the indexable
4204            * @param status the status
4205            * @param start the lower bound of the range of journal articles
4206            * @param end the upper bound of the range of journal articles (not inclusive)
4207            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4208            * @return the ordered range of matching journal articles
4209            * @throws SystemException if a system exception occurred
4210            */
4211            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S(
4212                    long resourcePrimKey, boolean indexable, int status, int start,
4213                    int end,
4214                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4215                    throws com.liferay.portal.kernel.exception.SystemException;
4216    
4217            /**
4218            * Returns the first journal article in the ordered set where resourcePrimKey = &#63; and indexable = &#63; and status = &#63;.
4219            *
4220            * @param resourcePrimKey the resource prim key
4221            * @param indexable the indexable
4222            * @param status the status
4223            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4224            * @return the first matching journal article
4225            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4226            * @throws SystemException if a system exception occurred
4227            */
4228            public com.liferay.portlet.journal.model.JournalArticle findByR_I_S_First(
4229                    long resourcePrimKey, boolean indexable, int status,
4230                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4231                    throws com.liferay.portal.kernel.exception.SystemException,
4232                            com.liferay.portlet.journal.NoSuchArticleException;
4233    
4234            /**
4235            * Returns the first journal article in the ordered set where resourcePrimKey = &#63; and indexable = &#63; and status = &#63;.
4236            *
4237            * @param resourcePrimKey the resource prim key
4238            * @param indexable the indexable
4239            * @param status the status
4240            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4241            * @return the first 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 fetchByR_I_S_First(
4245                    long resourcePrimKey, boolean indexable, int status,
4246                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4247                    throws com.liferay.portal.kernel.exception.SystemException;
4248    
4249            /**
4250            * Returns the last journal article in the ordered set where resourcePrimKey = &#63; and indexable = &#63; and status = &#63;.
4251            *
4252            * @param resourcePrimKey the resource prim key
4253            * @param indexable the indexable
4254            * @param status the status
4255            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4256            * @return the last matching journal article
4257            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4258            * @throws SystemException if a system exception occurred
4259            */
4260            public com.liferay.portlet.journal.model.JournalArticle findByR_I_S_Last(
4261                    long resourcePrimKey, boolean indexable, int status,
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            * Returns the last journal article in the ordered set where resourcePrimKey = &#63; and indexable = &#63; and status = &#63;.
4268            *
4269            * @param resourcePrimKey the resource prim key
4270            * @param indexable the indexable
4271            * @param status the status
4272            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4273            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
4274            * @throws SystemException if a system exception occurred
4275            */
4276            public com.liferay.portlet.journal.model.JournalArticle fetchByR_I_S_Last(
4277                    long resourcePrimKey, boolean indexable, int status,
4278                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4279                    throws com.liferay.portal.kernel.exception.SystemException;
4280    
4281            /**
4282            * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = &#63; and indexable = &#63; and status = &#63;.
4283            *
4284            * @param id the primary key of the current journal article
4285            * @param resourcePrimKey the resource prim key
4286            * @param indexable the indexable
4287            * @param status the status
4288            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4289            * @return the previous, current, and next journal article
4290            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
4291            * @throws SystemException if a system exception occurred
4292            */
4293            public com.liferay.portlet.journal.model.JournalArticle[] findByR_I_S_PrevAndNext(
4294                    long id, long resourcePrimKey, boolean indexable, int status,
4295                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4296                    throws com.liferay.portal.kernel.exception.SystemException,
4297                            com.liferay.portlet.journal.NoSuchArticleException;
4298    
4299            /**
4300            * Returns all the journal articles where resourcePrimKey = &#63; and indexable = &#63; and status = any &#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 resourcePrimKey the resource prim key
4307            * @param indexable the indexable
4308            * @param statuses the statuses
4309            * @return the matching journal articles
4310            * @throws SystemException if a system exception occurred
4311            */
4312            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S(
4313                    long resourcePrimKey, boolean indexable, int[] statuses)
4314                    throws com.liferay.portal.kernel.exception.SystemException;
4315    
4316            /**
4317            * Returns a range of all the journal articles where resourcePrimKey = &#63; and indexable = &#63; and status = any &#63;.
4318            *
4319            * <p>
4320            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4321            * </p>
4322            *
4323            * @param resourcePrimKey the resource prim key
4324            * @param indexable the indexable
4325            * @param statuses the statuses
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            * @return the range of matching journal articles
4329            * @throws SystemException if a system exception occurred
4330            */
4331            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S(
4332                    long resourcePrimKey, boolean indexable, int[] statuses, int start,
4333                    int end) throws com.liferay.portal.kernel.exception.SystemException;
4334    
4335            /**
4336            * Returns an ordered range of all the journal articles where resourcePrimKey = &#63; and indexable = &#63; and status = any &#63;.
4337            *
4338            * <p>
4339            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4340            * </p>
4341            *
4342            * @param resourcePrimKey the resource prim key
4343            * @param indexable the indexable
4344            * @param statuses the statuses
4345            * @param start the lower bound of the range of journal articles
4346            * @param end the upper bound of the range of journal articles (not inclusive)
4347            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4348            * @return the ordered range of matching journal articles
4349            * @throws SystemException if a system exception occurred
4350            */
4351            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S(
4352                    long resourcePrimKey, boolean indexable, int[] statuses, int start,
4353                    int end,
4354                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4355                    throws com.liferay.portal.kernel.exception.SystemException;
4356    
4357            /**
4358            * Removes all the journal articles where resourcePrimKey = &#63; and indexable = &#63; and status = &#63; from the database.
4359            *
4360            * @param resourcePrimKey the resource prim key
4361            * @param indexable the indexable
4362            * @param status the status
4363            * @throws SystemException if a system exception occurred
4364            */
4365            public void removeByR_I_S(long resourcePrimKey, boolean indexable,
4366                    int status) throws com.liferay.portal.kernel.exception.SystemException;
4367    
4368            /**
4369            * Returns the number of journal articles where resourcePrimKey = &#63; and indexable = &#63; and status = &#63;.
4370            *
4371            * @param resourcePrimKey the resource prim key
4372            * @param indexable the indexable
4373            * @param status the status
4374            * @return the number of matching journal articles
4375            * @throws SystemException if a system exception occurred
4376            */
4377            public int countByR_I_S(long resourcePrimKey, boolean indexable, int status)
4378                    throws com.liferay.portal.kernel.exception.SystemException;
4379    
4380            /**
4381            * Returns the number of journal articles where resourcePrimKey = &#63; and indexable = &#63; and status = any &#63;.
4382            *
4383            * @param resourcePrimKey the resource prim key
4384            * @param indexable the indexable
4385            * @param statuses the statuses
4386            * @return the number of matching journal articles
4387            * @throws SystemException if a system exception occurred
4388            */
4389            public int countByR_I_S(long resourcePrimKey, boolean indexable,
4390                    int[] statuses)
4391                    throws com.liferay.portal.kernel.exception.SystemException;
4392    
4393            /**
4394            * Returns all the journal articles where groupId = &#63; and userId = &#63; and classNameId = &#63;.
4395            *
4396            * @param groupId the group ID
4397            * @param userId the user ID
4398            * @param classNameId the class name ID
4399            * @return the matching journal articles
4400            * @throws SystemException if a system exception occurred
4401            */
4402            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C(
4403                    long groupId, long userId, long classNameId)
4404                    throws com.liferay.portal.kernel.exception.SystemException;
4405    
4406            /**
4407            * Returns a range of all the journal articles where groupId = &#63; and userId = &#63; and classNameId = &#63;.
4408            *
4409            * <p>
4410            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4411            * </p>
4412            *
4413            * @param groupId the group ID
4414            * @param userId the user ID
4415            * @param classNameId the class name ID
4416            * @param start the lower bound of the range of journal articles
4417            * @param end the upper bound of the range of journal articles (not inclusive)
4418            * @return the range of matching journal articles
4419            * @throws SystemException if a system exception occurred
4420            */
4421            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C(
4422                    long groupId, long userId, long classNameId, int start, int end)
4423                    throws com.liferay.portal.kernel.exception.SystemException;
4424    
4425            /**
4426            * Returns an ordered range of all the journal articles where groupId = &#63; and userId = &#63; and classNameId = &#63;.
4427            *
4428            * <p>
4429            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4430            * </p>
4431            *
4432            * @param groupId the group ID
4433            * @param userId the user ID
4434            * @param classNameId the class name ID
4435            * @param start the lower bound of the range of journal articles
4436            * @param end the upper bound of the range of journal articles (not inclusive)
4437            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4438            * @return the ordered range of matching journal articles
4439            * @throws SystemException if a system exception occurred
4440            */
4441            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C(
4442                    long groupId, long userId, long classNameId, int start, int end,
4443                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4444                    throws com.liferay.portal.kernel.exception.SystemException;
4445    
4446            /**
4447            * Returns the first journal article in the ordered set where groupId = &#63; and userId = &#63; and classNameId = &#63;.
4448            *
4449            * @param groupId the group ID
4450            * @param userId the user ID
4451            * @param classNameId the class name ID
4452            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4453            * @return the first matching journal article
4454            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4455            * @throws SystemException if a system exception occurred
4456            */
4457            public com.liferay.portlet.journal.model.JournalArticle findByG_U_C_First(
4458                    long groupId, long userId, long classNameId,
4459                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4460                    throws com.liferay.portal.kernel.exception.SystemException,
4461                            com.liferay.portlet.journal.NoSuchArticleException;
4462    
4463            /**
4464            * Returns the first journal article in the ordered set where groupId = &#63; and userId = &#63; and classNameId = &#63;.
4465            *
4466            * @param groupId the group ID
4467            * @param userId the user ID
4468            * @param classNameId the class name ID
4469            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4470            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
4471            * @throws SystemException if a system exception occurred
4472            */
4473            public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_C_First(
4474                    long groupId, long userId, long classNameId,
4475                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4476                    throws com.liferay.portal.kernel.exception.SystemException;
4477    
4478            /**
4479            * Returns the last journal article in the ordered set where groupId = &#63; and userId = &#63; and classNameId = &#63;.
4480            *
4481            * @param groupId the group ID
4482            * @param userId the user ID
4483            * @param classNameId the class name ID
4484            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4485            * @return the last matching journal article
4486            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4487            * @throws SystemException if a system exception occurred
4488            */
4489            public com.liferay.portlet.journal.model.JournalArticle findByG_U_C_Last(
4490                    long groupId, long userId, long classNameId,
4491                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4492                    throws com.liferay.portal.kernel.exception.SystemException,
4493                            com.liferay.portlet.journal.NoSuchArticleException;
4494    
4495            /**
4496            * Returns the last journal article in the ordered set where groupId = &#63; and userId = &#63; and classNameId = &#63;.
4497            *
4498            * @param groupId the group ID
4499            * @param userId the user ID
4500            * @param classNameId the class name ID
4501            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4502            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
4503            * @throws SystemException if a system exception occurred
4504            */
4505            public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_C_Last(
4506                    long groupId, long userId, long classNameId,
4507                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4508                    throws com.liferay.portal.kernel.exception.SystemException;
4509    
4510            /**
4511            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and userId = &#63; and classNameId = &#63;.
4512            *
4513            * @param id the primary key of the current journal article
4514            * @param groupId the group ID
4515            * @param userId the user ID
4516            * @param classNameId the class name ID
4517            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4518            * @return the previous, current, and next journal article
4519            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
4520            * @throws SystemException if a system exception occurred
4521            */
4522            public com.liferay.portlet.journal.model.JournalArticle[] findByG_U_C_PrevAndNext(
4523                    long id, long groupId, long userId, long classNameId,
4524                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4525                    throws com.liferay.portal.kernel.exception.SystemException,
4526                            com.liferay.portlet.journal.NoSuchArticleException;
4527    
4528            /**
4529            * Returns all the journal articles that the user has permission to view where groupId = &#63; and userId = &#63; and classNameId = &#63;.
4530            *
4531            * @param groupId the group ID
4532            * @param userId the user ID
4533            * @param classNameId the class name ID
4534            * @return the matching journal articles that the user has permission to view
4535            * @throws SystemException if a system exception occurred
4536            */
4537            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C(
4538                    long groupId, long userId, long classNameId)
4539                    throws com.liferay.portal.kernel.exception.SystemException;
4540    
4541            /**
4542            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and userId = &#63; and classNameId = &#63;.
4543            *
4544            * <p>
4545            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4546            * </p>
4547            *
4548            * @param groupId the group ID
4549            * @param userId the user ID
4550            * @param classNameId the class name ID
4551            * @param start the lower bound of the range of journal articles
4552            * @param end the upper bound of the range of journal articles (not inclusive)
4553            * @return the range of matching journal articles that the user has permission to view
4554            * @throws SystemException if a system exception occurred
4555            */
4556            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C(
4557                    long groupId, long userId, long classNameId, int start, int end)
4558                    throws com.liferay.portal.kernel.exception.SystemException;
4559    
4560            /**
4561            * 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;.
4562            *
4563            * <p>
4564            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4565            * </p>
4566            *
4567            * @param groupId the group ID
4568            * @param userId the user ID
4569            * @param classNameId the class name ID
4570            * @param start the lower bound of the range of journal articles
4571            * @param end the upper bound of the range of journal articles (not inclusive)
4572            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4573            * @return the ordered range of matching journal articles that the user has permission to view
4574            * @throws SystemException if a system exception occurred
4575            */
4576            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C(
4577                    long groupId, long userId, long classNameId, int start, int end,
4578                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4579                    throws com.liferay.portal.kernel.exception.SystemException;
4580    
4581            /**
4582            * 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;.
4583            *
4584            * @param id the primary key of the current journal article
4585            * @param groupId the group ID
4586            * @param userId the user ID
4587            * @param classNameId the class name ID
4588            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4589            * @return the previous, current, and next journal article
4590            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
4591            * @throws SystemException if a system exception occurred
4592            */
4593            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_U_C_PrevAndNext(
4594                    long id, long groupId, long userId, long classNameId,
4595                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4596                    throws com.liferay.portal.kernel.exception.SystemException,
4597                            com.liferay.portlet.journal.NoSuchArticleException;
4598    
4599            /**
4600            * Removes all the journal articles where groupId = &#63; and userId = &#63; and classNameId = &#63; from the database.
4601            *
4602            * @param groupId the group ID
4603            * @param userId the user ID
4604            * @param classNameId the class name ID
4605            * @throws SystemException if a system exception occurred
4606            */
4607            public void removeByG_U_C(long groupId, long userId, long classNameId)
4608                    throws com.liferay.portal.kernel.exception.SystemException;
4609    
4610            /**
4611            * Returns the number of journal articles where groupId = &#63; and userId = &#63; and classNameId = &#63;.
4612            *
4613            * @param groupId the group ID
4614            * @param userId the user ID
4615            * @param classNameId the class name ID
4616            * @return the number of matching journal articles
4617            * @throws SystemException if a system exception occurred
4618            */
4619            public int countByG_U_C(long groupId, long userId, long classNameId)
4620                    throws com.liferay.portal.kernel.exception.SystemException;
4621    
4622            /**
4623            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and userId = &#63; and classNameId = &#63;.
4624            *
4625            * @param groupId the group ID
4626            * @param userId the user ID
4627            * @param classNameId the class name ID
4628            * @return the number of matching journal articles that the user has permission to view
4629            * @throws SystemException if a system exception occurred
4630            */
4631            public int filterCountByG_U_C(long groupId, long userId, long classNameId)
4632                    throws com.liferay.portal.kernel.exception.SystemException;
4633    
4634            /**
4635            * Returns all the journal articles where groupId = &#63; and folderId = &#63; and status = &#63;.
4636            *
4637            * @param groupId the group ID
4638            * @param folderId the folder ID
4639            * @param status the status
4640            * @return the matching journal articles
4641            * @throws SystemException if a system exception occurred
4642            */
4643            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST(
4644                    long groupId, long folderId, int status)
4645                    throws com.liferay.portal.kernel.exception.SystemException;
4646    
4647            /**
4648            * Returns a range of all the journal articles where groupId = &#63; and folderId = &#63; and status = &#63;.
4649            *
4650            * <p>
4651            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4652            * </p>
4653            *
4654            * @param groupId the group ID
4655            * @param folderId the folder ID
4656            * @param status the status
4657            * @param start the lower bound of the range of journal articles
4658            * @param end the upper bound of the range of journal articles (not inclusive)
4659            * @return the range of matching journal articles
4660            * @throws SystemException if a system exception occurred
4661            */
4662            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST(
4663                    long groupId, long folderId, int status, int start, int end)
4664                    throws com.liferay.portal.kernel.exception.SystemException;
4665    
4666            /**
4667            * Returns an ordered range of all the journal articles where groupId = &#63; and folderId = &#63; and status = &#63;.
4668            *
4669            * <p>
4670            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4671            * </p>
4672            *
4673            * @param groupId the group ID
4674            * @param folderId the folder ID
4675            * @param status the status
4676            * @param start the lower bound of the range of journal articles
4677            * @param end the upper bound of the range of journal articles (not inclusive)
4678            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4679            * @return the ordered range of matching journal articles
4680            * @throws SystemException if a system exception occurred
4681            */
4682            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST(
4683                    long groupId, long folderId, int status, int start, int end,
4684                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4685                    throws com.liferay.portal.kernel.exception.SystemException;
4686    
4687            /**
4688            * Returns the first journal article in the ordered set where groupId = &#63; and folderId = &#63; and status = &#63;.
4689            *
4690            * @param groupId the group ID
4691            * @param folderId the folder ID
4692            * @param status the status
4693            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4694            * @return the first matching journal article
4695            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4696            * @throws SystemException if a system exception occurred
4697            */
4698            public com.liferay.portlet.journal.model.JournalArticle findByG_F_ST_First(
4699                    long groupId, long folderId, int status,
4700                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4701                    throws com.liferay.portal.kernel.exception.SystemException,
4702                            com.liferay.portlet.journal.NoSuchArticleException;
4703    
4704            /**
4705            * Returns the first journal article in the ordered set where groupId = &#63; and folderId = &#63; and status = &#63;.
4706            *
4707            * @param groupId the group ID
4708            * @param folderId the folder ID
4709            * @param status the status
4710            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4711            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
4712            * @throws SystemException if a system exception occurred
4713            */
4714            public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_ST_First(
4715                    long groupId, long folderId, int status,
4716                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4717                    throws com.liferay.portal.kernel.exception.SystemException;
4718    
4719            /**
4720            * Returns the last journal article in the ordered set where groupId = &#63; and folderId = &#63; and status = &#63;.
4721            *
4722            * @param groupId the group ID
4723            * @param folderId the folder ID
4724            * @param status the status
4725            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4726            * @return the last matching journal article
4727            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4728            * @throws SystemException if a system exception occurred
4729            */
4730            public com.liferay.portlet.journal.model.JournalArticle findByG_F_ST_Last(
4731                    long groupId, long folderId, int status,
4732                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4733                    throws com.liferay.portal.kernel.exception.SystemException,
4734                            com.liferay.portlet.journal.NoSuchArticleException;
4735    
4736            /**
4737            * Returns the last journal article in the ordered set where groupId = &#63; and folderId = &#63; and status = &#63;.
4738            *
4739            * @param groupId the group ID
4740            * @param folderId the folder ID
4741            * @param status the status
4742            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4743            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
4744            * @throws SystemException if a system exception occurred
4745            */
4746            public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_ST_Last(
4747                    long groupId, long folderId, int status,
4748                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4749                    throws com.liferay.portal.kernel.exception.SystemException;
4750    
4751            /**
4752            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and folderId = &#63; and status = &#63;.
4753            *
4754            * @param id the primary key of the current journal article
4755            * @param groupId the group ID
4756            * @param folderId the folder ID
4757            * @param status the status
4758            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4759            * @return the previous, current, and next journal article
4760            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
4761            * @throws SystemException if a system exception occurred
4762            */
4763            public com.liferay.portlet.journal.model.JournalArticle[] findByG_F_ST_PrevAndNext(
4764                    long id, long groupId, long folderId, int status,
4765                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4766                    throws com.liferay.portal.kernel.exception.SystemException,
4767                            com.liferay.portlet.journal.NoSuchArticleException;
4768    
4769            /**
4770            * Returns all the journal articles that the user has permission to view where groupId = &#63; and folderId = &#63; and status = &#63;.
4771            *
4772            * @param groupId the group ID
4773            * @param folderId the folder ID
4774            * @param status the status
4775            * @return the matching journal articles that the user has permission to view
4776            * @throws SystemException if a system exception occurred
4777            */
4778            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST(
4779                    long groupId, long folderId, int status)
4780                    throws com.liferay.portal.kernel.exception.SystemException;
4781    
4782            /**
4783            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and folderId = &#63; and status = &#63;.
4784            *
4785            * <p>
4786            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4787            * </p>
4788            *
4789            * @param groupId the group ID
4790            * @param folderId the folder ID
4791            * @param status the status
4792            * @param start the lower bound of the range of journal articles
4793            * @param end the upper bound of the range of journal articles (not inclusive)
4794            * @return the range of matching journal articles that the user has permission to view
4795            * @throws SystemException if a system exception occurred
4796            */
4797            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST(
4798                    long groupId, long folderId, int status, int start, int end)
4799                    throws com.liferay.portal.kernel.exception.SystemException;
4800    
4801            /**
4802            * 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;.
4803            *
4804            * <p>
4805            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4806            * </p>
4807            *
4808            * @param groupId the group ID
4809            * @param folderId the folder ID
4810            * @param status the status
4811            * @param start the lower bound of the range of journal articles
4812            * @param end the upper bound of the range of journal articles (not inclusive)
4813            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4814            * @return the ordered range of matching journal articles that the user has permission to view
4815            * @throws SystemException if a system exception occurred
4816            */
4817            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST(
4818                    long groupId, long folderId, int status, int start, int end,
4819                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4820                    throws com.liferay.portal.kernel.exception.SystemException;
4821    
4822            /**
4823            * 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;.
4824            *
4825            * @param id the primary key of the current journal article
4826            * @param groupId the group ID
4827            * @param folderId the folder ID
4828            * @param status the status
4829            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4830            * @return the previous, current, and next journal article
4831            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
4832            * @throws SystemException if a system exception occurred
4833            */
4834            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_F_ST_PrevAndNext(
4835                    long id, long groupId, long folderId, int status,
4836                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4837                    throws com.liferay.portal.kernel.exception.SystemException,
4838                            com.liferay.portlet.journal.NoSuchArticleException;
4839    
4840            /**
4841            * Returns all the journal articles that the user has permission to view where groupId = &#63; and folderId = &#63; and status = any &#63;.
4842            *
4843            * @param groupId the group ID
4844            * @param folderId the folder ID
4845            * @param statuses the statuses
4846            * @return the matching journal articles that the user has permission to view
4847            * @throws SystemException if a system exception occurred
4848            */
4849            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST(
4850                    long groupId, long folderId, int[] statuses)
4851                    throws com.liferay.portal.kernel.exception.SystemException;
4852    
4853            /**
4854            * 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;.
4855            *
4856            * <p>
4857            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4858            * </p>
4859            *
4860            * @param groupId the group ID
4861            * @param folderId the folder ID
4862            * @param statuses the statuses
4863            * @param start the lower bound of the range of journal articles
4864            * @param end the upper bound of the range of journal articles (not inclusive)
4865            * @return the range of matching journal articles that the user has permission to view
4866            * @throws SystemException if a system exception occurred
4867            */
4868            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST(
4869                    long groupId, long folderId, int[] statuses, int start, int end)
4870                    throws com.liferay.portal.kernel.exception.SystemException;
4871    
4872            /**
4873            * 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;.
4874            *
4875            * <p>
4876            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4877            * </p>
4878            *
4879            * @param groupId the group ID
4880            * @param folderId the folder ID
4881            * @param statuses the statuses
4882            * @param start the lower bound of the range of journal articles
4883            * @param end the upper bound of the range of journal articles (not inclusive)
4884            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4885            * @return the ordered range of matching journal articles that the user has permission to view
4886            * @throws SystemException if a system exception occurred
4887            */
4888            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST(
4889                    long groupId, long folderId, int[] statuses, int start, int end,
4890                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4891                    throws com.liferay.portal.kernel.exception.SystemException;
4892    
4893            /**
4894            * Returns all the journal articles where groupId = &#63; and folderId = &#63; and status = any &#63;.
4895            *
4896            * <p>
4897            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4898            * </p>
4899            *
4900            * @param groupId the group ID
4901            * @param folderId the folder ID
4902            * @param statuses the statuses
4903            * @return the matching journal articles
4904            * @throws SystemException if a system exception occurred
4905            */
4906            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST(
4907                    long groupId, long folderId, int[] statuses)
4908                    throws com.liferay.portal.kernel.exception.SystemException;
4909    
4910            /**
4911            * Returns a range of all the journal articles where groupId = &#63; and folderId = &#63; and status = any &#63;.
4912            *
4913            * <p>
4914            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4915            * </p>
4916            *
4917            * @param groupId the group ID
4918            * @param folderId the folder ID
4919            * @param statuses the statuses
4920            * @param start the lower bound of the range of journal articles
4921            * @param end the upper bound of the range of journal articles (not inclusive)
4922            * @return the range of matching journal articles
4923            * @throws SystemException if a system exception occurred
4924            */
4925            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST(
4926                    long groupId, long folderId, int[] statuses, int start, int end)
4927                    throws com.liferay.portal.kernel.exception.SystemException;
4928    
4929            /**
4930            * Returns an ordered range of all the journal articles where groupId = &#63; and folderId = &#63; and status = any &#63;.
4931            *
4932            * <p>
4933            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4934            * </p>
4935            *
4936            * @param groupId the group ID
4937            * @param folderId the folder ID
4938            * @param statuses the statuses
4939            * @param start the lower bound of the range of journal articles
4940            * @param end the upper bound of the range of journal articles (not inclusive)
4941            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4942            * @return the ordered range of matching journal articles
4943            * @throws SystemException if a system exception occurred
4944            */
4945            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST(
4946                    long groupId, long folderId, int[] statuses, int start, int end,
4947                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4948                    throws com.liferay.portal.kernel.exception.SystemException;
4949    
4950            /**
4951            * Removes all the journal articles where groupId = &#63; and folderId = &#63; and status = &#63; from the database.
4952            *
4953            * @param groupId the group ID
4954            * @param folderId the folder ID
4955            * @param status the status
4956            * @throws SystemException if a system exception occurred
4957            */
4958            public void removeByG_F_ST(long groupId, long folderId, int status)
4959                    throws com.liferay.portal.kernel.exception.SystemException;
4960    
4961            /**
4962            * Returns the number of journal articles where groupId = &#63; and folderId = &#63; and status = &#63;.
4963            *
4964            * @param groupId the group ID
4965            * @param folderId the folder ID
4966            * @param status the status
4967            * @return the number of matching journal articles
4968            * @throws SystemException if a system exception occurred
4969            */
4970            public int countByG_F_ST(long groupId, long folderId, int status)
4971                    throws com.liferay.portal.kernel.exception.SystemException;
4972    
4973            /**
4974            * Returns the number of journal articles where groupId = &#63; and folderId = &#63; and status = any &#63;.
4975            *
4976            * @param groupId the group ID
4977            * @param folderId the folder ID
4978            * @param statuses the statuses
4979            * @return the number of matching journal articles
4980            * @throws SystemException if a system exception occurred
4981            */
4982            public int countByG_F_ST(long groupId, long folderId, int[] statuses)
4983                    throws com.liferay.portal.kernel.exception.SystemException;
4984    
4985            /**
4986            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and folderId = &#63; and status = &#63;.
4987            *
4988            * @param groupId the group ID
4989            * @param folderId the folder ID
4990            * @param status the status
4991            * @return the number of matching journal articles that the user has permission to view
4992            * @throws SystemException if a system exception occurred
4993            */
4994            public int filterCountByG_F_ST(long groupId, long folderId, int status)
4995                    throws com.liferay.portal.kernel.exception.SystemException;
4996    
4997            /**
4998            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and folderId = &#63; and status = any &#63;.
4999            *
5000            * @param groupId the group ID
5001            * @param folderId the folder ID
5002            * @param statuses the statuses
5003            * @return the number of matching journal articles that the user has permission to view
5004            * @throws SystemException if a system exception occurred
5005            */
5006            public int filterCountByG_F_ST(long groupId, long folderId, int[] statuses)
5007                    throws com.liferay.portal.kernel.exception.SystemException;
5008    
5009            /**
5010            * Returns all the journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5011            *
5012            * @param groupId the group ID
5013            * @param classNameId the class name ID
5014            * @param classPK the class p k
5015            * @return the matching journal articles
5016            * @throws SystemException if a system exception occurred
5017            */
5018            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C(
5019                    long groupId, long classNameId, long classPK)
5020                    throws com.liferay.portal.kernel.exception.SystemException;
5021    
5022            /**
5023            * Returns a range of all the journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5024            *
5025            * <p>
5026            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5027            * </p>
5028            *
5029            * @param groupId the group ID
5030            * @param classNameId the class name ID
5031            * @param classPK the class p k
5032            * @param start the lower bound of the range of journal articles
5033            * @param end the upper bound of the range of journal articles (not inclusive)
5034            * @return the range of matching journal articles
5035            * @throws SystemException if a system exception occurred
5036            */
5037            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C(
5038                    long groupId, long classNameId, long classPK, int start, int end)
5039                    throws com.liferay.portal.kernel.exception.SystemException;
5040    
5041            /**
5042            * Returns an ordered range of all the journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5043            *
5044            * <p>
5045            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5046            * </p>
5047            *
5048            * @param groupId the group ID
5049            * @param classNameId the class name ID
5050            * @param classPK the class p k
5051            * @param start the lower bound of the range of journal articles
5052            * @param end the upper bound of the range of journal articles (not inclusive)
5053            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5054            * @return the ordered range of matching journal articles
5055            * @throws SystemException if a system exception occurred
5056            */
5057            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C(
5058                    long groupId, long classNameId, long classPK, int start, int end,
5059                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5060                    throws com.liferay.portal.kernel.exception.SystemException;
5061    
5062            /**
5063            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5064            *
5065            * @param groupId the group ID
5066            * @param classNameId the class name ID
5067            * @param classPK the class p k
5068            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5069            * @return the first matching journal article
5070            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5071            * @throws SystemException if a system exception occurred
5072            */
5073            public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_First(
5074                    long groupId, long classNameId, long classPK,
5075                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5076                    throws com.liferay.portal.kernel.exception.SystemException,
5077                            com.liferay.portlet.journal.NoSuchArticleException;
5078    
5079            /**
5080            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5081            *
5082            * @param groupId the group ID
5083            * @param classNameId the class name ID
5084            * @param classPK the class p k
5085            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5086            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
5087            * @throws SystemException if a system exception occurred
5088            */
5089            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_C_First(
5090                    long groupId, long classNameId, long classPK,
5091                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5092                    throws com.liferay.portal.kernel.exception.SystemException;
5093    
5094            /**
5095            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5096            *
5097            * @param groupId the group ID
5098            * @param classNameId the class name ID
5099            * @param classPK the class p k
5100            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5101            * @return the last matching journal article
5102            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5103            * @throws SystemException if a system exception occurred
5104            */
5105            public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_Last(
5106                    long groupId, long classNameId, long classPK,
5107                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5108                    throws com.liferay.portal.kernel.exception.SystemException,
5109                            com.liferay.portlet.journal.NoSuchArticleException;
5110    
5111            /**
5112            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5113            *
5114            * @param groupId the group ID
5115            * @param classNameId the class name ID
5116            * @param classPK the class p k
5117            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5118            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
5119            * @throws SystemException if a system exception occurred
5120            */
5121            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_C_Last(
5122                    long groupId, long classNameId, long classPK,
5123                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5124                    throws com.liferay.portal.kernel.exception.SystemException;
5125    
5126            /**
5127            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5128            *
5129            * @param id the primary key of the current journal article
5130            * @param groupId the group ID
5131            * @param classNameId the class name ID
5132            * @param classPK the class p k
5133            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5134            * @return the previous, current, and next journal article
5135            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
5136            * @throws SystemException if a system exception occurred
5137            */
5138            public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_C_PrevAndNext(
5139                    long id, long groupId, long classNameId, long classPK,
5140                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5141                    throws com.liferay.portal.kernel.exception.SystemException,
5142                            com.liferay.portlet.journal.NoSuchArticleException;
5143    
5144            /**
5145            * Returns all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5146            *
5147            * @param groupId the group ID
5148            * @param classNameId the class name ID
5149            * @param classPK the class p k
5150            * @return the matching journal articles that the user has permission to view
5151            * @throws SystemException if a system exception occurred
5152            */
5153            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C(
5154                    long groupId, long classNameId, long classPK)
5155                    throws com.liferay.portal.kernel.exception.SystemException;
5156    
5157            /**
5158            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5159            *
5160            * <p>
5161            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5162            * </p>
5163            *
5164            * @param groupId the group ID
5165            * @param classNameId the class name ID
5166            * @param classPK the class p k
5167            * @param start the lower bound of the range of journal articles
5168            * @param end the upper bound of the range of journal articles (not inclusive)
5169            * @return the range of matching journal articles that the user has permission to view
5170            * @throws SystemException if a system exception occurred
5171            */
5172            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C(
5173                    long groupId, long classNameId, long classPK, int start, int end)
5174                    throws com.liferay.portal.kernel.exception.SystemException;
5175    
5176            /**
5177            * 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;.
5178            *
5179            * <p>
5180            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5181            * </p>
5182            *
5183            * @param groupId the group ID
5184            * @param classNameId the class name ID
5185            * @param classPK the class p k
5186            * @param start the lower bound of the range of journal articles
5187            * @param end the upper bound of the range of journal articles (not inclusive)
5188            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5189            * @return the ordered range of matching journal articles that the user has permission to view
5190            * @throws SystemException if a system exception occurred
5191            */
5192            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C(
5193                    long groupId, long classNameId, long classPK, int start, int end,
5194                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5195                    throws com.liferay.portal.kernel.exception.SystemException;
5196    
5197            /**
5198            * 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;.
5199            *
5200            * @param id the primary key of the current journal article
5201            * @param groupId the group ID
5202            * @param classNameId the class name ID
5203            * @param classPK the class p k
5204            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5205            * @return the previous, current, and next journal article
5206            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
5207            * @throws SystemException if a system exception occurred
5208            */
5209            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_C_PrevAndNext(
5210                    long id, long groupId, long classNameId, long classPK,
5211                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5212                    throws com.liferay.portal.kernel.exception.SystemException,
5213                            com.liferay.portlet.journal.NoSuchArticleException;
5214    
5215            /**
5216            * Removes all the journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63; from the database.
5217            *
5218            * @param groupId the group ID
5219            * @param classNameId the class name ID
5220            * @param classPK the class p k
5221            * @throws SystemException if a system exception occurred
5222            */
5223            public void removeByG_C_C(long groupId, long classNameId, long classPK)
5224                    throws com.liferay.portal.kernel.exception.SystemException;
5225    
5226            /**
5227            * Returns the number of journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5228            *
5229            * @param groupId the group ID
5230            * @param classNameId the class name ID
5231            * @param classPK the class p k
5232            * @return the number of matching journal articles
5233            * @throws SystemException if a system exception occurred
5234            */
5235            public int countByG_C_C(long groupId, long classNameId, long classPK)
5236                    throws com.liferay.portal.kernel.exception.SystemException;
5237    
5238            /**
5239            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
5240            *
5241            * @param groupId the group ID
5242            * @param classNameId the class name ID
5243            * @param classPK the class p k
5244            * @return the number of matching journal articles that the user has permission to view
5245            * @throws SystemException if a system exception occurred
5246            */
5247            public int filterCountByG_C_C(long groupId, long classNameId, long classPK)
5248                    throws com.liferay.portal.kernel.exception.SystemException;
5249    
5250            /**
5251            * 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.
5252            *
5253            * @param groupId the group ID
5254            * @param classNameId the class name ID
5255            * @param structureId the structure ID
5256            * @return the matching journal article
5257            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5258            * @throws SystemException if a system exception occurred
5259            */
5260            public com.liferay.portlet.journal.model.JournalArticle findByG_C_S(
5261                    long groupId, long classNameId, java.lang.String structureId)
5262                    throws com.liferay.portal.kernel.exception.SystemException,
5263                            com.liferay.portlet.journal.NoSuchArticleException;
5264    
5265            /**
5266            * 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.
5267            *
5268            * @param groupId the group ID
5269            * @param classNameId the class name ID
5270            * @param structureId the structure ID
5271            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
5272            * @throws SystemException if a system exception occurred
5273            */
5274            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_S(
5275                    long groupId, long classNameId, java.lang.String structureId)
5276                    throws com.liferay.portal.kernel.exception.SystemException;
5277    
5278            /**
5279            * 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.
5280            *
5281            * @param groupId the group ID
5282            * @param classNameId the class name ID
5283            * @param structureId the structure ID
5284            * @param retrieveFromCache whether to use the finder cache
5285            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
5286            * @throws SystemException if a system exception occurred
5287            */
5288            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_S(
5289                    long groupId, long classNameId, java.lang.String structureId,
5290                    boolean retrieveFromCache)
5291                    throws com.liferay.portal.kernel.exception.SystemException;
5292    
5293            /**
5294            * Removes the journal article where groupId = &#63; and classNameId = &#63; and structureId = &#63; from the database.
5295            *
5296            * @param groupId the group ID
5297            * @param classNameId the class name ID
5298            * @param structureId the structure ID
5299            * @return the journal article that was removed
5300            * @throws SystemException if a system exception occurred
5301            */
5302            public com.liferay.portlet.journal.model.JournalArticle removeByG_C_S(
5303                    long groupId, long classNameId, java.lang.String structureId)
5304                    throws com.liferay.portal.kernel.exception.SystemException,
5305                            com.liferay.portlet.journal.NoSuchArticleException;
5306    
5307            /**
5308            * Returns the number of journal articles where groupId = &#63; and classNameId = &#63; and structureId = &#63;.
5309            *
5310            * @param groupId the group ID
5311            * @param classNameId the class name ID
5312            * @param structureId the structure ID
5313            * @return the number of matching journal articles
5314            * @throws SystemException if a system exception occurred
5315            */
5316            public int countByG_C_S(long groupId, long classNameId,
5317                    java.lang.String structureId)
5318                    throws com.liferay.portal.kernel.exception.SystemException;
5319    
5320            /**
5321            * Returns all the journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
5322            *
5323            * @param groupId the group ID
5324            * @param classNameId the class name ID
5325            * @param templateId the template ID
5326            * @return the matching journal articles
5327            * @throws SystemException if a system exception occurred
5328            */
5329            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T(
5330                    long groupId, long classNameId, java.lang.String templateId)
5331                    throws com.liferay.portal.kernel.exception.SystemException;
5332    
5333            /**
5334            * Returns a range of all the journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
5335            *
5336            * <p>
5337            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5338            * </p>
5339            *
5340            * @param groupId the group ID
5341            * @param classNameId the class name ID
5342            * @param templateId the template ID
5343            * @param start the lower bound of the range of journal articles
5344            * @param end the upper bound of the range of journal articles (not inclusive)
5345            * @return the range of matching journal articles
5346            * @throws SystemException if a system exception occurred
5347            */
5348            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T(
5349                    long groupId, long classNameId, java.lang.String templateId, int start,
5350                    int end) throws com.liferay.portal.kernel.exception.SystemException;
5351    
5352            /**
5353            * Returns an ordered range of all the journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
5354            *
5355            * <p>
5356            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5357            * </p>
5358            *
5359            * @param groupId the group ID
5360            * @param classNameId the class name ID
5361            * @param templateId the template ID
5362            * @param start the lower bound of the range of journal articles
5363            * @param end the upper bound of the range of journal articles (not inclusive)
5364            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5365            * @return the ordered range of matching journal articles
5366            * @throws SystemException if a system exception occurred
5367            */
5368            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T(
5369                    long groupId, long classNameId, java.lang.String templateId, int start,
5370                    int end,
5371                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5372                    throws com.liferay.portal.kernel.exception.SystemException;
5373    
5374            /**
5375            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
5376            *
5377            * @param groupId the group ID
5378            * @param classNameId the class name ID
5379            * @param templateId the template ID
5380            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5381            * @return the first matching journal article
5382            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5383            * @throws SystemException if a system exception occurred
5384            */
5385            public com.liferay.portlet.journal.model.JournalArticle findByG_C_T_First(
5386                    long groupId, long classNameId, java.lang.String templateId,
5387                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5388                    throws com.liferay.portal.kernel.exception.SystemException,
5389                            com.liferay.portlet.journal.NoSuchArticleException;
5390    
5391            /**
5392            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
5393            *
5394            * @param groupId the group ID
5395            * @param classNameId the class name ID
5396            * @param templateId the template ID
5397            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5398            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
5399            * @throws SystemException if a system exception occurred
5400            */
5401            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_T_First(
5402                    long groupId, long classNameId, java.lang.String templateId,
5403                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5404                    throws com.liferay.portal.kernel.exception.SystemException;
5405    
5406            /**
5407            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
5408            *
5409            * @param groupId the group ID
5410            * @param classNameId the class name ID
5411            * @param templateId the template ID
5412            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5413            * @return the last matching journal article
5414            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5415            * @throws SystemException if a system exception occurred
5416            */
5417            public com.liferay.portlet.journal.model.JournalArticle findByG_C_T_Last(
5418                    long groupId, long classNameId, java.lang.String templateId,
5419                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5420                    throws com.liferay.portal.kernel.exception.SystemException,
5421                            com.liferay.portlet.journal.NoSuchArticleException;
5422    
5423            /**
5424            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
5425            *
5426            * @param groupId the group ID
5427            * @param classNameId the class name ID
5428            * @param templateId the template ID
5429            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5430            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
5431            * @throws SystemException if a system exception occurred
5432            */
5433            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_T_Last(
5434                    long groupId, long classNameId, java.lang.String templateId,
5435                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5436                    throws com.liferay.portal.kernel.exception.SystemException;
5437    
5438            /**
5439            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
5440            *
5441            * @param id the primary key of the current journal article
5442            * @param groupId the group ID
5443            * @param classNameId the class name ID
5444            * @param templateId the template ID
5445            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5446            * @return the previous, current, and next journal article
5447            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
5448            * @throws SystemException if a system exception occurred
5449            */
5450            public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_T_PrevAndNext(
5451                    long id, long groupId, long classNameId, java.lang.String templateId,
5452                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5453                    throws com.liferay.portal.kernel.exception.SystemException,
5454                            com.liferay.portlet.journal.NoSuchArticleException;
5455    
5456            /**
5457            * Returns all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
5458            *
5459            * @param groupId the group ID
5460            * @param classNameId the class name ID
5461            * @param templateId the template ID
5462            * @return the matching journal articles that the user has permission to view
5463            * @throws SystemException if a system exception occurred
5464            */
5465            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T(
5466                    long groupId, long classNameId, java.lang.String templateId)
5467                    throws com.liferay.portal.kernel.exception.SystemException;
5468    
5469            /**
5470            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
5471            *
5472            * <p>
5473            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5474            * </p>
5475            *
5476            * @param groupId the group ID
5477            * @param classNameId the class name ID
5478            * @param templateId the template ID
5479            * @param start the lower bound of the range of journal articles
5480            * @param end the upper bound of the range of journal articles (not inclusive)
5481            * @return the range of matching journal articles that the user has permission to view
5482            * @throws SystemException if a system exception occurred
5483            */
5484            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T(
5485                    long groupId, long classNameId, java.lang.String templateId, int start,
5486                    int end) throws com.liferay.portal.kernel.exception.SystemException;
5487    
5488            /**
5489            * 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;.
5490            *
5491            * <p>
5492            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5493            * </p>
5494            *
5495            * @param groupId the group ID
5496            * @param classNameId the class name ID
5497            * @param templateId the template ID
5498            * @param start the lower bound of the range of journal articles
5499            * @param end the upper bound of the range of journal articles (not inclusive)
5500            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5501            * @return the ordered range of matching journal articles that the user has permission to view
5502            * @throws SystemException if a system exception occurred
5503            */
5504            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T(
5505                    long groupId, long classNameId, java.lang.String templateId, int start,
5506                    int end,
5507                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5508                    throws com.liferay.portal.kernel.exception.SystemException;
5509    
5510            /**
5511            * 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;.
5512            *
5513            * @param id the primary key of the current journal article
5514            * @param groupId the group ID
5515            * @param classNameId the class name ID
5516            * @param templateId the template ID
5517            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5518            * @return the previous, current, and next journal article
5519            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
5520            * @throws SystemException if a system exception occurred
5521            */
5522            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_T_PrevAndNext(
5523                    long id, long groupId, long classNameId, java.lang.String templateId,
5524                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5525                    throws com.liferay.portal.kernel.exception.SystemException,
5526                            com.liferay.portlet.journal.NoSuchArticleException;
5527    
5528            /**
5529            * Removes all the journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63; from the database.
5530            *
5531            * @param groupId the group ID
5532            * @param classNameId the class name ID
5533            * @param templateId the template ID
5534            * @throws SystemException if a system exception occurred
5535            */
5536            public void removeByG_C_T(long groupId, long classNameId,
5537                    java.lang.String templateId)
5538                    throws com.liferay.portal.kernel.exception.SystemException;
5539    
5540            /**
5541            * Returns the number of journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
5542            *
5543            * @param groupId the group ID
5544            * @param classNameId the class name ID
5545            * @param templateId the template ID
5546            * @return the number of matching journal articles
5547            * @throws SystemException if a system exception occurred
5548            */
5549            public int countByG_C_T(long groupId, long classNameId,
5550                    java.lang.String templateId)
5551                    throws com.liferay.portal.kernel.exception.SystemException;
5552    
5553            /**
5554            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
5555            *
5556            * @param groupId the group ID
5557            * @param classNameId the class name ID
5558            * @param templateId the template ID
5559            * @return the number of matching journal articles that the user has permission to view
5560            * @throws SystemException if a system exception occurred
5561            */
5562            public int filterCountByG_C_T(long groupId, long classNameId,
5563                    java.lang.String templateId)
5564                    throws com.liferay.portal.kernel.exception.SystemException;
5565    
5566            /**
5567            * Returns all the journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
5568            *
5569            * @param groupId the group ID
5570            * @param classNameId the class name ID
5571            * @param layoutUuid the layout uuid
5572            * @return the matching journal articles
5573            * @throws SystemException if a system exception occurred
5574            */
5575            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L(
5576                    long groupId, long classNameId, java.lang.String layoutUuid)
5577                    throws com.liferay.portal.kernel.exception.SystemException;
5578    
5579            /**
5580            * Returns a range of all the journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
5581            *
5582            * <p>
5583            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5584            * </p>
5585            *
5586            * @param groupId the group ID
5587            * @param classNameId the class name ID
5588            * @param layoutUuid the layout uuid
5589            * @param start the lower bound of the range of journal articles
5590            * @param end the upper bound of the range of journal articles (not inclusive)
5591            * @return the range of matching journal articles
5592            * @throws SystemException if a system exception occurred
5593            */
5594            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L(
5595                    long groupId, long classNameId, java.lang.String layoutUuid, int start,
5596                    int end) throws com.liferay.portal.kernel.exception.SystemException;
5597    
5598            /**
5599            * Returns an ordered range of all the journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
5600            *
5601            * <p>
5602            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5603            * </p>
5604            *
5605            * @param groupId the group ID
5606            * @param classNameId the class name ID
5607            * @param layoutUuid the layout uuid
5608            * @param start the lower bound of the range of journal articles
5609            * @param end the upper bound of the range of journal articles (not inclusive)
5610            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5611            * @return the ordered range of matching journal articles
5612            * @throws SystemException if a system exception occurred
5613            */
5614            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L(
5615                    long groupId, long classNameId, java.lang.String layoutUuid, int start,
5616                    int end,
5617                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5618                    throws com.liferay.portal.kernel.exception.SystemException;
5619    
5620            /**
5621            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
5622            *
5623            * @param groupId the group ID
5624            * @param classNameId the class name ID
5625            * @param layoutUuid the layout uuid
5626            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5627            * @return the first matching journal article
5628            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5629            * @throws SystemException if a system exception occurred
5630            */
5631            public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_First(
5632                    long groupId, long classNameId, java.lang.String layoutUuid,
5633                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5634                    throws com.liferay.portal.kernel.exception.SystemException,
5635                            com.liferay.portlet.journal.NoSuchArticleException;
5636    
5637            /**
5638            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
5639            *
5640            * @param groupId the group ID
5641            * @param classNameId the class name ID
5642            * @param layoutUuid the layout uuid
5643            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5644            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
5645            * @throws SystemException if a system exception occurred
5646            */
5647            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_L_First(
5648                    long groupId, long classNameId, java.lang.String layoutUuid,
5649                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5650                    throws com.liferay.portal.kernel.exception.SystemException;
5651    
5652            /**
5653            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
5654            *
5655            * @param groupId the group ID
5656            * @param classNameId the class name ID
5657            * @param layoutUuid the layout uuid
5658            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5659            * @return the last matching journal article
5660            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5661            * @throws SystemException if a system exception occurred
5662            */
5663            public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_Last(
5664                    long groupId, long classNameId, java.lang.String layoutUuid,
5665                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5666                    throws com.liferay.portal.kernel.exception.SystemException,
5667                            com.liferay.portlet.journal.NoSuchArticleException;
5668    
5669            /**
5670            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
5671            *
5672            * @param groupId the group ID
5673            * @param classNameId the class name ID
5674            * @param layoutUuid the layout uuid
5675            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5676            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
5677            * @throws SystemException if a system exception occurred
5678            */
5679            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_L_Last(
5680                    long groupId, long classNameId, java.lang.String layoutUuid,
5681                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5682                    throws com.liferay.portal.kernel.exception.SystemException;
5683    
5684            /**
5685            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
5686            *
5687            * @param id the primary key of the current journal article
5688            * @param groupId the group ID
5689            * @param classNameId the class name ID
5690            * @param layoutUuid the layout uuid
5691            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5692            * @return the previous, current, and next journal article
5693            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
5694            * @throws SystemException if a system exception occurred
5695            */
5696            public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_L_PrevAndNext(
5697                    long id, long groupId, long classNameId, java.lang.String layoutUuid,
5698                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5699                    throws com.liferay.portal.kernel.exception.SystemException,
5700                            com.liferay.portlet.journal.NoSuchArticleException;
5701    
5702            /**
5703            * Returns all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
5704            *
5705            * @param groupId the group ID
5706            * @param classNameId the class name ID
5707            * @param layoutUuid the layout uuid
5708            * @return the matching journal articles that the user has permission to view
5709            * @throws SystemException if a system exception occurred
5710            */
5711            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L(
5712                    long groupId, long classNameId, java.lang.String layoutUuid)
5713                    throws com.liferay.portal.kernel.exception.SystemException;
5714    
5715            /**
5716            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
5717            *
5718            * <p>
5719            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5720            * </p>
5721            *
5722            * @param groupId the group ID
5723            * @param classNameId the class name ID
5724            * @param layoutUuid the layout uuid
5725            * @param start the lower bound of the range of journal articles
5726            * @param end the upper bound of the range of journal articles (not inclusive)
5727            * @return the range of matching journal articles that the user has permission to view
5728            * @throws SystemException if a system exception occurred
5729            */
5730            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L(
5731                    long groupId, long classNameId, java.lang.String layoutUuid, int start,
5732                    int end) throws com.liferay.portal.kernel.exception.SystemException;
5733    
5734            /**
5735            * 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;.
5736            *
5737            * <p>
5738            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5739            * </p>
5740            *
5741            * @param groupId the group ID
5742            * @param classNameId the class name ID
5743            * @param layoutUuid the layout uuid
5744            * @param start the lower bound of the range of journal articles
5745            * @param end the upper bound of the range of journal articles (not inclusive)
5746            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5747            * @return the ordered range of matching journal articles that the user has permission to view
5748            * @throws SystemException if a system exception occurred
5749            */
5750            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L(
5751                    long groupId, long classNameId, java.lang.String layoutUuid, int start,
5752                    int end,
5753                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5754                    throws com.liferay.portal.kernel.exception.SystemException;
5755    
5756            /**
5757            * 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;.
5758            *
5759            * @param id the primary key of the current journal article
5760            * @param groupId the group ID
5761            * @param classNameId the class name ID
5762            * @param layoutUuid the layout uuid
5763            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5764            * @return the previous, current, and next journal article
5765            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
5766            * @throws SystemException if a system exception occurred
5767            */
5768            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_L_PrevAndNext(
5769                    long id, long groupId, long classNameId, java.lang.String layoutUuid,
5770                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5771                    throws com.liferay.portal.kernel.exception.SystemException,
5772                            com.liferay.portlet.journal.NoSuchArticleException;
5773    
5774            /**
5775            * Removes all the journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63; from the database.
5776            *
5777            * @param groupId the group ID
5778            * @param classNameId the class name ID
5779            * @param layoutUuid the layout uuid
5780            * @throws SystemException if a system exception occurred
5781            */
5782            public void removeByG_C_L(long groupId, long classNameId,
5783                    java.lang.String layoutUuid)
5784                    throws com.liferay.portal.kernel.exception.SystemException;
5785    
5786            /**
5787            * Returns the number of journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
5788            *
5789            * @param groupId the group ID
5790            * @param classNameId the class name ID
5791            * @param layoutUuid the layout uuid
5792            * @return the number of matching journal articles
5793            * @throws SystemException if a system exception occurred
5794            */
5795            public int countByG_C_L(long groupId, long classNameId,
5796                    java.lang.String layoutUuid)
5797                    throws com.liferay.portal.kernel.exception.SystemException;
5798    
5799            /**
5800            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
5801            *
5802            * @param groupId the group ID
5803            * @param classNameId the class name ID
5804            * @param layoutUuid the layout uuid
5805            * @return the number of matching journal articles that the user has permission to view
5806            * @throws SystemException if a system exception occurred
5807            */
5808            public int filterCountByG_C_L(long groupId, long classNameId,
5809                    java.lang.String layoutUuid)
5810                    throws com.liferay.portal.kernel.exception.SystemException;
5811    
5812            /**
5813            * 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.
5814            *
5815            * @param groupId the group ID
5816            * @param articleId the article ID
5817            * @param version the version
5818            * @return the matching journal article
5819            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5820            * @throws SystemException if a system exception occurred
5821            */
5822            public com.liferay.portlet.journal.model.JournalArticle findByG_A_V(
5823                    long groupId, java.lang.String articleId, double version)
5824                    throws com.liferay.portal.kernel.exception.SystemException,
5825                            com.liferay.portlet.journal.NoSuchArticleException;
5826    
5827            /**
5828            * 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.
5829            *
5830            * @param groupId the group ID
5831            * @param articleId the article ID
5832            * @param version the version
5833            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
5834            * @throws SystemException if a system exception occurred
5835            */
5836            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V(
5837                    long groupId, java.lang.String articleId, double version)
5838                    throws com.liferay.portal.kernel.exception.SystemException;
5839    
5840            /**
5841            * 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.
5842            *
5843            * @param groupId the group ID
5844            * @param articleId the article ID
5845            * @param version the version
5846            * @param retrieveFromCache whether to use the finder cache
5847            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
5848            * @throws SystemException if a system exception occurred
5849            */
5850            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V(
5851                    long groupId, java.lang.String articleId, double version,
5852                    boolean retrieveFromCache)
5853                    throws com.liferay.portal.kernel.exception.SystemException;
5854    
5855            /**
5856            * Removes the journal article where groupId = &#63; and articleId = &#63; and version = &#63; from the database.
5857            *
5858            * @param groupId the group ID
5859            * @param articleId the article ID
5860            * @param version the version
5861            * @return the journal article that was removed
5862            * @throws SystemException if a system exception occurred
5863            */
5864            public com.liferay.portlet.journal.model.JournalArticle removeByG_A_V(
5865                    long groupId, java.lang.String articleId, double version)
5866                    throws com.liferay.portal.kernel.exception.SystemException,
5867                            com.liferay.portlet.journal.NoSuchArticleException;
5868    
5869            /**
5870            * Returns the number of journal articles where groupId = &#63; and articleId = &#63; and version = &#63;.
5871            *
5872            * @param groupId the group ID
5873            * @param articleId the article ID
5874            * @param version the version
5875            * @return the number of matching journal articles
5876            * @throws SystemException if a system exception occurred
5877            */
5878            public int countByG_A_V(long groupId, java.lang.String articleId,
5879                    double version)
5880                    throws com.liferay.portal.kernel.exception.SystemException;
5881    
5882            /**
5883            * Returns all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
5884            *
5885            * @param groupId the group ID
5886            * @param articleId the article ID
5887            * @param status the status
5888            * @return the matching journal articles
5889            * @throws SystemException if a system exception occurred
5890            */
5891            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
5892                    long groupId, java.lang.String articleId, int status)
5893                    throws com.liferay.portal.kernel.exception.SystemException;
5894    
5895            /**
5896            * Returns a range of all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
5897            *
5898            * <p>
5899            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5900            * </p>
5901            *
5902            * @param groupId the group ID
5903            * @param articleId the article ID
5904            * @param status the status
5905            * @param start the lower bound of the range of journal articles
5906            * @param end the upper bound of the range of journal articles (not inclusive)
5907            * @return the range of matching journal articles
5908            * @throws SystemException if a system exception occurred
5909            */
5910            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
5911                    long groupId, java.lang.String articleId, int status, int start, int end)
5912                    throws com.liferay.portal.kernel.exception.SystemException;
5913    
5914            /**
5915            * Returns an ordered range of all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
5916            *
5917            * <p>
5918            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5919            * </p>
5920            *
5921            * @param groupId the group ID
5922            * @param articleId the article ID
5923            * @param status the status
5924            * @param start the lower bound of the range of journal articles
5925            * @param end the upper bound of the range of journal articles (not inclusive)
5926            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5927            * @return the ordered range of matching journal articles
5928            * @throws SystemException if a system exception occurred
5929            */
5930            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
5931                    long groupId, java.lang.String articleId, int status, int start,
5932                    int end,
5933                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5934                    throws com.liferay.portal.kernel.exception.SystemException;
5935    
5936            /**
5937            * Returns the first journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
5938            *
5939            * @param groupId the group ID
5940            * @param articleId the article ID
5941            * @param status the status
5942            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5943            * @return the first matching journal article
5944            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5945            * @throws SystemException if a system exception occurred
5946            */
5947            public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_First(
5948                    long groupId, java.lang.String articleId, int status,
5949                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5950                    throws com.liferay.portal.kernel.exception.SystemException,
5951                            com.liferay.portlet.journal.NoSuchArticleException;
5952    
5953            /**
5954            * Returns the first journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
5955            *
5956            * @param groupId the group ID
5957            * @param articleId the article ID
5958            * @param status the status
5959            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5960            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
5961            * @throws SystemException if a system exception occurred
5962            */
5963            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_ST_First(
5964                    long groupId, java.lang.String articleId, int status,
5965                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5966                    throws com.liferay.portal.kernel.exception.SystemException;
5967    
5968            /**
5969            * Returns the last journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
5970            *
5971            * @param groupId the group ID
5972            * @param articleId the article ID
5973            * @param status the status
5974            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5975            * @return the last matching journal article
5976            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5977            * @throws SystemException if a system exception occurred
5978            */
5979            public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_Last(
5980                    long groupId, java.lang.String articleId, int status,
5981                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5982                    throws com.liferay.portal.kernel.exception.SystemException,
5983                            com.liferay.portlet.journal.NoSuchArticleException;
5984    
5985            /**
5986            * Returns the last journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
5987            *
5988            * @param groupId the group ID
5989            * @param articleId the article ID
5990            * @param status the status
5991            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5992            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
5993            * @throws SystemException if a system exception occurred
5994            */
5995            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_ST_Last(
5996                    long groupId, java.lang.String articleId, int status,
5997                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5998                    throws com.liferay.portal.kernel.exception.SystemException;
5999    
6000            /**
6001            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
6002            *
6003            * @param id the primary key of the current journal article
6004            * @param groupId the group ID
6005            * @param articleId the article ID
6006            * @param status the status
6007            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6008            * @return the previous, current, and next journal article
6009            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
6010            * @throws SystemException if a system exception occurred
6011            */
6012            public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_ST_PrevAndNext(
6013                    long id, long groupId, java.lang.String articleId, int status,
6014                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6015                    throws com.liferay.portal.kernel.exception.SystemException,
6016                            com.liferay.portlet.journal.NoSuchArticleException;
6017    
6018            /**
6019            * Returns all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = &#63;.
6020            *
6021            * @param groupId the group ID
6022            * @param articleId the article ID
6023            * @param status the status
6024            * @return the matching journal articles that the user has permission to view
6025            * @throws SystemException if a system exception occurred
6026            */
6027            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
6028                    long groupId, java.lang.String articleId, int status)
6029                    throws com.liferay.portal.kernel.exception.SystemException;
6030    
6031            /**
6032            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = &#63;.
6033            *
6034            * <p>
6035            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6036            * </p>
6037            *
6038            * @param groupId the group ID
6039            * @param articleId the article ID
6040            * @param status the status
6041            * @param start the lower bound of the range of journal articles
6042            * @param end the upper bound of the range of journal articles (not inclusive)
6043            * @return the range of matching journal articles that the user has permission to view
6044            * @throws SystemException if a system exception occurred
6045            */
6046            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
6047                    long groupId, java.lang.String articleId, int status, int start, int end)
6048                    throws com.liferay.portal.kernel.exception.SystemException;
6049    
6050            /**
6051            * 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;.
6052            *
6053            * <p>
6054            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6055            * </p>
6056            *
6057            * @param groupId the group ID
6058            * @param articleId the article ID
6059            * @param status the status
6060            * @param start the lower bound of the range of journal articles
6061            * @param end the upper bound of the range of journal articles (not inclusive)
6062            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
6063            * @return the ordered range of matching journal articles that the user has permission to view
6064            * @throws SystemException if a system exception occurred
6065            */
6066            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
6067                    long groupId, java.lang.String articleId, int status, int start,
6068                    int end,
6069                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6070                    throws com.liferay.portal.kernel.exception.SystemException;
6071    
6072            /**
6073            * 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;.
6074            *
6075            * @param id the primary key of the current journal article
6076            * @param groupId the group ID
6077            * @param articleId the article ID
6078            * @param status the status
6079            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6080            * @return the previous, current, and next journal article
6081            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
6082            * @throws SystemException if a system exception occurred
6083            */
6084            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_ST_PrevAndNext(
6085                    long id, long groupId, java.lang.String articleId, int status,
6086                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6087                    throws com.liferay.portal.kernel.exception.SystemException,
6088                            com.liferay.portlet.journal.NoSuchArticleException;
6089    
6090            /**
6091            * Returns all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = any &#63;.
6092            *
6093            * @param groupId the group ID
6094            * @param articleId the article ID
6095            * @param statuses the statuses
6096            * @return the matching journal articles that the user has permission to view
6097            * @throws SystemException if a system exception occurred
6098            */
6099            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
6100                    long groupId, java.lang.String articleId, int[] statuses)
6101                    throws com.liferay.portal.kernel.exception.SystemException;
6102    
6103            /**
6104            * 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;.
6105            *
6106            * <p>
6107            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6108            * </p>
6109            *
6110            * @param groupId the group ID
6111            * @param articleId the article ID
6112            * @param statuses the statuses
6113            * @param start the lower bound of the range of journal articles
6114            * @param end the upper bound of the range of journal articles (not inclusive)
6115            * @return the range of matching journal articles that the user has permission to view
6116            * @throws SystemException if a system exception occurred
6117            */
6118            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
6119                    long groupId, java.lang.String articleId, int[] statuses, int start,
6120                    int end) throws com.liferay.portal.kernel.exception.SystemException;
6121    
6122            /**
6123            * 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;.
6124            *
6125            * <p>
6126            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6127            * </p>
6128            *
6129            * @param groupId the group ID
6130            * @param articleId the article ID
6131            * @param statuses the statuses
6132            * @param start the lower bound of the range of journal articles
6133            * @param end the upper bound of the range of journal articles (not inclusive)
6134            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
6135            * @return the ordered range of matching journal articles that the user has permission to view
6136            * @throws SystemException if a system exception occurred
6137            */
6138            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
6139                    long groupId, java.lang.String articleId, int[] statuses, int start,
6140                    int end,
6141                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6142                    throws com.liferay.portal.kernel.exception.SystemException;
6143    
6144            /**
6145            * Returns all the journal articles where groupId = &#63; and articleId = &#63; and status = any &#63;.
6146            *
6147            * <p>
6148            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6149            * </p>
6150            *
6151            * @param groupId the group ID
6152            * @param articleId the article ID
6153            * @param statuses the statuses
6154            * @return the matching journal articles
6155            * @throws SystemException if a system exception occurred
6156            */
6157            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
6158                    long groupId, java.lang.String articleId, int[] statuses)
6159                    throws com.liferay.portal.kernel.exception.SystemException;
6160    
6161            /**
6162            * Returns a range of all the journal articles where groupId = &#63; and articleId = &#63; and status = any &#63;.
6163            *
6164            * <p>
6165            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6166            * </p>
6167            *
6168            * @param groupId the group ID
6169            * @param articleId the article ID
6170            * @param statuses the statuses
6171            * @param start the lower bound of the range of journal articles
6172            * @param end the upper bound of the range of journal articles (not inclusive)
6173            * @return the range of matching journal articles
6174            * @throws SystemException if a system exception occurred
6175            */
6176            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
6177                    long groupId, java.lang.String articleId, int[] statuses, int start,
6178                    int end) throws com.liferay.portal.kernel.exception.SystemException;
6179    
6180            /**
6181            * Returns an ordered range of all the journal articles where groupId = &#63; and articleId = &#63; and status = any &#63;.
6182            *
6183            * <p>
6184            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6185            * </p>
6186            *
6187            * @param groupId the group ID
6188            * @param articleId the article ID
6189            * @param statuses the statuses
6190            * @param start the lower bound of the range of journal articles
6191            * @param end the upper bound of the range of journal articles (not inclusive)
6192            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
6193            * @return the ordered range of matching journal articles
6194            * @throws SystemException if a system exception occurred
6195            */
6196            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
6197                    long groupId, java.lang.String articleId, int[] statuses, int start,
6198                    int end,
6199                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6200                    throws com.liferay.portal.kernel.exception.SystemException;
6201    
6202            /**
6203            * Removes all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63; from the database.
6204            *
6205            * @param groupId the group ID
6206            * @param articleId the article ID
6207            * @param status the status
6208            * @throws SystemException if a system exception occurred
6209            */
6210            public void removeByG_A_ST(long groupId, java.lang.String articleId,
6211                    int status) throws com.liferay.portal.kernel.exception.SystemException;
6212    
6213            /**
6214            * Returns the number of journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
6215            *
6216            * @param groupId the group ID
6217            * @param articleId the article ID
6218            * @param status the status
6219            * @return the number of matching journal articles
6220            * @throws SystemException if a system exception occurred
6221            */
6222            public int countByG_A_ST(long groupId, java.lang.String articleId,
6223                    int status) throws com.liferay.portal.kernel.exception.SystemException;
6224    
6225            /**
6226            * Returns the number of journal articles where groupId = &#63; and articleId = &#63; and status = any &#63;.
6227            *
6228            * @param groupId the group ID
6229            * @param articleId the article ID
6230            * @param statuses the statuses
6231            * @return the number of matching journal articles
6232            * @throws SystemException if a system exception occurred
6233            */
6234            public int countByG_A_ST(long groupId, java.lang.String articleId,
6235                    int[] statuses)
6236                    throws com.liferay.portal.kernel.exception.SystemException;
6237    
6238            /**
6239            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = &#63;.
6240            *
6241            * @param groupId the group ID
6242            * @param articleId the article ID
6243            * @param status the status
6244            * @return the number of matching journal articles that the user has permission to view
6245            * @throws SystemException if a system exception occurred
6246            */
6247            public int filterCountByG_A_ST(long groupId, java.lang.String articleId,
6248                    int status) throws com.liferay.portal.kernel.exception.SystemException;
6249    
6250            /**
6251            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = any &#63;.
6252            *
6253            * @param groupId the group ID
6254            * @param articleId the article ID
6255            * @param statuses the statuses
6256            * @return the number of matching journal articles that the user has permission to view
6257            * @throws SystemException if a system exception occurred
6258            */
6259            public int filterCountByG_A_ST(long groupId, java.lang.String articleId,
6260                    int[] statuses)
6261                    throws com.liferay.portal.kernel.exception.SystemException;
6262    
6263            /**
6264            * Returns all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
6265            *
6266            * @param groupId the group ID
6267            * @param urlTitle the url title
6268            * @param status the status
6269            * @return the matching journal articles
6270            * @throws SystemException if a system exception occurred
6271            */
6272            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST(
6273                    long groupId, java.lang.String urlTitle, int status)
6274                    throws com.liferay.portal.kernel.exception.SystemException;
6275    
6276            /**
6277            * Returns a range of all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
6278            *
6279            * <p>
6280            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6281            * </p>
6282            *
6283            * @param groupId the group ID
6284            * @param urlTitle the url title
6285            * @param status the status
6286            * @param start the lower bound of the range of journal articles
6287            * @param end the upper bound of the range of journal articles (not inclusive)
6288            * @return the range of matching journal articles
6289            * @throws SystemException if a system exception occurred
6290            */
6291            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST(
6292                    long groupId, java.lang.String urlTitle, int status, int start, int end)
6293                    throws com.liferay.portal.kernel.exception.SystemException;
6294    
6295            /**
6296            * Returns an ordered range of all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#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 urlTitle the url title
6304            * @param status the status
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            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
6308            * @return the ordered range of matching journal articles
6309            * @throws SystemException if a system exception occurred
6310            */
6311            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST(
6312                    long groupId, java.lang.String urlTitle, int status, int start,
6313                    int end,
6314                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6315                    throws com.liferay.portal.kernel.exception.SystemException;
6316    
6317            /**
6318            * Returns the first journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
6319            *
6320            * @param groupId the group ID
6321            * @param urlTitle the url title
6322            * @param status the status
6323            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6324            * @return the first matching journal article
6325            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
6326            * @throws SystemException if a system exception occurred
6327            */
6328            public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_First(
6329                    long groupId, java.lang.String urlTitle, int status,
6330                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6331                    throws com.liferay.portal.kernel.exception.SystemException,
6332                            com.liferay.portlet.journal.NoSuchArticleException;
6333    
6334            /**
6335            * Returns the first journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
6336            *
6337            * @param groupId the group ID
6338            * @param urlTitle the url title
6339            * @param status the status
6340            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6341            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
6342            * @throws SystemException if a system exception occurred
6343            */
6344            public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_ST_First(
6345                    long groupId, java.lang.String urlTitle, int status,
6346                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6347                    throws com.liferay.portal.kernel.exception.SystemException;
6348    
6349            /**
6350            * Returns the last journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
6351            *
6352            * @param groupId the group ID
6353            * @param urlTitle the url title
6354            * @param status the status
6355            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6356            * @return the last matching journal article
6357            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
6358            * @throws SystemException if a system exception occurred
6359            */
6360            public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_Last(
6361                    long groupId, java.lang.String urlTitle, int status,
6362                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6363                    throws com.liferay.portal.kernel.exception.SystemException,
6364                            com.liferay.portlet.journal.NoSuchArticleException;
6365    
6366            /**
6367            * Returns the last journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
6368            *
6369            * @param groupId the group ID
6370            * @param urlTitle the url title
6371            * @param status the status
6372            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6373            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
6374            * @throws SystemException if a system exception occurred
6375            */
6376            public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_ST_Last(
6377                    long groupId, java.lang.String urlTitle, int status,
6378                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6379                    throws com.liferay.portal.kernel.exception.SystemException;
6380    
6381            /**
6382            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
6383            *
6384            * @param id the primary key of the current journal article
6385            * @param groupId the group ID
6386            * @param urlTitle the url title
6387            * @param status the status
6388            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6389            * @return the previous, current, and next journal article
6390            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
6391            * @throws SystemException if a system exception occurred
6392            */
6393            public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_ST_PrevAndNext(
6394                    long id, long groupId, java.lang.String urlTitle, int status,
6395                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6396                    throws com.liferay.portal.kernel.exception.SystemException,
6397                            com.liferay.portlet.journal.NoSuchArticleException;
6398    
6399            /**
6400            * Returns all the journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63; and status = &#63;.
6401            *
6402            * @param groupId the group ID
6403            * @param urlTitle the url title
6404            * @param status the status
6405            * @return the matching journal articles that the user has permission to view
6406            * @throws SystemException if a system exception occurred
6407            */
6408            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST(
6409                    long groupId, java.lang.String urlTitle, int status)
6410                    throws com.liferay.portal.kernel.exception.SystemException;
6411    
6412            /**
6413            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63; and status = &#63;.
6414            *
6415            * <p>
6416            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6417            * </p>
6418            *
6419            * @param groupId the group ID
6420            * @param urlTitle the url title
6421            * @param status the status
6422            * @param start the lower bound of the range of journal articles
6423            * @param end the upper bound of the range of journal articles (not inclusive)
6424            * @return the range of 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_UT_ST(
6428                    long groupId, java.lang.String urlTitle, int status, int start, int end)
6429                    throws com.liferay.portal.kernel.exception.SystemException;
6430    
6431            /**
6432            * 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;.
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 urlTitle the url title
6440            * @param status the status
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            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
6444            * @return the ordered range of matching journal articles that the user has permission to view
6445            * @throws SystemException if a system exception occurred
6446            */
6447            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST(
6448                    long groupId, java.lang.String urlTitle, int status, int start,
6449                    int end,
6450                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6451                    throws com.liferay.portal.kernel.exception.SystemException;
6452    
6453            /**
6454            * 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;.
6455            *
6456            * @param id the primary key of the current journal article
6457            * @param groupId the group ID
6458            * @param urlTitle the url title
6459            * @param status the status
6460            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6461            * @return the previous, current, and next journal article
6462            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
6463            * @throws SystemException if a system exception occurred
6464            */
6465            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_ST_PrevAndNext(
6466                    long id, long groupId, java.lang.String urlTitle, int status,
6467                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6468                    throws com.liferay.portal.kernel.exception.SystemException,
6469                            com.liferay.portlet.journal.NoSuchArticleException;
6470    
6471            /**
6472            * Removes all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63; from the database.
6473            *
6474            * @param groupId the group ID
6475            * @param urlTitle the url title
6476            * @param status the status
6477            * @throws SystemException if a system exception occurred
6478            */
6479            public void removeByG_UT_ST(long groupId, java.lang.String urlTitle,
6480                    int status) throws com.liferay.portal.kernel.exception.SystemException;
6481    
6482            /**
6483            * Returns the number of journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
6484            *
6485            * @param groupId the group ID
6486            * @param urlTitle the url title
6487            * @param status the status
6488            * @return the number of matching journal articles
6489            * @throws SystemException if a system exception occurred
6490            */
6491            public int countByG_UT_ST(long groupId, java.lang.String urlTitle,
6492                    int status) throws com.liferay.portal.kernel.exception.SystemException;
6493    
6494            /**
6495            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63; and status = &#63;.
6496            *
6497            * @param groupId the group ID
6498            * @param urlTitle the url title
6499            * @param status the status
6500            * @return the number of matching journal articles that the user has permission to view
6501            * @throws SystemException if a system exception occurred
6502            */
6503            public int filterCountByG_UT_ST(long groupId, java.lang.String urlTitle,
6504                    int status) throws com.liferay.portal.kernel.exception.SystemException;
6505    
6506            /**
6507            * Returns all the journal articles where companyId = &#63; and version = &#63; and status = &#63;.
6508            *
6509            * @param companyId the company ID
6510            * @param version the version
6511            * @param status the status
6512            * @return the matching journal articles
6513            * @throws SystemException if a system exception occurred
6514            */
6515            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST(
6516                    long companyId, double version, int status)
6517                    throws com.liferay.portal.kernel.exception.SystemException;
6518    
6519            /**
6520            * Returns a range of all the journal articles where companyId = &#63; and version = &#63; and status = &#63;.
6521            *
6522            * <p>
6523            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6524            * </p>
6525            *
6526            * @param companyId the company ID
6527            * @param version the version
6528            * @param status the status
6529            * @param start the lower bound of the range of journal articles
6530            * @param end the upper bound of the range of journal articles (not inclusive)
6531            * @return the range of matching journal articles
6532            * @throws SystemException if a system exception occurred
6533            */
6534            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST(
6535                    long companyId, double version, int status, int start, int end)
6536                    throws com.liferay.portal.kernel.exception.SystemException;
6537    
6538            /**
6539            * Returns an ordered range of all the journal articles where companyId = &#63; and version = &#63; and status = &#63;.
6540            *
6541            * <p>
6542            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6543            * </p>
6544            *
6545            * @param companyId the company ID
6546            * @param version the version
6547            * @param status the status
6548            * @param start the lower bound of the range of journal articles
6549            * @param end the upper bound of the range of journal articles (not inclusive)
6550            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
6551            * @return the ordered range of matching journal articles
6552            * @throws SystemException if a system exception occurred
6553            */
6554            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST(
6555                    long companyId, double version, int status, int start, int end,
6556                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6557                    throws com.liferay.portal.kernel.exception.SystemException;
6558    
6559            /**
6560            * Returns the first journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
6561            *
6562            * @param companyId the company ID
6563            * @param version the version
6564            * @param status the status
6565            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6566            * @return the first matching journal article
6567            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
6568            * @throws SystemException if a system exception occurred
6569            */
6570            public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_First(
6571                    long companyId, double version, int status,
6572                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6573                    throws com.liferay.portal.kernel.exception.SystemException,
6574                            com.liferay.portlet.journal.NoSuchArticleException;
6575    
6576            /**
6577            * Returns the first journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
6578            *
6579            * @param companyId the company ID
6580            * @param version the version
6581            * @param status the status
6582            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6583            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
6584            * @throws SystemException if a system exception occurred
6585            */
6586            public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_ST_First(
6587                    long companyId, double version, int status,
6588                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6589                    throws com.liferay.portal.kernel.exception.SystemException;
6590    
6591            /**
6592            * Returns the last journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
6593            *
6594            * @param companyId the company ID
6595            * @param version the version
6596            * @param status the status
6597            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6598            * @return the last matching journal article
6599            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
6600            * @throws SystemException if a system exception occurred
6601            */
6602            public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_Last(
6603                    long companyId, double version, int status,
6604                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6605                    throws com.liferay.portal.kernel.exception.SystemException,
6606                            com.liferay.portlet.journal.NoSuchArticleException;
6607    
6608            /**
6609            * Returns the last journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
6610            *
6611            * @param companyId the company ID
6612            * @param version the version
6613            * @param status the status
6614            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6615            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
6616            * @throws SystemException if a system exception occurred
6617            */
6618            public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_ST_Last(
6619                    long companyId, double version, int status,
6620                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6621                    throws com.liferay.portal.kernel.exception.SystemException;
6622    
6623            /**
6624            * Returns the journal articles before and after the current journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
6625            *
6626            * @param id the primary key of the current journal article
6627            * @param companyId the company ID
6628            * @param version the version
6629            * @param status the status
6630            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6631            * @return the previous, current, and next journal article
6632            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
6633            * @throws SystemException if a system exception occurred
6634            */
6635            public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_ST_PrevAndNext(
6636                    long id, long companyId, double version, int status,
6637                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6638                    throws com.liferay.portal.kernel.exception.SystemException,
6639                            com.liferay.portlet.journal.NoSuchArticleException;
6640    
6641            /**
6642            * Removes all the journal articles where companyId = &#63; and version = &#63; and status = &#63; from the database.
6643            *
6644            * @param companyId the company ID
6645            * @param version the version
6646            * @param status the status
6647            * @throws SystemException if a system exception occurred
6648            */
6649            public void removeByC_V_ST(long companyId, double version, int status)
6650                    throws com.liferay.portal.kernel.exception.SystemException;
6651    
6652            /**
6653            * Returns the number of journal articles where companyId = &#63; and version = &#63; and status = &#63;.
6654            *
6655            * @param companyId the company ID
6656            * @param version the version
6657            * @param status the status
6658            * @return the number of matching journal articles
6659            * @throws SystemException if a system exception occurred
6660            */
6661            public int countByC_V_ST(long companyId, double version, int status)
6662                    throws com.liferay.portal.kernel.exception.SystemException;
6663    
6664            /**
6665            * Caches the journal article in the entity cache if it is enabled.
6666            *
6667            * @param journalArticle the journal article
6668            */
6669            public void cacheResult(
6670                    com.liferay.portlet.journal.model.JournalArticle journalArticle);
6671    
6672            /**
6673            * Caches the journal articles in the entity cache if it is enabled.
6674            *
6675            * @param journalArticles the journal articles
6676            */
6677            public void cacheResult(
6678                    java.util.List<com.liferay.portlet.journal.model.JournalArticle> journalArticles);
6679    
6680            /**
6681            * Creates a new journal article with the primary key. Does not add the journal article to the database.
6682            *
6683            * @param id the primary key for the new journal article
6684            * @return the new journal article
6685            */
6686            public com.liferay.portlet.journal.model.JournalArticle create(long id);
6687    
6688            /**
6689            * Removes the journal article with the primary key from the database. Also notifies the appropriate model listeners.
6690            *
6691            * @param id the primary key of the journal article
6692            * @return the journal article that was removed
6693            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
6694            * @throws SystemException if a system exception occurred
6695            */
6696            public com.liferay.portlet.journal.model.JournalArticle remove(long id)
6697                    throws com.liferay.portal.kernel.exception.SystemException,
6698                            com.liferay.portlet.journal.NoSuchArticleException;
6699    
6700            public com.liferay.portlet.journal.model.JournalArticle updateImpl(
6701                    com.liferay.portlet.journal.model.JournalArticle journalArticle)
6702                    throws com.liferay.portal.kernel.exception.SystemException;
6703    
6704            /**
6705            * Returns the journal article with the primary key or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found.
6706            *
6707            * @param id the primary key of the journal article
6708            * @return the journal article
6709            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
6710            * @throws SystemException if a system exception occurred
6711            */
6712            public com.liferay.portlet.journal.model.JournalArticle findByPrimaryKey(
6713                    long id)
6714                    throws com.liferay.portal.kernel.exception.SystemException,
6715                            com.liferay.portlet.journal.NoSuchArticleException;
6716    
6717            /**
6718            * Returns the journal article with the primary key or returns <code>null</code> if it could not be found.
6719            *
6720            * @param id the primary key of the journal article
6721            * @return the journal article, or <code>null</code> if a journal article with the primary key could not be found
6722            * @throws SystemException if a system exception occurred
6723            */
6724            public com.liferay.portlet.journal.model.JournalArticle fetchByPrimaryKey(
6725                    long id) throws com.liferay.portal.kernel.exception.SystemException;
6726    
6727            /**
6728            * Returns all the journal articles.
6729            *
6730            * @return the journal articles
6731            * @throws SystemException if a system exception occurred
6732            */
6733            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll()
6734                    throws com.liferay.portal.kernel.exception.SystemException;
6735    
6736            /**
6737            * Returns a range of all the journal articles.
6738            *
6739            * <p>
6740            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6741            * </p>
6742            *
6743            * @param start the lower bound of the range of journal articles
6744            * @param end the upper bound of the range of journal articles (not inclusive)
6745            * @return the range of journal articles
6746            * @throws SystemException if a system exception occurred
6747            */
6748            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll(
6749                    int start, int end)
6750                    throws com.liferay.portal.kernel.exception.SystemException;
6751    
6752            /**
6753            * Returns an ordered range of all the journal articles.
6754            *
6755            * <p>
6756            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6757            * </p>
6758            *
6759            * @param start the lower bound of the range of journal articles
6760            * @param end the upper bound of the range of journal articles (not inclusive)
6761            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
6762            * @return the ordered range of journal articles
6763            * @throws SystemException if a system exception occurred
6764            */
6765            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll(
6766                    int start, int end,
6767                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6768                    throws com.liferay.portal.kernel.exception.SystemException;
6769    
6770            /**
6771            * Removes all the journal articles from the database.
6772            *
6773            * @throws SystemException if a system exception occurred
6774            */
6775            public void removeAll()
6776                    throws com.liferay.portal.kernel.exception.SystemException;
6777    
6778            /**
6779            * Returns the number of journal articles.
6780            *
6781            * @return the number of journal articles
6782            * @throws SystemException if a system exception occurred
6783            */
6784            public int countAll()
6785                    throws com.liferay.portal.kernel.exception.SystemException;
6786    }