001    /**
002     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.journal.service.persistence;
016    
017    import com.liferay.portal.service.persistence.BasePersistence;
018    
019    import com.liferay.portlet.journal.model.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            * Removes all the journal articles where structureId = &#63; from the database.
997            *
998            * @param structureId the structure ID
999            * @throws SystemException if a system exception occurred
1000            */
1001            public void removeByStructureId(java.lang.String structureId)
1002                    throws com.liferay.portal.kernel.exception.SystemException;
1003    
1004            /**
1005            * Returns the number of journal articles where structureId = &#63;.
1006            *
1007            * @param structureId the structure ID
1008            * @return the number of matching journal articles
1009            * @throws SystemException if a system exception occurred
1010            */
1011            public int countByStructureId(java.lang.String structureId)
1012                    throws com.liferay.portal.kernel.exception.SystemException;
1013    
1014            /**
1015            * Returns all the journal articles where templateId = &#63;.
1016            *
1017            * @param templateId the template ID
1018            * @return the matching journal articles
1019            * @throws SystemException if a system exception occurred
1020            */
1021            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId(
1022                    java.lang.String templateId)
1023                    throws com.liferay.portal.kernel.exception.SystemException;
1024    
1025            /**
1026            * Returns a range of all the journal articles where templateId = &#63;.
1027            *
1028            * <p>
1029            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1030            * </p>
1031            *
1032            * @param templateId the template ID
1033            * @param start the lower bound of the range of journal articles
1034            * @param end the upper bound of the range of journal articles (not inclusive)
1035            * @return the range of matching journal articles
1036            * @throws SystemException if a system exception occurred
1037            */
1038            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId(
1039                    java.lang.String templateId, int start, int end)
1040                    throws com.liferay.portal.kernel.exception.SystemException;
1041    
1042            /**
1043            * Returns an ordered range of all the journal articles where templateId = &#63;.
1044            *
1045            * <p>
1046            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1047            * </p>
1048            *
1049            * @param templateId the template ID
1050            * @param start the lower bound of the range of journal articles
1051            * @param end the upper bound of the range of journal articles (not inclusive)
1052            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1053            * @return the ordered range of matching journal articles
1054            * @throws SystemException if a system exception occurred
1055            */
1056            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId(
1057                    java.lang.String templateId, int start, int end,
1058                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1059                    throws com.liferay.portal.kernel.exception.SystemException;
1060    
1061            /**
1062            * Returns the first journal article in the ordered set where templateId = &#63;.
1063            *
1064            * @param templateId the template ID
1065            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1066            * @return the first matching journal article
1067            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1068            * @throws SystemException if a system exception occurred
1069            */
1070            public com.liferay.portlet.journal.model.JournalArticle findByTemplateId_First(
1071                    java.lang.String templateId,
1072                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1073                    throws com.liferay.portal.kernel.exception.SystemException,
1074                            com.liferay.portlet.journal.NoSuchArticleException;
1075    
1076            /**
1077            * Returns the first journal article in the ordered set where templateId = &#63;.
1078            *
1079            * @param templateId the template ID
1080            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1081            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
1082            * @throws SystemException if a system exception occurred
1083            */
1084            public com.liferay.portlet.journal.model.JournalArticle fetchByTemplateId_First(
1085                    java.lang.String templateId,
1086                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1087                    throws com.liferay.portal.kernel.exception.SystemException;
1088    
1089            /**
1090            * Returns the last journal article in the ordered set where templateId = &#63;.
1091            *
1092            * @param templateId the template ID
1093            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1094            * @return the last matching journal article
1095            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1096            * @throws SystemException if a system exception occurred
1097            */
1098            public com.liferay.portlet.journal.model.JournalArticle findByTemplateId_Last(
1099                    java.lang.String templateId,
1100                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1101                    throws com.liferay.portal.kernel.exception.SystemException,
1102                            com.liferay.portlet.journal.NoSuchArticleException;
1103    
1104            /**
1105            * Returns the last journal article in the ordered set where templateId = &#63;.
1106            *
1107            * @param templateId the template ID
1108            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1109            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
1110            * @throws SystemException if a system exception occurred
1111            */
1112            public com.liferay.portlet.journal.model.JournalArticle fetchByTemplateId_Last(
1113                    java.lang.String templateId,
1114                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1115                    throws com.liferay.portal.kernel.exception.SystemException;
1116    
1117            /**
1118            * Returns the journal articles before and after the current journal article in the ordered set where templateId = &#63;.
1119            *
1120            * @param id the primary key of the current journal article
1121            * @param templateId the template ID
1122            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1123            * @return the previous, current, and next journal article
1124            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1125            * @throws SystemException if a system exception occurred
1126            */
1127            public com.liferay.portlet.journal.model.JournalArticle[] findByTemplateId_PrevAndNext(
1128                    long id, java.lang.String templateId,
1129                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1130                    throws com.liferay.portal.kernel.exception.SystemException,
1131                            com.liferay.portlet.journal.NoSuchArticleException;
1132    
1133            /**
1134            * Removes all the journal articles where templateId = &#63; from the database.
1135            *
1136            * @param templateId the template ID
1137            * @throws SystemException if a system exception occurred
1138            */
1139            public void removeByTemplateId(java.lang.String templateId)
1140                    throws com.liferay.portal.kernel.exception.SystemException;
1141    
1142            /**
1143            * Returns the number of journal articles where templateId = &#63;.
1144            *
1145            * @param templateId the template ID
1146            * @return the number of matching journal articles
1147            * @throws SystemException if a system exception occurred
1148            */
1149            public int countByTemplateId(java.lang.String templateId)
1150                    throws com.liferay.portal.kernel.exception.SystemException;
1151    
1152            /**
1153            * Returns all the journal articles where layoutUuid = &#63;.
1154            *
1155            * @param layoutUuid the layout uuid
1156            * @return the matching journal articles
1157            * @throws SystemException if a system exception occurred
1158            */
1159            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid(
1160                    java.lang.String layoutUuid)
1161                    throws com.liferay.portal.kernel.exception.SystemException;
1162    
1163            /**
1164            * Returns a range of all the journal articles where layoutUuid = &#63;.
1165            *
1166            * <p>
1167            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1168            * </p>
1169            *
1170            * @param layoutUuid the layout uuid
1171            * @param start the lower bound of the range of journal articles
1172            * @param end the upper bound of the range of journal articles (not inclusive)
1173            * @return the range of matching journal articles
1174            * @throws SystemException if a system exception occurred
1175            */
1176            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid(
1177                    java.lang.String layoutUuid, int start, int end)
1178                    throws com.liferay.portal.kernel.exception.SystemException;
1179    
1180            /**
1181            * Returns an ordered range of all the journal articles where layoutUuid = &#63;.
1182            *
1183            * <p>
1184            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1185            * </p>
1186            *
1187            * @param layoutUuid the layout uuid
1188            * @param start the lower bound of the range of journal articles
1189            * @param end the upper bound of the range of journal articles (not inclusive)
1190            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1191            * @return the ordered range of matching journal articles
1192            * @throws SystemException if a system exception occurred
1193            */
1194            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid(
1195                    java.lang.String layoutUuid, int start, int end,
1196                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1197                    throws com.liferay.portal.kernel.exception.SystemException;
1198    
1199            /**
1200            * Returns the first journal article in the ordered set where layoutUuid = &#63;.
1201            *
1202            * @param layoutUuid the layout uuid
1203            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1204            * @return the first matching journal article
1205            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1206            * @throws SystemException if a system exception occurred
1207            */
1208            public com.liferay.portlet.journal.model.JournalArticle findByLayoutUuid_First(
1209                    java.lang.String layoutUuid,
1210                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1211                    throws com.liferay.portal.kernel.exception.SystemException,
1212                            com.liferay.portlet.journal.NoSuchArticleException;
1213    
1214            /**
1215            * Returns the first journal article in the ordered set where layoutUuid = &#63;.
1216            *
1217            * @param layoutUuid the layout uuid
1218            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1219            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
1220            * @throws SystemException if a system exception occurred
1221            */
1222            public com.liferay.portlet.journal.model.JournalArticle fetchByLayoutUuid_First(
1223                    java.lang.String layoutUuid,
1224                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1225                    throws com.liferay.portal.kernel.exception.SystemException;
1226    
1227            /**
1228            * Returns the last journal article in the ordered set where layoutUuid = &#63;.
1229            *
1230            * @param layoutUuid the layout uuid
1231            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1232            * @return the last matching journal article
1233            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1234            * @throws SystemException if a system exception occurred
1235            */
1236            public com.liferay.portlet.journal.model.JournalArticle findByLayoutUuid_Last(
1237                    java.lang.String layoutUuid,
1238                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1239                    throws com.liferay.portal.kernel.exception.SystemException,
1240                            com.liferay.portlet.journal.NoSuchArticleException;
1241    
1242            /**
1243            * Returns the last journal article in the ordered set where layoutUuid = &#63;.
1244            *
1245            * @param layoutUuid the layout uuid
1246            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1247            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
1248            * @throws SystemException if a system exception occurred
1249            */
1250            public com.liferay.portlet.journal.model.JournalArticle fetchByLayoutUuid_Last(
1251                    java.lang.String layoutUuid,
1252                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1253                    throws com.liferay.portal.kernel.exception.SystemException;
1254    
1255            /**
1256            * Returns the journal articles before and after the current journal article in the ordered set where layoutUuid = &#63;.
1257            *
1258            * @param id the primary key of the current journal article
1259            * @param layoutUuid the layout uuid
1260            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1261            * @return the previous, current, and next journal article
1262            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1263            * @throws SystemException if a system exception occurred
1264            */
1265            public com.liferay.portlet.journal.model.JournalArticle[] findByLayoutUuid_PrevAndNext(
1266                    long id, java.lang.String layoutUuid,
1267                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1268                    throws com.liferay.portal.kernel.exception.SystemException,
1269                            com.liferay.portlet.journal.NoSuchArticleException;
1270    
1271            /**
1272            * Removes all the journal articles where layoutUuid = &#63; from the database.
1273            *
1274            * @param layoutUuid the layout uuid
1275            * @throws SystemException if a system exception occurred
1276            */
1277            public void removeByLayoutUuid(java.lang.String layoutUuid)
1278                    throws com.liferay.portal.kernel.exception.SystemException;
1279    
1280            /**
1281            * Returns the number of journal articles where layoutUuid = &#63;.
1282            *
1283            * @param layoutUuid the layout uuid
1284            * @return the number of matching journal articles
1285            * @throws SystemException if a system exception occurred
1286            */
1287            public int countByLayoutUuid(java.lang.String layoutUuid)
1288                    throws com.liferay.portal.kernel.exception.SystemException;
1289    
1290            /**
1291            * Returns all the journal articles where smallImageId = &#63;.
1292            *
1293            * @param smallImageId the small image ID
1294            * @return the matching journal articles
1295            * @throws SystemException if a system exception occurred
1296            */
1297            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
1298                    long smallImageId)
1299                    throws com.liferay.portal.kernel.exception.SystemException;
1300    
1301            /**
1302            * Returns a range of all the journal articles where smallImageId = &#63;.
1303            *
1304            * <p>
1305            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1306            * </p>
1307            *
1308            * @param smallImageId the small image ID
1309            * @param start the lower bound of the range of journal articles
1310            * @param end the upper bound of the range of journal articles (not inclusive)
1311            * @return the range of matching journal articles
1312            * @throws SystemException if a system exception occurred
1313            */
1314            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
1315                    long smallImageId, int start, int end)
1316                    throws com.liferay.portal.kernel.exception.SystemException;
1317    
1318            /**
1319            * Returns an ordered range of all the journal articles where smallImageId = &#63;.
1320            *
1321            * <p>
1322            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1323            * </p>
1324            *
1325            * @param smallImageId the small image ID
1326            * @param start the lower bound of the range of journal articles
1327            * @param end the upper bound of the range of journal articles (not inclusive)
1328            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1329            * @return the ordered range of matching journal articles
1330            * @throws SystemException if a system exception occurred
1331            */
1332            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
1333                    long smallImageId, int start, int end,
1334                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1335                    throws com.liferay.portal.kernel.exception.SystemException;
1336    
1337            /**
1338            * Returns the first journal article in the ordered set where smallImageId = &#63;.
1339            *
1340            * @param smallImageId the small image ID
1341            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1342            * @return the first matching journal article
1343            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1344            * @throws SystemException if a system exception occurred
1345            */
1346            public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_First(
1347                    long smallImageId,
1348                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1349                    throws com.liferay.portal.kernel.exception.SystemException,
1350                            com.liferay.portlet.journal.NoSuchArticleException;
1351    
1352            /**
1353            * Returns the first journal article in the ordered set where smallImageId = &#63;.
1354            *
1355            * @param smallImageId the small image ID
1356            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1357            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
1358            * @throws SystemException if a system exception occurred
1359            */
1360            public com.liferay.portlet.journal.model.JournalArticle fetchBySmallImageId_First(
1361                    long smallImageId,
1362                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1363                    throws com.liferay.portal.kernel.exception.SystemException;
1364    
1365            /**
1366            * Returns the last journal article in the ordered set where smallImageId = &#63;.
1367            *
1368            * @param smallImageId the small image ID
1369            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1370            * @return the last matching journal article
1371            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1372            * @throws SystemException if a system exception occurred
1373            */
1374            public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_Last(
1375                    long smallImageId,
1376                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1377                    throws com.liferay.portal.kernel.exception.SystemException,
1378                            com.liferay.portlet.journal.NoSuchArticleException;
1379    
1380            /**
1381            * Returns the last journal article in the ordered set where smallImageId = &#63;.
1382            *
1383            * @param smallImageId the small image ID
1384            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1385            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
1386            * @throws SystemException if a system exception occurred
1387            */
1388            public com.liferay.portlet.journal.model.JournalArticle fetchBySmallImageId_Last(
1389                    long smallImageId,
1390                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1391                    throws com.liferay.portal.kernel.exception.SystemException;
1392    
1393            /**
1394            * Returns the journal articles before and after the current journal article in the ordered set where smallImageId = &#63;.
1395            *
1396            * @param id the primary key of the current journal article
1397            * @param smallImageId the small image ID
1398            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1399            * @return the previous, current, and next journal article
1400            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1401            * @throws SystemException if a system exception occurred
1402            */
1403            public com.liferay.portlet.journal.model.JournalArticle[] findBySmallImageId_PrevAndNext(
1404                    long id, long smallImageId,
1405                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1406                    throws com.liferay.portal.kernel.exception.SystemException,
1407                            com.liferay.portlet.journal.NoSuchArticleException;
1408    
1409            /**
1410            * Removes all the journal articles where smallImageId = &#63; from the database.
1411            *
1412            * @param smallImageId the small image ID
1413            * @throws SystemException if a system exception occurred
1414            */
1415            public void removeBySmallImageId(long smallImageId)
1416                    throws com.liferay.portal.kernel.exception.SystemException;
1417    
1418            /**
1419            * Returns the number of journal articles where smallImageId = &#63;.
1420            *
1421            * @param smallImageId the small image ID
1422            * @return the number of matching journal articles
1423            * @throws SystemException if a system exception occurred
1424            */
1425            public int countBySmallImageId(long smallImageId)
1426                    throws com.liferay.portal.kernel.exception.SystemException;
1427    
1428            /**
1429            * Returns all the journal articles where resourcePrimKey = &#63; and status = &#63;.
1430            *
1431            * @param resourcePrimKey the resource prim key
1432            * @param status the status
1433            * @return the matching journal articles
1434            * @throws SystemException if a system exception occurred
1435            */
1436            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST(
1437                    long resourcePrimKey, int status)
1438                    throws com.liferay.portal.kernel.exception.SystemException;
1439    
1440            /**
1441            * Returns a range of all the journal articles where resourcePrimKey = &#63; and status = &#63;.
1442            *
1443            * <p>
1444            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1445            * </p>
1446            *
1447            * @param resourcePrimKey the resource prim key
1448            * @param status the status
1449            * @param start the lower bound of the range of journal articles
1450            * @param end the upper bound of the range of journal articles (not inclusive)
1451            * @return the range of matching journal articles
1452            * @throws SystemException if a system exception occurred
1453            */
1454            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST(
1455                    long resourcePrimKey, int status, int start, int end)
1456                    throws com.liferay.portal.kernel.exception.SystemException;
1457    
1458            /**
1459            * Returns an ordered range of all the journal articles where resourcePrimKey = &#63; and status = &#63;.
1460            *
1461            * <p>
1462            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1463            * </p>
1464            *
1465            * @param resourcePrimKey the resource prim key
1466            * @param status the status
1467            * @param start the lower bound of the range of journal articles
1468            * @param end the upper bound of the range of journal articles (not inclusive)
1469            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1470            * @return the ordered range of matching journal articles
1471            * @throws SystemException if a system exception occurred
1472            */
1473            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST(
1474                    long resourcePrimKey, int status, int start, int end,
1475                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1476                    throws com.liferay.portal.kernel.exception.SystemException;
1477    
1478            /**
1479            * Returns the first journal article in the ordered set where resourcePrimKey = &#63; and status = &#63;.
1480            *
1481            * @param resourcePrimKey the resource prim key
1482            * @param status the status
1483            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1484            * @return the first matching journal article
1485            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1486            * @throws SystemException if a system exception occurred
1487            */
1488            public com.liferay.portlet.journal.model.JournalArticle findByR_ST_First(
1489                    long resourcePrimKey, int status,
1490                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1491                    throws com.liferay.portal.kernel.exception.SystemException,
1492                            com.liferay.portlet.journal.NoSuchArticleException;
1493    
1494            /**
1495            * Returns the first journal article in the ordered set where resourcePrimKey = &#63; and status = &#63;.
1496            *
1497            * @param resourcePrimKey the resource prim key
1498            * @param status the status
1499            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1500            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
1501            * @throws SystemException if a system exception occurred
1502            */
1503            public com.liferay.portlet.journal.model.JournalArticle fetchByR_ST_First(
1504                    long resourcePrimKey, int status,
1505                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1506                    throws com.liferay.portal.kernel.exception.SystemException;
1507    
1508            /**
1509            * Returns the last journal article in the ordered set where resourcePrimKey = &#63; and status = &#63;.
1510            *
1511            * @param resourcePrimKey the resource prim key
1512            * @param status the status
1513            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1514            * @return the last matching journal article
1515            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1516            * @throws SystemException if a system exception occurred
1517            */
1518            public com.liferay.portlet.journal.model.JournalArticle findByR_ST_Last(
1519                    long resourcePrimKey, int status,
1520                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1521                    throws com.liferay.portal.kernel.exception.SystemException,
1522                            com.liferay.portlet.journal.NoSuchArticleException;
1523    
1524            /**
1525            * Returns the last journal article in the ordered set where resourcePrimKey = &#63; and status = &#63;.
1526            *
1527            * @param resourcePrimKey the resource prim key
1528            * @param status the status
1529            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1530            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
1531            * @throws SystemException if a system exception occurred
1532            */
1533            public com.liferay.portlet.journal.model.JournalArticle fetchByR_ST_Last(
1534                    long resourcePrimKey, int status,
1535                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1536                    throws com.liferay.portal.kernel.exception.SystemException;
1537    
1538            /**
1539            * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = &#63; and status = &#63;.
1540            *
1541            * @param id the primary key of the current journal article
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 previous, current, and next journal article
1546            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1547            * @throws SystemException if a system exception occurred
1548            */
1549            public com.liferay.portlet.journal.model.JournalArticle[] findByR_ST_PrevAndNext(
1550                    long id, 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            * Removes all the journal articles where resourcePrimKey = &#63; and status = &#63; from the database.
1557            *
1558            * @param resourcePrimKey the resource prim key
1559            * @param status the status
1560            * @throws SystemException if a system exception occurred
1561            */
1562            public void removeByR_ST(long resourcePrimKey, int status)
1563                    throws com.liferay.portal.kernel.exception.SystemException;
1564    
1565            /**
1566            * Returns the number of journal articles where resourcePrimKey = &#63; and status = &#63;.
1567            *
1568            * @param resourcePrimKey the resource prim key
1569            * @param status the status
1570            * @return the number of matching journal articles
1571            * @throws SystemException if a system exception occurred
1572            */
1573            public int countByR_ST(long resourcePrimKey, int status)
1574                    throws com.liferay.portal.kernel.exception.SystemException;
1575    
1576            /**
1577            * Returns all the journal articles where groupId = &#63; and userId = &#63;.
1578            *
1579            * @param groupId the group ID
1580            * @param userId the user ID
1581            * @return the matching journal articles
1582            * @throws SystemException if a system exception occurred
1583            */
1584            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U(
1585                    long groupId, long userId)
1586                    throws com.liferay.portal.kernel.exception.SystemException;
1587    
1588            /**
1589            * Returns a range of all the journal articles where groupId = &#63; and userId = &#63;.
1590            *
1591            * <p>
1592            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1593            * </p>
1594            *
1595            * @param groupId the group ID
1596            * @param userId the user ID
1597            * @param start the lower bound of the range of journal articles
1598            * @param end the upper bound of the range of journal articles (not inclusive)
1599            * @return the range of matching journal articles
1600            * @throws SystemException if a system exception occurred
1601            */
1602            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U(
1603                    long groupId, long userId, int start, int end)
1604                    throws com.liferay.portal.kernel.exception.SystemException;
1605    
1606            /**
1607            * Returns an ordered range of all the journal articles where groupId = &#63; and userId = &#63;.
1608            *
1609            * <p>
1610            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1611            * </p>
1612            *
1613            * @param groupId the group ID
1614            * @param userId the user ID
1615            * @param start the lower bound of the range of journal articles
1616            * @param end the upper bound of the range of journal articles (not inclusive)
1617            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1618            * @return the ordered range of matching journal articles
1619            * @throws SystemException if a system exception occurred
1620            */
1621            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U(
1622                    long groupId, long userId, int start, int end,
1623                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1624                    throws com.liferay.portal.kernel.exception.SystemException;
1625    
1626            /**
1627            * Returns the first journal article in the ordered set where groupId = &#63; and userId = &#63;.
1628            *
1629            * @param groupId the group ID
1630            * @param userId the user ID
1631            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1632            * @return the first matching journal article
1633            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1634            * @throws SystemException if a system exception occurred
1635            */
1636            public com.liferay.portlet.journal.model.JournalArticle findByG_U_First(
1637                    long groupId, long userId,
1638                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1639                    throws com.liferay.portal.kernel.exception.SystemException,
1640                            com.liferay.portlet.journal.NoSuchArticleException;
1641    
1642            /**
1643            * Returns the first journal article in the ordered set where groupId = &#63; and userId = &#63;.
1644            *
1645            * @param groupId the group ID
1646            * @param userId the user ID
1647            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1648            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
1649            * @throws SystemException if a system exception occurred
1650            */
1651            public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_First(
1652                    long groupId, long userId,
1653                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1654                    throws com.liferay.portal.kernel.exception.SystemException;
1655    
1656            /**
1657            * Returns the last journal article in the ordered set where groupId = &#63; and userId = &#63;.
1658            *
1659            * @param groupId the group ID
1660            * @param userId the user ID
1661            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1662            * @return the last matching journal article
1663            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1664            * @throws SystemException if a system exception occurred
1665            */
1666            public com.liferay.portlet.journal.model.JournalArticle findByG_U_Last(
1667                    long groupId, long userId,
1668                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1669                    throws com.liferay.portal.kernel.exception.SystemException,
1670                            com.liferay.portlet.journal.NoSuchArticleException;
1671    
1672            /**
1673            * Returns the last journal article in the ordered set where groupId = &#63; and userId = &#63;.
1674            *
1675            * @param groupId the group ID
1676            * @param userId the user ID
1677            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1678            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
1679            * @throws SystemException if a system exception occurred
1680            */
1681            public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_Last(
1682                    long groupId, long userId,
1683                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1684                    throws com.liferay.portal.kernel.exception.SystemException;
1685    
1686            /**
1687            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and userId = &#63;.
1688            *
1689            * @param id the primary key of the current journal article
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 previous, current, and next journal article
1694            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1695            * @throws SystemException if a system exception occurred
1696            */
1697            public com.liferay.portlet.journal.model.JournalArticle[] findByG_U_PrevAndNext(
1698                    long id, 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 all the journal articles that the user has permission to view where groupId = &#63; and userId = &#63;.
1705            *
1706            * @param groupId the group ID
1707            * @param userId the user ID
1708            * @return the matching journal articles that the user has permission to view
1709            * @throws SystemException if a system exception occurred
1710            */
1711            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U(
1712                    long groupId, long userId)
1713                    throws com.liferay.portal.kernel.exception.SystemException;
1714    
1715            /**
1716            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and userId = &#63;.
1717            *
1718            * <p>
1719            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1720            * </p>
1721            *
1722            * @param groupId the group ID
1723            * @param userId the user ID
1724            * @param start the lower bound of the range of journal articles
1725            * @param end the upper bound of the range of journal articles (not inclusive)
1726            * @return the range of matching journal articles that the user has permission to view
1727            * @throws SystemException if a system exception occurred
1728            */
1729            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U(
1730                    long groupId, long userId, int start, int end)
1731                    throws com.liferay.portal.kernel.exception.SystemException;
1732    
1733            /**
1734            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and userId = &#63;.
1735            *
1736            * <p>
1737            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1738            * </p>
1739            *
1740            * @param groupId the group ID
1741            * @param userId the user ID
1742            * @param start the lower bound of the range of journal articles
1743            * @param end the upper bound of the range of journal articles (not inclusive)
1744            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1745            * @return the ordered range of matching journal articles that the user has permission to view
1746            * @throws SystemException if a system exception occurred
1747            */
1748            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U(
1749                    long groupId, long userId, int start, int end,
1750                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1751                    throws com.liferay.portal.kernel.exception.SystemException;
1752    
1753            /**
1754            * 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;.
1755            *
1756            * @param id the primary key of the current journal article
1757            * @param groupId the group ID
1758            * @param userId the user ID
1759            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1760            * @return the previous, current, and next journal article
1761            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1762            * @throws SystemException if a system exception occurred
1763            */
1764            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_U_PrevAndNext(
1765                    long id, long groupId, long userId,
1766                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1767                    throws com.liferay.portal.kernel.exception.SystemException,
1768                            com.liferay.portlet.journal.NoSuchArticleException;
1769    
1770            /**
1771            * Removes all the journal articles where groupId = &#63; and userId = &#63; from the database.
1772            *
1773            * @param groupId the group ID
1774            * @param userId the user ID
1775            * @throws SystemException if a system exception occurred
1776            */
1777            public void removeByG_U(long groupId, long userId)
1778                    throws com.liferay.portal.kernel.exception.SystemException;
1779    
1780            /**
1781            * Returns the number of journal articles where groupId = &#63; and userId = &#63;.
1782            *
1783            * @param groupId the group ID
1784            * @param userId the user ID
1785            * @return the number of matching journal articles
1786            * @throws SystemException if a system exception occurred
1787            */
1788            public int countByG_U(long groupId, long userId)
1789                    throws com.liferay.portal.kernel.exception.SystemException;
1790    
1791            /**
1792            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and userId = &#63;.
1793            *
1794            * @param groupId the group ID
1795            * @param userId the user ID
1796            * @return the number of matching journal articles that the user has permission to view
1797            * @throws SystemException if a system exception occurred
1798            */
1799            public int filterCountByG_U(long groupId, long userId)
1800                    throws com.liferay.portal.kernel.exception.SystemException;
1801    
1802            /**
1803            * Returns all the journal articles where groupId = &#63; and folderId = &#63;.
1804            *
1805            * @param groupId the group ID
1806            * @param folderId the folder ID
1807            * @return the matching journal articles
1808            * @throws SystemException if a system exception occurred
1809            */
1810            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F(
1811                    long groupId, long folderId)
1812                    throws com.liferay.portal.kernel.exception.SystemException;
1813    
1814            /**
1815            * Returns a range of all the journal articles where groupId = &#63; and folderId = &#63;.
1816            *
1817            * <p>
1818            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1819            * </p>
1820            *
1821            * @param groupId the group ID
1822            * @param folderId the folder ID
1823            * @param start the lower bound of the range of journal articles
1824            * @param end the upper bound of the range of journal articles (not inclusive)
1825            * @return the range of matching journal articles
1826            * @throws SystemException if a system exception occurred
1827            */
1828            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F(
1829                    long groupId, long folderId, int start, int end)
1830                    throws com.liferay.portal.kernel.exception.SystemException;
1831    
1832            /**
1833            * Returns an ordered range of all the journal articles where groupId = &#63; and folderId = &#63;.
1834            *
1835            * <p>
1836            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1837            * </p>
1838            *
1839            * @param groupId the group ID
1840            * @param folderId the folder ID
1841            * @param start the lower bound of the range of journal articles
1842            * @param end the upper bound of the range of journal articles (not inclusive)
1843            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1844            * @return the ordered range of matching journal articles
1845            * @throws SystemException if a system exception occurred
1846            */
1847            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F(
1848                    long groupId, long folderId, int start, int end,
1849                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1850                    throws com.liferay.portal.kernel.exception.SystemException;
1851    
1852            /**
1853            * Returns the first journal article in the ordered set where groupId = &#63; and folderId = &#63;.
1854            *
1855            * @param groupId the group ID
1856            * @param folderId the folder ID
1857            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1858            * @return the first matching journal article
1859            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1860            * @throws SystemException if a system exception occurred
1861            */
1862            public com.liferay.portlet.journal.model.JournalArticle findByG_F_First(
1863                    long groupId, long folderId,
1864                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1865                    throws com.liferay.portal.kernel.exception.SystemException,
1866                            com.liferay.portlet.journal.NoSuchArticleException;
1867    
1868            /**
1869            * Returns the first journal article in the ordered set where groupId = &#63; and folderId = &#63;.
1870            *
1871            * @param groupId the group ID
1872            * @param folderId the folder ID
1873            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1874            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
1875            * @throws SystemException if a system exception occurred
1876            */
1877            public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_First(
1878                    long groupId, long folderId,
1879                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1880                    throws com.liferay.portal.kernel.exception.SystemException;
1881    
1882            /**
1883            * Returns the last journal article in the ordered set where groupId = &#63; and folderId = &#63;.
1884            *
1885            * @param groupId the group ID
1886            * @param folderId the folder ID
1887            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1888            * @return the last matching journal article
1889            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1890            * @throws SystemException if a system exception occurred
1891            */
1892            public com.liferay.portlet.journal.model.JournalArticle findByG_F_Last(
1893                    long groupId, long folderId,
1894                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1895                    throws com.liferay.portal.kernel.exception.SystemException,
1896                            com.liferay.portlet.journal.NoSuchArticleException;
1897    
1898            /**
1899            * Returns the last journal article in the ordered set where groupId = &#63; and folderId = &#63;.
1900            *
1901            * @param groupId the group ID
1902            * @param folderId the folder ID
1903            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1904            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
1905            * @throws SystemException if a system exception occurred
1906            */
1907            public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_Last(
1908                    long groupId, long folderId,
1909                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1910                    throws com.liferay.portal.kernel.exception.SystemException;
1911    
1912            /**
1913            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and folderId = &#63;.
1914            *
1915            * @param id the primary key of the current journal article
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 previous, current, and next journal article
1920            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1921            * @throws SystemException if a system exception occurred
1922            */
1923            public com.liferay.portlet.journal.model.JournalArticle[] findByG_F_PrevAndNext(
1924                    long id, 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 all the journal articles that the user has permission to view where groupId = &#63; and folderId = &#63;.
1931            *
1932            * @param groupId the group ID
1933            * @param folderId the folder ID
1934            * @return the matching journal articles that the user has permission to view
1935            * @throws SystemException if a system exception occurred
1936            */
1937            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F(
1938                    long groupId, long folderId)
1939                    throws com.liferay.portal.kernel.exception.SystemException;
1940    
1941            /**
1942            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and folderId = &#63;.
1943            *
1944            * <p>
1945            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1946            * </p>
1947            *
1948            * @param groupId the group ID
1949            * @param folderId the folder ID
1950            * @param start the lower bound of the range of journal articles
1951            * @param end the upper bound of the range of journal articles (not inclusive)
1952            * @return the range of matching journal articles that the user has permission to view
1953            * @throws SystemException if a system exception occurred
1954            */
1955            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F(
1956                    long groupId, long folderId, int start, int end)
1957                    throws com.liferay.portal.kernel.exception.SystemException;
1958    
1959            /**
1960            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and folderId = &#63;.
1961            *
1962            * <p>
1963            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1964            * </p>
1965            *
1966            * @param groupId the group ID
1967            * @param folderId the folder ID
1968            * @param start the lower bound of the range of journal articles
1969            * @param end the upper bound of the range of journal articles (not inclusive)
1970            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1971            * @return the ordered range of matching journal articles that the user has permission to view
1972            * @throws SystemException if a system exception occurred
1973            */
1974            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F(
1975                    long groupId, long folderId, int start, int end,
1976                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1977                    throws com.liferay.portal.kernel.exception.SystemException;
1978    
1979            /**
1980            * 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;.
1981            *
1982            * @param id the primary key of the current journal article
1983            * @param groupId the group ID
1984            * @param folderId the folder ID
1985            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1986            * @return the previous, current, and next journal article
1987            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1988            * @throws SystemException if a system exception occurred
1989            */
1990            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_F_PrevAndNext(
1991                    long id, long groupId, long folderId,
1992                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1993                    throws com.liferay.portal.kernel.exception.SystemException,
1994                            com.liferay.portlet.journal.NoSuchArticleException;
1995    
1996            /**
1997            * Returns all the journal articles that the user has permission to view where groupId = &#63; and folderId = any &#63;.
1998            *
1999            * @param groupId the group ID
2000            * @param folderIds the folder IDs
2001            * @return the matching journal articles that the user has permission to view
2002            * @throws SystemException if a system exception occurred
2003            */
2004            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F(
2005                    long groupId, long[] folderIds)
2006                    throws com.liferay.portal.kernel.exception.SystemException;
2007    
2008            /**
2009            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and folderId = any &#63;.
2010            *
2011            * <p>
2012            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2013            * </p>
2014            *
2015            * @param groupId the group ID
2016            * @param folderIds the folder IDs
2017            * @param start the lower bound of the range of journal articles
2018            * @param end the upper bound of the range of journal articles (not inclusive)
2019            * @return the range of matching journal articles that the user has permission to view
2020            * @throws SystemException if a system exception occurred
2021            */
2022            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F(
2023                    long groupId, long[] folderIds, int start, int end)
2024                    throws com.liferay.portal.kernel.exception.SystemException;
2025    
2026            /**
2027            * Returns an ordered range of all the journal articles that the user has permission to view where groupId = &#63; and folderId = any &#63;.
2028            *
2029            * <p>
2030            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2031            * </p>
2032            *
2033            * @param groupId the group ID
2034            * @param folderIds the folder IDs
2035            * @param start the lower bound of the range of journal articles
2036            * @param end the upper bound of the range of journal articles (not inclusive)
2037            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2038            * @return the ordered range of matching journal articles that the user has permission to view
2039            * @throws SystemException if a system exception occurred
2040            */
2041            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F(
2042                    long groupId, long[] folderIds, int start, int end,
2043                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2044                    throws com.liferay.portal.kernel.exception.SystemException;
2045    
2046            /**
2047            * Returns all the journal articles where groupId = &#63; and folderId = any &#63;.
2048            *
2049            * <p>
2050            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2051            * </p>
2052            *
2053            * @param groupId the group ID
2054            * @param folderIds the folder IDs
2055            * @return the matching journal articles
2056            * @throws SystemException if a system exception occurred
2057            */
2058            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F(
2059                    long groupId, long[] folderIds)
2060                    throws com.liferay.portal.kernel.exception.SystemException;
2061    
2062            /**
2063            * Returns a range of all the journal articles where groupId = &#63; and folderId = any &#63;.
2064            *
2065            * <p>
2066            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2067            * </p>
2068            *
2069            * @param groupId the group ID
2070            * @param folderIds the folder IDs
2071            * @param start the lower bound of the range of journal articles
2072            * @param end the upper bound of the range of journal articles (not inclusive)
2073            * @return the range of matching journal articles
2074            * @throws SystemException if a system exception occurred
2075            */
2076            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F(
2077                    long groupId, long[] folderIds, int start, int end)
2078                    throws com.liferay.portal.kernel.exception.SystemException;
2079    
2080            /**
2081            * Returns an ordered range of all the journal articles where groupId = &#63; and folderId = any &#63;.
2082            *
2083            * <p>
2084            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2085            * </p>
2086            *
2087            * @param groupId the group ID
2088            * @param folderIds the folder IDs
2089            * @param start the lower bound of the range of journal articles
2090            * @param end the upper bound of the range of journal articles (not inclusive)
2091            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2092            * @return the ordered range of matching journal articles
2093            * @throws SystemException if a system exception occurred
2094            */
2095            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F(
2096                    long groupId, long[] folderIds, int start, int end,
2097                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2098                    throws com.liferay.portal.kernel.exception.SystemException;
2099    
2100            /**
2101            * Removes all the journal articles where groupId = &#63; and folderId = &#63; from the database.
2102            *
2103            * @param groupId the group ID
2104            * @param folderId the folder ID
2105            * @throws SystemException if a system exception occurred
2106            */
2107            public void removeByG_F(long groupId, long folderId)
2108                    throws com.liferay.portal.kernel.exception.SystemException;
2109    
2110            /**
2111            * Returns the number of journal articles where groupId = &#63; and folderId = &#63;.
2112            *
2113            * @param groupId the group ID
2114            * @param folderId the folder ID
2115            * @return the number of matching journal articles
2116            * @throws SystemException if a system exception occurred
2117            */
2118            public int countByG_F(long groupId, long folderId)
2119                    throws com.liferay.portal.kernel.exception.SystemException;
2120    
2121            /**
2122            * Returns the number of journal articles where groupId = &#63; and folderId = any &#63;.
2123            *
2124            * @param groupId the group ID
2125            * @param folderIds the folder IDs
2126            * @return the number of matching journal articles
2127            * @throws SystemException if a system exception occurred
2128            */
2129            public int countByG_F(long groupId, long[] folderIds)
2130                    throws com.liferay.portal.kernel.exception.SystemException;
2131    
2132            /**
2133            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and folderId = &#63;.
2134            *
2135            * @param groupId the group ID
2136            * @param folderId the folder ID
2137            * @return the number of matching journal articles that the user has permission to view
2138            * @throws SystemException if a system exception occurred
2139            */
2140            public int filterCountByG_F(long groupId, long folderId)
2141                    throws com.liferay.portal.kernel.exception.SystemException;
2142    
2143            /**
2144            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and folderId = any &#63;.
2145            *
2146            * @param groupId the group ID
2147            * @param folderIds the folder IDs
2148            * @return the number of matching journal articles that the user has permission to view
2149            * @throws SystemException if a system exception occurred
2150            */
2151            public int filterCountByG_F(long groupId, long[] folderIds)
2152                    throws com.liferay.portal.kernel.exception.SystemException;
2153    
2154            /**
2155            * Returns all the journal articles where groupId = &#63; and articleId = &#63;.
2156            *
2157            * @param groupId the group ID
2158            * @param articleId the article ID
2159            * @return the matching journal articles
2160            * @throws SystemException if a system exception occurred
2161            */
2162            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
2163                    long groupId, java.lang.String articleId)
2164                    throws com.liferay.portal.kernel.exception.SystemException;
2165    
2166            /**
2167            * Returns a range of all the journal articles where groupId = &#63; and articleId = &#63;.
2168            *
2169            * <p>
2170            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2171            * </p>
2172            *
2173            * @param groupId the group ID
2174            * @param articleId the article ID
2175            * @param start the lower bound of the range of journal articles
2176            * @param end the upper bound of the range of journal articles (not inclusive)
2177            * @return the range of matching journal articles
2178            * @throws SystemException if a system exception occurred
2179            */
2180            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
2181                    long groupId, java.lang.String articleId, int start, int end)
2182                    throws com.liferay.portal.kernel.exception.SystemException;
2183    
2184            /**
2185            * Returns an ordered range of all the journal articles where groupId = &#63; and articleId = &#63;.
2186            *
2187            * <p>
2188            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2189            * </p>
2190            *
2191            * @param groupId the group ID
2192            * @param articleId the article ID
2193            * @param start the lower bound of the range of journal articles
2194            * @param end the upper bound of the range of journal articles (not inclusive)
2195            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2196            * @return the ordered range of matching journal articles
2197            * @throws SystemException if a system exception occurred
2198            */
2199            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
2200                    long groupId, java.lang.String articleId, int start, int end,
2201                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2202                    throws com.liferay.portal.kernel.exception.SystemException;
2203    
2204            /**
2205            * Returns the first journal article in the ordered set where groupId = &#63; and articleId = &#63;.
2206            *
2207            * @param groupId the group ID
2208            * @param articleId the article ID
2209            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2210            * @return the first matching journal article
2211            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2212            * @throws SystemException if a system exception occurred
2213            */
2214            public com.liferay.portlet.journal.model.JournalArticle findByG_A_First(
2215                    long groupId, java.lang.String articleId,
2216                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2217                    throws com.liferay.portal.kernel.exception.SystemException,
2218                            com.liferay.portlet.journal.NoSuchArticleException;
2219    
2220            /**
2221            * Returns the first journal article in the ordered set where groupId = &#63; and articleId = &#63;.
2222            *
2223            * @param groupId the group ID
2224            * @param articleId the article ID
2225            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2226            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
2227            * @throws SystemException if a system exception occurred
2228            */
2229            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_First(
2230                    long groupId, java.lang.String articleId,
2231                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2232                    throws com.liferay.portal.kernel.exception.SystemException;
2233    
2234            /**
2235            * Returns the last journal article in the ordered set where groupId = &#63; and articleId = &#63;.
2236            *
2237            * @param groupId the group ID
2238            * @param articleId the article ID
2239            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2240            * @return the last matching journal article
2241            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2242            * @throws SystemException if a system exception occurred
2243            */
2244            public com.liferay.portlet.journal.model.JournalArticle findByG_A_Last(
2245                    long groupId, java.lang.String articleId,
2246                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2247                    throws com.liferay.portal.kernel.exception.SystemException,
2248                            com.liferay.portlet.journal.NoSuchArticleException;
2249    
2250            /**
2251            * Returns the last journal article in the ordered set where groupId = &#63; and articleId = &#63;.
2252            *
2253            * @param groupId the group ID
2254            * @param articleId the article ID
2255            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2256            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
2257            * @throws SystemException if a system exception occurred
2258            */
2259            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_Last(
2260                    long groupId, java.lang.String articleId,
2261                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2262                    throws com.liferay.portal.kernel.exception.SystemException;
2263    
2264            /**
2265            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and articleId = &#63;.
2266            *
2267            * @param id the primary key of the current journal article
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 previous, current, and next journal article
2272            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2273            * @throws SystemException if a system exception occurred
2274            */
2275            public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_PrevAndNext(
2276                    long id, 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 all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63;.
2283            *
2284            * @param groupId the group ID
2285            * @param articleId the article ID
2286            * @return the matching journal articles that the user has permission to view
2287            * @throws SystemException if a system exception occurred
2288            */
2289            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A(
2290                    long groupId, java.lang.String articleId)
2291                    throws com.liferay.portal.kernel.exception.SystemException;
2292    
2293            /**
2294            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63;.
2295            *
2296            * <p>
2297            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2298            * </p>
2299            *
2300            * @param groupId the group ID
2301            * @param articleId the article ID
2302            * @param start the lower bound of the range of journal articles
2303            * @param end the upper bound of the range of journal articles (not inclusive)
2304            * @return the range of matching journal articles that the user has permission to view
2305            * @throws SystemException if a system exception occurred
2306            */
2307            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A(
2308                    long groupId, java.lang.String articleId, int start, int end)
2309                    throws com.liferay.portal.kernel.exception.SystemException;
2310    
2311            /**
2312            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and articleId = &#63;.
2313            *
2314            * <p>
2315            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2316            * </p>
2317            *
2318            * @param groupId the group ID
2319            * @param articleId the article ID
2320            * @param start the lower bound of the range of journal articles
2321            * @param end the upper bound of the range of journal articles (not inclusive)
2322            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2323            * @return the ordered range of matching journal articles that the user has permission to view
2324            * @throws SystemException if a system exception occurred
2325            */
2326            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A(
2327                    long groupId, java.lang.String articleId, int start, int end,
2328                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2329                    throws com.liferay.portal.kernel.exception.SystemException;
2330    
2331            /**
2332            * 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;.
2333            *
2334            * @param id the primary key of the current journal article
2335            * @param groupId the group ID
2336            * @param articleId the article ID
2337            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2338            * @return the previous, current, and next journal article
2339            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2340            * @throws SystemException if a system exception occurred
2341            */
2342            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_PrevAndNext(
2343                    long id, long groupId, java.lang.String articleId,
2344                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2345                    throws com.liferay.portal.kernel.exception.SystemException,
2346                            com.liferay.portlet.journal.NoSuchArticleException;
2347    
2348            /**
2349            * Removes all the journal articles where groupId = &#63; and articleId = &#63; from the database.
2350            *
2351            * @param groupId the group ID
2352            * @param articleId the article ID
2353            * @throws SystemException if a system exception occurred
2354            */
2355            public void removeByG_A(long groupId, java.lang.String articleId)
2356                    throws com.liferay.portal.kernel.exception.SystemException;
2357    
2358            /**
2359            * Returns the number of journal articles where groupId = &#63; and articleId = &#63;.
2360            *
2361            * @param groupId the group ID
2362            * @param articleId the article ID
2363            * @return the number of matching journal articles
2364            * @throws SystemException if a system exception occurred
2365            */
2366            public int countByG_A(long groupId, java.lang.String articleId)
2367                    throws com.liferay.portal.kernel.exception.SystemException;
2368    
2369            /**
2370            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and articleId = &#63;.
2371            *
2372            * @param groupId the group ID
2373            * @param articleId the article ID
2374            * @return the number of matching journal articles that the user has permission to view
2375            * @throws SystemException if a system exception occurred
2376            */
2377            public int filterCountByG_A(long groupId, java.lang.String articleId)
2378                    throws com.liferay.portal.kernel.exception.SystemException;
2379    
2380            /**
2381            * Returns all the journal articles where groupId = &#63; and urlTitle = &#63;.
2382            *
2383            * @param groupId the group ID
2384            * @param urlTitle the url title
2385            * @return the matching journal articles
2386            * @throws SystemException if a system exception occurred
2387            */
2388            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
2389                    long groupId, java.lang.String urlTitle)
2390                    throws com.liferay.portal.kernel.exception.SystemException;
2391    
2392            /**
2393            * Returns a range of all the journal articles where groupId = &#63; and urlTitle = &#63;.
2394            *
2395            * <p>
2396            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2397            * </p>
2398            *
2399            * @param groupId the group ID
2400            * @param urlTitle the url title
2401            * @param start the lower bound of the range of journal articles
2402            * @param end the upper bound of the range of journal articles (not inclusive)
2403            * @return the range of matching journal articles
2404            * @throws SystemException if a system exception occurred
2405            */
2406            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
2407                    long groupId, java.lang.String urlTitle, int start, int end)
2408                    throws com.liferay.portal.kernel.exception.SystemException;
2409    
2410            /**
2411            * Returns an ordered range of all the journal articles where groupId = &#63; and urlTitle = &#63;.
2412            *
2413            * <p>
2414            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2415            * </p>
2416            *
2417            * @param groupId the group ID
2418            * @param urlTitle the url title
2419            * @param start the lower bound of the range of journal articles
2420            * @param end the upper bound of the range of journal articles (not inclusive)
2421            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2422            * @return the ordered range of matching journal articles
2423            * @throws SystemException if a system exception occurred
2424            */
2425            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
2426                    long groupId, java.lang.String urlTitle, int start, int end,
2427                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2428                    throws com.liferay.portal.kernel.exception.SystemException;
2429    
2430            /**
2431            * Returns the first journal article in the ordered set where groupId = &#63; and urlTitle = &#63;.
2432            *
2433            * @param groupId the group ID
2434            * @param urlTitle the url title
2435            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2436            * @return the first matching journal article
2437            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2438            * @throws SystemException if a system exception occurred
2439            */
2440            public com.liferay.portlet.journal.model.JournalArticle findByG_UT_First(
2441                    long groupId, java.lang.String urlTitle,
2442                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2443                    throws com.liferay.portal.kernel.exception.SystemException,
2444                            com.liferay.portlet.journal.NoSuchArticleException;
2445    
2446            /**
2447            * Returns the first journal article in the ordered set where groupId = &#63; and urlTitle = &#63;.
2448            *
2449            * @param groupId the group ID
2450            * @param urlTitle the url title
2451            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2452            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
2453            * @throws SystemException if a system exception occurred
2454            */
2455            public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_First(
2456                    long groupId, java.lang.String urlTitle,
2457                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2458                    throws com.liferay.portal.kernel.exception.SystemException;
2459    
2460            /**
2461            * Returns the last journal article in the ordered set where groupId = &#63; and urlTitle = &#63;.
2462            *
2463            * @param groupId the group ID
2464            * @param urlTitle the url title
2465            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2466            * @return the last matching journal article
2467            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2468            * @throws SystemException if a system exception occurred
2469            */
2470            public com.liferay.portlet.journal.model.JournalArticle findByG_UT_Last(
2471                    long groupId, java.lang.String urlTitle,
2472                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2473                    throws com.liferay.portal.kernel.exception.SystemException,
2474                            com.liferay.portlet.journal.NoSuchArticleException;
2475    
2476            /**
2477            * Returns the last journal article in the ordered set where groupId = &#63; and urlTitle = &#63;.
2478            *
2479            * @param groupId the group ID
2480            * @param urlTitle the url title
2481            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2482            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
2483            * @throws SystemException if a system exception occurred
2484            */
2485            public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_Last(
2486                    long groupId, java.lang.String urlTitle,
2487                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2488                    throws com.liferay.portal.kernel.exception.SystemException;
2489    
2490            /**
2491            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and urlTitle = &#63;.
2492            *
2493            * @param id the primary key of the current journal article
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 previous, current, and next journal article
2498            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2499            * @throws SystemException if a system exception occurred
2500            */
2501            public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_PrevAndNext(
2502                    long id, 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 all the journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63;.
2509            *
2510            * @param groupId the group ID
2511            * @param urlTitle the url title
2512            * @return the matching journal articles that the user has permission to view
2513            * @throws SystemException if a system exception occurred
2514            */
2515            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT(
2516                    long groupId, java.lang.String urlTitle)
2517                    throws com.liferay.portal.kernel.exception.SystemException;
2518    
2519            /**
2520            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63;.
2521            *
2522            * <p>
2523            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2524            * </p>
2525            *
2526            * @param groupId the group ID
2527            * @param urlTitle the url title
2528            * @param start the lower bound of the range of journal articles
2529            * @param end the upper bound of the range of journal articles (not inclusive)
2530            * @return the range of matching journal articles that the user has permission to view
2531            * @throws SystemException if a system exception occurred
2532            */
2533            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT(
2534                    long groupId, java.lang.String urlTitle, int start, int end)
2535                    throws com.liferay.portal.kernel.exception.SystemException;
2536    
2537            /**
2538            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and urlTitle = &#63;.
2539            *
2540            * <p>
2541            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2542            * </p>
2543            *
2544            * @param groupId the group ID
2545            * @param urlTitle the url title
2546            * @param start the lower bound of the range of journal articles
2547            * @param end the upper bound of the range of journal articles (not inclusive)
2548            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2549            * @return the ordered range of matching journal articles that the user has permission to view
2550            * @throws SystemException if a system exception occurred
2551            */
2552            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT(
2553                    long groupId, java.lang.String urlTitle, int start, int end,
2554                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2555                    throws com.liferay.portal.kernel.exception.SystemException;
2556    
2557            /**
2558            * 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;.
2559            *
2560            * @param id the primary key of the current journal article
2561            * @param groupId the group ID
2562            * @param urlTitle the url title
2563            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2564            * @return the previous, current, and next journal article
2565            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2566            * @throws SystemException if a system exception occurred
2567            */
2568            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_PrevAndNext(
2569                    long id, long groupId, java.lang.String urlTitle,
2570                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2571                    throws com.liferay.portal.kernel.exception.SystemException,
2572                            com.liferay.portlet.journal.NoSuchArticleException;
2573    
2574            /**
2575            * Removes all the journal articles where groupId = &#63; and urlTitle = &#63; from the database.
2576            *
2577            * @param groupId the group ID
2578            * @param urlTitle the url title
2579            * @throws SystemException if a system exception occurred
2580            */
2581            public void removeByG_UT(long groupId, java.lang.String urlTitle)
2582                    throws com.liferay.portal.kernel.exception.SystemException;
2583    
2584            /**
2585            * Returns the number of journal articles where groupId = &#63; and urlTitle = &#63;.
2586            *
2587            * @param groupId the group ID
2588            * @param urlTitle the url title
2589            * @return the number of matching journal articles
2590            * @throws SystemException if a system exception occurred
2591            */
2592            public int countByG_UT(long groupId, java.lang.String urlTitle)
2593                    throws com.liferay.portal.kernel.exception.SystemException;
2594    
2595            /**
2596            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63;.
2597            *
2598            * @param groupId the group ID
2599            * @param urlTitle the url title
2600            * @return the number of matching journal articles that the user has permission to view
2601            * @throws SystemException if a system exception occurred
2602            */
2603            public int filterCountByG_UT(long groupId, java.lang.String urlTitle)
2604                    throws com.liferay.portal.kernel.exception.SystemException;
2605    
2606            /**
2607            * Returns all the journal articles where groupId = &#63; and structureId = &#63;.
2608            *
2609            * @param groupId the group ID
2610            * @param structureId the structure ID
2611            * @return the matching journal articles
2612            * @throws SystemException if a system exception occurred
2613            */
2614            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
2615                    long groupId, java.lang.String structureId)
2616                    throws com.liferay.portal.kernel.exception.SystemException;
2617    
2618            /**
2619            * Returns a range of all the journal articles where groupId = &#63; and structureId = &#63;.
2620            *
2621            * <p>
2622            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2623            * </p>
2624            *
2625            * @param groupId the group ID
2626            * @param structureId the structure ID
2627            * @param start the lower bound of the range of journal articles
2628            * @param end the upper bound of the range of journal articles (not inclusive)
2629            * @return the range of matching journal articles
2630            * @throws SystemException if a system exception occurred
2631            */
2632            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
2633                    long groupId, java.lang.String structureId, int start, int end)
2634                    throws com.liferay.portal.kernel.exception.SystemException;
2635    
2636            /**
2637            * Returns an ordered range of all the journal articles where groupId = &#63; and structureId = &#63;.
2638            *
2639            * <p>
2640            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2641            * </p>
2642            *
2643            * @param groupId the group ID
2644            * @param structureId the structure ID
2645            * @param start the lower bound of the range of journal articles
2646            * @param end the upper bound of the range of journal articles (not inclusive)
2647            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2648            * @return the ordered range of matching journal articles
2649            * @throws SystemException if a system exception occurred
2650            */
2651            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
2652                    long groupId, java.lang.String structureId, int start, int end,
2653                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2654                    throws com.liferay.portal.kernel.exception.SystemException;
2655    
2656            /**
2657            * Returns the first journal article in the ordered set where groupId = &#63; and structureId = &#63;.
2658            *
2659            * @param groupId the group ID
2660            * @param structureId the structure ID
2661            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2662            * @return the first matching journal article
2663            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2664            * @throws SystemException if a system exception occurred
2665            */
2666            public com.liferay.portlet.journal.model.JournalArticle findByG_S_First(
2667                    long groupId, java.lang.String structureId,
2668                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2669                    throws com.liferay.portal.kernel.exception.SystemException,
2670                            com.liferay.portlet.journal.NoSuchArticleException;
2671    
2672            /**
2673            * Returns the first journal article in the ordered set where groupId = &#63; and structureId = &#63;.
2674            *
2675            * @param groupId the group ID
2676            * @param structureId the structure ID
2677            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2678            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
2679            * @throws SystemException if a system exception occurred
2680            */
2681            public com.liferay.portlet.journal.model.JournalArticle fetchByG_S_First(
2682                    long groupId, java.lang.String structureId,
2683                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2684                    throws com.liferay.portal.kernel.exception.SystemException;
2685    
2686            /**
2687            * Returns the last journal article in the ordered set where groupId = &#63; and structureId = &#63;.
2688            *
2689            * @param groupId the group ID
2690            * @param structureId the structure ID
2691            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2692            * @return the last matching journal article
2693            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2694            * @throws SystemException if a system exception occurred
2695            */
2696            public com.liferay.portlet.journal.model.JournalArticle findByG_S_Last(
2697                    long groupId, java.lang.String structureId,
2698                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2699                    throws com.liferay.portal.kernel.exception.SystemException,
2700                            com.liferay.portlet.journal.NoSuchArticleException;
2701    
2702            /**
2703            * Returns the last journal article in the ordered set where groupId = &#63; and structureId = &#63;.
2704            *
2705            * @param groupId the group ID
2706            * @param structureId the structure ID
2707            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2708            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
2709            * @throws SystemException if a system exception occurred
2710            */
2711            public com.liferay.portlet.journal.model.JournalArticle fetchByG_S_Last(
2712                    long groupId, java.lang.String structureId,
2713                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2714                    throws com.liferay.portal.kernel.exception.SystemException;
2715    
2716            /**
2717            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and structureId = &#63;.
2718            *
2719            * @param id the primary key of the current journal article
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 previous, current, and next journal article
2724            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2725            * @throws SystemException if a system exception occurred
2726            */
2727            public com.liferay.portlet.journal.model.JournalArticle[] findByG_S_PrevAndNext(
2728                    long id, 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 all the journal articles that the user has permission to view where groupId = &#63; and structureId = &#63;.
2735            *
2736            * @param groupId the group ID
2737            * @param structureId the structure ID
2738            * @return the matching journal articles that the user has permission to view
2739            * @throws SystemException if a system exception occurred
2740            */
2741            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S(
2742                    long groupId, java.lang.String structureId)
2743                    throws com.liferay.portal.kernel.exception.SystemException;
2744    
2745            /**
2746            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and structureId = &#63;.
2747            *
2748            * <p>
2749            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2750            * </p>
2751            *
2752            * @param groupId the group ID
2753            * @param structureId the structure ID
2754            * @param start the lower bound of the range of journal articles
2755            * @param end the upper bound of the range of journal articles (not inclusive)
2756            * @return the range of matching journal articles that the user has permission to view
2757            * @throws SystemException if a system exception occurred
2758            */
2759            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S(
2760                    long groupId, java.lang.String structureId, int start, int end)
2761                    throws com.liferay.portal.kernel.exception.SystemException;
2762    
2763            /**
2764            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and structureId = &#63;.
2765            *
2766            * <p>
2767            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2768            * </p>
2769            *
2770            * @param groupId the group ID
2771            * @param structureId the structure ID
2772            * @param start the lower bound of the range of journal articles
2773            * @param end the upper bound of the range of journal articles (not inclusive)
2774            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2775            * @return the ordered range of matching journal articles that the user has permission to view
2776            * @throws SystemException if a system exception occurred
2777            */
2778            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S(
2779                    long groupId, java.lang.String structureId, int start, int end,
2780                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2781                    throws com.liferay.portal.kernel.exception.SystemException;
2782    
2783            /**
2784            * 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;.
2785            *
2786            * @param id the primary key of the current journal article
2787            * @param groupId the group ID
2788            * @param structureId the structure ID
2789            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2790            * @return the previous, current, and next journal article
2791            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2792            * @throws SystemException if a system exception occurred
2793            */
2794            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_S_PrevAndNext(
2795                    long id, long groupId, java.lang.String structureId,
2796                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2797                    throws com.liferay.portal.kernel.exception.SystemException,
2798                            com.liferay.portlet.journal.NoSuchArticleException;
2799    
2800            /**
2801            * Removes all the journal articles where groupId = &#63; and structureId = &#63; from the database.
2802            *
2803            * @param groupId the group ID
2804            * @param structureId the structure ID
2805            * @throws SystemException if a system exception occurred
2806            */
2807            public void removeByG_S(long groupId, java.lang.String structureId)
2808                    throws com.liferay.portal.kernel.exception.SystemException;
2809    
2810            /**
2811            * Returns the number of journal articles where groupId = &#63; and structureId = &#63;.
2812            *
2813            * @param groupId the group ID
2814            * @param structureId the structure ID
2815            * @return the number of matching journal articles
2816            * @throws SystemException if a system exception occurred
2817            */
2818            public int countByG_S(long groupId, java.lang.String structureId)
2819                    throws com.liferay.portal.kernel.exception.SystemException;
2820    
2821            /**
2822            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and structureId = &#63;.
2823            *
2824            * @param groupId the group ID
2825            * @param structureId the structure ID
2826            * @return the number of matching journal articles that the user has permission to view
2827            * @throws SystemException if a system exception occurred
2828            */
2829            public int filterCountByG_S(long groupId, java.lang.String structureId)
2830                    throws com.liferay.portal.kernel.exception.SystemException;
2831    
2832            /**
2833            * Returns all the journal articles where groupId = &#63; and templateId = &#63;.
2834            *
2835            * @param groupId the group ID
2836            * @param templateId the template ID
2837            * @return the matching journal articles
2838            * @throws SystemException if a system exception occurred
2839            */
2840            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
2841                    long groupId, java.lang.String templateId)
2842                    throws com.liferay.portal.kernel.exception.SystemException;
2843    
2844            /**
2845            * Returns a range of all the journal articles where groupId = &#63; and templateId = &#63;.
2846            *
2847            * <p>
2848            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2849            * </p>
2850            *
2851            * @param groupId the group ID
2852            * @param templateId the template ID
2853            * @param start the lower bound of the range of journal articles
2854            * @param end the upper bound of the range of journal articles (not inclusive)
2855            * @return the range of matching journal articles
2856            * @throws SystemException if a system exception occurred
2857            */
2858            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
2859                    long groupId, java.lang.String templateId, int start, int end)
2860                    throws com.liferay.portal.kernel.exception.SystemException;
2861    
2862            /**
2863            * Returns an ordered range of all the journal articles where groupId = &#63; and templateId = &#63;.
2864            *
2865            * <p>
2866            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2867            * </p>
2868            *
2869            * @param groupId the group ID
2870            * @param templateId the template ID
2871            * @param start the lower bound of the range of journal articles
2872            * @param end the upper bound of the range of journal articles (not inclusive)
2873            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2874            * @return the ordered range of matching journal articles
2875            * @throws SystemException if a system exception occurred
2876            */
2877            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
2878                    long groupId, java.lang.String templateId, int start, int end,
2879                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2880                    throws com.liferay.portal.kernel.exception.SystemException;
2881    
2882            /**
2883            * Returns the first journal article in the ordered set where groupId = &#63; and templateId = &#63;.
2884            *
2885            * @param groupId the group ID
2886            * @param templateId the template ID
2887            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2888            * @return the first matching journal article
2889            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2890            * @throws SystemException if a system exception occurred
2891            */
2892            public com.liferay.portlet.journal.model.JournalArticle findByG_T_First(
2893                    long groupId, java.lang.String templateId,
2894                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2895                    throws com.liferay.portal.kernel.exception.SystemException,
2896                            com.liferay.portlet.journal.NoSuchArticleException;
2897    
2898            /**
2899            * Returns the first journal article in the ordered set where groupId = &#63; and templateId = &#63;.
2900            *
2901            * @param groupId the group ID
2902            * @param templateId the template ID
2903            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2904            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
2905            * @throws SystemException if a system exception occurred
2906            */
2907            public com.liferay.portlet.journal.model.JournalArticle fetchByG_T_First(
2908                    long groupId, java.lang.String templateId,
2909                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2910                    throws com.liferay.portal.kernel.exception.SystemException;
2911    
2912            /**
2913            * Returns the last journal article in the ordered set where groupId = &#63; and templateId = &#63;.
2914            *
2915            * @param groupId the group ID
2916            * @param templateId the template ID
2917            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2918            * @return the last matching journal article
2919            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2920            * @throws SystemException if a system exception occurred
2921            */
2922            public com.liferay.portlet.journal.model.JournalArticle findByG_T_Last(
2923                    long groupId, java.lang.String templateId,
2924                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2925                    throws com.liferay.portal.kernel.exception.SystemException,
2926                            com.liferay.portlet.journal.NoSuchArticleException;
2927    
2928            /**
2929            * Returns the last journal article in the ordered set where groupId = &#63; and templateId = &#63;.
2930            *
2931            * @param groupId the group ID
2932            * @param templateId the template ID
2933            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2934            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
2935            * @throws SystemException if a system exception occurred
2936            */
2937            public com.liferay.portlet.journal.model.JournalArticle fetchByG_T_Last(
2938                    long groupId, java.lang.String templateId,
2939                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2940                    throws com.liferay.portal.kernel.exception.SystemException;
2941    
2942            /**
2943            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and templateId = &#63;.
2944            *
2945            * @param id the primary key of the current journal article
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 previous, current, and next journal article
2950            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2951            * @throws SystemException if a system exception occurred
2952            */
2953            public com.liferay.portlet.journal.model.JournalArticle[] findByG_T_PrevAndNext(
2954                    long id, 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 all the journal articles that the user has permission to view where groupId = &#63; and templateId = &#63;.
2961            *
2962            * @param groupId the group ID
2963            * @param templateId the template ID
2964            * @return the matching journal articles that the user has permission to view
2965            * @throws SystemException if a system exception occurred
2966            */
2967            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T(
2968                    long groupId, java.lang.String templateId)
2969                    throws com.liferay.portal.kernel.exception.SystemException;
2970    
2971            /**
2972            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and templateId = &#63;.
2973            *
2974            * <p>
2975            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2976            * </p>
2977            *
2978            * @param groupId the group ID
2979            * @param templateId the template ID
2980            * @param start the lower bound of the range of journal articles
2981            * @param end the upper bound of the range of journal articles (not inclusive)
2982            * @return the range of matching journal articles that the user has permission to view
2983            * @throws SystemException if a system exception occurred
2984            */
2985            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T(
2986                    long groupId, java.lang.String templateId, int start, int end)
2987                    throws com.liferay.portal.kernel.exception.SystemException;
2988    
2989            /**
2990            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and templateId = &#63;.
2991            *
2992            * <p>
2993            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2994            * </p>
2995            *
2996            * @param groupId the group ID
2997            * @param templateId the template ID
2998            * @param start the lower bound of the range of journal articles
2999            * @param end the upper bound of the range of journal articles (not inclusive)
3000            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3001            * @return the ordered range of matching journal articles that the user has permission to view
3002            * @throws SystemException if a system exception occurred
3003            */
3004            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T(
3005                    long groupId, java.lang.String templateId, int start, int end,
3006                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3007                    throws com.liferay.portal.kernel.exception.SystemException;
3008    
3009            /**
3010            * 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;.
3011            *
3012            * @param id the primary key of the current journal article
3013            * @param groupId the group ID
3014            * @param templateId the template ID
3015            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3016            * @return the previous, current, and next journal article
3017            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3018            * @throws SystemException if a system exception occurred
3019            */
3020            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_T_PrevAndNext(
3021                    long id, long groupId, java.lang.String templateId,
3022                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3023                    throws com.liferay.portal.kernel.exception.SystemException,
3024                            com.liferay.portlet.journal.NoSuchArticleException;
3025    
3026            /**
3027            * Removes all the journal articles where groupId = &#63; and templateId = &#63; from the database.
3028            *
3029            * @param groupId the group ID
3030            * @param templateId the template ID
3031            * @throws SystemException if a system exception occurred
3032            */
3033            public void removeByG_T(long groupId, java.lang.String templateId)
3034                    throws com.liferay.portal.kernel.exception.SystemException;
3035    
3036            /**
3037            * Returns the number of journal articles where groupId = &#63; and templateId = &#63;.
3038            *
3039            * @param groupId the group ID
3040            * @param templateId the template ID
3041            * @return the number of matching journal articles
3042            * @throws SystemException if a system exception occurred
3043            */
3044            public int countByG_T(long groupId, java.lang.String templateId)
3045                    throws com.liferay.portal.kernel.exception.SystemException;
3046    
3047            /**
3048            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and templateId = &#63;.
3049            *
3050            * @param groupId the group ID
3051            * @param templateId the template ID
3052            * @return the number of matching journal articles that the user has permission to view
3053            * @throws SystemException if a system exception occurred
3054            */
3055            public int filterCountByG_T(long groupId, java.lang.String templateId)
3056                    throws com.liferay.portal.kernel.exception.SystemException;
3057    
3058            /**
3059            * Returns all the journal articles where groupId = &#63; and layoutUuid = &#63;.
3060            *
3061            * @param groupId the group ID
3062            * @param layoutUuid the layout uuid
3063            * @return the matching journal articles
3064            * @throws SystemException if a system exception occurred
3065            */
3066            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L(
3067                    long groupId, java.lang.String layoutUuid)
3068                    throws com.liferay.portal.kernel.exception.SystemException;
3069    
3070            /**
3071            * Returns a range of all the journal articles where groupId = &#63; and layoutUuid = &#63;.
3072            *
3073            * <p>
3074            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3075            * </p>
3076            *
3077            * @param groupId the group ID
3078            * @param layoutUuid the layout uuid
3079            * @param start the lower bound of the range of journal articles
3080            * @param end the upper bound of the range of journal articles (not inclusive)
3081            * @return the range of matching journal articles
3082            * @throws SystemException if a system exception occurred
3083            */
3084            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L(
3085                    long groupId, java.lang.String layoutUuid, int start, int end)
3086                    throws com.liferay.portal.kernel.exception.SystemException;
3087    
3088            /**
3089            * Returns an ordered range of all the journal articles where groupId = &#63; and layoutUuid = &#63;.
3090            *
3091            * <p>
3092            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3093            * </p>
3094            *
3095            * @param groupId the group ID
3096            * @param layoutUuid the layout uuid
3097            * @param start the lower bound of the range of journal articles
3098            * @param end the upper bound of the range of journal articles (not inclusive)
3099            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3100            * @return the ordered range of matching journal articles
3101            * @throws SystemException if a system exception occurred
3102            */
3103            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L(
3104                    long groupId, java.lang.String layoutUuid, int start, int end,
3105                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3106                    throws com.liferay.portal.kernel.exception.SystemException;
3107    
3108            /**
3109            * Returns the first journal article in the ordered set where groupId = &#63; and layoutUuid = &#63;.
3110            *
3111            * @param groupId the group ID
3112            * @param layoutUuid the layout uuid
3113            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3114            * @return the first matching journal article
3115            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3116            * @throws SystemException if a system exception occurred
3117            */
3118            public com.liferay.portlet.journal.model.JournalArticle findByG_L_First(
3119                    long groupId, java.lang.String layoutUuid,
3120                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3121                    throws com.liferay.portal.kernel.exception.SystemException,
3122                            com.liferay.portlet.journal.NoSuchArticleException;
3123    
3124            /**
3125            * Returns the first journal article in the ordered set where groupId = &#63; and layoutUuid = &#63;.
3126            *
3127            * @param groupId the group ID
3128            * @param layoutUuid the layout uuid
3129            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3130            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
3131            * @throws SystemException if a system exception occurred
3132            */
3133            public com.liferay.portlet.journal.model.JournalArticle fetchByG_L_First(
3134                    long groupId, java.lang.String layoutUuid,
3135                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3136                    throws com.liferay.portal.kernel.exception.SystemException;
3137    
3138            /**
3139            * Returns the last journal article in the ordered set where groupId = &#63; and layoutUuid = &#63;.
3140            *
3141            * @param groupId the group ID
3142            * @param layoutUuid the layout uuid
3143            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3144            * @return the last matching journal article
3145            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3146            * @throws SystemException if a system exception occurred
3147            */
3148            public com.liferay.portlet.journal.model.JournalArticle findByG_L_Last(
3149                    long groupId, java.lang.String layoutUuid,
3150                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3151                    throws com.liferay.portal.kernel.exception.SystemException,
3152                            com.liferay.portlet.journal.NoSuchArticleException;
3153    
3154            /**
3155            * Returns the last journal article in the ordered set where groupId = &#63; and layoutUuid = &#63;.
3156            *
3157            * @param groupId the group ID
3158            * @param layoutUuid the layout uuid
3159            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3160            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
3161            * @throws SystemException if a system exception occurred
3162            */
3163            public com.liferay.portlet.journal.model.JournalArticle fetchByG_L_Last(
3164                    long groupId, java.lang.String layoutUuid,
3165                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3166                    throws com.liferay.portal.kernel.exception.SystemException;
3167    
3168            /**
3169            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and layoutUuid = &#63;.
3170            *
3171            * @param id the primary key of the current journal article
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 previous, current, and next journal article
3176            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3177            * @throws SystemException if a system exception occurred
3178            */
3179            public com.liferay.portlet.journal.model.JournalArticle[] findByG_L_PrevAndNext(
3180                    long id, 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 all the journal articles that the user has permission to view where groupId = &#63; and layoutUuid = &#63;.
3187            *
3188            * @param groupId the group ID
3189            * @param layoutUuid the layout uuid
3190            * @return the matching journal articles that the user has permission to view
3191            * @throws SystemException if a system exception occurred
3192            */
3193            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L(
3194                    long groupId, java.lang.String layoutUuid)
3195                    throws com.liferay.portal.kernel.exception.SystemException;
3196    
3197            /**
3198            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and layoutUuid = &#63;.
3199            *
3200            * <p>
3201            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3202            * </p>
3203            *
3204            * @param groupId the group ID
3205            * @param layoutUuid the layout uuid
3206            * @param start the lower bound of the range of journal articles
3207            * @param end the upper bound of the range of journal articles (not inclusive)
3208            * @return the range of matching journal articles that the user has permission to view
3209            * @throws SystemException if a system exception occurred
3210            */
3211            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L(
3212                    long groupId, java.lang.String layoutUuid, int start, int end)
3213                    throws com.liferay.portal.kernel.exception.SystemException;
3214    
3215            /**
3216            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and layoutUuid = &#63;.
3217            *
3218            * <p>
3219            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3220            * </p>
3221            *
3222            * @param groupId the group ID
3223            * @param layoutUuid the layout uuid
3224            * @param start the lower bound of the range of journal articles
3225            * @param end the upper bound of the range of journal articles (not inclusive)
3226            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3227            * @return the ordered range of matching journal articles that the user has permission to view
3228            * @throws SystemException if a system exception occurred
3229            */
3230            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L(
3231                    long groupId, java.lang.String layoutUuid, int start, int end,
3232                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3233                    throws com.liferay.portal.kernel.exception.SystemException;
3234    
3235            /**
3236            * 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;.
3237            *
3238            * @param id the primary key of the current journal article
3239            * @param groupId the group ID
3240            * @param layoutUuid the layout uuid
3241            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3242            * @return the previous, current, and next journal article
3243            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3244            * @throws SystemException if a system exception occurred
3245            */
3246            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_L_PrevAndNext(
3247                    long id, long groupId, java.lang.String layoutUuid,
3248                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3249                    throws com.liferay.portal.kernel.exception.SystemException,
3250                            com.liferay.portlet.journal.NoSuchArticleException;
3251    
3252            /**
3253            * Removes all the journal articles where groupId = &#63; and layoutUuid = &#63; from the database.
3254            *
3255            * @param groupId the group ID
3256            * @param layoutUuid the layout uuid
3257            * @throws SystemException if a system exception occurred
3258            */
3259            public void removeByG_L(long groupId, java.lang.String layoutUuid)
3260                    throws com.liferay.portal.kernel.exception.SystemException;
3261    
3262            /**
3263            * Returns the number of journal articles where groupId = &#63; and layoutUuid = &#63;.
3264            *
3265            * @param groupId the group ID
3266            * @param layoutUuid the layout uuid
3267            * @return the number of matching journal articles
3268            * @throws SystemException if a system exception occurred
3269            */
3270            public int countByG_L(long groupId, java.lang.String layoutUuid)
3271                    throws com.liferay.portal.kernel.exception.SystemException;
3272    
3273            /**
3274            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and layoutUuid = &#63;.
3275            *
3276            * @param groupId the group ID
3277            * @param layoutUuid the layout uuid
3278            * @return the number of matching journal articles that the user has permission to view
3279            * @throws SystemException if a system exception occurred
3280            */
3281            public int filterCountByG_L(long groupId, java.lang.String layoutUuid)
3282                    throws com.liferay.portal.kernel.exception.SystemException;
3283    
3284            /**
3285            * Returns all the journal articles where groupId = &#63; and status = &#63;.
3286            *
3287            * @param groupId the group ID
3288            * @param status the status
3289            * @return the matching journal articles
3290            * @throws SystemException if a system exception occurred
3291            */
3292            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST(
3293                    long groupId, int status)
3294                    throws com.liferay.portal.kernel.exception.SystemException;
3295    
3296            /**
3297            * Returns a range of all the journal articles where groupId = &#63; and status = &#63;.
3298            *
3299            * <p>
3300            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3301            * </p>
3302            *
3303            * @param groupId the group ID
3304            * @param status the status
3305            * @param start the lower bound of the range of journal articles
3306            * @param end the upper bound of the range of journal articles (not inclusive)
3307            * @return the range of matching journal articles
3308            * @throws SystemException if a system exception occurred
3309            */
3310            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST(
3311                    long groupId, int status, int start, int end)
3312                    throws com.liferay.portal.kernel.exception.SystemException;
3313    
3314            /**
3315            * Returns an ordered range of all the journal articles where groupId = &#63; and status = &#63;.
3316            *
3317            * <p>
3318            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3319            * </p>
3320            *
3321            * @param groupId the group ID
3322            * @param status the status
3323            * @param start the lower bound of the range of journal articles
3324            * @param end the upper bound of the range of journal articles (not inclusive)
3325            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3326            * @return the ordered range of matching journal articles
3327            * @throws SystemException if a system exception occurred
3328            */
3329            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST(
3330                    long groupId, int status, int start, int end,
3331                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3332                    throws com.liferay.portal.kernel.exception.SystemException;
3333    
3334            /**
3335            * Returns the first journal article in the ordered set where groupId = &#63; and status = &#63;.
3336            *
3337            * @param groupId the group ID
3338            * @param status the status
3339            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3340            * @return the first matching journal article
3341            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3342            * @throws SystemException if a system exception occurred
3343            */
3344            public com.liferay.portlet.journal.model.JournalArticle findByG_ST_First(
3345                    long groupId, int status,
3346                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3347                    throws com.liferay.portal.kernel.exception.SystemException,
3348                            com.liferay.portlet.journal.NoSuchArticleException;
3349    
3350            /**
3351            * Returns the first journal article in the ordered set where groupId = &#63; and status = &#63;.
3352            *
3353            * @param groupId the group ID
3354            * @param status the status
3355            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3356            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
3357            * @throws SystemException if a system exception occurred
3358            */
3359            public com.liferay.portlet.journal.model.JournalArticle fetchByG_ST_First(
3360                    long groupId, int status,
3361                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3362                    throws com.liferay.portal.kernel.exception.SystemException;
3363    
3364            /**
3365            * Returns the last journal article in the ordered set where groupId = &#63; and status = &#63;.
3366            *
3367            * @param groupId the group ID
3368            * @param status the status
3369            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3370            * @return the last matching journal article
3371            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3372            * @throws SystemException if a system exception occurred
3373            */
3374            public com.liferay.portlet.journal.model.JournalArticle findByG_ST_Last(
3375                    long groupId, int status,
3376                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3377                    throws com.liferay.portal.kernel.exception.SystemException,
3378                            com.liferay.portlet.journal.NoSuchArticleException;
3379    
3380            /**
3381            * Returns the last journal article in the ordered set where groupId = &#63; and status = &#63;.
3382            *
3383            * @param groupId the group ID
3384            * @param status the status
3385            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3386            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
3387            * @throws SystemException if a system exception occurred
3388            */
3389            public com.liferay.portlet.journal.model.JournalArticle fetchByG_ST_Last(
3390                    long groupId, int status,
3391                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3392                    throws com.liferay.portal.kernel.exception.SystemException;
3393    
3394            /**
3395            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and status = &#63;.
3396            *
3397            * @param id the primary key of the current journal article
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 previous, current, and next journal article
3402            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3403            * @throws SystemException if a system exception occurred
3404            */
3405            public com.liferay.portlet.journal.model.JournalArticle[] findByG_ST_PrevAndNext(
3406                    long id, 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 all the journal articles that the user has permission to view where groupId = &#63; and status = &#63;.
3413            *
3414            * @param groupId the group ID
3415            * @param status the status
3416            * @return the matching journal articles that the user has permission to view
3417            * @throws SystemException if a system exception occurred
3418            */
3419            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST(
3420                    long groupId, int status)
3421                    throws com.liferay.portal.kernel.exception.SystemException;
3422    
3423            /**
3424            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and status = &#63;.
3425            *
3426            * <p>
3427            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3428            * </p>
3429            *
3430            * @param groupId the group ID
3431            * @param status the status
3432            * @param start the lower bound of the range of journal articles
3433            * @param end the upper bound of the range of journal articles (not inclusive)
3434            * @return the range of matching journal articles that the user has permission to view
3435            * @throws SystemException if a system exception occurred
3436            */
3437            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST(
3438                    long groupId, int status, int start, int end)
3439                    throws com.liferay.portal.kernel.exception.SystemException;
3440    
3441            /**
3442            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and status = &#63;.
3443            *
3444            * <p>
3445            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3446            * </p>
3447            *
3448            * @param groupId the group ID
3449            * @param status the status
3450            * @param start the lower bound of the range of journal articles
3451            * @param end the upper bound of the range of journal articles (not inclusive)
3452            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3453            * @return the ordered range of matching journal articles that the user has permission to view
3454            * @throws SystemException if a system exception occurred
3455            */
3456            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST(
3457                    long groupId, int status, int start, int end,
3458                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3459                    throws com.liferay.portal.kernel.exception.SystemException;
3460    
3461            /**
3462            * 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;.
3463            *
3464            * @param id the primary key of the current journal article
3465            * @param groupId the group ID
3466            * @param status the status
3467            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3468            * @return the previous, current, and next journal article
3469            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3470            * @throws SystemException if a system exception occurred
3471            */
3472            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_ST_PrevAndNext(
3473                    long id, long groupId, int status,
3474                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3475                    throws com.liferay.portal.kernel.exception.SystemException,
3476                            com.liferay.portlet.journal.NoSuchArticleException;
3477    
3478            /**
3479            * Removes all the journal articles where groupId = &#63; and status = &#63; from the database.
3480            *
3481            * @param groupId the group ID
3482            * @param status the status
3483            * @throws SystemException if a system exception occurred
3484            */
3485            public void removeByG_ST(long groupId, int status)
3486                    throws com.liferay.portal.kernel.exception.SystemException;
3487    
3488            /**
3489            * Returns the number of journal articles where groupId = &#63; and status = &#63;.
3490            *
3491            * @param groupId the group ID
3492            * @param status the status
3493            * @return the number of matching journal articles
3494            * @throws SystemException if a system exception occurred
3495            */
3496            public int countByG_ST(long groupId, int status)
3497                    throws com.liferay.portal.kernel.exception.SystemException;
3498    
3499            /**
3500            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and status = &#63;.
3501            *
3502            * @param groupId the group ID
3503            * @param status the status
3504            * @return the number of matching journal articles that the user has permission to view
3505            * @throws SystemException if a system exception occurred
3506            */
3507            public int filterCountByG_ST(long groupId, int status)
3508                    throws com.liferay.portal.kernel.exception.SystemException;
3509    
3510            /**
3511            * Returns all the journal articles where companyId = &#63; and version = &#63;.
3512            *
3513            * @param companyId the company ID
3514            * @param version the version
3515            * @return the matching journal articles
3516            * @throws SystemException if a system exception occurred
3517            */
3518            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V(
3519                    long companyId, double version)
3520                    throws com.liferay.portal.kernel.exception.SystemException;
3521    
3522            /**
3523            * Returns a range of all the journal articles where companyId = &#63; and version = &#63;.
3524            *
3525            * <p>
3526            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3527            * </p>
3528            *
3529            * @param companyId the company ID
3530            * @param version the version
3531            * @param start the lower bound of the range of journal articles
3532            * @param end the upper bound of the range of journal articles (not inclusive)
3533            * @return the range of matching journal articles
3534            * @throws SystemException if a system exception occurred
3535            */
3536            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V(
3537                    long companyId, double version, int start, int end)
3538                    throws com.liferay.portal.kernel.exception.SystemException;
3539    
3540            /**
3541            * Returns an ordered range of all the journal articles where companyId = &#63; and version = &#63;.
3542            *
3543            * <p>
3544            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3545            * </p>
3546            *
3547            * @param companyId the company ID
3548            * @param version the version
3549            * @param start the lower bound of the range of journal articles
3550            * @param end the upper bound of the range of journal articles (not inclusive)
3551            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3552            * @return the ordered range of matching journal articles
3553            * @throws SystemException if a system exception occurred
3554            */
3555            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V(
3556                    long companyId, double version, int start, int end,
3557                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3558                    throws com.liferay.portal.kernel.exception.SystemException;
3559    
3560            /**
3561            * Returns the first journal article in the ordered set where companyId = &#63; and version = &#63;.
3562            *
3563            * @param companyId the company ID
3564            * @param version the version
3565            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3566            * @return the first matching journal article
3567            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3568            * @throws SystemException if a system exception occurred
3569            */
3570            public com.liferay.portlet.journal.model.JournalArticle findByC_V_First(
3571                    long companyId, double version,
3572                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3573                    throws com.liferay.portal.kernel.exception.SystemException,
3574                            com.liferay.portlet.journal.NoSuchArticleException;
3575    
3576            /**
3577            * Returns the first journal article in the ordered set where companyId = &#63; and version = &#63;.
3578            *
3579            * @param companyId the company ID
3580            * @param version the version
3581            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3582            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
3583            * @throws SystemException if a system exception occurred
3584            */
3585            public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_First(
3586                    long companyId, double version,
3587                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3588                    throws com.liferay.portal.kernel.exception.SystemException;
3589    
3590            /**
3591            * Returns the last journal article in the ordered set where companyId = &#63; and version = &#63;.
3592            *
3593            * @param companyId the company ID
3594            * @param version the version
3595            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3596            * @return the last matching journal article
3597            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3598            * @throws SystemException if a system exception occurred
3599            */
3600            public com.liferay.portlet.journal.model.JournalArticle findByC_V_Last(
3601                    long companyId, double version,
3602                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3603                    throws com.liferay.portal.kernel.exception.SystemException,
3604                            com.liferay.portlet.journal.NoSuchArticleException;
3605    
3606            /**
3607            * Returns the last journal article in the ordered set where companyId = &#63; and version = &#63;.
3608            *
3609            * @param companyId the company ID
3610            * @param version the version
3611            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3612            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
3613            * @throws SystemException if a system exception occurred
3614            */
3615            public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_Last(
3616                    long companyId, double version,
3617                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3618                    throws com.liferay.portal.kernel.exception.SystemException;
3619    
3620            /**
3621            * Returns the journal articles before and after the current journal article in the ordered set where companyId = &#63; and version = &#63;.
3622            *
3623            * @param id the primary key of the current journal article
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 previous, current, and next journal article
3628            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3629            * @throws SystemException if a system exception occurred
3630            */
3631            public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_PrevAndNext(
3632                    long id, 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            * Removes all the journal articles where companyId = &#63; and version = &#63; from the database.
3639            *
3640            * @param companyId the company ID
3641            * @param version the version
3642            * @throws SystemException if a system exception occurred
3643            */
3644            public void removeByC_V(long companyId, double version)
3645                    throws com.liferay.portal.kernel.exception.SystemException;
3646    
3647            /**
3648            * Returns the number of journal articles where companyId = &#63; and version = &#63;.
3649            *
3650            * @param companyId the company ID
3651            * @param version the version
3652            * @return the number of matching journal articles
3653            * @throws SystemException if a system exception occurred
3654            */
3655            public int countByC_V(long companyId, double version)
3656                    throws com.liferay.portal.kernel.exception.SystemException;
3657    
3658            /**
3659            * Returns all the journal articles where companyId = &#63; and status = &#63;.
3660            *
3661            * @param companyId the company ID
3662            * @param status the status
3663            * @return the matching journal articles
3664            * @throws SystemException if a system exception occurred
3665            */
3666            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST(
3667                    long companyId, int status)
3668                    throws com.liferay.portal.kernel.exception.SystemException;
3669    
3670            /**
3671            * Returns a range of all the journal articles where companyId = &#63; and status = &#63;.
3672            *
3673            * <p>
3674            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3675            * </p>
3676            *
3677            * @param companyId the company ID
3678            * @param status the status
3679            * @param start the lower bound of the range of journal articles
3680            * @param end the upper bound of the range of journal articles (not inclusive)
3681            * @return the range of matching journal articles
3682            * @throws SystemException if a system exception occurred
3683            */
3684            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST(
3685                    long companyId, int status, int start, int end)
3686                    throws com.liferay.portal.kernel.exception.SystemException;
3687    
3688            /**
3689            * Returns an ordered range of all the journal articles where companyId = &#63; and status = &#63;.
3690            *
3691            * <p>
3692            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3693            * </p>
3694            *
3695            * @param companyId the company ID
3696            * @param status the status
3697            * @param start the lower bound of the range of journal articles
3698            * @param end the upper bound of the range of journal articles (not inclusive)
3699            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3700            * @return the ordered range of matching journal articles
3701            * @throws SystemException if a system exception occurred
3702            */
3703            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST(
3704                    long companyId, int status, int start, int end,
3705                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3706                    throws com.liferay.portal.kernel.exception.SystemException;
3707    
3708            /**
3709            * Returns the first journal article in the ordered set where companyId = &#63; and status = &#63;.
3710            *
3711            * @param companyId the company ID
3712            * @param status the status
3713            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3714            * @return the first matching journal article
3715            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3716            * @throws SystemException if a system exception occurred
3717            */
3718            public com.liferay.portlet.journal.model.JournalArticle findByC_ST_First(
3719                    long companyId, int status,
3720                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3721                    throws com.liferay.portal.kernel.exception.SystemException,
3722                            com.liferay.portlet.journal.NoSuchArticleException;
3723    
3724            /**
3725            * Returns the first journal article in the ordered set where companyId = &#63; and status = &#63;.
3726            *
3727            * @param companyId the company ID
3728            * @param status the status
3729            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3730            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
3731            * @throws SystemException if a system exception occurred
3732            */
3733            public com.liferay.portlet.journal.model.JournalArticle fetchByC_ST_First(
3734                    long companyId, int status,
3735                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3736                    throws com.liferay.portal.kernel.exception.SystemException;
3737    
3738            /**
3739            * Returns the last journal article in the ordered set where companyId = &#63; and status = &#63;.
3740            *
3741            * @param companyId the company ID
3742            * @param status the status
3743            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3744            * @return the last matching journal article
3745            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3746            * @throws SystemException if a system exception occurred
3747            */
3748            public com.liferay.portlet.journal.model.JournalArticle findByC_ST_Last(
3749                    long companyId, int status,
3750                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3751                    throws com.liferay.portal.kernel.exception.SystemException,
3752                            com.liferay.portlet.journal.NoSuchArticleException;
3753    
3754            /**
3755            * Returns the last journal article in the ordered set where companyId = &#63; and status = &#63;.
3756            *
3757            * @param companyId the company ID
3758            * @param status the status
3759            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3760            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
3761            * @throws SystemException if a system exception occurred
3762            */
3763            public com.liferay.portlet.journal.model.JournalArticle fetchByC_ST_Last(
3764                    long companyId, int status,
3765                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3766                    throws com.liferay.portal.kernel.exception.SystemException;
3767    
3768            /**
3769            * Returns the journal articles before and after the current journal article in the ordered set where companyId = &#63; and status = &#63;.
3770            *
3771            * @param id the primary key of the current journal article
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 previous, current, and next journal article
3776            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3777            * @throws SystemException if a system exception occurred
3778            */
3779            public com.liferay.portlet.journal.model.JournalArticle[] findByC_ST_PrevAndNext(
3780                    long id, 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            * Removes all the journal articles where companyId = &#63; and status = &#63; from the database.
3787            *
3788            * @param companyId the company ID
3789            * @param status the status
3790            * @throws SystemException if a system exception occurred
3791            */
3792            public void removeByC_ST(long companyId, int status)
3793                    throws com.liferay.portal.kernel.exception.SystemException;
3794    
3795            /**
3796            * Returns the number of journal articles where companyId = &#63; and status = &#63;.
3797            *
3798            * @param companyId the company ID
3799            * @param status the status
3800            * @return the number of matching journal articles
3801            * @throws SystemException if a system exception occurred
3802            */
3803            public int countByC_ST(long companyId, int status)
3804                    throws com.liferay.portal.kernel.exception.SystemException;
3805    
3806            /**
3807            * Returns all the journal articles where groupId = &#63; and folderId = &#63; and status = &#63;.
3808            *
3809            * @param groupId the group ID
3810            * @param folderId the folder ID
3811            * @param status the status
3812            * @return the matching journal articles
3813            * @throws SystemException if a system exception occurred
3814            */
3815            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST(
3816                    long groupId, long folderId, int status)
3817                    throws com.liferay.portal.kernel.exception.SystemException;
3818    
3819            /**
3820            * Returns a range of all the journal articles where groupId = &#63; and folderId = &#63; and status = &#63;.
3821            *
3822            * <p>
3823            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3824            * </p>
3825            *
3826            * @param groupId the group ID
3827            * @param folderId the folder ID
3828            * @param status the status
3829            * @param start the lower bound of the range of journal articles
3830            * @param end the upper bound of the range of journal articles (not inclusive)
3831            * @return the range of matching journal articles
3832            * @throws SystemException if a system exception occurred
3833            */
3834            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST(
3835                    long groupId, long folderId, int status, int start, int end)
3836                    throws com.liferay.portal.kernel.exception.SystemException;
3837    
3838            /**
3839            * Returns an ordered range of all the journal articles where groupId = &#63; and folderId = &#63; and status = &#63;.
3840            *
3841            * <p>
3842            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3843            * </p>
3844            *
3845            * @param groupId the group ID
3846            * @param folderId the folder ID
3847            * @param status the status
3848            * @param start the lower bound of the range of journal articles
3849            * @param end the upper bound of the range of journal articles (not inclusive)
3850            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3851            * @return the ordered range of matching journal articles
3852            * @throws SystemException if a system exception occurred
3853            */
3854            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST(
3855                    long groupId, long folderId, int status, int start, int end,
3856                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3857                    throws com.liferay.portal.kernel.exception.SystemException;
3858    
3859            /**
3860            * Returns the first journal article in the ordered set where groupId = &#63; and folderId = &#63; and status = &#63;.
3861            *
3862            * @param groupId the group ID
3863            * @param folderId the folder ID
3864            * @param status the status
3865            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3866            * @return the first matching journal article
3867            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3868            * @throws SystemException if a system exception occurred
3869            */
3870            public com.liferay.portlet.journal.model.JournalArticle findByG_F_ST_First(
3871                    long groupId, long folderId, int status,
3872                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3873                    throws com.liferay.portal.kernel.exception.SystemException,
3874                            com.liferay.portlet.journal.NoSuchArticleException;
3875    
3876            /**
3877            * Returns the first journal article in the ordered set where groupId = &#63; and folderId = &#63; and status = &#63;.
3878            *
3879            * @param groupId the group ID
3880            * @param folderId the folder ID
3881            * @param status the status
3882            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3883            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
3884            * @throws SystemException if a system exception occurred
3885            */
3886            public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_ST_First(
3887                    long groupId, long folderId, int status,
3888                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3889                    throws com.liferay.portal.kernel.exception.SystemException;
3890    
3891            /**
3892            * Returns the last journal article in the ordered set where groupId = &#63; and folderId = &#63; and status = &#63;.
3893            *
3894            * @param groupId the group ID
3895            * @param folderId the folder ID
3896            * @param status the status
3897            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3898            * @return the last matching journal article
3899            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3900            * @throws SystemException if a system exception occurred
3901            */
3902            public com.liferay.portlet.journal.model.JournalArticle findByG_F_ST_Last(
3903                    long groupId, long folderId, int status,
3904                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3905                    throws com.liferay.portal.kernel.exception.SystemException,
3906                            com.liferay.portlet.journal.NoSuchArticleException;
3907    
3908            /**
3909            * Returns the last journal article in the ordered set where groupId = &#63; and folderId = &#63; and status = &#63;.
3910            *
3911            * @param groupId the group ID
3912            * @param folderId the folder ID
3913            * @param status the status
3914            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3915            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
3916            * @throws SystemException if a system exception occurred
3917            */
3918            public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_ST_Last(
3919                    long groupId, long folderId, int status,
3920                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3921                    throws com.liferay.portal.kernel.exception.SystemException;
3922    
3923            /**
3924            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and folderId = &#63; and status = &#63;.
3925            *
3926            * @param id the primary key of the current journal article
3927            * @param groupId the group ID
3928            * @param folderId the folder ID
3929            * @param status the status
3930            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3931            * @return the previous, current, and next journal article
3932            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3933            * @throws SystemException if a system exception occurred
3934            */
3935            public com.liferay.portlet.journal.model.JournalArticle[] findByG_F_ST_PrevAndNext(
3936                    long id, long groupId, long folderId, int status,
3937                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3938                    throws com.liferay.portal.kernel.exception.SystemException,
3939                            com.liferay.portlet.journal.NoSuchArticleException;
3940    
3941            /**
3942            * Returns all the journal articles that the user has permission to view where groupId = &#63; and folderId = &#63; and status = &#63;.
3943            *
3944            * @param groupId the group ID
3945            * @param folderId the folder ID
3946            * @param status the status
3947            * @return the matching journal articles that the user has permission to view
3948            * @throws SystemException if a system exception occurred
3949            */
3950            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST(
3951                    long groupId, long folderId, int status)
3952                    throws com.liferay.portal.kernel.exception.SystemException;
3953    
3954            /**
3955            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and folderId = &#63; and status = &#63;.
3956            *
3957            * <p>
3958            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3959            * </p>
3960            *
3961            * @param groupId the group ID
3962            * @param folderId the folder ID
3963            * @param status the status
3964            * @param start the lower bound of the range of journal articles
3965            * @param end the upper bound of the range of journal articles (not inclusive)
3966            * @return the range of matching journal articles that the user has permission to view
3967            * @throws SystemException if a system exception occurred
3968            */
3969            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST(
3970                    long groupId, long folderId, int status, int start, int end)
3971                    throws com.liferay.portal.kernel.exception.SystemException;
3972    
3973            /**
3974            * 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;.
3975            *
3976            * <p>
3977            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3978            * </p>
3979            *
3980            * @param groupId the group ID
3981            * @param folderId the folder ID
3982            * @param status the status
3983            * @param start the lower bound of the range of journal articles
3984            * @param end the upper bound of the range of journal articles (not inclusive)
3985            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3986            * @return the ordered range of matching journal articles that the user has permission to view
3987            * @throws SystemException if a system exception occurred
3988            */
3989            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST(
3990                    long groupId, long folderId, int status, int start, int end,
3991                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3992                    throws com.liferay.portal.kernel.exception.SystemException;
3993    
3994            /**
3995            * 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;.
3996            *
3997            * @param id the primary key of the current journal article
3998            * @param groupId the group ID
3999            * @param folderId the folder ID
4000            * @param status the status
4001            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4002            * @return the previous, current, and next journal article
4003            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
4004            * @throws SystemException if a system exception occurred
4005            */
4006            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_F_ST_PrevAndNext(
4007                    long id, long groupId, long folderId, int status,
4008                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4009                    throws com.liferay.portal.kernel.exception.SystemException,
4010                            com.liferay.portlet.journal.NoSuchArticleException;
4011    
4012            /**
4013            * Returns all the journal articles that the user has permission to view where groupId = &#63; and folderId = &#63; and status = any &#63;.
4014            *
4015            * @param groupId the group ID
4016            * @param folderId the folder ID
4017            * @param statuses the statuses
4018            * @return the matching journal articles that the user has permission to view
4019            * @throws SystemException if a system exception occurred
4020            */
4021            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST(
4022                    long groupId, long folderId, int[] statuses)
4023                    throws com.liferay.portal.kernel.exception.SystemException;
4024    
4025            /**
4026            * 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;.
4027            *
4028            * <p>
4029            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4030            * </p>
4031            *
4032            * @param groupId the group ID
4033            * @param folderId the folder ID
4034            * @param statuses the statuses
4035            * @param start the lower bound of the range of journal articles
4036            * @param end the upper bound of the range of journal articles (not inclusive)
4037            * @return the range of matching journal articles that the user has permission to view
4038            * @throws SystemException if a system exception occurred
4039            */
4040            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST(
4041                    long groupId, long folderId, int[] statuses, int start, int end)
4042                    throws com.liferay.portal.kernel.exception.SystemException;
4043    
4044            /**
4045            * 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;.
4046            *
4047            * <p>
4048            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4049            * </p>
4050            *
4051            * @param groupId the group ID
4052            * @param folderId the folder ID
4053            * @param statuses the statuses
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 that the user has permission to view
4058            * @throws SystemException if a system exception occurred
4059            */
4060            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST(
4061                    long groupId, long folderId, int[] statuses, int start, int end,
4062                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4063                    throws com.liferay.portal.kernel.exception.SystemException;
4064    
4065            /**
4066            * Returns all the journal articles where groupId = &#63; and folderId = &#63; and status = any &#63;.
4067            *
4068            * <p>
4069            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4070            * </p>
4071            *
4072            * @param groupId the group ID
4073            * @param folderId the folder ID
4074            * @param statuses the statuses
4075            * @return the matching journal articles
4076            * @throws SystemException if a system exception occurred
4077            */
4078            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST(
4079                    long groupId, long folderId, int[] statuses)
4080                    throws com.liferay.portal.kernel.exception.SystemException;
4081    
4082            /**
4083            * Returns a range of all the journal articles where groupId = &#63; and folderId = &#63; and status = any &#63;.
4084            *
4085            * <p>
4086            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4087            * </p>
4088            *
4089            * @param groupId the group ID
4090            * @param folderId the folder ID
4091            * @param statuses the statuses
4092            * @param start the lower bound of the range of journal articles
4093            * @param end the upper bound of the range of journal articles (not inclusive)
4094            * @return the range of matching journal articles
4095            * @throws SystemException if a system exception occurred
4096            */
4097            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST(
4098                    long groupId, long folderId, int[] statuses, int start, int end)
4099                    throws com.liferay.portal.kernel.exception.SystemException;
4100    
4101            /**
4102            * Returns an ordered range of all the journal articles where groupId = &#63; and folderId = &#63; and status = any &#63;.
4103            *
4104            * <p>
4105            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4106            * </p>
4107            *
4108            * @param groupId the group ID
4109            * @param folderId the folder ID
4110            * @param statuses the statuses
4111            * @param start the lower bound of the range of journal articles
4112            * @param end the upper bound of the range of journal articles (not inclusive)
4113            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4114            * @return the ordered range of matching journal articles
4115            * @throws SystemException if a system exception occurred
4116            */
4117            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST(
4118                    long groupId, long folderId, int[] statuses, int start, int end,
4119                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4120                    throws com.liferay.portal.kernel.exception.SystemException;
4121    
4122            /**
4123            * Removes all the journal articles where groupId = &#63; and folderId = &#63; and status = &#63; from the database.
4124            *
4125            * @param groupId the group ID
4126            * @param folderId the folder ID
4127            * @param status the status
4128            * @throws SystemException if a system exception occurred
4129            */
4130            public void removeByG_F_ST(long groupId, long folderId, int status)
4131                    throws com.liferay.portal.kernel.exception.SystemException;
4132    
4133            /**
4134            * Returns the number of journal articles where groupId = &#63; and folderId = &#63; and status = &#63;.
4135            *
4136            * @param groupId the group ID
4137            * @param folderId the folder ID
4138            * @param status the status
4139            * @return the number of matching journal articles
4140            * @throws SystemException if a system exception occurred
4141            */
4142            public int countByG_F_ST(long groupId, long folderId, int status)
4143                    throws com.liferay.portal.kernel.exception.SystemException;
4144    
4145            /**
4146            * Returns the number of journal articles where groupId = &#63; and folderId = &#63; and status = any &#63;.
4147            *
4148            * @param groupId the group ID
4149            * @param folderId the folder ID
4150            * @param statuses the statuses
4151            * @return the number of matching journal articles
4152            * @throws SystemException if a system exception occurred
4153            */
4154            public int countByG_F_ST(long groupId, long folderId, int[] statuses)
4155                    throws com.liferay.portal.kernel.exception.SystemException;
4156    
4157            /**
4158            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and folderId = &#63; and status = &#63;.
4159            *
4160            * @param groupId the group ID
4161            * @param folderId the folder ID
4162            * @param status the status
4163            * @return the number of matching journal articles that the user has permission to view
4164            * @throws SystemException if a system exception occurred
4165            */
4166            public int filterCountByG_F_ST(long groupId, long folderId, int status)
4167                    throws com.liferay.portal.kernel.exception.SystemException;
4168    
4169            /**
4170            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and folderId = &#63; and status = any &#63;.
4171            *
4172            * @param groupId the group ID
4173            * @param folderId the folder ID
4174            * @param statuses the statuses
4175            * @return the number of matching journal articles that the user has permission to view
4176            * @throws SystemException if a system exception occurred
4177            */
4178            public int filterCountByG_F_ST(long groupId, long folderId, int[] statuses)
4179                    throws com.liferay.portal.kernel.exception.SystemException;
4180    
4181            /**
4182            * Returns all the journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
4183            *
4184            * @param groupId the group ID
4185            * @param classNameId the class name ID
4186            * @param classPK the class p k
4187            * @return the matching journal articles
4188            * @throws SystemException if a system exception occurred
4189            */
4190            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C(
4191                    long groupId, long classNameId, long classPK)
4192                    throws com.liferay.portal.kernel.exception.SystemException;
4193    
4194            /**
4195            * Returns a range of all the journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
4196            *
4197            * <p>
4198            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4199            * </p>
4200            *
4201            * @param groupId the group ID
4202            * @param classNameId the class name ID
4203            * @param classPK the class p k
4204            * @param start the lower bound of the range of journal articles
4205            * @param end the upper bound of the range of journal articles (not inclusive)
4206            * @return the range of matching journal articles
4207            * @throws SystemException if a system exception occurred
4208            */
4209            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C(
4210                    long groupId, long classNameId, long classPK, int start, int end)
4211                    throws com.liferay.portal.kernel.exception.SystemException;
4212    
4213            /**
4214            * Returns an ordered range of all the journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
4215            *
4216            * <p>
4217            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4218            * </p>
4219            *
4220            * @param groupId the group ID
4221            * @param classNameId the class name ID
4222            * @param classPK the class p k
4223            * @param start the lower bound of the range of journal articles
4224            * @param end the upper bound of the range of journal articles (not inclusive)
4225            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4226            * @return the ordered range of matching journal articles
4227            * @throws SystemException if a system exception occurred
4228            */
4229            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C(
4230                    long groupId, long classNameId, long classPK, int start, int end,
4231                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4232                    throws com.liferay.portal.kernel.exception.SystemException;
4233    
4234            /**
4235            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
4236            *
4237            * @param groupId the group ID
4238            * @param classNameId the class name ID
4239            * @param classPK the class p k
4240            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4241            * @return the first matching journal article
4242            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4243            * @throws SystemException if a system exception occurred
4244            */
4245            public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_First(
4246                    long groupId, long classNameId, long classPK,
4247                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4248                    throws com.liferay.portal.kernel.exception.SystemException,
4249                            com.liferay.portlet.journal.NoSuchArticleException;
4250    
4251            /**
4252            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
4253            *
4254            * @param groupId the group ID
4255            * @param classNameId the class name ID
4256            * @param classPK the class p k
4257            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4258            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
4259            * @throws SystemException if a system exception occurred
4260            */
4261            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_C_First(
4262                    long groupId, long classNameId, long classPK,
4263                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4264                    throws com.liferay.portal.kernel.exception.SystemException;
4265    
4266            /**
4267            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
4268            *
4269            * @param groupId the group ID
4270            * @param classNameId the class name ID
4271            * @param classPK the class p k
4272            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4273            * @return the last matching journal article
4274            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4275            * @throws SystemException if a system exception occurred
4276            */
4277            public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_Last(
4278                    long groupId, long classNameId, long classPK,
4279                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4280                    throws com.liferay.portal.kernel.exception.SystemException,
4281                            com.liferay.portlet.journal.NoSuchArticleException;
4282    
4283            /**
4284            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
4285            *
4286            * @param groupId the group ID
4287            * @param classNameId the class name ID
4288            * @param classPK the class p k
4289            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4290            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
4291            * @throws SystemException if a system exception occurred
4292            */
4293            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_C_Last(
4294                    long groupId, long classNameId, long classPK,
4295                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4296                    throws com.liferay.portal.kernel.exception.SystemException;
4297    
4298            /**
4299            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
4300            *
4301            * @param id the primary key of the current journal article
4302            * @param groupId the group ID
4303            * @param classNameId the class name ID
4304            * @param classPK the class p k
4305            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4306            * @return the previous, current, and next journal article
4307            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
4308            * @throws SystemException if a system exception occurred
4309            */
4310            public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_C_PrevAndNext(
4311                    long id, long groupId, long classNameId, long classPK,
4312                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4313                    throws com.liferay.portal.kernel.exception.SystemException,
4314                            com.liferay.portlet.journal.NoSuchArticleException;
4315    
4316            /**
4317            * Returns all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
4318            *
4319            * @param groupId the group ID
4320            * @param classNameId the class name ID
4321            * @param classPK the class p k
4322            * @return the matching journal articles that the user has permission to view
4323            * @throws SystemException if a system exception occurred
4324            */
4325            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C(
4326                    long groupId, long classNameId, long classPK)
4327                    throws com.liferay.portal.kernel.exception.SystemException;
4328    
4329            /**
4330            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
4331            *
4332            * <p>
4333            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4334            * </p>
4335            *
4336            * @param groupId the group ID
4337            * @param classNameId the class name ID
4338            * @param classPK the class p k
4339            * @param start the lower bound of the range of journal articles
4340            * @param end the upper bound of the range of journal articles (not inclusive)
4341            * @return the range of matching journal articles that the user has permission to view
4342            * @throws SystemException if a system exception occurred
4343            */
4344            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C(
4345                    long groupId, long classNameId, long classPK, int start, int end)
4346                    throws com.liferay.portal.kernel.exception.SystemException;
4347    
4348            /**
4349            * 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;.
4350            *
4351            * <p>
4352            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4353            * </p>
4354            *
4355            * @param groupId the group ID
4356            * @param classNameId the class name ID
4357            * @param classPK the class p k
4358            * @param start the lower bound of the range of journal articles
4359            * @param end the upper bound of the range of journal articles (not inclusive)
4360            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4361            * @return the ordered range of matching journal articles that the user has permission to view
4362            * @throws SystemException if a system exception occurred
4363            */
4364            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C(
4365                    long groupId, long classNameId, long classPK, int start, int end,
4366                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4367                    throws com.liferay.portal.kernel.exception.SystemException;
4368    
4369            /**
4370            * 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;.
4371            *
4372            * @param id the primary key of the current journal article
4373            * @param groupId the group ID
4374            * @param classNameId the class name ID
4375            * @param classPK the class p k
4376            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4377            * @return the previous, current, and next journal article
4378            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
4379            * @throws SystemException if a system exception occurred
4380            */
4381            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_C_PrevAndNext(
4382                    long id, long groupId, long classNameId, long classPK,
4383                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4384                    throws com.liferay.portal.kernel.exception.SystemException,
4385                            com.liferay.portlet.journal.NoSuchArticleException;
4386    
4387            /**
4388            * Removes all the journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63; from the database.
4389            *
4390            * @param groupId the group ID
4391            * @param classNameId the class name ID
4392            * @param classPK the class p k
4393            * @throws SystemException if a system exception occurred
4394            */
4395            public void removeByG_C_C(long groupId, long classNameId, long classPK)
4396                    throws com.liferay.portal.kernel.exception.SystemException;
4397    
4398            /**
4399            * Returns the number of journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
4400            *
4401            * @param groupId the group ID
4402            * @param classNameId the class name ID
4403            * @param classPK the class p k
4404            * @return the number of matching journal articles
4405            * @throws SystemException if a system exception occurred
4406            */
4407            public int countByG_C_C(long groupId, long classNameId, long classPK)
4408                    throws com.liferay.portal.kernel.exception.SystemException;
4409    
4410            /**
4411            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
4412            *
4413            * @param groupId the group ID
4414            * @param classNameId the class name ID
4415            * @param classPK the class p k
4416            * @return the number of matching journal articles that the user has permission to view
4417            * @throws SystemException if a system exception occurred
4418            */
4419            public int filterCountByG_C_C(long groupId, long classNameId, long classPK)
4420                    throws com.liferay.portal.kernel.exception.SystemException;
4421    
4422            /**
4423            * 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.
4424            *
4425            * @param groupId the group ID
4426            * @param classNameId the class name ID
4427            * @param structureId the structure ID
4428            * @return the matching journal article
4429            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4430            * @throws SystemException if a system exception occurred
4431            */
4432            public com.liferay.portlet.journal.model.JournalArticle findByG_C_S(
4433                    long groupId, long classNameId, java.lang.String structureId)
4434                    throws com.liferay.portal.kernel.exception.SystemException,
4435                            com.liferay.portlet.journal.NoSuchArticleException;
4436    
4437            /**
4438            * 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.
4439            *
4440            * @param groupId the group ID
4441            * @param classNameId the class name ID
4442            * @param structureId the structure ID
4443            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
4444            * @throws SystemException if a system exception occurred
4445            */
4446            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_S(
4447                    long groupId, long classNameId, java.lang.String structureId)
4448                    throws com.liferay.portal.kernel.exception.SystemException;
4449    
4450            /**
4451            * 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.
4452            *
4453            * @param groupId the group ID
4454            * @param classNameId the class name ID
4455            * @param structureId the structure ID
4456            * @param retrieveFromCache whether to use the finder cache
4457            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
4458            * @throws SystemException if a system exception occurred
4459            */
4460            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_S(
4461                    long groupId, long classNameId, java.lang.String structureId,
4462                    boolean retrieveFromCache)
4463                    throws com.liferay.portal.kernel.exception.SystemException;
4464    
4465            /**
4466            * Removes the journal article where groupId = &#63; and classNameId = &#63; and structureId = &#63; from the database.
4467            *
4468            * @param groupId the group ID
4469            * @param classNameId the class name ID
4470            * @param structureId the structure ID
4471            * @return the journal article that was removed
4472            * @throws SystemException if a system exception occurred
4473            */
4474            public com.liferay.portlet.journal.model.JournalArticle removeByG_C_S(
4475                    long groupId, long classNameId, java.lang.String structureId)
4476                    throws com.liferay.portal.kernel.exception.SystemException,
4477                            com.liferay.portlet.journal.NoSuchArticleException;
4478    
4479            /**
4480            * Returns the number of journal articles where groupId = &#63; and classNameId = &#63; and structureId = &#63;.
4481            *
4482            * @param groupId the group ID
4483            * @param classNameId the class name ID
4484            * @param structureId the structure ID
4485            * @return the number of matching journal articles
4486            * @throws SystemException if a system exception occurred
4487            */
4488            public int countByG_C_S(long groupId, long classNameId,
4489                    java.lang.String structureId)
4490                    throws com.liferay.portal.kernel.exception.SystemException;
4491    
4492            /**
4493            * Returns all the journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
4494            *
4495            * @param groupId the group ID
4496            * @param classNameId the class name ID
4497            * @param templateId the template ID
4498            * @return the matching journal articles
4499            * @throws SystemException if a system exception occurred
4500            */
4501            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T(
4502                    long groupId, long classNameId, java.lang.String templateId)
4503                    throws com.liferay.portal.kernel.exception.SystemException;
4504    
4505            /**
4506            * Returns a range of all the journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
4507            *
4508            * <p>
4509            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4510            * </p>
4511            *
4512            * @param groupId the group ID
4513            * @param classNameId the class name ID
4514            * @param templateId the template ID
4515            * @param start the lower bound of the range of journal articles
4516            * @param end the upper bound of the range of journal articles (not inclusive)
4517            * @return the range of matching journal articles
4518            * @throws SystemException if a system exception occurred
4519            */
4520            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T(
4521                    long groupId, long classNameId, java.lang.String templateId, int start,
4522                    int end) throws com.liferay.portal.kernel.exception.SystemException;
4523    
4524            /**
4525            * Returns an ordered range of all the journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
4526            *
4527            * <p>
4528            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4529            * </p>
4530            *
4531            * @param groupId the group ID
4532            * @param classNameId the class name ID
4533            * @param templateId the template ID
4534            * @param start the lower bound of the range of journal articles
4535            * @param end the upper bound of the range of journal articles (not inclusive)
4536            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4537            * @return the ordered range of matching journal articles
4538            * @throws SystemException if a system exception occurred
4539            */
4540            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T(
4541                    long groupId, long classNameId, java.lang.String templateId, int start,
4542                    int end,
4543                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4544                    throws com.liferay.portal.kernel.exception.SystemException;
4545    
4546            /**
4547            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
4548            *
4549            * @param groupId the group ID
4550            * @param classNameId the class name ID
4551            * @param templateId the template ID
4552            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4553            * @return the first matching journal article
4554            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4555            * @throws SystemException if a system exception occurred
4556            */
4557            public com.liferay.portlet.journal.model.JournalArticle findByG_C_T_First(
4558                    long groupId, long classNameId, java.lang.String templateId,
4559                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4560                    throws com.liferay.portal.kernel.exception.SystemException,
4561                            com.liferay.portlet.journal.NoSuchArticleException;
4562    
4563            /**
4564            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
4565            *
4566            * @param groupId the group ID
4567            * @param classNameId the class name ID
4568            * @param templateId the template ID
4569            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4570            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
4571            * @throws SystemException if a system exception occurred
4572            */
4573            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_T_First(
4574                    long groupId, long classNameId, java.lang.String templateId,
4575                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4576                    throws com.liferay.portal.kernel.exception.SystemException;
4577    
4578            /**
4579            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
4580            *
4581            * @param groupId the group ID
4582            * @param classNameId the class name ID
4583            * @param templateId the template ID
4584            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4585            * @return the last matching journal article
4586            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4587            * @throws SystemException if a system exception occurred
4588            */
4589            public com.liferay.portlet.journal.model.JournalArticle findByG_C_T_Last(
4590                    long groupId, long classNameId, java.lang.String templateId,
4591                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4592                    throws com.liferay.portal.kernel.exception.SystemException,
4593                            com.liferay.portlet.journal.NoSuchArticleException;
4594    
4595            /**
4596            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
4597            *
4598            * @param groupId the group ID
4599            * @param classNameId the class name ID
4600            * @param templateId the template ID
4601            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4602            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
4603            * @throws SystemException if a system exception occurred
4604            */
4605            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_T_Last(
4606                    long groupId, long classNameId, java.lang.String templateId,
4607                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4608                    throws com.liferay.portal.kernel.exception.SystemException;
4609    
4610            /**
4611            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
4612            *
4613            * @param id the primary key of the current journal article
4614            * @param groupId the group ID
4615            * @param classNameId the class name ID
4616            * @param templateId the template ID
4617            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4618            * @return the previous, current, and next journal article
4619            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
4620            * @throws SystemException if a system exception occurred
4621            */
4622            public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_T_PrevAndNext(
4623                    long id, long groupId, long classNameId, java.lang.String templateId,
4624                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4625                    throws com.liferay.portal.kernel.exception.SystemException,
4626                            com.liferay.portlet.journal.NoSuchArticleException;
4627    
4628            /**
4629            * Returns all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
4630            *
4631            * @param groupId the group ID
4632            * @param classNameId the class name ID
4633            * @param templateId the template ID
4634            * @return the matching journal articles that the user has permission to view
4635            * @throws SystemException if a system exception occurred
4636            */
4637            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T(
4638                    long groupId, long classNameId, java.lang.String templateId)
4639                    throws com.liferay.portal.kernel.exception.SystemException;
4640    
4641            /**
4642            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
4643            *
4644            * <p>
4645            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4646            * </p>
4647            *
4648            * @param groupId the group ID
4649            * @param classNameId the class name ID
4650            * @param templateId the template ID
4651            * @param start the lower bound of the range of journal articles
4652            * @param end the upper bound of the range of journal articles (not inclusive)
4653            * @return the range of matching journal articles that the user has permission to view
4654            * @throws SystemException if a system exception occurred
4655            */
4656            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T(
4657                    long groupId, long classNameId, java.lang.String templateId, int start,
4658                    int end) throws com.liferay.portal.kernel.exception.SystemException;
4659    
4660            /**
4661            * 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;.
4662            *
4663            * <p>
4664            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4665            * </p>
4666            *
4667            * @param groupId the group ID
4668            * @param classNameId the class name ID
4669            * @param templateId the template ID
4670            * @param start the lower bound of the range of journal articles
4671            * @param end the upper bound of the range of journal articles (not inclusive)
4672            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4673            * @return the ordered range of matching journal articles that the user has permission to view
4674            * @throws SystemException if a system exception occurred
4675            */
4676            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T(
4677                    long groupId, long classNameId, java.lang.String templateId, int start,
4678                    int end,
4679                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4680                    throws com.liferay.portal.kernel.exception.SystemException;
4681    
4682            /**
4683            * 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;.
4684            *
4685            * @param id the primary key of the current journal article
4686            * @param groupId the group ID
4687            * @param classNameId the class name ID
4688            * @param templateId the template ID
4689            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4690            * @return the previous, current, and next journal article
4691            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
4692            * @throws SystemException if a system exception occurred
4693            */
4694            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_T_PrevAndNext(
4695                    long id, long groupId, long classNameId, java.lang.String templateId,
4696                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4697                    throws com.liferay.portal.kernel.exception.SystemException,
4698                            com.liferay.portlet.journal.NoSuchArticleException;
4699    
4700            /**
4701            * Removes all the journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63; from the database.
4702            *
4703            * @param groupId the group ID
4704            * @param classNameId the class name ID
4705            * @param templateId the template ID
4706            * @throws SystemException if a system exception occurred
4707            */
4708            public void removeByG_C_T(long groupId, long classNameId,
4709                    java.lang.String templateId)
4710                    throws com.liferay.portal.kernel.exception.SystemException;
4711    
4712            /**
4713            * Returns the number of journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
4714            *
4715            * @param groupId the group ID
4716            * @param classNameId the class name ID
4717            * @param templateId the template ID
4718            * @return the number of matching journal articles
4719            * @throws SystemException if a system exception occurred
4720            */
4721            public int countByG_C_T(long groupId, long classNameId,
4722                    java.lang.String templateId)
4723                    throws com.liferay.portal.kernel.exception.SystemException;
4724    
4725            /**
4726            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
4727            *
4728            * @param groupId the group ID
4729            * @param classNameId the class name ID
4730            * @param templateId the template ID
4731            * @return the number of matching journal articles that the user has permission to view
4732            * @throws SystemException if a system exception occurred
4733            */
4734            public int filterCountByG_C_T(long groupId, long classNameId,
4735                    java.lang.String templateId)
4736                    throws com.liferay.portal.kernel.exception.SystemException;
4737    
4738            /**
4739            * Returns all the journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
4740            *
4741            * @param groupId the group ID
4742            * @param classNameId the class name ID
4743            * @param layoutUuid the layout uuid
4744            * @return the matching journal articles
4745            * @throws SystemException if a system exception occurred
4746            */
4747            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L(
4748                    long groupId, long classNameId, java.lang.String layoutUuid)
4749                    throws com.liferay.portal.kernel.exception.SystemException;
4750    
4751            /**
4752            * Returns a range of all the journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
4753            *
4754            * <p>
4755            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4756            * </p>
4757            *
4758            * @param groupId the group ID
4759            * @param classNameId the class name ID
4760            * @param layoutUuid the layout uuid
4761            * @param start the lower bound of the range of journal articles
4762            * @param end the upper bound of the range of journal articles (not inclusive)
4763            * @return the range of matching journal articles
4764            * @throws SystemException if a system exception occurred
4765            */
4766            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L(
4767                    long groupId, long classNameId, java.lang.String layoutUuid, int start,
4768                    int end) throws com.liferay.portal.kernel.exception.SystemException;
4769    
4770            /**
4771            * Returns an ordered range of all the journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
4772            *
4773            * <p>
4774            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4775            * </p>
4776            *
4777            * @param groupId the group ID
4778            * @param classNameId the class name ID
4779            * @param layoutUuid the layout uuid
4780            * @param start the lower bound of the range of journal articles
4781            * @param end the upper bound of the range of journal articles (not inclusive)
4782            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4783            * @return the ordered range of matching journal articles
4784            * @throws SystemException if a system exception occurred
4785            */
4786            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L(
4787                    long groupId, long classNameId, java.lang.String layoutUuid, int start,
4788                    int end,
4789                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4790                    throws com.liferay.portal.kernel.exception.SystemException;
4791    
4792            /**
4793            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
4794            *
4795            * @param groupId the group ID
4796            * @param classNameId the class name ID
4797            * @param layoutUuid the layout uuid
4798            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4799            * @return the first matching journal article
4800            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4801            * @throws SystemException if a system exception occurred
4802            */
4803            public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_First(
4804                    long groupId, long classNameId, java.lang.String layoutUuid,
4805                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4806                    throws com.liferay.portal.kernel.exception.SystemException,
4807                            com.liferay.portlet.journal.NoSuchArticleException;
4808    
4809            /**
4810            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
4811            *
4812            * @param groupId the group ID
4813            * @param classNameId the class name ID
4814            * @param layoutUuid the layout uuid
4815            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4816            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
4817            * @throws SystemException if a system exception occurred
4818            */
4819            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_L_First(
4820                    long groupId, long classNameId, java.lang.String layoutUuid,
4821                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4822                    throws com.liferay.portal.kernel.exception.SystemException;
4823    
4824            /**
4825            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
4826            *
4827            * @param groupId the group ID
4828            * @param classNameId the class name ID
4829            * @param layoutUuid the layout uuid
4830            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4831            * @return the last matching journal article
4832            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4833            * @throws SystemException if a system exception occurred
4834            */
4835            public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_Last(
4836                    long groupId, long classNameId, java.lang.String layoutUuid,
4837                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4838                    throws com.liferay.portal.kernel.exception.SystemException,
4839                            com.liferay.portlet.journal.NoSuchArticleException;
4840    
4841            /**
4842            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
4843            *
4844            * @param groupId the group ID
4845            * @param classNameId the class name ID
4846            * @param layoutUuid the layout uuid
4847            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4848            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
4849            * @throws SystemException if a system exception occurred
4850            */
4851            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_L_Last(
4852                    long groupId, long classNameId, java.lang.String layoutUuid,
4853                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4854                    throws com.liferay.portal.kernel.exception.SystemException;
4855    
4856            /**
4857            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
4858            *
4859            * @param id the primary key of the current journal article
4860            * @param groupId the group ID
4861            * @param classNameId the class name ID
4862            * @param layoutUuid the layout uuid
4863            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4864            * @return the previous, current, and next journal article
4865            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
4866            * @throws SystemException if a system exception occurred
4867            */
4868            public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_L_PrevAndNext(
4869                    long id, long groupId, long classNameId, java.lang.String layoutUuid,
4870                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4871                    throws com.liferay.portal.kernel.exception.SystemException,
4872                            com.liferay.portlet.journal.NoSuchArticleException;
4873    
4874            /**
4875            * Returns all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
4876            *
4877            * @param groupId the group ID
4878            * @param classNameId the class name ID
4879            * @param layoutUuid the layout uuid
4880            * @return the matching journal articles that the user has permission to view
4881            * @throws SystemException if a system exception occurred
4882            */
4883            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L(
4884                    long groupId, long classNameId, java.lang.String layoutUuid)
4885                    throws com.liferay.portal.kernel.exception.SystemException;
4886    
4887            /**
4888            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
4889            *
4890            * <p>
4891            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4892            * </p>
4893            *
4894            * @param groupId the group ID
4895            * @param classNameId the class name ID
4896            * @param layoutUuid the layout uuid
4897            * @param start the lower bound of the range of journal articles
4898            * @param end the upper bound of the range of journal articles (not inclusive)
4899            * @return the range of matching journal articles that the user has permission to view
4900            * @throws SystemException if a system exception occurred
4901            */
4902            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L(
4903                    long groupId, long classNameId, java.lang.String layoutUuid, int start,
4904                    int end) throws com.liferay.portal.kernel.exception.SystemException;
4905    
4906            /**
4907            * 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;.
4908            *
4909            * <p>
4910            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4911            * </p>
4912            *
4913            * @param groupId the group ID
4914            * @param classNameId the class name ID
4915            * @param layoutUuid the layout uuid
4916            * @param start the lower bound of the range of journal articles
4917            * @param end the upper bound of the range of journal articles (not inclusive)
4918            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4919            * @return the ordered range of matching journal articles that the user has permission to view
4920            * @throws SystemException if a system exception occurred
4921            */
4922            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L(
4923                    long groupId, long classNameId, java.lang.String layoutUuid, int start,
4924                    int end,
4925                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4926                    throws com.liferay.portal.kernel.exception.SystemException;
4927    
4928            /**
4929            * 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;.
4930            *
4931            * @param id the primary key of the current journal article
4932            * @param groupId the group ID
4933            * @param classNameId the class name ID
4934            * @param layoutUuid the layout uuid
4935            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4936            * @return the previous, current, and next journal article
4937            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
4938            * @throws SystemException if a system exception occurred
4939            */
4940            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_L_PrevAndNext(
4941                    long id, long groupId, long classNameId, java.lang.String layoutUuid,
4942                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4943                    throws com.liferay.portal.kernel.exception.SystemException,
4944                            com.liferay.portlet.journal.NoSuchArticleException;
4945    
4946            /**
4947            * Removes all the journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63; from the database.
4948            *
4949            * @param groupId the group ID
4950            * @param classNameId the class name ID
4951            * @param layoutUuid the layout uuid
4952            * @throws SystemException if a system exception occurred
4953            */
4954            public void removeByG_C_L(long groupId, long classNameId,
4955                    java.lang.String layoutUuid)
4956                    throws com.liferay.portal.kernel.exception.SystemException;
4957    
4958            /**
4959            * Returns the number of journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
4960            *
4961            * @param groupId the group ID
4962            * @param classNameId the class name ID
4963            * @param layoutUuid the layout uuid
4964            * @return the number of matching journal articles
4965            * @throws SystemException if a system exception occurred
4966            */
4967            public int countByG_C_L(long groupId, long classNameId,
4968                    java.lang.String layoutUuid)
4969                    throws com.liferay.portal.kernel.exception.SystemException;
4970    
4971            /**
4972            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
4973            *
4974            * @param groupId the group ID
4975            * @param classNameId the class name ID
4976            * @param layoutUuid the layout uuid
4977            * @return the number of matching journal articles that the user has permission to view
4978            * @throws SystemException if a system exception occurred
4979            */
4980            public int filterCountByG_C_L(long groupId, long classNameId,
4981                    java.lang.String layoutUuid)
4982                    throws com.liferay.portal.kernel.exception.SystemException;
4983    
4984            /**
4985            * Returns all the journal articles where groupId = &#63; and userId = &#63; and classNameId = &#63;.
4986            *
4987            * @param groupId the group ID
4988            * @param userId the user ID
4989            * @param classNameId the class name ID
4990            * @return the matching journal articles
4991            * @throws SystemException if a system exception occurred
4992            */
4993            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C(
4994                    long groupId, long userId, long classNameId)
4995                    throws com.liferay.portal.kernel.exception.SystemException;
4996    
4997            /**
4998            * Returns a range of all the journal articles where groupId = &#63; and userId = &#63; and classNameId = &#63;.
4999            *
5000            * <p>
5001            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5002            * </p>
5003            *
5004            * @param groupId the group ID
5005            * @param userId the user ID
5006            * @param classNameId the class name ID
5007            * @param start the lower bound of the range of journal articles
5008            * @param end the upper bound of the range of journal articles (not inclusive)
5009            * @return the range of matching journal articles
5010            * @throws SystemException if a system exception occurred
5011            */
5012            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C(
5013                    long groupId, long userId, long classNameId, int start, int end)
5014                    throws com.liferay.portal.kernel.exception.SystemException;
5015    
5016            /**
5017            * Returns an ordered range of all the journal articles where groupId = &#63; and userId = &#63; and classNameId = &#63;.
5018            *
5019            * <p>
5020            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5021            * </p>
5022            *
5023            * @param groupId the group ID
5024            * @param userId the user ID
5025            * @param classNameId the class name ID
5026            * @param start the lower bound of the range of journal articles
5027            * @param end the upper bound of the range of journal articles (not inclusive)
5028            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5029            * @return the ordered range of matching journal articles
5030            * @throws SystemException if a system exception occurred
5031            */
5032            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C(
5033                    long groupId, long userId, long classNameId, int start, int end,
5034                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5035                    throws com.liferay.portal.kernel.exception.SystemException;
5036    
5037            /**
5038            * Returns the first journal article in the ordered set where groupId = &#63; and userId = &#63; and classNameId = &#63;.
5039            *
5040            * @param groupId the group ID
5041            * @param userId the user ID
5042            * @param classNameId the class name ID
5043            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5044            * @return the first matching journal article
5045            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5046            * @throws SystemException if a system exception occurred
5047            */
5048            public com.liferay.portlet.journal.model.JournalArticle findByG_U_C_First(
5049                    long groupId, long userId, long classNameId,
5050                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5051                    throws com.liferay.portal.kernel.exception.SystemException,
5052                            com.liferay.portlet.journal.NoSuchArticleException;
5053    
5054            /**
5055            * Returns the first journal article in the ordered set where groupId = &#63; and userId = &#63; and classNameId = &#63;.
5056            *
5057            * @param groupId the group ID
5058            * @param userId the user ID
5059            * @param classNameId the class name ID
5060            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5061            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
5062            * @throws SystemException if a system exception occurred
5063            */
5064            public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_C_First(
5065                    long groupId, long userId, long classNameId,
5066                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5067                    throws com.liferay.portal.kernel.exception.SystemException;
5068    
5069            /**
5070            * Returns the last journal article in the ordered set where groupId = &#63; and userId = &#63; and classNameId = &#63;.
5071            *
5072            * @param groupId the group ID
5073            * @param userId the user ID
5074            * @param classNameId the class name ID
5075            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5076            * @return the last matching journal article
5077            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5078            * @throws SystemException if a system exception occurred
5079            */
5080            public com.liferay.portlet.journal.model.JournalArticle findByG_U_C_Last(
5081                    long groupId, long userId, long classNameId,
5082                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5083                    throws com.liferay.portal.kernel.exception.SystemException,
5084                            com.liferay.portlet.journal.NoSuchArticleException;
5085    
5086            /**
5087            * Returns the last journal article in the ordered set where groupId = &#63; and userId = &#63; and classNameId = &#63;.
5088            *
5089            * @param groupId the group ID
5090            * @param userId the user ID
5091            * @param classNameId the class name ID
5092            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5093            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
5094            * @throws SystemException if a system exception occurred
5095            */
5096            public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_C_Last(
5097                    long groupId, long userId, long classNameId,
5098                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5099                    throws com.liferay.portal.kernel.exception.SystemException;
5100    
5101            /**
5102            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and userId = &#63; and classNameId = &#63;.
5103            *
5104            * @param id the primary key of the current journal article
5105            * @param groupId the group ID
5106            * @param userId the user ID
5107            * @param classNameId the class name ID
5108            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5109            * @return the previous, current, and next journal article
5110            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
5111            * @throws SystemException if a system exception occurred
5112            */
5113            public com.liferay.portlet.journal.model.JournalArticle[] findByG_U_C_PrevAndNext(
5114                    long id, long groupId, long userId, long classNameId,
5115                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5116                    throws com.liferay.portal.kernel.exception.SystemException,
5117                            com.liferay.portlet.journal.NoSuchArticleException;
5118    
5119            /**
5120            * Returns all the journal articles that the user has permission to view where groupId = &#63; and userId = &#63; and classNameId = &#63;.
5121            *
5122            * @param groupId the group ID
5123            * @param userId the user ID
5124            * @param classNameId the class name ID
5125            * @return the matching journal articles that the user has permission to view
5126            * @throws SystemException if a system exception occurred
5127            */
5128            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C(
5129                    long groupId, long userId, long classNameId)
5130                    throws com.liferay.portal.kernel.exception.SystemException;
5131    
5132            /**
5133            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and userId = &#63; and classNameId = &#63;.
5134            *
5135            * <p>
5136            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5137            * </p>
5138            *
5139            * @param groupId the group ID
5140            * @param userId the user ID
5141            * @param classNameId the class name ID
5142            * @param start the lower bound of the range of journal articles
5143            * @param end the upper bound of the range of journal articles (not inclusive)
5144            * @return the range of matching journal articles that the user has permission to view
5145            * @throws SystemException if a system exception occurred
5146            */
5147            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C(
5148                    long groupId, long userId, long classNameId, int start, int end)
5149                    throws com.liferay.portal.kernel.exception.SystemException;
5150    
5151            /**
5152            * 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;.
5153            *
5154            * <p>
5155            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5156            * </p>
5157            *
5158            * @param groupId the group ID
5159            * @param userId the user ID
5160            * @param classNameId the class name ID
5161            * @param start the lower bound of the range of journal articles
5162            * @param end the upper bound of the range of journal articles (not inclusive)
5163            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5164            * @return the ordered range of matching journal articles that the user has permission to view
5165            * @throws SystemException if a system exception occurred
5166            */
5167            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C(
5168                    long groupId, long userId, long classNameId, int start, int end,
5169                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5170                    throws com.liferay.portal.kernel.exception.SystemException;
5171    
5172            /**
5173            * 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;.
5174            *
5175            * @param id the primary key of the current journal article
5176            * @param groupId the group ID
5177            * @param userId the user ID
5178            * @param classNameId the class name ID
5179            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5180            * @return the previous, current, and next journal article
5181            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
5182            * @throws SystemException if a system exception occurred
5183            */
5184            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_U_C_PrevAndNext(
5185                    long id, long groupId, long userId, long classNameId,
5186                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5187                    throws com.liferay.portal.kernel.exception.SystemException,
5188                            com.liferay.portlet.journal.NoSuchArticleException;
5189    
5190            /**
5191            * Removes all the journal articles where groupId = &#63; and userId = &#63; and classNameId = &#63; from the database.
5192            *
5193            * @param groupId the group ID
5194            * @param userId the user ID
5195            * @param classNameId the class name ID
5196            * @throws SystemException if a system exception occurred
5197            */
5198            public void removeByG_U_C(long groupId, long userId, long classNameId)
5199                    throws com.liferay.portal.kernel.exception.SystemException;
5200    
5201            /**
5202            * Returns the number of journal articles where groupId = &#63; and userId = &#63; and classNameId = &#63;.
5203            *
5204            * @param groupId the group ID
5205            * @param userId the user ID
5206            * @param classNameId the class name ID
5207            * @return the number of matching journal articles
5208            * @throws SystemException if a system exception occurred
5209            */
5210            public int countByG_U_C(long groupId, long userId, long classNameId)
5211                    throws com.liferay.portal.kernel.exception.SystemException;
5212    
5213            /**
5214            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and userId = &#63; and classNameId = &#63;.
5215            *
5216            * @param groupId the group ID
5217            * @param userId the user ID
5218            * @param classNameId the class name ID
5219            * @return the number of matching journal articles that the user has permission to view
5220            * @throws SystemException if a system exception occurred
5221            */
5222            public int filterCountByG_U_C(long groupId, long userId, long classNameId)
5223                    throws com.liferay.portal.kernel.exception.SystemException;
5224    
5225            /**
5226            * 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.
5227            *
5228            * @param groupId the group ID
5229            * @param articleId the article ID
5230            * @param version the version
5231            * @return the matching journal article
5232            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5233            * @throws SystemException if a system exception occurred
5234            */
5235            public com.liferay.portlet.journal.model.JournalArticle findByG_A_V(
5236                    long groupId, java.lang.String articleId, double version)
5237                    throws com.liferay.portal.kernel.exception.SystemException,
5238                            com.liferay.portlet.journal.NoSuchArticleException;
5239    
5240            /**
5241            * 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.
5242            *
5243            * @param groupId the group ID
5244            * @param articleId the article ID
5245            * @param version the version
5246            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
5247            * @throws SystemException if a system exception occurred
5248            */
5249            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V(
5250                    long groupId, java.lang.String articleId, double version)
5251                    throws com.liferay.portal.kernel.exception.SystemException;
5252    
5253            /**
5254            * 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.
5255            *
5256            * @param groupId the group ID
5257            * @param articleId the article ID
5258            * @param version the version
5259            * @param retrieveFromCache whether to use the finder cache
5260            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
5261            * @throws SystemException if a system exception occurred
5262            */
5263            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V(
5264                    long groupId, java.lang.String articleId, double version,
5265                    boolean retrieveFromCache)
5266                    throws com.liferay.portal.kernel.exception.SystemException;
5267    
5268            /**
5269            * Removes the journal article where groupId = &#63; and articleId = &#63; and version = &#63; from the database.
5270            *
5271            * @param groupId the group ID
5272            * @param articleId the article ID
5273            * @param version the version
5274            * @return the journal article that was removed
5275            * @throws SystemException if a system exception occurred
5276            */
5277            public com.liferay.portlet.journal.model.JournalArticle removeByG_A_V(
5278                    long groupId, java.lang.String articleId, double version)
5279                    throws com.liferay.portal.kernel.exception.SystemException,
5280                            com.liferay.portlet.journal.NoSuchArticleException;
5281    
5282            /**
5283            * Returns the number of journal articles where groupId = &#63; and articleId = &#63; and version = &#63;.
5284            *
5285            * @param groupId the group ID
5286            * @param articleId the article ID
5287            * @param version the version
5288            * @return the number of matching journal articles
5289            * @throws SystemException if a system exception occurred
5290            */
5291            public int countByG_A_V(long groupId, java.lang.String articleId,
5292                    double version)
5293                    throws com.liferay.portal.kernel.exception.SystemException;
5294    
5295            /**
5296            * Returns all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
5297            *
5298            * @param groupId the group ID
5299            * @param articleId the article ID
5300            * @param status the status
5301            * @return the matching journal articles
5302            * @throws SystemException if a system exception occurred
5303            */
5304            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
5305                    long groupId, java.lang.String articleId, int status)
5306                    throws com.liferay.portal.kernel.exception.SystemException;
5307    
5308            /**
5309            * Returns a range of all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
5310            *
5311            * <p>
5312            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5313            * </p>
5314            *
5315            * @param groupId the group ID
5316            * @param articleId the article ID
5317            * @param status the status
5318            * @param start the lower bound of the range of journal articles
5319            * @param end the upper bound of the range of journal articles (not inclusive)
5320            * @return the range of matching journal articles
5321            * @throws SystemException if a system exception occurred
5322            */
5323            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
5324                    long groupId, java.lang.String articleId, int status, int start, int end)
5325                    throws com.liferay.portal.kernel.exception.SystemException;
5326    
5327            /**
5328            * Returns an ordered range of all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
5329            *
5330            * <p>
5331            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5332            * </p>
5333            *
5334            * @param groupId the group ID
5335            * @param articleId the article ID
5336            * @param status the status
5337            * @param start the lower bound of the range of journal articles
5338            * @param end the upper bound of the range of journal articles (not inclusive)
5339            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5340            * @return the ordered range of matching journal articles
5341            * @throws SystemException if a system exception occurred
5342            */
5343            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
5344                    long groupId, java.lang.String articleId, int status, int start,
5345                    int end,
5346                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5347                    throws com.liferay.portal.kernel.exception.SystemException;
5348    
5349            /**
5350            * Returns the first journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
5351            *
5352            * @param groupId the group ID
5353            * @param articleId the article ID
5354            * @param status the status
5355            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5356            * @return the first matching journal article
5357            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5358            * @throws SystemException if a system exception occurred
5359            */
5360            public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_First(
5361                    long groupId, java.lang.String articleId, int status,
5362                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5363                    throws com.liferay.portal.kernel.exception.SystemException,
5364                            com.liferay.portlet.journal.NoSuchArticleException;
5365    
5366            /**
5367            * Returns the first journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
5368            *
5369            * @param groupId the group ID
5370            * @param articleId the article ID
5371            * @param status the status
5372            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5373            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
5374            * @throws SystemException if a system exception occurred
5375            */
5376            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_ST_First(
5377                    long groupId, java.lang.String articleId, int status,
5378                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5379                    throws com.liferay.portal.kernel.exception.SystemException;
5380    
5381            /**
5382            * Returns the last journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
5383            *
5384            * @param groupId the group ID
5385            * @param articleId the article ID
5386            * @param status the status
5387            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5388            * @return the last matching journal article
5389            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5390            * @throws SystemException if a system exception occurred
5391            */
5392            public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_Last(
5393                    long groupId, java.lang.String articleId, int status,
5394                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5395                    throws com.liferay.portal.kernel.exception.SystemException,
5396                            com.liferay.portlet.journal.NoSuchArticleException;
5397    
5398            /**
5399            * Returns the last journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
5400            *
5401            * @param groupId the group ID
5402            * @param articleId the article ID
5403            * @param status the status
5404            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5405            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
5406            * @throws SystemException if a system exception occurred
5407            */
5408            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_ST_Last(
5409                    long groupId, java.lang.String articleId, int status,
5410                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5411                    throws com.liferay.portal.kernel.exception.SystemException;
5412    
5413            /**
5414            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
5415            *
5416            * @param id the primary key of the current journal article
5417            * @param groupId the group ID
5418            * @param articleId the article ID
5419            * @param status the status
5420            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5421            * @return the previous, current, and next journal article
5422            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
5423            * @throws SystemException if a system exception occurred
5424            */
5425            public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_ST_PrevAndNext(
5426                    long id, long groupId, java.lang.String articleId, int status,
5427                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5428                    throws com.liferay.portal.kernel.exception.SystemException,
5429                            com.liferay.portlet.journal.NoSuchArticleException;
5430    
5431            /**
5432            * Returns all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = &#63;.
5433            *
5434            * @param groupId the group ID
5435            * @param articleId the article ID
5436            * @param status the status
5437            * @return the matching journal articles that the user has permission to view
5438            * @throws SystemException if a system exception occurred
5439            */
5440            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
5441                    long groupId, java.lang.String articleId, int status)
5442                    throws com.liferay.portal.kernel.exception.SystemException;
5443    
5444            /**
5445            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = &#63;.
5446            *
5447            * <p>
5448            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5449            * </p>
5450            *
5451            * @param groupId the group ID
5452            * @param articleId the article ID
5453            * @param status the status
5454            * @param start the lower bound of the range of journal articles
5455            * @param end the upper bound of the range of journal articles (not inclusive)
5456            * @return the range of matching journal articles that the user has permission to view
5457            * @throws SystemException if a system exception occurred
5458            */
5459            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
5460                    long groupId, java.lang.String articleId, int status, int start, int end)
5461                    throws com.liferay.portal.kernel.exception.SystemException;
5462    
5463            /**
5464            * 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;.
5465            *
5466            * <p>
5467            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5468            * </p>
5469            *
5470            * @param groupId the group ID
5471            * @param articleId the article ID
5472            * @param status the status
5473            * @param start the lower bound of the range of journal articles
5474            * @param end the upper bound of the range of journal articles (not inclusive)
5475            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5476            * @return the ordered range of matching journal articles that the user has permission to view
5477            * @throws SystemException if a system exception occurred
5478            */
5479            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
5480                    long groupId, java.lang.String articleId, int status, int start,
5481                    int end,
5482                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5483                    throws com.liferay.portal.kernel.exception.SystemException;
5484    
5485            /**
5486            * 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;.
5487            *
5488            * @param id the primary key of the current journal article
5489            * @param groupId the group ID
5490            * @param articleId the article ID
5491            * @param status the status
5492            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5493            * @return the previous, current, and next journal article
5494            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
5495            * @throws SystemException if a system exception occurred
5496            */
5497            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_ST_PrevAndNext(
5498                    long id, long groupId, java.lang.String articleId, int status,
5499                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5500                    throws com.liferay.portal.kernel.exception.SystemException,
5501                            com.liferay.portlet.journal.NoSuchArticleException;
5502    
5503            /**
5504            * Returns all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = any &#63;.
5505            *
5506            * @param groupId the group ID
5507            * @param articleId the article ID
5508            * @param statuses the statuses
5509            * @return the matching journal articles that the user has permission to view
5510            * @throws SystemException if a system exception occurred
5511            */
5512            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
5513                    long groupId, java.lang.String articleId, int[] statuses)
5514                    throws com.liferay.portal.kernel.exception.SystemException;
5515    
5516            /**
5517            * 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;.
5518            *
5519            * <p>
5520            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5521            * </p>
5522            *
5523            * @param groupId the group ID
5524            * @param articleId the article ID
5525            * @param statuses the statuses
5526            * @param start the lower bound of the range of journal articles
5527            * @param end the upper bound of the range of journal articles (not inclusive)
5528            * @return the range of matching journal articles that the user has permission to view
5529            * @throws SystemException if a system exception occurred
5530            */
5531            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
5532                    long groupId, java.lang.String articleId, int[] statuses, int start,
5533                    int end) throws com.liferay.portal.kernel.exception.SystemException;
5534    
5535            /**
5536            * 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;.
5537            *
5538            * <p>
5539            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5540            * </p>
5541            *
5542            * @param groupId the group ID
5543            * @param articleId the article ID
5544            * @param statuses the statuses
5545            * @param start the lower bound of the range of journal articles
5546            * @param end the upper bound of the range of journal articles (not inclusive)
5547            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5548            * @return the ordered range of matching journal articles that the user has permission to view
5549            * @throws SystemException if a system exception occurred
5550            */
5551            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
5552                    long groupId, java.lang.String articleId, int[] statuses, int start,
5553                    int end,
5554                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5555                    throws com.liferay.portal.kernel.exception.SystemException;
5556    
5557            /**
5558            * Returns all the journal articles where groupId = &#63; and articleId = &#63; and status = any &#63;.
5559            *
5560            * <p>
5561            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5562            * </p>
5563            *
5564            * @param groupId the group ID
5565            * @param articleId the article ID
5566            * @param statuses the statuses
5567            * @return the matching journal articles
5568            * @throws SystemException if a system exception occurred
5569            */
5570            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
5571                    long groupId, java.lang.String articleId, int[] statuses)
5572                    throws com.liferay.portal.kernel.exception.SystemException;
5573    
5574            /**
5575            * Returns a range of all the journal articles where groupId = &#63; and articleId = &#63; and status = any &#63;.
5576            *
5577            * <p>
5578            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5579            * </p>
5580            *
5581            * @param groupId the group ID
5582            * @param articleId the article ID
5583            * @param statuses the statuses
5584            * @param start the lower bound of the range of journal articles
5585            * @param end the upper bound of the range of journal articles (not inclusive)
5586            * @return the range of matching journal articles
5587            * @throws SystemException if a system exception occurred
5588            */
5589            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
5590                    long groupId, java.lang.String articleId, int[] statuses, int start,
5591                    int end) throws com.liferay.portal.kernel.exception.SystemException;
5592    
5593            /**
5594            * Returns an ordered range of all the journal articles where groupId = &#63; and articleId = &#63; and status = any &#63;.
5595            *
5596            * <p>
5597            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5598            * </p>
5599            *
5600            * @param groupId the group ID
5601            * @param articleId the article ID
5602            * @param statuses the statuses
5603            * @param start the lower bound of the range of journal articles
5604            * @param end the upper bound of the range of journal articles (not inclusive)
5605            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5606            * @return the ordered range of matching journal articles
5607            * @throws SystemException if a system exception occurred
5608            */
5609            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
5610                    long groupId, java.lang.String articleId, int[] statuses, int start,
5611                    int end,
5612                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5613                    throws com.liferay.portal.kernel.exception.SystemException;
5614    
5615            /**
5616            * Removes all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63; from the database.
5617            *
5618            * @param groupId the group ID
5619            * @param articleId the article ID
5620            * @param status the status
5621            * @throws SystemException if a system exception occurred
5622            */
5623            public void removeByG_A_ST(long groupId, java.lang.String articleId,
5624                    int status) throws com.liferay.portal.kernel.exception.SystemException;
5625    
5626            /**
5627            * Returns the number of journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
5628            *
5629            * @param groupId the group ID
5630            * @param articleId the article ID
5631            * @param status the status
5632            * @return the number of matching journal articles
5633            * @throws SystemException if a system exception occurred
5634            */
5635            public int countByG_A_ST(long groupId, java.lang.String articleId,
5636                    int status) throws com.liferay.portal.kernel.exception.SystemException;
5637    
5638            /**
5639            * Returns the number of journal articles where groupId = &#63; and articleId = &#63; and status = any &#63;.
5640            *
5641            * @param groupId the group ID
5642            * @param articleId the article ID
5643            * @param statuses the statuses
5644            * @return the number of matching journal articles
5645            * @throws SystemException if a system exception occurred
5646            */
5647            public int countByG_A_ST(long groupId, java.lang.String articleId,
5648                    int[] statuses)
5649                    throws com.liferay.portal.kernel.exception.SystemException;
5650    
5651            /**
5652            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = &#63;.
5653            *
5654            * @param groupId the group ID
5655            * @param articleId the article ID
5656            * @param status the status
5657            * @return the number of matching journal articles that the user has permission to view
5658            * @throws SystemException if a system exception occurred
5659            */
5660            public int filterCountByG_A_ST(long groupId, java.lang.String articleId,
5661                    int status) throws com.liferay.portal.kernel.exception.SystemException;
5662    
5663            /**
5664            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = any &#63;.
5665            *
5666            * @param groupId the group ID
5667            * @param articleId the article ID
5668            * @param statuses the statuses
5669            * @return the number of matching journal articles that the user has permission to view
5670            * @throws SystemException if a system exception occurred
5671            */
5672            public int filterCountByG_A_ST(long groupId, java.lang.String articleId,
5673                    int[] statuses)
5674                    throws com.liferay.portal.kernel.exception.SystemException;
5675    
5676            /**
5677            * Returns all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
5678            *
5679            * @param groupId the group ID
5680            * @param urlTitle the url title
5681            * @param status the status
5682            * @return the matching journal articles
5683            * @throws SystemException if a system exception occurred
5684            */
5685            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST(
5686                    long groupId, java.lang.String urlTitle, int status)
5687                    throws com.liferay.portal.kernel.exception.SystemException;
5688    
5689            /**
5690            * Returns a range of all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
5691            *
5692            * <p>
5693            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5694            * </p>
5695            *
5696            * @param groupId the group ID
5697            * @param urlTitle the url title
5698            * @param status the status
5699            * @param start the lower bound of the range of journal articles
5700            * @param end the upper bound of the range of journal articles (not inclusive)
5701            * @return the range of matching journal articles
5702            * @throws SystemException if a system exception occurred
5703            */
5704            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST(
5705                    long groupId, java.lang.String urlTitle, int status, int start, int end)
5706                    throws com.liferay.portal.kernel.exception.SystemException;
5707    
5708            /**
5709            * Returns an ordered range of all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
5710            *
5711            * <p>
5712            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5713            * </p>
5714            *
5715            * @param groupId the group ID
5716            * @param urlTitle the url title
5717            * @param status the status
5718            * @param start the lower bound of the range of journal articles
5719            * @param end the upper bound of the range of journal articles (not inclusive)
5720            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5721            * @return the ordered range of matching journal articles
5722            * @throws SystemException if a system exception occurred
5723            */
5724            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST(
5725                    long groupId, java.lang.String urlTitle, int status, int start,
5726                    int end,
5727                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5728                    throws com.liferay.portal.kernel.exception.SystemException;
5729    
5730            /**
5731            * Returns the first journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
5732            *
5733            * @param groupId the group ID
5734            * @param urlTitle the url title
5735            * @param status the status
5736            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5737            * @return the first matching journal article
5738            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5739            * @throws SystemException if a system exception occurred
5740            */
5741            public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_First(
5742                    long groupId, java.lang.String urlTitle, int status,
5743                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5744                    throws com.liferay.portal.kernel.exception.SystemException,
5745                            com.liferay.portlet.journal.NoSuchArticleException;
5746    
5747            /**
5748            * Returns the first journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
5749            *
5750            * @param groupId the group ID
5751            * @param urlTitle the url title
5752            * @param status the status
5753            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5754            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
5755            * @throws SystemException if a system exception occurred
5756            */
5757            public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_ST_First(
5758                    long groupId, java.lang.String urlTitle, int status,
5759                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5760                    throws com.liferay.portal.kernel.exception.SystemException;
5761    
5762            /**
5763            * Returns the last journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
5764            *
5765            * @param groupId the group ID
5766            * @param urlTitle the url title
5767            * @param status the status
5768            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5769            * @return the last matching journal article
5770            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5771            * @throws SystemException if a system exception occurred
5772            */
5773            public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_Last(
5774                    long groupId, java.lang.String urlTitle, int status,
5775                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5776                    throws com.liferay.portal.kernel.exception.SystemException,
5777                            com.liferay.portlet.journal.NoSuchArticleException;
5778    
5779            /**
5780            * Returns the last journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
5781            *
5782            * @param groupId the group ID
5783            * @param urlTitle the url title
5784            * @param status the status
5785            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5786            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
5787            * @throws SystemException if a system exception occurred
5788            */
5789            public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_ST_Last(
5790                    long groupId, java.lang.String urlTitle, int status,
5791                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5792                    throws com.liferay.portal.kernel.exception.SystemException;
5793    
5794            /**
5795            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
5796            *
5797            * @param id the primary key of the current journal article
5798            * @param groupId the group ID
5799            * @param urlTitle the url title
5800            * @param status the status
5801            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5802            * @return the previous, current, and next journal article
5803            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
5804            * @throws SystemException if a system exception occurred
5805            */
5806            public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_ST_PrevAndNext(
5807                    long id, long groupId, java.lang.String urlTitle, int status,
5808                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5809                    throws com.liferay.portal.kernel.exception.SystemException,
5810                            com.liferay.portlet.journal.NoSuchArticleException;
5811    
5812            /**
5813            * Returns all the journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63; and status = &#63;.
5814            *
5815            * @param groupId the group ID
5816            * @param urlTitle the url title
5817            * @param status the status
5818            * @return the matching journal articles that the user has permission to view
5819            * @throws SystemException if a system exception occurred
5820            */
5821            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST(
5822                    long groupId, java.lang.String urlTitle, int status)
5823                    throws com.liferay.portal.kernel.exception.SystemException;
5824    
5825            /**
5826            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63; and status = &#63;.
5827            *
5828            * <p>
5829            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5830            * </p>
5831            *
5832            * @param groupId the group ID
5833            * @param urlTitle the url title
5834            * @param status the status
5835            * @param start the lower bound of the range of journal articles
5836            * @param end the upper bound of the range of journal articles (not inclusive)
5837            * @return the range of matching journal articles that the user has permission to view
5838            * @throws SystemException if a system exception occurred
5839            */
5840            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST(
5841                    long groupId, java.lang.String urlTitle, int status, int start, int end)
5842                    throws com.liferay.portal.kernel.exception.SystemException;
5843    
5844            /**
5845            * 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;.
5846            *
5847            * <p>
5848            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5849            * </p>
5850            *
5851            * @param groupId the group ID
5852            * @param urlTitle the url title
5853            * @param status the status
5854            * @param start the lower bound of the range of journal articles
5855            * @param end the upper bound of the range of journal articles (not inclusive)
5856            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5857            * @return the ordered range of matching journal articles that the user has permission to view
5858            * @throws SystemException if a system exception occurred
5859            */
5860            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST(
5861                    long groupId, java.lang.String urlTitle, int status, int start,
5862                    int end,
5863                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5864                    throws com.liferay.portal.kernel.exception.SystemException;
5865    
5866            /**
5867            * 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;.
5868            *
5869            * @param id the primary key of the current journal article
5870            * @param groupId the group ID
5871            * @param urlTitle the url title
5872            * @param status the status
5873            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5874            * @return the previous, current, and next journal article
5875            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
5876            * @throws SystemException if a system exception occurred
5877            */
5878            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_ST_PrevAndNext(
5879                    long id, long groupId, java.lang.String urlTitle, int status,
5880                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5881                    throws com.liferay.portal.kernel.exception.SystemException,
5882                            com.liferay.portlet.journal.NoSuchArticleException;
5883    
5884            /**
5885            * Removes all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63; from the database.
5886            *
5887            * @param groupId the group ID
5888            * @param urlTitle the url title
5889            * @param status the status
5890            * @throws SystemException if a system exception occurred
5891            */
5892            public void removeByG_UT_ST(long groupId, java.lang.String urlTitle,
5893                    int status) throws com.liferay.portal.kernel.exception.SystemException;
5894    
5895            /**
5896            * Returns the number of journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
5897            *
5898            * @param groupId the group ID
5899            * @param urlTitle the url title
5900            * @param status the status
5901            * @return the number of matching journal articles
5902            * @throws SystemException if a system exception occurred
5903            */
5904            public int countByG_UT_ST(long groupId, java.lang.String urlTitle,
5905                    int status) throws com.liferay.portal.kernel.exception.SystemException;
5906    
5907            /**
5908            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63; and status = &#63;.
5909            *
5910            * @param groupId the group ID
5911            * @param urlTitle the url title
5912            * @param status the status
5913            * @return the number of matching journal articles that the user has permission to view
5914            * @throws SystemException if a system exception occurred
5915            */
5916            public int filterCountByG_UT_ST(long groupId, java.lang.String urlTitle,
5917                    int status) throws com.liferay.portal.kernel.exception.SystemException;
5918    
5919            /**
5920            * Returns all the journal articles where companyId = &#63; and version = &#63; and status = &#63;.
5921            *
5922            * @param companyId the company ID
5923            * @param version the version
5924            * @param status the status
5925            * @return the matching journal articles
5926            * @throws SystemException if a system exception occurred
5927            */
5928            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST(
5929                    long companyId, double version, int status)
5930                    throws com.liferay.portal.kernel.exception.SystemException;
5931    
5932            /**
5933            * Returns a range of all the journal articles where companyId = &#63; and version = &#63; and status = &#63;.
5934            *
5935            * <p>
5936            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5937            * </p>
5938            *
5939            * @param companyId the company ID
5940            * @param version the version
5941            * @param status the status
5942            * @param start the lower bound of the range of journal articles
5943            * @param end the upper bound of the range of journal articles (not inclusive)
5944            * @return the range of matching journal articles
5945            * @throws SystemException if a system exception occurred
5946            */
5947            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST(
5948                    long companyId, double version, int status, int start, int end)
5949                    throws com.liferay.portal.kernel.exception.SystemException;
5950    
5951            /**
5952            * Returns an ordered range of all the journal articles where companyId = &#63; and version = &#63; and status = &#63;.
5953            *
5954            * <p>
5955            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5956            * </p>
5957            *
5958            * @param companyId the company ID
5959            * @param version the version
5960            * @param status the status
5961            * @param start the lower bound of the range of journal articles
5962            * @param end the upper bound of the range of journal articles (not inclusive)
5963            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5964            * @return the ordered range of matching journal articles
5965            * @throws SystemException if a system exception occurred
5966            */
5967            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST(
5968                    long companyId, double version, int status, int start, int end,
5969                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5970                    throws com.liferay.portal.kernel.exception.SystemException;
5971    
5972            /**
5973            * Returns the first journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
5974            *
5975            * @param companyId the company ID
5976            * @param version the version
5977            * @param status the status
5978            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5979            * @return the first matching journal article
5980            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
5981            * @throws SystemException if a system exception occurred
5982            */
5983            public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_First(
5984                    long companyId, double version, int status,
5985                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5986                    throws com.liferay.portal.kernel.exception.SystemException,
5987                            com.liferay.portlet.journal.NoSuchArticleException;
5988    
5989            /**
5990            * Returns the first journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
5991            *
5992            * @param companyId the company ID
5993            * @param version the version
5994            * @param status the status
5995            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5996            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
5997            * @throws SystemException if a system exception occurred
5998            */
5999            public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_ST_First(
6000                    long companyId, double version, int status,
6001                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6002                    throws com.liferay.portal.kernel.exception.SystemException;
6003    
6004            /**
6005            * Returns the last journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
6006            *
6007            * @param companyId the company ID
6008            * @param version the version
6009            * @param status the status
6010            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6011            * @return the last matching journal article
6012            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
6013            * @throws SystemException if a system exception occurred
6014            */
6015            public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_Last(
6016                    long companyId, double version, int status,
6017                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6018                    throws com.liferay.portal.kernel.exception.SystemException,
6019                            com.liferay.portlet.journal.NoSuchArticleException;
6020    
6021            /**
6022            * Returns the last journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
6023            *
6024            * @param companyId the company ID
6025            * @param version the version
6026            * @param status the status
6027            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6028            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
6029            * @throws SystemException if a system exception occurred
6030            */
6031            public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_ST_Last(
6032                    long companyId, double version, int status,
6033                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6034                    throws com.liferay.portal.kernel.exception.SystemException;
6035    
6036            /**
6037            * Returns the journal articles before and after the current journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
6038            *
6039            * @param id the primary key of the current journal article
6040            * @param companyId the company ID
6041            * @param version the version
6042            * @param status the status
6043            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6044            * @return the previous, current, and next journal article
6045            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
6046            * @throws SystemException if a system exception occurred
6047            */
6048            public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_ST_PrevAndNext(
6049                    long id, long companyId, double version, int status,
6050                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6051                    throws com.liferay.portal.kernel.exception.SystemException,
6052                            com.liferay.portlet.journal.NoSuchArticleException;
6053    
6054            /**
6055            * Removes all the journal articles where companyId = &#63; and version = &#63; and status = &#63; from the database.
6056            *
6057            * @param companyId the company ID
6058            * @param version the version
6059            * @param status the status
6060            * @throws SystemException if a system exception occurred
6061            */
6062            public void removeByC_V_ST(long companyId, double version, int status)
6063                    throws com.liferay.portal.kernel.exception.SystemException;
6064    
6065            /**
6066            * Returns the number of journal articles where companyId = &#63; and version = &#63; and status = &#63;.
6067            *
6068            * @param companyId the company ID
6069            * @param version the version
6070            * @param status the status
6071            * @return the number of matching journal articles
6072            * @throws SystemException if a system exception occurred
6073            */
6074            public int countByC_V_ST(long companyId, double version, int status)
6075                    throws com.liferay.portal.kernel.exception.SystemException;
6076    
6077            /**
6078            * Caches the journal article in the entity cache if it is enabled.
6079            *
6080            * @param journalArticle the journal article
6081            */
6082            public void cacheResult(
6083                    com.liferay.portlet.journal.model.JournalArticle journalArticle);
6084    
6085            /**
6086            * Caches the journal articles in the entity cache if it is enabled.
6087            *
6088            * @param journalArticles the journal articles
6089            */
6090            public void cacheResult(
6091                    java.util.List<com.liferay.portlet.journal.model.JournalArticle> journalArticles);
6092    
6093            /**
6094            * Creates a new journal article with the primary key. Does not add the journal article to the database.
6095            *
6096            * @param id the primary key for the new journal article
6097            * @return the new journal article
6098            */
6099            public com.liferay.portlet.journal.model.JournalArticle create(long id);
6100    
6101            /**
6102            * Removes the journal article with the primary key from the database. Also notifies the appropriate model listeners.
6103            *
6104            * @param id the primary key of the journal article
6105            * @return the journal article that was removed
6106            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
6107            * @throws SystemException if a system exception occurred
6108            */
6109            public com.liferay.portlet.journal.model.JournalArticle remove(long id)
6110                    throws com.liferay.portal.kernel.exception.SystemException,
6111                            com.liferay.portlet.journal.NoSuchArticleException;
6112    
6113            public com.liferay.portlet.journal.model.JournalArticle updateImpl(
6114                    com.liferay.portlet.journal.model.JournalArticle journalArticle)
6115                    throws com.liferay.portal.kernel.exception.SystemException;
6116    
6117            /**
6118            * Returns the journal article with the primary key or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found.
6119            *
6120            * @param id the primary key of the journal article
6121            * @return the journal article
6122            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
6123            * @throws SystemException if a system exception occurred
6124            */
6125            public com.liferay.portlet.journal.model.JournalArticle findByPrimaryKey(
6126                    long id)
6127                    throws com.liferay.portal.kernel.exception.SystemException,
6128                            com.liferay.portlet.journal.NoSuchArticleException;
6129    
6130            /**
6131            * Returns the journal article with the primary key or returns <code>null</code> if it could not be found.
6132            *
6133            * @param id the primary key of the journal article
6134            * @return the journal article, or <code>null</code> if a journal article with the primary key could not be found
6135            * @throws SystemException if a system exception occurred
6136            */
6137            public com.liferay.portlet.journal.model.JournalArticle fetchByPrimaryKey(
6138                    long id) throws com.liferay.portal.kernel.exception.SystemException;
6139    
6140            /**
6141            * Returns all the journal articles.
6142            *
6143            * @return the journal articles
6144            * @throws SystemException if a system exception occurred
6145            */
6146            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll()
6147                    throws com.liferay.portal.kernel.exception.SystemException;
6148    
6149            /**
6150            * Returns a range of all the journal articles.
6151            *
6152            * <p>
6153            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6154            * </p>
6155            *
6156            * @param start the lower bound of the range of journal articles
6157            * @param end the upper bound of the range of journal articles (not inclusive)
6158            * @return the range of journal articles
6159            * @throws SystemException if a system exception occurred
6160            */
6161            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll(
6162                    int start, int end)
6163                    throws com.liferay.portal.kernel.exception.SystemException;
6164    
6165            /**
6166            * Returns an ordered range of all the journal articles.
6167            *
6168            * <p>
6169            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6170            * </p>
6171            *
6172            * @param start the lower bound of the range of journal articles
6173            * @param end the upper bound of the range of journal articles (not inclusive)
6174            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
6175            * @return the ordered range of journal articles
6176            * @throws SystemException if a system exception occurred
6177            */
6178            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll(
6179                    int start, int end,
6180                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6181                    throws com.liferay.portal.kernel.exception.SystemException;
6182    
6183            /**
6184            * Removes all the journal articles from the database.
6185            *
6186            * @throws SystemException if a system exception occurred
6187            */
6188            public void removeAll()
6189                    throws com.liferay.portal.kernel.exception.SystemException;
6190    
6191            /**
6192            * Returns the number of journal articles.
6193            *
6194            * @return the number of journal articles
6195            * @throws SystemException if a system exception occurred
6196            */
6197            public int countAll()
6198                    throws com.liferay.portal.kernel.exception.SystemException;
6199    }