001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.journal.service.persistence;
016    
017    import com.liferay.portal.service.persistence.BasePersistence;
018    
019    import com.liferay.portlet.journal.model.JournalArticle;
020    
021    /**
022     * The persistence interface for the journal article service.
023     *
024     * <p>
025     * Caching information and settings can be found in <code>portal.properties</code>
026     * </p>
027     *
028     * @author Brian Wing Shun Chan
029     * @see JournalArticlePersistenceImpl
030     * @see JournalArticleUtil
031     * @generated
032     */
033    public interface JournalArticlePersistence extends BasePersistence<JournalArticle> {
034            /*
035             * NOTE FOR DEVELOPERS:
036             *
037             * Never modify or reference this interface directly. Always use {@link JournalArticleUtil} to access the journal article persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
038             */
039    
040            /**
041            * Caches the journal article in the entity cache if it is enabled.
042            *
043            * @param journalArticle the journal article
044            */
045            public void cacheResult(
046                    com.liferay.portlet.journal.model.JournalArticle journalArticle);
047    
048            /**
049            * Caches the journal articles in the entity cache if it is enabled.
050            *
051            * @param journalArticles the journal articles
052            */
053            public void cacheResult(
054                    java.util.List<com.liferay.portlet.journal.model.JournalArticle> journalArticles);
055    
056            /**
057            * Creates a new journal article with the primary key. Does not add the journal article to the database.
058            *
059            * @param id the primary key for the new journal article
060            * @return the new journal article
061            */
062            public com.liferay.portlet.journal.model.JournalArticle create(long id);
063    
064            /**
065            * Removes the journal article with the primary key from the database. Also notifies the appropriate model listeners.
066            *
067            * @param id the primary key of the journal article
068            * @return the journal article that was removed
069            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
070            * @throws SystemException if a system exception occurred
071            */
072            public com.liferay.portlet.journal.model.JournalArticle remove(long id)
073                    throws com.liferay.portal.kernel.exception.SystemException,
074                            com.liferay.portlet.journal.NoSuchArticleException;
075    
076            public com.liferay.portlet.journal.model.JournalArticle updateImpl(
077                    com.liferay.portlet.journal.model.JournalArticle journalArticle,
078                    boolean merge)
079                    throws com.liferay.portal.kernel.exception.SystemException;
080    
081            /**
082            * Returns the journal article with the primary key or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found.
083            *
084            * @param id the primary key of the journal article
085            * @return the journal article
086            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
087            * @throws SystemException if a system exception occurred
088            */
089            public com.liferay.portlet.journal.model.JournalArticle findByPrimaryKey(
090                    long id)
091                    throws com.liferay.portal.kernel.exception.SystemException,
092                            com.liferay.portlet.journal.NoSuchArticleException;
093    
094            /**
095            * Returns the journal article with the primary key or returns <code>null</code> if it could not be found.
096            *
097            * @param id the primary key of the journal article
098            * @return the journal article, or <code>null</code> if a journal article with the primary key could not be found
099            * @throws SystemException if a system exception occurred
100            */
101            public com.liferay.portlet.journal.model.JournalArticle fetchByPrimaryKey(
102                    long id) throws com.liferay.portal.kernel.exception.SystemException;
103    
104            /**
105            * Returns all the journal articles where uuid = &#63;.
106            *
107            * @param uuid the uuid
108            * @return the matching journal articles
109            * @throws SystemException if a system exception occurred
110            */
111            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid(
112                    java.lang.String uuid)
113                    throws com.liferay.portal.kernel.exception.SystemException;
114    
115            /**
116            * Returns a range of all the journal articles where uuid = &#63;.
117            *
118            * <p>
119            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
120            * </p>
121            *
122            * @param uuid the uuid
123            * @param start the lower bound of the range of journal articles
124            * @param end the upper bound of the range of journal articles (not inclusive)
125            * @return the range of matching journal articles
126            * @throws SystemException if a system exception occurred
127            */
128            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid(
129                    java.lang.String uuid, int start, int end)
130                    throws com.liferay.portal.kernel.exception.SystemException;
131    
132            /**
133            * Returns an ordered range of all the journal articles where uuid = &#63;.
134            *
135            * <p>
136            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
137            * </p>
138            *
139            * @param uuid the uuid
140            * @param start the lower bound of the range of journal articles
141            * @param end the upper bound of the range of journal articles (not inclusive)
142            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
143            * @return the ordered range of matching journal articles
144            * @throws SystemException if a system exception occurred
145            */
146            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid(
147                    java.lang.String uuid, int start, int end,
148                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
149                    throws com.liferay.portal.kernel.exception.SystemException;
150    
151            /**
152            * Returns the first journal article in the ordered set where uuid = &#63;.
153            *
154            * @param uuid the uuid
155            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
156            * @return the first matching journal article
157            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
158            * @throws SystemException if a system exception occurred
159            */
160            public com.liferay.portlet.journal.model.JournalArticle findByUuid_First(
161                    java.lang.String uuid,
162                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
163                    throws com.liferay.portal.kernel.exception.SystemException,
164                            com.liferay.portlet.journal.NoSuchArticleException;
165    
166            /**
167            * Returns the first journal article in the ordered set where uuid = &#63;.
168            *
169            * @param uuid the uuid
170            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
171            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
172            * @throws SystemException if a system exception occurred
173            */
174            public com.liferay.portlet.journal.model.JournalArticle fetchByUuid_First(
175                    java.lang.String uuid,
176                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
177                    throws com.liferay.portal.kernel.exception.SystemException;
178    
179            /**
180            * Returns the last journal article in the ordered set where uuid = &#63;.
181            *
182            * @param uuid the uuid
183            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
184            * @return the last matching journal article
185            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
186            * @throws SystemException if a system exception occurred
187            */
188            public com.liferay.portlet.journal.model.JournalArticle findByUuid_Last(
189                    java.lang.String uuid,
190                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
191                    throws com.liferay.portal.kernel.exception.SystemException,
192                            com.liferay.portlet.journal.NoSuchArticleException;
193    
194            /**
195            * Returns the last journal article in the ordered set where uuid = &#63;.
196            *
197            * @param uuid the uuid
198            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
199            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
200            * @throws SystemException if a system exception occurred
201            */
202            public com.liferay.portlet.journal.model.JournalArticle fetchByUuid_Last(
203                    java.lang.String uuid,
204                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
205                    throws com.liferay.portal.kernel.exception.SystemException;
206    
207            /**
208            * Returns the journal articles before and after the current journal article in the ordered set where uuid = &#63;.
209            *
210            * @param id the primary key of the current journal article
211            * @param uuid the uuid
212            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
213            * @return the previous, current, and next journal article
214            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
215            * @throws SystemException if a system exception occurred
216            */
217            public com.liferay.portlet.journal.model.JournalArticle[] findByUuid_PrevAndNext(
218                    long id, java.lang.String uuid,
219                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
220                    throws com.liferay.portal.kernel.exception.SystemException,
221                            com.liferay.portlet.journal.NoSuchArticleException;
222    
223            /**
224            * 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.
225            *
226            * @param uuid the uuid
227            * @param groupId the group ID
228            * @return the matching journal article
229            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
230            * @throws SystemException if a system exception occurred
231            */
232            public com.liferay.portlet.journal.model.JournalArticle findByUUID_G(
233                    java.lang.String uuid, long groupId)
234                    throws com.liferay.portal.kernel.exception.SystemException,
235                            com.liferay.portlet.journal.NoSuchArticleException;
236    
237            /**
238            * 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.
239            *
240            * @param uuid the uuid
241            * @param groupId the group ID
242            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
243            * @throws SystemException if a system exception occurred
244            */
245            public com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G(
246                    java.lang.String uuid, long groupId)
247                    throws com.liferay.portal.kernel.exception.SystemException;
248    
249            /**
250            * 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.
251            *
252            * @param uuid the uuid
253            * @param groupId the group ID
254            * @param retrieveFromCache whether to use the finder cache
255            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
256            * @throws SystemException if a system exception occurred
257            */
258            public com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G(
259                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
260                    throws com.liferay.portal.kernel.exception.SystemException;
261    
262            /**
263            * Returns all the journal articles where resourcePrimKey = &#63;.
264            *
265            * @param resourcePrimKey the resource prim key
266            * @return the matching journal articles
267            * @throws SystemException if a system exception occurred
268            */
269            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey(
270                    long resourcePrimKey)
271                    throws com.liferay.portal.kernel.exception.SystemException;
272    
273            /**
274            * Returns a range of all the journal articles where resourcePrimKey = &#63;.
275            *
276            * <p>
277            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
278            * </p>
279            *
280            * @param resourcePrimKey the resource prim key
281            * @param start the lower bound of the range of journal articles
282            * @param end the upper bound of the range of journal articles (not inclusive)
283            * @return the 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> findByResourcePrimKey(
287                    long resourcePrimKey, int start, int end)
288                    throws com.liferay.portal.kernel.exception.SystemException;
289    
290            /**
291            * Returns an ordered range of all the journal articles where resourcePrimKey = &#63;.
292            *
293            * <p>
294            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
295            * </p>
296            *
297            * @param resourcePrimKey the resource prim key
298            * @param start the lower bound of the range of journal articles
299            * @param end the upper bound of the range of journal articles (not inclusive)
300            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
301            * @return the ordered range of matching journal articles
302            * @throws SystemException if a system exception occurred
303            */
304            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey(
305                    long resourcePrimKey, int start, int end,
306                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
307                    throws com.liferay.portal.kernel.exception.SystemException;
308    
309            /**
310            * Returns the first journal article in the ordered set where resourcePrimKey = &#63;.
311            *
312            * @param resourcePrimKey the resource prim key
313            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
314            * @return the first matching journal article
315            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
316            * @throws SystemException if a system exception occurred
317            */
318            public com.liferay.portlet.journal.model.JournalArticle findByResourcePrimKey_First(
319                    long resourcePrimKey,
320                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
321                    throws com.liferay.portal.kernel.exception.SystemException,
322                            com.liferay.portlet.journal.NoSuchArticleException;
323    
324            /**
325            * Returns the first journal article in the ordered set where resourcePrimKey = &#63;.
326            *
327            * @param resourcePrimKey the resource prim key
328            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
329            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
330            * @throws SystemException if a system exception occurred
331            */
332            public com.liferay.portlet.journal.model.JournalArticle fetchByResourcePrimKey_First(
333                    long resourcePrimKey,
334                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
335                    throws com.liferay.portal.kernel.exception.SystemException;
336    
337            /**
338            * Returns the last journal article in the ordered set where resourcePrimKey = &#63;.
339            *
340            * @param resourcePrimKey the resource prim key
341            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
342            * @return the last matching journal article
343            * @throws com.liferay.portlet.journal.NoSuchArticleException 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 findByResourcePrimKey_Last(
347                    long resourcePrimKey,
348                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
349                    throws com.liferay.portal.kernel.exception.SystemException,
350                            com.liferay.portlet.journal.NoSuchArticleException;
351    
352            /**
353            * Returns the last journal article in the ordered set where resourcePrimKey = &#63;.
354            *
355            * @param resourcePrimKey the resource prim key
356            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
357            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
358            * @throws SystemException if a system exception occurred
359            */
360            public com.liferay.portlet.journal.model.JournalArticle fetchByResourcePrimKey_Last(
361                    long resourcePrimKey,
362                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
363                    throws com.liferay.portal.kernel.exception.SystemException;
364    
365            /**
366            * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = &#63;.
367            *
368            * @param id the primary key of the current journal article
369            * @param resourcePrimKey the resource prim key
370            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
371            * @return the previous, current, and next journal article
372            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
373            * @throws SystemException if a system exception occurred
374            */
375            public com.liferay.portlet.journal.model.JournalArticle[] findByResourcePrimKey_PrevAndNext(
376                    long id, long resourcePrimKey,
377                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
378                    throws com.liferay.portal.kernel.exception.SystemException,
379                            com.liferay.portlet.journal.NoSuchArticleException;
380    
381            /**
382            * Returns all the journal articles where groupId = &#63;.
383            *
384            * @param groupId the group ID
385            * @return the matching journal articles
386            * @throws SystemException if a system exception occurred
387            */
388            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId(
389                    long groupId)
390                    throws com.liferay.portal.kernel.exception.SystemException;
391    
392            /**
393            * Returns a range of all the journal articles where groupId = &#63;.
394            *
395            * <p>
396            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
397            * </p>
398            *
399            * @param groupId the group ID
400            * @param start the lower bound of the range of journal articles
401            * @param end the upper bound of the range of journal articles (not inclusive)
402            * @return the range of matching journal articles
403            * @throws SystemException if a system exception occurred
404            */
405            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId(
406                    long groupId, int start, int end)
407                    throws com.liferay.portal.kernel.exception.SystemException;
408    
409            /**
410            * Returns an ordered range of all the journal articles where groupId = &#63;.
411            *
412            * <p>
413            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
414            * </p>
415            *
416            * @param groupId the group ID
417            * @param start the lower bound of the range of journal articles
418            * @param end the upper bound of the range of journal articles (not inclusive)
419            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
420            * @return the ordered range of matching journal articles
421            * @throws SystemException if a system exception occurred
422            */
423            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId(
424                    long groupId, int start, int end,
425                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
426                    throws com.liferay.portal.kernel.exception.SystemException;
427    
428            /**
429            * Returns the first journal article in the ordered set where groupId = &#63;.
430            *
431            * @param groupId the group ID
432            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
433            * @return the first matching journal article
434            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
435            * @throws SystemException if a system exception occurred
436            */
437            public com.liferay.portlet.journal.model.JournalArticle findByGroupId_First(
438                    long groupId,
439                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
440                    throws com.liferay.portal.kernel.exception.SystemException,
441                            com.liferay.portlet.journal.NoSuchArticleException;
442    
443            /**
444            * Returns the first journal article in the ordered set where groupId = &#63;.
445            *
446            * @param groupId the group ID
447            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
448            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
449            * @throws SystemException if a system exception occurred
450            */
451            public com.liferay.portlet.journal.model.JournalArticle fetchByGroupId_First(
452                    long groupId,
453                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
454                    throws com.liferay.portal.kernel.exception.SystemException;
455    
456            /**
457            * Returns the last journal article in the ordered set where groupId = &#63;.
458            *
459            * @param groupId the group ID
460            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
461            * @return the last matching journal article
462            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
463            * @throws SystemException if a system exception occurred
464            */
465            public com.liferay.portlet.journal.model.JournalArticle findByGroupId_Last(
466                    long groupId,
467                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
468                    throws com.liferay.portal.kernel.exception.SystemException,
469                            com.liferay.portlet.journal.NoSuchArticleException;
470    
471            /**
472            * Returns the last journal article in the ordered set where groupId = &#63;.
473            *
474            * @param groupId the group ID
475            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
476            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
477            * @throws SystemException if a system exception occurred
478            */
479            public com.liferay.portlet.journal.model.JournalArticle fetchByGroupId_Last(
480                    long groupId,
481                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
482                    throws com.liferay.portal.kernel.exception.SystemException;
483    
484            /**
485            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63;.
486            *
487            * @param id the primary key of the current journal article
488            * @param groupId the group ID
489            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
490            * @return the previous, current, and next journal article
491            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
492            * @throws SystemException if a system exception occurred
493            */
494            public com.liferay.portlet.journal.model.JournalArticle[] findByGroupId_PrevAndNext(
495                    long id, long groupId,
496                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
497                    throws com.liferay.portal.kernel.exception.SystemException,
498                            com.liferay.portlet.journal.NoSuchArticleException;
499    
500            /**
501            * Returns all the journal articles that the user has permission to view where groupId = &#63;.
502            *
503            * @param groupId the group ID
504            * @return the matching journal articles that the user has permission to view
505            * @throws SystemException if a system exception occurred
506            */
507            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId(
508                    long groupId)
509                    throws com.liferay.portal.kernel.exception.SystemException;
510    
511            /**
512            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63;.
513            *
514            * <p>
515            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
516            * </p>
517            *
518            * @param groupId the group ID
519            * @param start the lower bound of the range of journal articles
520            * @param end the upper bound of the range of journal articles (not inclusive)
521            * @return the range of matching journal articles that the user has permission to view
522            * @throws SystemException if a system exception occurred
523            */
524            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId(
525                    long groupId, int start, int end)
526                    throws com.liferay.portal.kernel.exception.SystemException;
527    
528            /**
529            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63;.
530            *
531            * <p>
532            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
533            * </p>
534            *
535            * @param groupId the group ID
536            * @param start the lower bound of the range of journal articles
537            * @param end the upper bound of the range of journal articles (not inclusive)
538            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
539            * @return the ordered range of matching journal articles that the user has permission to view
540            * @throws SystemException if a system exception occurred
541            */
542            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId(
543                    long groupId, int start, int end,
544                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
545                    throws com.liferay.portal.kernel.exception.SystemException;
546    
547            /**
548            * 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;.
549            *
550            * @param id the primary key of the current journal article
551            * @param groupId the group ID
552            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
553            * @return the previous, current, and next journal article
554            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
555            * @throws SystemException if a system exception occurred
556            */
557            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByGroupId_PrevAndNext(
558                    long id, long groupId,
559                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
560                    throws com.liferay.portal.kernel.exception.SystemException,
561                            com.liferay.portlet.journal.NoSuchArticleException;
562    
563            /**
564            * Returns all the journal articles where companyId = &#63;.
565            *
566            * @param companyId the company ID
567            * @return the matching journal articles
568            * @throws SystemException if a system exception occurred
569            */
570            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId(
571                    long companyId)
572                    throws com.liferay.portal.kernel.exception.SystemException;
573    
574            /**
575            * Returns a range of all the journal articles where companyId = &#63;.
576            *
577            * <p>
578            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
579            * </p>
580            *
581            * @param companyId the company ID
582            * @param start the lower bound of the range of journal articles
583            * @param end the upper bound of the range of journal articles (not inclusive)
584            * @return the range of matching journal articles
585            * @throws SystemException if a system exception occurred
586            */
587            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId(
588                    long companyId, int start, int end)
589                    throws com.liferay.portal.kernel.exception.SystemException;
590    
591            /**
592            * Returns an ordered range of all the journal articles where companyId = &#63;.
593            *
594            * <p>
595            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
596            * </p>
597            *
598            * @param companyId the company ID
599            * @param start the lower bound of the range of journal articles
600            * @param end the upper bound of the range of journal articles (not inclusive)
601            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
602            * @return the ordered range of matching journal articles
603            * @throws SystemException if a system exception occurred
604            */
605            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId(
606                    long companyId, int start, int end,
607                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
608                    throws com.liferay.portal.kernel.exception.SystemException;
609    
610            /**
611            * Returns the first journal article in the ordered set where companyId = &#63;.
612            *
613            * @param companyId the company ID
614            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
615            * @return the first matching journal article
616            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
617            * @throws SystemException if a system exception occurred
618            */
619            public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_First(
620                    long companyId,
621                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
622                    throws com.liferay.portal.kernel.exception.SystemException,
623                            com.liferay.portlet.journal.NoSuchArticleException;
624    
625            /**
626            * Returns the first journal article in the ordered set where companyId = &#63;.
627            *
628            * @param companyId the company ID
629            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
630            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
631            * @throws SystemException if a system exception occurred
632            */
633            public com.liferay.portlet.journal.model.JournalArticle fetchByCompanyId_First(
634                    long companyId,
635                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
636                    throws com.liferay.portal.kernel.exception.SystemException;
637    
638            /**
639            * Returns the last journal article in the ordered set where companyId = &#63;.
640            *
641            * @param companyId the company ID
642            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
643            * @return the last matching journal article
644            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
645            * @throws SystemException if a system exception occurred
646            */
647            public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_Last(
648                    long companyId,
649                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
650                    throws com.liferay.portal.kernel.exception.SystemException,
651                            com.liferay.portlet.journal.NoSuchArticleException;
652    
653            /**
654            * Returns the last journal article in the ordered set where companyId = &#63;.
655            *
656            * @param companyId the company ID
657            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
658            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
659            * @throws SystemException if a system exception occurred
660            */
661            public com.liferay.portlet.journal.model.JournalArticle fetchByCompanyId_Last(
662                    long companyId,
663                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
664                    throws com.liferay.portal.kernel.exception.SystemException;
665    
666            /**
667            * Returns the journal articles before and after the current journal article in the ordered set where companyId = &#63;.
668            *
669            * @param id the primary key of the current journal article
670            * @param companyId the company ID
671            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
672            * @return the previous, current, and next journal article
673            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
674            * @throws SystemException if a system exception occurred
675            */
676            public com.liferay.portlet.journal.model.JournalArticle[] findByCompanyId_PrevAndNext(
677                    long id, long companyId,
678                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
679                    throws com.liferay.portal.kernel.exception.SystemException,
680                            com.liferay.portlet.journal.NoSuchArticleException;
681    
682            /**
683            * Returns all the journal articles where structureId = &#63;.
684            *
685            * @param structureId the structure ID
686            * @return the matching journal articles
687            * @throws SystemException if a system exception occurred
688            */
689            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId(
690                    java.lang.String structureId)
691                    throws com.liferay.portal.kernel.exception.SystemException;
692    
693            /**
694            * Returns a range of all the journal articles where structureId = &#63;.
695            *
696            * <p>
697            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
698            * </p>
699            *
700            * @param structureId the structure ID
701            * @param start the lower bound of the range of journal articles
702            * @param end the upper bound of the range of journal articles (not inclusive)
703            * @return the range of matching journal articles
704            * @throws SystemException if a system exception occurred
705            */
706            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId(
707                    java.lang.String structureId, int start, int end)
708                    throws com.liferay.portal.kernel.exception.SystemException;
709    
710            /**
711            * Returns an ordered range of all the journal articles where structureId = &#63;.
712            *
713            * <p>
714            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
715            * </p>
716            *
717            * @param structureId the structure ID
718            * @param start the lower bound of the range of journal articles
719            * @param end the upper bound of the range of journal articles (not inclusive)
720            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
721            * @return the ordered range of matching journal articles
722            * @throws SystemException if a system exception occurred
723            */
724            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId(
725                    java.lang.String structureId, int start, int end,
726                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
727                    throws com.liferay.portal.kernel.exception.SystemException;
728    
729            /**
730            * Returns the first journal article in the ordered set where structureId = &#63;.
731            *
732            * @param structureId the structure ID
733            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
734            * @return the first matching journal article
735            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
736            * @throws SystemException if a system exception occurred
737            */
738            public com.liferay.portlet.journal.model.JournalArticle findByStructureId_First(
739                    java.lang.String structureId,
740                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
741                    throws com.liferay.portal.kernel.exception.SystemException,
742                            com.liferay.portlet.journal.NoSuchArticleException;
743    
744            /**
745            * Returns the first journal article in the ordered set where structureId = &#63;.
746            *
747            * @param structureId the structure ID
748            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
749            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
750            * @throws SystemException if a system exception occurred
751            */
752            public com.liferay.portlet.journal.model.JournalArticle fetchByStructureId_First(
753                    java.lang.String structureId,
754                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
755                    throws com.liferay.portal.kernel.exception.SystemException;
756    
757            /**
758            * Returns the last journal article in the ordered set where structureId = &#63;.
759            *
760            * @param structureId the structure ID
761            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
762            * @return the last matching journal article
763            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
764            * @throws SystemException if a system exception occurred
765            */
766            public com.liferay.portlet.journal.model.JournalArticle findByStructureId_Last(
767                    java.lang.String structureId,
768                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
769                    throws com.liferay.portal.kernel.exception.SystemException,
770                            com.liferay.portlet.journal.NoSuchArticleException;
771    
772            /**
773            * Returns the last journal article in the ordered set where structureId = &#63;.
774            *
775            * @param structureId the structure ID
776            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
777            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
778            * @throws SystemException if a system exception occurred
779            */
780            public com.liferay.portlet.journal.model.JournalArticle fetchByStructureId_Last(
781                    java.lang.String structureId,
782                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
783                    throws com.liferay.portal.kernel.exception.SystemException;
784    
785            /**
786            * Returns the journal articles before and after the current journal article in the ordered set where structureId = &#63;.
787            *
788            * @param id the primary key of the current journal article
789            * @param structureId the structure ID
790            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
791            * @return the previous, current, and next journal article
792            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
793            * @throws SystemException if a system exception occurred
794            */
795            public com.liferay.portlet.journal.model.JournalArticle[] findByStructureId_PrevAndNext(
796                    long id, java.lang.String structureId,
797                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
798                    throws com.liferay.portal.kernel.exception.SystemException,
799                            com.liferay.portlet.journal.NoSuchArticleException;
800    
801            /**
802            * Returns all the journal articles where templateId = &#63;.
803            *
804            * @param templateId the template ID
805            * @return the matching journal articles
806            * @throws SystemException if a system exception occurred
807            */
808            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId(
809                    java.lang.String templateId)
810                    throws com.liferay.portal.kernel.exception.SystemException;
811    
812            /**
813            * Returns a range of all the journal articles where templateId = &#63;.
814            *
815            * <p>
816            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
817            * </p>
818            *
819            * @param templateId the template ID
820            * @param start the lower bound of the range of journal articles
821            * @param end the upper bound of the range of journal articles (not inclusive)
822            * @return the range of matching journal articles
823            * @throws SystemException if a system exception occurred
824            */
825            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId(
826                    java.lang.String templateId, int start, int end)
827                    throws com.liferay.portal.kernel.exception.SystemException;
828    
829            /**
830            * Returns an ordered range of all the journal articles where templateId = &#63;.
831            *
832            * <p>
833            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
834            * </p>
835            *
836            * @param templateId the template ID
837            * @param start the lower bound of the range of journal articles
838            * @param end the upper bound of the range of journal articles (not inclusive)
839            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
840            * @return the ordered range of matching journal articles
841            * @throws SystemException if a system exception occurred
842            */
843            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId(
844                    java.lang.String templateId, int start, int end,
845                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
846                    throws com.liferay.portal.kernel.exception.SystemException;
847    
848            /**
849            * Returns the first journal article in the ordered set where templateId = &#63;.
850            *
851            * @param templateId the template ID
852            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
853            * @return the first matching journal article
854            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
855            * @throws SystemException if a system exception occurred
856            */
857            public com.liferay.portlet.journal.model.JournalArticle findByTemplateId_First(
858                    java.lang.String templateId,
859                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
860                    throws com.liferay.portal.kernel.exception.SystemException,
861                            com.liferay.portlet.journal.NoSuchArticleException;
862    
863            /**
864            * Returns the first journal article in the ordered set where templateId = &#63;.
865            *
866            * @param templateId the template ID
867            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
868            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
869            * @throws SystemException if a system exception occurred
870            */
871            public com.liferay.portlet.journal.model.JournalArticle fetchByTemplateId_First(
872                    java.lang.String templateId,
873                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
874                    throws com.liferay.portal.kernel.exception.SystemException;
875    
876            /**
877            * Returns the last journal article in the ordered set where templateId = &#63;.
878            *
879            * @param templateId the template ID
880            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
881            * @return the last matching journal article
882            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
883            * @throws SystemException if a system exception occurred
884            */
885            public com.liferay.portlet.journal.model.JournalArticle findByTemplateId_Last(
886                    java.lang.String templateId,
887                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
888                    throws com.liferay.portal.kernel.exception.SystemException,
889                            com.liferay.portlet.journal.NoSuchArticleException;
890    
891            /**
892            * Returns the last journal article in the ordered set where templateId = &#63;.
893            *
894            * @param templateId the template ID
895            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
896            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
897            * @throws SystemException if a system exception occurred
898            */
899            public com.liferay.portlet.journal.model.JournalArticle fetchByTemplateId_Last(
900                    java.lang.String templateId,
901                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
902                    throws com.liferay.portal.kernel.exception.SystemException;
903    
904            /**
905            * Returns the journal articles before and after the current journal article in the ordered set where templateId = &#63;.
906            *
907            * @param id the primary key of the current journal article
908            * @param templateId the template ID
909            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
910            * @return the previous, current, and next journal article
911            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
912            * @throws SystemException if a system exception occurred
913            */
914            public com.liferay.portlet.journal.model.JournalArticle[] findByTemplateId_PrevAndNext(
915                    long id, java.lang.String templateId,
916                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
917                    throws com.liferay.portal.kernel.exception.SystemException,
918                            com.liferay.portlet.journal.NoSuchArticleException;
919    
920            /**
921            * Returns all the journal articles where layoutUuid = &#63;.
922            *
923            * @param layoutUuid the layout uuid
924            * @return the matching journal articles
925            * @throws SystemException if a system exception occurred
926            */
927            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid(
928                    java.lang.String layoutUuid)
929                    throws com.liferay.portal.kernel.exception.SystemException;
930    
931            /**
932            * Returns a range of all the journal articles where layoutUuid = &#63;.
933            *
934            * <p>
935            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
936            * </p>
937            *
938            * @param layoutUuid the layout uuid
939            * @param start the lower bound of the range of journal articles
940            * @param end the upper bound of the range of journal articles (not inclusive)
941            * @return the range of matching journal articles
942            * @throws SystemException if a system exception occurred
943            */
944            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid(
945                    java.lang.String layoutUuid, int start, int end)
946                    throws com.liferay.portal.kernel.exception.SystemException;
947    
948            /**
949            * Returns an ordered range of all the journal articles where layoutUuid = &#63;.
950            *
951            * <p>
952            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
953            * </p>
954            *
955            * @param layoutUuid the layout uuid
956            * @param start the lower bound of the range of journal articles
957            * @param end the upper bound of the range of journal articles (not inclusive)
958            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
959            * @return the ordered range of matching journal articles
960            * @throws SystemException if a system exception occurred
961            */
962            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid(
963                    java.lang.String layoutUuid, int start, int end,
964                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
965                    throws com.liferay.portal.kernel.exception.SystemException;
966    
967            /**
968            * Returns the first journal article in the ordered set where layoutUuid = &#63;.
969            *
970            * @param layoutUuid the layout uuid
971            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
972            * @return the first matching journal article
973            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
974            * @throws SystemException if a system exception occurred
975            */
976            public com.liferay.portlet.journal.model.JournalArticle findByLayoutUuid_First(
977                    java.lang.String layoutUuid,
978                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
979                    throws com.liferay.portal.kernel.exception.SystemException,
980                            com.liferay.portlet.journal.NoSuchArticleException;
981    
982            /**
983            * Returns the first journal article in the ordered set where layoutUuid = &#63;.
984            *
985            * @param layoutUuid the layout uuid
986            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
987            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
988            * @throws SystemException if a system exception occurred
989            */
990            public com.liferay.portlet.journal.model.JournalArticle fetchByLayoutUuid_First(
991                    java.lang.String layoutUuid,
992                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
993                    throws com.liferay.portal.kernel.exception.SystemException;
994    
995            /**
996            * Returns the last journal article in the ordered set where layoutUuid = &#63;.
997            *
998            * @param layoutUuid the layout uuid
999            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1000            * @return the last matching journal article
1001            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1002            * @throws SystemException if a system exception occurred
1003            */
1004            public com.liferay.portlet.journal.model.JournalArticle findByLayoutUuid_Last(
1005                    java.lang.String layoutUuid,
1006                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1007                    throws com.liferay.portal.kernel.exception.SystemException,
1008                            com.liferay.portlet.journal.NoSuchArticleException;
1009    
1010            /**
1011            * Returns the last journal article in the ordered set where layoutUuid = &#63;.
1012            *
1013            * @param layoutUuid the layout uuid
1014            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1015            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
1016            * @throws SystemException if a system exception occurred
1017            */
1018            public com.liferay.portlet.journal.model.JournalArticle fetchByLayoutUuid_Last(
1019                    java.lang.String layoutUuid,
1020                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1021                    throws com.liferay.portal.kernel.exception.SystemException;
1022    
1023            /**
1024            * Returns the journal articles before and after the current journal article in the ordered set where layoutUuid = &#63;.
1025            *
1026            * @param id the primary key of the current journal article
1027            * @param layoutUuid the layout uuid
1028            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1029            * @return the previous, current, and next journal article
1030            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1031            * @throws SystemException if a system exception occurred
1032            */
1033            public com.liferay.portlet.journal.model.JournalArticle[] findByLayoutUuid_PrevAndNext(
1034                    long id, java.lang.String layoutUuid,
1035                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1036                    throws com.liferay.portal.kernel.exception.SystemException,
1037                            com.liferay.portlet.journal.NoSuchArticleException;
1038    
1039            /**
1040            * Returns all the journal articles where smallImageId = &#63;.
1041            *
1042            * @param smallImageId the small image ID
1043            * @return the matching journal articles
1044            * @throws SystemException if a system exception occurred
1045            */
1046            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
1047                    long smallImageId)
1048                    throws com.liferay.portal.kernel.exception.SystemException;
1049    
1050            /**
1051            * Returns a range of all the journal articles where smallImageId = &#63;.
1052            *
1053            * <p>
1054            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1055            * </p>
1056            *
1057            * @param smallImageId the small image ID
1058            * @param start the lower bound of the range of journal articles
1059            * @param end the upper bound of the range of journal articles (not inclusive)
1060            * @return the range of matching journal articles
1061            * @throws SystemException if a system exception occurred
1062            */
1063            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
1064                    long smallImageId, int start, int end)
1065                    throws com.liferay.portal.kernel.exception.SystemException;
1066    
1067            /**
1068            * Returns an ordered range of all the journal articles where smallImageId = &#63;.
1069            *
1070            * <p>
1071            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1072            * </p>
1073            *
1074            * @param smallImageId the small image ID
1075            * @param start the lower bound of the range of journal articles
1076            * @param end the upper bound of the range of journal articles (not inclusive)
1077            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1078            * @return the ordered range of matching journal articles
1079            * @throws SystemException if a system exception occurred
1080            */
1081            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
1082                    long smallImageId, int start, int end,
1083                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1084                    throws com.liferay.portal.kernel.exception.SystemException;
1085    
1086            /**
1087            * Returns the first journal article in the ordered set where smallImageId = &#63;.
1088            *
1089            * @param smallImageId the small image ID
1090            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1091            * @return the first matching journal article
1092            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1093            * @throws SystemException if a system exception occurred
1094            */
1095            public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_First(
1096                    long smallImageId,
1097                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1098                    throws com.liferay.portal.kernel.exception.SystemException,
1099                            com.liferay.portlet.journal.NoSuchArticleException;
1100    
1101            /**
1102            * Returns the first journal article in the ordered set where smallImageId = &#63;.
1103            *
1104            * @param smallImageId the small image ID
1105            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1106            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
1107            * @throws SystemException if a system exception occurred
1108            */
1109            public com.liferay.portlet.journal.model.JournalArticle fetchBySmallImageId_First(
1110                    long smallImageId,
1111                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1112                    throws com.liferay.portal.kernel.exception.SystemException;
1113    
1114            /**
1115            * Returns the last journal article in the ordered set where smallImageId = &#63;.
1116            *
1117            * @param smallImageId the small image ID
1118            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1119            * @return the last matching journal article
1120            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1121            * @throws SystemException if a system exception occurred
1122            */
1123            public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_Last(
1124                    long smallImageId,
1125                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1126                    throws com.liferay.portal.kernel.exception.SystemException,
1127                            com.liferay.portlet.journal.NoSuchArticleException;
1128    
1129            /**
1130            * Returns the last journal article in the ordered set where smallImageId = &#63;.
1131            *
1132            * @param smallImageId the small image ID
1133            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1134            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
1135            * @throws SystemException if a system exception occurred
1136            */
1137            public com.liferay.portlet.journal.model.JournalArticle fetchBySmallImageId_Last(
1138                    long smallImageId,
1139                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1140                    throws com.liferay.portal.kernel.exception.SystemException;
1141    
1142            /**
1143            * Returns the journal articles before and after the current journal article in the ordered set where smallImageId = &#63;.
1144            *
1145            * @param id the primary key of the current journal article
1146            * @param smallImageId the small image ID
1147            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1148            * @return the previous, current, and next journal article
1149            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1150            * @throws SystemException if a system exception occurred
1151            */
1152            public com.liferay.portlet.journal.model.JournalArticle[] findBySmallImageId_PrevAndNext(
1153                    long id, long smallImageId,
1154                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1155                    throws com.liferay.portal.kernel.exception.SystemException,
1156                            com.liferay.portlet.journal.NoSuchArticleException;
1157    
1158            /**
1159            * Returns all the journal articles where resourcePrimKey = &#63; and status = &#63;.
1160            *
1161            * @param resourcePrimKey the resource prim key
1162            * @param status the status
1163            * @return the matching journal articles
1164            * @throws SystemException if a system exception occurred
1165            */
1166            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST(
1167                    long resourcePrimKey, int status)
1168                    throws com.liferay.portal.kernel.exception.SystemException;
1169    
1170            /**
1171            * Returns a range of all the journal articles where resourcePrimKey = &#63; and status = &#63;.
1172            *
1173            * <p>
1174            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1175            * </p>
1176            *
1177            * @param resourcePrimKey the resource prim key
1178            * @param status the status
1179            * @param start the lower bound of the range of journal articles
1180            * @param end the upper bound of the range of journal articles (not inclusive)
1181            * @return the range of matching journal articles
1182            * @throws SystemException if a system exception occurred
1183            */
1184            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST(
1185                    long resourcePrimKey, int status, int start, int end)
1186                    throws com.liferay.portal.kernel.exception.SystemException;
1187    
1188            /**
1189            * Returns an ordered range of all the journal articles where resourcePrimKey = &#63; and status = &#63;.
1190            *
1191            * <p>
1192            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1193            * </p>
1194            *
1195            * @param resourcePrimKey the resource prim key
1196            * @param status the status
1197            * @param start the lower bound of the range of journal articles
1198            * @param end the upper bound of the range of journal articles (not inclusive)
1199            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1200            * @return the ordered range of matching journal articles
1201            * @throws SystemException if a system exception occurred
1202            */
1203            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST(
1204                    long resourcePrimKey, int status, int start, int end,
1205                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1206                    throws com.liferay.portal.kernel.exception.SystemException;
1207    
1208            /**
1209            * Returns the first journal article in the ordered set where resourcePrimKey = &#63; and status = &#63;.
1210            *
1211            * @param resourcePrimKey the resource prim key
1212            * @param status the status
1213            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1214            * @return the first matching journal article
1215            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1216            * @throws SystemException if a system exception occurred
1217            */
1218            public com.liferay.portlet.journal.model.JournalArticle findByR_ST_First(
1219                    long resourcePrimKey, int status,
1220                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1221                    throws com.liferay.portal.kernel.exception.SystemException,
1222                            com.liferay.portlet.journal.NoSuchArticleException;
1223    
1224            /**
1225            * Returns the first journal article in the ordered set where resourcePrimKey = &#63; and status = &#63;.
1226            *
1227            * @param resourcePrimKey the resource prim key
1228            * @param status the status
1229            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1230            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
1231            * @throws SystemException if a system exception occurred
1232            */
1233            public com.liferay.portlet.journal.model.JournalArticle fetchByR_ST_First(
1234                    long resourcePrimKey, int status,
1235                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1236                    throws com.liferay.portal.kernel.exception.SystemException;
1237    
1238            /**
1239            * Returns the last journal article in the ordered set where resourcePrimKey = &#63; and status = &#63;.
1240            *
1241            * @param resourcePrimKey the resource prim key
1242            * @param status the status
1243            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1244            * @return the last matching journal article
1245            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1246            * @throws SystemException if a system exception occurred
1247            */
1248            public com.liferay.portlet.journal.model.JournalArticle findByR_ST_Last(
1249                    long resourcePrimKey, int status,
1250                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1251                    throws com.liferay.portal.kernel.exception.SystemException,
1252                            com.liferay.portlet.journal.NoSuchArticleException;
1253    
1254            /**
1255            * Returns the last journal article in the ordered set where resourcePrimKey = &#63; and status = &#63;.
1256            *
1257            * @param resourcePrimKey the resource prim key
1258            * @param status the status
1259            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1260            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
1261            * @throws SystemException if a system exception occurred
1262            */
1263            public com.liferay.portlet.journal.model.JournalArticle fetchByR_ST_Last(
1264                    long resourcePrimKey, int status,
1265                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1266                    throws com.liferay.portal.kernel.exception.SystemException;
1267    
1268            /**
1269            * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = &#63; and status = &#63;.
1270            *
1271            * @param id the primary key of the current journal article
1272            * @param resourcePrimKey the resource prim key
1273            * @param status the status
1274            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1275            * @return the previous, current, and next journal article
1276            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1277            * @throws SystemException if a system exception occurred
1278            */
1279            public com.liferay.portlet.journal.model.JournalArticle[] findByR_ST_PrevAndNext(
1280                    long id, long resourcePrimKey, int status,
1281                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1282                    throws com.liferay.portal.kernel.exception.SystemException,
1283                            com.liferay.portlet.journal.NoSuchArticleException;
1284    
1285            /**
1286            * Returns all the journal articles where groupId = &#63; and articleId = &#63;.
1287            *
1288            * @param groupId the group ID
1289            * @param articleId the article ID
1290            * @return the matching journal articles
1291            * @throws SystemException if a system exception occurred
1292            */
1293            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
1294                    long groupId, java.lang.String articleId)
1295                    throws com.liferay.portal.kernel.exception.SystemException;
1296    
1297            /**
1298            * Returns a range of all the journal articles where groupId = &#63; and articleId = &#63;.
1299            *
1300            * <p>
1301            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1302            * </p>
1303            *
1304            * @param groupId the group ID
1305            * @param articleId the article ID
1306            * @param start the lower bound of the range of journal articles
1307            * @param end the upper bound of the range of journal articles (not inclusive)
1308            * @return the range of matching journal articles
1309            * @throws SystemException if a system exception occurred
1310            */
1311            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
1312                    long groupId, java.lang.String articleId, int start, int end)
1313                    throws com.liferay.portal.kernel.exception.SystemException;
1314    
1315            /**
1316            * Returns an ordered range of all the journal articles where groupId = &#63; and articleId = &#63;.
1317            *
1318            * <p>
1319            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1320            * </p>
1321            *
1322            * @param groupId the group ID
1323            * @param articleId the article ID
1324            * @param start the lower bound of the range of journal articles
1325            * @param end the upper bound of the range of journal articles (not inclusive)
1326            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1327            * @return the ordered range of matching journal articles
1328            * @throws SystemException if a system exception occurred
1329            */
1330            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
1331                    long groupId, java.lang.String articleId, int start, int end,
1332                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1333                    throws com.liferay.portal.kernel.exception.SystemException;
1334    
1335            /**
1336            * Returns the first journal article in the ordered set where groupId = &#63; and articleId = &#63;.
1337            *
1338            * @param groupId the group ID
1339            * @param articleId the article ID
1340            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1341            * @return the first matching journal article
1342            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1343            * @throws SystemException if a system exception occurred
1344            */
1345            public com.liferay.portlet.journal.model.JournalArticle findByG_A_First(
1346                    long groupId, java.lang.String articleId,
1347                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1348                    throws com.liferay.portal.kernel.exception.SystemException,
1349                            com.liferay.portlet.journal.NoSuchArticleException;
1350    
1351            /**
1352            * Returns the first journal article in the ordered set where groupId = &#63; and articleId = &#63;.
1353            *
1354            * @param groupId the group ID
1355            * @param articleId the article 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 fetchByG_A_First(
1361                    long groupId, java.lang.String articleId,
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 groupId = &#63; and articleId = &#63;.
1367            *
1368            * @param groupId the group ID
1369            * @param articleId the article ID
1370            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1371            * @return the last matching journal article
1372            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1373            * @throws SystemException if a system exception occurred
1374            */
1375            public com.liferay.portlet.journal.model.JournalArticle findByG_A_Last(
1376                    long groupId, java.lang.String articleId,
1377                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1378                    throws com.liferay.portal.kernel.exception.SystemException,
1379                            com.liferay.portlet.journal.NoSuchArticleException;
1380    
1381            /**
1382            * Returns the last journal article in the ordered set where groupId = &#63; and articleId = &#63;.
1383            *
1384            * @param groupId the group ID
1385            * @param articleId the article ID
1386            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1387            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
1388            * @throws SystemException if a system exception occurred
1389            */
1390            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_Last(
1391                    long groupId, java.lang.String articleId,
1392                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1393                    throws com.liferay.portal.kernel.exception.SystemException;
1394    
1395            /**
1396            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and articleId = &#63;.
1397            *
1398            * @param id the primary key of the current journal article
1399            * @param groupId the group ID
1400            * @param articleId the article ID
1401            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1402            * @return the previous, current, and next journal article
1403            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1404            * @throws SystemException if a system exception occurred
1405            */
1406            public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_PrevAndNext(
1407                    long id, long groupId, java.lang.String articleId,
1408                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1409                    throws com.liferay.portal.kernel.exception.SystemException,
1410                            com.liferay.portlet.journal.NoSuchArticleException;
1411    
1412            /**
1413            * Returns all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63;.
1414            *
1415            * @param groupId the group ID
1416            * @param articleId the article ID
1417            * @return the matching journal articles that the user has permission to view
1418            * @throws SystemException if a system exception occurred
1419            */
1420            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A(
1421                    long groupId, java.lang.String articleId)
1422                    throws com.liferay.portal.kernel.exception.SystemException;
1423    
1424            /**
1425            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63;.
1426            *
1427            * <p>
1428            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1429            * </p>
1430            *
1431            * @param groupId the group ID
1432            * @param articleId the article ID
1433            * @param start the lower bound of the range of journal articles
1434            * @param end the upper bound of the range of journal articles (not inclusive)
1435            * @return the range of matching journal articles that the user has permission to view
1436            * @throws SystemException if a system exception occurred
1437            */
1438            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A(
1439                    long groupId, java.lang.String articleId, int start, int end)
1440                    throws com.liferay.portal.kernel.exception.SystemException;
1441    
1442            /**
1443            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and articleId = &#63;.
1444            *
1445            * <p>
1446            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1447            * </p>
1448            *
1449            * @param groupId the group ID
1450            * @param articleId the article ID
1451            * @param start the lower bound of the range of journal articles
1452            * @param end the upper bound of the range of journal articles (not inclusive)
1453            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1454            * @return the ordered range of matching journal articles that the user has permission to view
1455            * @throws SystemException if a system exception occurred
1456            */
1457            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A(
1458                    long groupId, java.lang.String articleId, int start, int end,
1459                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1460                    throws com.liferay.portal.kernel.exception.SystemException;
1461    
1462            /**
1463            * 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;.
1464            *
1465            * @param id the primary key of the current journal article
1466            * @param groupId the group ID
1467            * @param articleId the article ID
1468            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1469            * @return the previous, current, and next journal article
1470            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1471            * @throws SystemException if a system exception occurred
1472            */
1473            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_PrevAndNext(
1474                    long id, long groupId, java.lang.String articleId,
1475                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1476                    throws com.liferay.portal.kernel.exception.SystemException,
1477                            com.liferay.portlet.journal.NoSuchArticleException;
1478    
1479            /**
1480            * Returns all the journal articles where groupId = &#63; and urlTitle = &#63;.
1481            *
1482            * @param groupId the group ID
1483            * @param urlTitle the url title
1484            * @return the matching journal articles
1485            * @throws SystemException if a system exception occurred
1486            */
1487            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
1488                    long groupId, java.lang.String urlTitle)
1489                    throws com.liferay.portal.kernel.exception.SystemException;
1490    
1491            /**
1492            * Returns a range of all the journal articles where groupId = &#63; and urlTitle = &#63;.
1493            *
1494            * <p>
1495            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1496            * </p>
1497            *
1498            * @param groupId the group ID
1499            * @param urlTitle the url title
1500            * @param start the lower bound of the range of journal articles
1501            * @param end the upper bound of the range of journal articles (not inclusive)
1502            * @return the range of matching journal articles
1503            * @throws SystemException if a system exception occurred
1504            */
1505            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
1506                    long groupId, java.lang.String urlTitle, int start, int end)
1507                    throws com.liferay.portal.kernel.exception.SystemException;
1508    
1509            /**
1510            * Returns an ordered range of all the journal articles where groupId = &#63; and urlTitle = &#63;.
1511            *
1512            * <p>
1513            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1514            * </p>
1515            *
1516            * @param groupId the group ID
1517            * @param urlTitle the url title
1518            * @param start the lower bound of the range of journal articles
1519            * @param end the upper bound of the range of journal articles (not inclusive)
1520            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1521            * @return the ordered range of matching journal articles
1522            * @throws SystemException if a system exception occurred
1523            */
1524            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
1525                    long groupId, java.lang.String urlTitle, int start, int end,
1526                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1527                    throws com.liferay.portal.kernel.exception.SystemException;
1528    
1529            /**
1530            * Returns the first journal article in the ordered set where groupId = &#63; and urlTitle = &#63;.
1531            *
1532            * @param groupId the group ID
1533            * @param urlTitle the url title
1534            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1535            * @return the first matching journal article
1536            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1537            * @throws SystemException if a system exception occurred
1538            */
1539            public com.liferay.portlet.journal.model.JournalArticle findByG_UT_First(
1540                    long groupId, java.lang.String urlTitle,
1541                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1542                    throws com.liferay.portal.kernel.exception.SystemException,
1543                            com.liferay.portlet.journal.NoSuchArticleException;
1544    
1545            /**
1546            * Returns the first journal article in the ordered set where groupId = &#63; and urlTitle = &#63;.
1547            *
1548            * @param groupId the group ID
1549            * @param urlTitle the url title
1550            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1551            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
1552            * @throws SystemException if a system exception occurred
1553            */
1554            public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_First(
1555                    long groupId, java.lang.String urlTitle,
1556                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1557                    throws com.liferay.portal.kernel.exception.SystemException;
1558    
1559            /**
1560            * Returns the last journal article in the ordered set where groupId = &#63; and urlTitle = &#63;.
1561            *
1562            * @param groupId the group ID
1563            * @param urlTitle the url title
1564            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1565            * @return the last matching journal article
1566            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1567            * @throws SystemException if a system exception occurred
1568            */
1569            public com.liferay.portlet.journal.model.JournalArticle findByG_UT_Last(
1570                    long groupId, java.lang.String urlTitle,
1571                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1572                    throws com.liferay.portal.kernel.exception.SystemException,
1573                            com.liferay.portlet.journal.NoSuchArticleException;
1574    
1575            /**
1576            * Returns the last journal article in the ordered set where groupId = &#63; and urlTitle = &#63;.
1577            *
1578            * @param groupId the group ID
1579            * @param urlTitle the url title
1580            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1581            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
1582            * @throws SystemException if a system exception occurred
1583            */
1584            public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_Last(
1585                    long groupId, java.lang.String urlTitle,
1586                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1587                    throws com.liferay.portal.kernel.exception.SystemException;
1588    
1589            /**
1590            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and urlTitle = &#63;.
1591            *
1592            * @param id the primary key of the current journal article
1593            * @param groupId the group ID
1594            * @param urlTitle the url title
1595            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1596            * @return the previous, current, and next journal article
1597            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1598            * @throws SystemException if a system exception occurred
1599            */
1600            public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_PrevAndNext(
1601                    long id, long groupId, java.lang.String urlTitle,
1602                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1603                    throws com.liferay.portal.kernel.exception.SystemException,
1604                            com.liferay.portlet.journal.NoSuchArticleException;
1605    
1606            /**
1607            * Returns all the journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63;.
1608            *
1609            * @param groupId the group ID
1610            * @param urlTitle the url title
1611            * @return the matching journal articles that the user has permission to view
1612            * @throws SystemException if a system exception occurred
1613            */
1614            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT(
1615                    long groupId, java.lang.String urlTitle)
1616                    throws com.liferay.portal.kernel.exception.SystemException;
1617    
1618            /**
1619            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63;.
1620            *
1621            * <p>
1622            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1623            * </p>
1624            *
1625            * @param groupId the group ID
1626            * @param urlTitle the url title
1627            * @param start the lower bound of the range of journal articles
1628            * @param end the upper bound of the range of journal articles (not inclusive)
1629            * @return the range of matching journal articles that the user has permission to view
1630            * @throws SystemException if a system exception occurred
1631            */
1632            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT(
1633                    long groupId, java.lang.String urlTitle, int start, int end)
1634                    throws com.liferay.portal.kernel.exception.SystemException;
1635    
1636            /**
1637            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and urlTitle = &#63;.
1638            *
1639            * <p>
1640            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1641            * </p>
1642            *
1643            * @param groupId the group ID
1644            * @param urlTitle the url title
1645            * @param start the lower bound of the range of journal articles
1646            * @param end the upper bound of the range of journal articles (not inclusive)
1647            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1648            * @return the ordered range of matching journal articles that the user has permission to view
1649            * @throws SystemException if a system exception occurred
1650            */
1651            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT(
1652                    long groupId, java.lang.String urlTitle, int start, int end,
1653                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1654                    throws com.liferay.portal.kernel.exception.SystemException;
1655    
1656            /**
1657            * 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;.
1658            *
1659            * @param id the primary key of the current journal article
1660            * @param groupId the group ID
1661            * @param urlTitle the url title
1662            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1663            * @return the previous, current, and next journal article
1664            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1665            * @throws SystemException if a system exception occurred
1666            */
1667            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_PrevAndNext(
1668                    long id, long groupId, java.lang.String urlTitle,
1669                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1670                    throws com.liferay.portal.kernel.exception.SystemException,
1671                            com.liferay.portlet.journal.NoSuchArticleException;
1672    
1673            /**
1674            * Returns all the journal articles where groupId = &#63; and structureId = &#63;.
1675            *
1676            * @param groupId the group ID
1677            * @param structureId the structure ID
1678            * @return the matching journal articles
1679            * @throws SystemException if a system exception occurred
1680            */
1681            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
1682                    long groupId, java.lang.String structureId)
1683                    throws com.liferay.portal.kernel.exception.SystemException;
1684    
1685            /**
1686            * Returns a range of all the journal articles where groupId = &#63; and structureId = &#63;.
1687            *
1688            * <p>
1689            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1690            * </p>
1691            *
1692            * @param groupId the group ID
1693            * @param structureId the structure ID
1694            * @param start the lower bound of the range of journal articles
1695            * @param end the upper bound of the range of journal articles (not inclusive)
1696            * @return the range of matching journal articles
1697            * @throws SystemException if a system exception occurred
1698            */
1699            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
1700                    long groupId, java.lang.String structureId, int start, int end)
1701                    throws com.liferay.portal.kernel.exception.SystemException;
1702    
1703            /**
1704            * Returns an ordered range of all the journal articles where groupId = &#63; and structureId = &#63;.
1705            *
1706            * <p>
1707            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1708            * </p>
1709            *
1710            * @param groupId the group ID
1711            * @param structureId the structure ID
1712            * @param start the lower bound of the range of journal articles
1713            * @param end the upper bound of the range of journal articles (not inclusive)
1714            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1715            * @return the ordered range of matching journal articles
1716            * @throws SystemException if a system exception occurred
1717            */
1718            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
1719                    long groupId, java.lang.String structureId, int start, int end,
1720                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1721                    throws com.liferay.portal.kernel.exception.SystemException;
1722    
1723            /**
1724            * Returns the first journal article in the ordered set where groupId = &#63; and structureId = &#63;.
1725            *
1726            * @param groupId the group ID
1727            * @param structureId the structure ID
1728            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1729            * @return the first matching journal article
1730            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1731            * @throws SystemException if a system exception occurred
1732            */
1733            public com.liferay.portlet.journal.model.JournalArticle findByG_S_First(
1734                    long groupId, java.lang.String structureId,
1735                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1736                    throws com.liferay.portal.kernel.exception.SystemException,
1737                            com.liferay.portlet.journal.NoSuchArticleException;
1738    
1739            /**
1740            * Returns the first journal article in the ordered set where groupId = &#63; and structureId = &#63;.
1741            *
1742            * @param groupId the group ID
1743            * @param structureId the structure ID
1744            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1745            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
1746            * @throws SystemException if a system exception occurred
1747            */
1748            public com.liferay.portlet.journal.model.JournalArticle fetchByG_S_First(
1749                    long groupId, java.lang.String structureId,
1750                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1751                    throws com.liferay.portal.kernel.exception.SystemException;
1752    
1753            /**
1754            * Returns the last journal article in the ordered set where groupId = &#63; and structureId = &#63;.
1755            *
1756            * @param groupId the group ID
1757            * @param structureId the structure ID
1758            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1759            * @return the last matching journal article
1760            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1761            * @throws SystemException if a system exception occurred
1762            */
1763            public com.liferay.portlet.journal.model.JournalArticle findByG_S_Last(
1764                    long groupId, java.lang.String structureId,
1765                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1766                    throws com.liferay.portal.kernel.exception.SystemException,
1767                            com.liferay.portlet.journal.NoSuchArticleException;
1768    
1769            /**
1770            * Returns the last journal article in the ordered set where groupId = &#63; and structureId = &#63;.
1771            *
1772            * @param groupId the group ID
1773            * @param structureId the structure ID
1774            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1775            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
1776            * @throws SystemException if a system exception occurred
1777            */
1778            public com.liferay.portlet.journal.model.JournalArticle fetchByG_S_Last(
1779                    long groupId, java.lang.String structureId,
1780                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1781                    throws com.liferay.portal.kernel.exception.SystemException;
1782    
1783            /**
1784            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and structureId = &#63;.
1785            *
1786            * @param id the primary key of the current journal article
1787            * @param groupId the group ID
1788            * @param structureId the structure ID
1789            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1790            * @return the previous, current, and next journal article
1791            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1792            * @throws SystemException if a system exception occurred
1793            */
1794            public com.liferay.portlet.journal.model.JournalArticle[] findByG_S_PrevAndNext(
1795                    long id, long groupId, java.lang.String structureId,
1796                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1797                    throws com.liferay.portal.kernel.exception.SystemException,
1798                            com.liferay.portlet.journal.NoSuchArticleException;
1799    
1800            /**
1801            * Returns all the journal articles that the user has permission to view where groupId = &#63; and structureId = &#63;.
1802            *
1803            * @param groupId the group ID
1804            * @param structureId the structure ID
1805            * @return the matching journal articles that the user has permission to view
1806            * @throws SystemException if a system exception occurred
1807            */
1808            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S(
1809                    long groupId, java.lang.String structureId)
1810                    throws com.liferay.portal.kernel.exception.SystemException;
1811    
1812            /**
1813            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and structureId = &#63;.
1814            *
1815            * <p>
1816            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1817            * </p>
1818            *
1819            * @param groupId the group ID
1820            * @param structureId the structure ID
1821            * @param start the lower bound of the range of journal articles
1822            * @param end the upper bound of the range of journal articles (not inclusive)
1823            * @return the range of matching journal articles that the user has permission to view
1824            * @throws SystemException if a system exception occurred
1825            */
1826            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S(
1827                    long groupId, java.lang.String structureId, int start, int end)
1828                    throws com.liferay.portal.kernel.exception.SystemException;
1829    
1830            /**
1831            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and structureId = &#63;.
1832            *
1833            * <p>
1834            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1835            * </p>
1836            *
1837            * @param groupId the group ID
1838            * @param structureId the structure ID
1839            * @param start the lower bound of the range of journal articles
1840            * @param end the upper bound of the range of journal articles (not inclusive)
1841            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1842            * @return the ordered range of matching journal articles that the user has permission to view
1843            * @throws SystemException if a system exception occurred
1844            */
1845            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S(
1846                    long groupId, java.lang.String structureId, int start, int end,
1847                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1848                    throws com.liferay.portal.kernel.exception.SystemException;
1849    
1850            /**
1851            * 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;.
1852            *
1853            * @param id the primary key of the current journal article
1854            * @param groupId the group ID
1855            * @param structureId the structure ID
1856            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1857            * @return the previous, current, and next journal article
1858            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1859            * @throws SystemException if a system exception occurred
1860            */
1861            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_S_PrevAndNext(
1862                    long id, long groupId, java.lang.String structureId,
1863                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1864                    throws com.liferay.portal.kernel.exception.SystemException,
1865                            com.liferay.portlet.journal.NoSuchArticleException;
1866    
1867            /**
1868            * Returns all the journal articles where groupId = &#63; and templateId = &#63;.
1869            *
1870            * @param groupId the group ID
1871            * @param templateId the template ID
1872            * @return the matching journal articles
1873            * @throws SystemException if a system exception occurred
1874            */
1875            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
1876                    long groupId, java.lang.String templateId)
1877                    throws com.liferay.portal.kernel.exception.SystemException;
1878    
1879            /**
1880            * Returns a range of all the journal articles where groupId = &#63; and templateId = &#63;.
1881            *
1882            * <p>
1883            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1884            * </p>
1885            *
1886            * @param groupId the group ID
1887            * @param templateId the template ID
1888            * @param start the lower bound of the range of journal articles
1889            * @param end the upper bound of the range of journal articles (not inclusive)
1890            * @return the range of matching journal articles
1891            * @throws SystemException if a system exception occurred
1892            */
1893            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
1894                    long groupId, java.lang.String templateId, int start, int end)
1895                    throws com.liferay.portal.kernel.exception.SystemException;
1896    
1897            /**
1898            * Returns an ordered range of all the journal articles where groupId = &#63; and templateId = &#63;.
1899            *
1900            * <p>
1901            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1902            * </p>
1903            *
1904            * @param groupId the group ID
1905            * @param templateId the template ID
1906            * @param start the lower bound of the range of journal articles
1907            * @param end the upper bound of the range of journal articles (not inclusive)
1908            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1909            * @return the ordered range of matching journal articles
1910            * @throws SystemException if a system exception occurred
1911            */
1912            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
1913                    long groupId, java.lang.String templateId, int start, int end,
1914                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1915                    throws com.liferay.portal.kernel.exception.SystemException;
1916    
1917            /**
1918            * Returns the first journal article in the ordered set where groupId = &#63; and templateId = &#63;.
1919            *
1920            * @param groupId the group ID
1921            * @param templateId the template ID
1922            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1923            * @return the first matching journal article
1924            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1925            * @throws SystemException if a system exception occurred
1926            */
1927            public com.liferay.portlet.journal.model.JournalArticle findByG_T_First(
1928                    long groupId, java.lang.String templateId,
1929                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1930                    throws com.liferay.portal.kernel.exception.SystemException,
1931                            com.liferay.portlet.journal.NoSuchArticleException;
1932    
1933            /**
1934            * Returns the first journal article in the ordered set where groupId = &#63; and templateId = &#63;.
1935            *
1936            * @param groupId the group ID
1937            * @param templateId the template ID
1938            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1939            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
1940            * @throws SystemException if a system exception occurred
1941            */
1942            public com.liferay.portlet.journal.model.JournalArticle fetchByG_T_First(
1943                    long groupId, java.lang.String templateId,
1944                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1945                    throws com.liferay.portal.kernel.exception.SystemException;
1946    
1947            /**
1948            * Returns the last journal article in the ordered set where groupId = &#63; and templateId = &#63;.
1949            *
1950            * @param groupId the group ID
1951            * @param templateId the template ID
1952            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1953            * @return the last matching journal article
1954            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1955            * @throws SystemException if a system exception occurred
1956            */
1957            public com.liferay.portlet.journal.model.JournalArticle findByG_T_Last(
1958                    long groupId, java.lang.String templateId,
1959                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1960                    throws com.liferay.portal.kernel.exception.SystemException,
1961                            com.liferay.portlet.journal.NoSuchArticleException;
1962    
1963            /**
1964            * Returns the last journal article in the ordered set where groupId = &#63; and templateId = &#63;.
1965            *
1966            * @param groupId the group ID
1967            * @param templateId the template ID
1968            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1969            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
1970            * @throws SystemException if a system exception occurred
1971            */
1972            public com.liferay.portlet.journal.model.JournalArticle fetchByG_T_Last(
1973                    long groupId, java.lang.String templateId,
1974                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1975                    throws com.liferay.portal.kernel.exception.SystemException;
1976    
1977            /**
1978            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and templateId = &#63;.
1979            *
1980            * @param id the primary key of the current journal article
1981            * @param groupId the group ID
1982            * @param templateId the template ID
1983            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1984            * @return the previous, current, and next journal article
1985            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1986            * @throws SystemException if a system exception occurred
1987            */
1988            public com.liferay.portlet.journal.model.JournalArticle[] findByG_T_PrevAndNext(
1989                    long id, long groupId, java.lang.String templateId,
1990                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1991                    throws com.liferay.portal.kernel.exception.SystemException,
1992                            com.liferay.portlet.journal.NoSuchArticleException;
1993    
1994            /**
1995            * Returns all the journal articles that the user has permission to view where groupId = &#63; and templateId = &#63;.
1996            *
1997            * @param groupId the group ID
1998            * @param templateId the template ID
1999            * @return the matching journal articles that the user has permission to view
2000            * @throws SystemException if a system exception occurred
2001            */
2002            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T(
2003                    long groupId, java.lang.String templateId)
2004                    throws com.liferay.portal.kernel.exception.SystemException;
2005    
2006            /**
2007            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and templateId = &#63;.
2008            *
2009            * <p>
2010            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2011            * </p>
2012            *
2013            * @param groupId the group ID
2014            * @param templateId the template ID
2015            * @param start the lower bound of the range of journal articles
2016            * @param end the upper bound of the range of journal articles (not inclusive)
2017            * @return the range of matching journal articles that the user has permission to view
2018            * @throws SystemException if a system exception occurred
2019            */
2020            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T(
2021                    long groupId, java.lang.String templateId, int start, int end)
2022                    throws com.liferay.portal.kernel.exception.SystemException;
2023    
2024            /**
2025            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and templateId = &#63;.
2026            *
2027            * <p>
2028            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2029            * </p>
2030            *
2031            * @param groupId the group ID
2032            * @param templateId the template ID
2033            * @param start the lower bound of the range of journal articles
2034            * @param end the upper bound of the range of journal articles (not inclusive)
2035            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2036            * @return the ordered range of matching journal articles that the user has permission to view
2037            * @throws SystemException if a system exception occurred
2038            */
2039            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T(
2040                    long groupId, java.lang.String templateId, int start, int end,
2041                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2042                    throws com.liferay.portal.kernel.exception.SystemException;
2043    
2044            /**
2045            * 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;.
2046            *
2047            * @param id the primary key of the current journal article
2048            * @param groupId the group ID
2049            * @param templateId the template ID
2050            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2051            * @return the previous, current, and next journal article
2052            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2053            * @throws SystemException if a system exception occurred
2054            */
2055            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_T_PrevAndNext(
2056                    long id, long groupId, java.lang.String templateId,
2057                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2058                    throws com.liferay.portal.kernel.exception.SystemException,
2059                            com.liferay.portlet.journal.NoSuchArticleException;
2060    
2061            /**
2062            * Returns all the journal articles where groupId = &#63; and layoutUuid = &#63;.
2063            *
2064            * @param groupId the group ID
2065            * @param layoutUuid the layout uuid
2066            * @return the matching journal articles
2067            * @throws SystemException if a system exception occurred
2068            */
2069            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L(
2070                    long groupId, java.lang.String layoutUuid)
2071                    throws com.liferay.portal.kernel.exception.SystemException;
2072    
2073            /**
2074            * Returns a range of all the journal articles where groupId = &#63; and layoutUuid = &#63;.
2075            *
2076            * <p>
2077            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2078            * </p>
2079            *
2080            * @param groupId the group ID
2081            * @param layoutUuid the layout uuid
2082            * @param start the lower bound of the range of journal articles
2083            * @param end the upper bound of the range of journal articles (not inclusive)
2084            * @return the range of matching journal articles
2085            * @throws SystemException if a system exception occurred
2086            */
2087            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L(
2088                    long groupId, java.lang.String layoutUuid, int start, int end)
2089                    throws com.liferay.portal.kernel.exception.SystemException;
2090    
2091            /**
2092            * Returns an ordered range of all the journal articles where groupId = &#63; and layoutUuid = &#63;.
2093            *
2094            * <p>
2095            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2096            * </p>
2097            *
2098            * @param groupId the group ID
2099            * @param layoutUuid the layout uuid
2100            * @param start the lower bound of the range of journal articles
2101            * @param end the upper bound of the range of journal articles (not inclusive)
2102            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2103            * @return the ordered range of matching journal articles
2104            * @throws SystemException if a system exception occurred
2105            */
2106            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L(
2107                    long groupId, java.lang.String layoutUuid, int start, int end,
2108                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2109                    throws com.liferay.portal.kernel.exception.SystemException;
2110    
2111            /**
2112            * Returns the first journal article in the ordered set where groupId = &#63; and layoutUuid = &#63;.
2113            *
2114            * @param groupId the group ID
2115            * @param layoutUuid the layout uuid
2116            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2117            * @return the first matching journal article
2118            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2119            * @throws SystemException if a system exception occurred
2120            */
2121            public com.liferay.portlet.journal.model.JournalArticle findByG_L_First(
2122                    long groupId, java.lang.String layoutUuid,
2123                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2124                    throws com.liferay.portal.kernel.exception.SystemException,
2125                            com.liferay.portlet.journal.NoSuchArticleException;
2126    
2127            /**
2128            * Returns the first journal article in the ordered set where groupId = &#63; and layoutUuid = &#63;.
2129            *
2130            * @param groupId the group ID
2131            * @param layoutUuid the layout uuid
2132            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2133            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
2134            * @throws SystemException if a system exception occurred
2135            */
2136            public com.liferay.portlet.journal.model.JournalArticle fetchByG_L_First(
2137                    long groupId, java.lang.String layoutUuid,
2138                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2139                    throws com.liferay.portal.kernel.exception.SystemException;
2140    
2141            /**
2142            * Returns the last journal article in the ordered set where groupId = &#63; and layoutUuid = &#63;.
2143            *
2144            * @param groupId the group ID
2145            * @param layoutUuid the layout uuid
2146            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2147            * @return the last matching journal article
2148            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2149            * @throws SystemException if a system exception occurred
2150            */
2151            public com.liferay.portlet.journal.model.JournalArticle findByG_L_Last(
2152                    long groupId, java.lang.String layoutUuid,
2153                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2154                    throws com.liferay.portal.kernel.exception.SystemException,
2155                            com.liferay.portlet.journal.NoSuchArticleException;
2156    
2157            /**
2158            * Returns the last journal article in the ordered set where groupId = &#63; and layoutUuid = &#63;.
2159            *
2160            * @param groupId the group ID
2161            * @param layoutUuid the layout uuid
2162            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2163            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
2164            * @throws SystemException if a system exception occurred
2165            */
2166            public com.liferay.portlet.journal.model.JournalArticle fetchByG_L_Last(
2167                    long groupId, java.lang.String layoutUuid,
2168                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2169                    throws com.liferay.portal.kernel.exception.SystemException;
2170    
2171            /**
2172            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and layoutUuid = &#63;.
2173            *
2174            * @param id the primary key of the current journal article
2175            * @param groupId the group ID
2176            * @param layoutUuid the layout uuid
2177            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2178            * @return the previous, current, and next journal article
2179            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2180            * @throws SystemException if a system exception occurred
2181            */
2182            public com.liferay.portlet.journal.model.JournalArticle[] findByG_L_PrevAndNext(
2183                    long id, long groupId, java.lang.String layoutUuid,
2184                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2185                    throws com.liferay.portal.kernel.exception.SystemException,
2186                            com.liferay.portlet.journal.NoSuchArticleException;
2187    
2188            /**
2189            * Returns all the journal articles that the user has permission to view where groupId = &#63; and layoutUuid = &#63;.
2190            *
2191            * @param groupId the group ID
2192            * @param layoutUuid the layout uuid
2193            * @return the matching journal articles that the user has permission to view
2194            * @throws SystemException if a system exception occurred
2195            */
2196            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L(
2197                    long groupId, java.lang.String layoutUuid)
2198                    throws com.liferay.portal.kernel.exception.SystemException;
2199    
2200            /**
2201            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and layoutUuid = &#63;.
2202            *
2203            * <p>
2204            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2205            * </p>
2206            *
2207            * @param groupId the group ID
2208            * @param layoutUuid the layout uuid
2209            * @param start the lower bound of the range of journal articles
2210            * @param end the upper bound of the range of journal articles (not inclusive)
2211            * @return the range of matching journal articles that the user has permission to view
2212            * @throws SystemException if a system exception occurred
2213            */
2214            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L(
2215                    long groupId, java.lang.String layoutUuid, int start, int end)
2216                    throws com.liferay.portal.kernel.exception.SystemException;
2217    
2218            /**
2219            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and layoutUuid = &#63;.
2220            *
2221            * <p>
2222            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2223            * </p>
2224            *
2225            * @param groupId the group ID
2226            * @param layoutUuid the layout uuid
2227            * @param start the lower bound of the range of journal articles
2228            * @param end the upper bound of the range of journal articles (not inclusive)
2229            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2230            * @return the ordered range of matching journal articles that the user has permission to view
2231            * @throws SystemException if a system exception occurred
2232            */
2233            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L(
2234                    long groupId, java.lang.String layoutUuid, int start, int end,
2235                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2236                    throws com.liferay.portal.kernel.exception.SystemException;
2237    
2238            /**
2239            * 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;.
2240            *
2241            * @param id the primary key of the current journal article
2242            * @param groupId the group ID
2243            * @param layoutUuid the layout uuid
2244            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2245            * @return the previous, current, and next journal article
2246            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2247            * @throws SystemException if a system exception occurred
2248            */
2249            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_L_PrevAndNext(
2250                    long id, long groupId, java.lang.String layoutUuid,
2251                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2252                    throws com.liferay.portal.kernel.exception.SystemException,
2253                            com.liferay.portlet.journal.NoSuchArticleException;
2254    
2255            /**
2256            * Returns all the journal articles where groupId = &#63; and status = &#63;.
2257            *
2258            * @param groupId the group ID
2259            * @param status the status
2260            * @return the matching journal articles
2261            * @throws SystemException if a system exception occurred
2262            */
2263            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST(
2264                    long groupId, int status)
2265                    throws com.liferay.portal.kernel.exception.SystemException;
2266    
2267            /**
2268            * Returns a range of all the journal articles where groupId = &#63; and status = &#63;.
2269            *
2270            * <p>
2271            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2272            * </p>
2273            *
2274            * @param groupId the group ID
2275            * @param status the status
2276            * @param start the lower bound of the range of journal articles
2277            * @param end the upper bound of the range of journal articles (not inclusive)
2278            * @return the range of matching journal articles
2279            * @throws SystemException if a system exception occurred
2280            */
2281            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST(
2282                    long groupId, int status, int start, int end)
2283                    throws com.liferay.portal.kernel.exception.SystemException;
2284    
2285            /**
2286            * Returns an ordered range of all the journal articles where groupId = &#63; and status = &#63;.
2287            *
2288            * <p>
2289            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2290            * </p>
2291            *
2292            * @param groupId the group ID
2293            * @param status the status
2294            * @param start the lower bound of the range of journal articles
2295            * @param end the upper bound of the range of journal articles (not inclusive)
2296            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2297            * @return the ordered range of matching journal articles
2298            * @throws SystemException if a system exception occurred
2299            */
2300            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST(
2301                    long groupId, int status, int start, int end,
2302                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2303                    throws com.liferay.portal.kernel.exception.SystemException;
2304    
2305            /**
2306            * Returns the first journal article in the ordered set where groupId = &#63; and status = &#63;.
2307            *
2308            * @param groupId the group ID
2309            * @param status the status
2310            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2311            * @return the first matching journal article
2312            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2313            * @throws SystemException if a system exception occurred
2314            */
2315            public com.liferay.portlet.journal.model.JournalArticle findByG_ST_First(
2316                    long groupId, int status,
2317                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2318                    throws com.liferay.portal.kernel.exception.SystemException,
2319                            com.liferay.portlet.journal.NoSuchArticleException;
2320    
2321            /**
2322            * Returns the first journal article in the ordered set where groupId = &#63; and status = &#63;.
2323            *
2324            * @param groupId the group ID
2325            * @param status the status
2326            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2327            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
2328            * @throws SystemException if a system exception occurred
2329            */
2330            public com.liferay.portlet.journal.model.JournalArticle fetchByG_ST_First(
2331                    long groupId, int status,
2332                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2333                    throws com.liferay.portal.kernel.exception.SystemException;
2334    
2335            /**
2336            * Returns the last journal article in the ordered set where groupId = &#63; and status = &#63;.
2337            *
2338            * @param groupId the group ID
2339            * @param status the status
2340            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2341            * @return the last matching journal article
2342            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2343            * @throws SystemException if a system exception occurred
2344            */
2345            public com.liferay.portlet.journal.model.JournalArticle findByG_ST_Last(
2346                    long groupId, int status,
2347                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2348                    throws com.liferay.portal.kernel.exception.SystemException,
2349                            com.liferay.portlet.journal.NoSuchArticleException;
2350    
2351            /**
2352            * Returns the last journal article in the ordered set where groupId = &#63; and status = &#63;.
2353            *
2354            * @param groupId the group ID
2355            * @param status the status
2356            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2357            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
2358            * @throws SystemException if a system exception occurred
2359            */
2360            public com.liferay.portlet.journal.model.JournalArticle fetchByG_ST_Last(
2361                    long groupId, int status,
2362                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2363                    throws com.liferay.portal.kernel.exception.SystemException;
2364    
2365            /**
2366            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and status = &#63;.
2367            *
2368            * @param id the primary key of the current journal article
2369            * @param groupId the group ID
2370            * @param status the status
2371            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2372            * @return the previous, current, and next journal article
2373            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2374            * @throws SystemException if a system exception occurred
2375            */
2376            public com.liferay.portlet.journal.model.JournalArticle[] findByG_ST_PrevAndNext(
2377                    long id, long groupId, int status,
2378                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2379                    throws com.liferay.portal.kernel.exception.SystemException,
2380                            com.liferay.portlet.journal.NoSuchArticleException;
2381    
2382            /**
2383            * Returns all the journal articles that the user has permission to view where groupId = &#63; and status = &#63;.
2384            *
2385            * @param groupId the group ID
2386            * @param status the status
2387            * @return the matching journal articles that the user has permission to view
2388            * @throws SystemException if a system exception occurred
2389            */
2390            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST(
2391                    long groupId, int status)
2392                    throws com.liferay.portal.kernel.exception.SystemException;
2393    
2394            /**
2395            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and status = &#63;.
2396            *
2397            * <p>
2398            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2399            * </p>
2400            *
2401            * @param groupId the group ID
2402            * @param status the status
2403            * @param start the lower bound of the range of journal articles
2404            * @param end the upper bound of the range of journal articles (not inclusive)
2405            * @return the range of matching journal articles that the user has permission to view
2406            * @throws SystemException if a system exception occurred
2407            */
2408            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST(
2409                    long groupId, int status, int start, int end)
2410                    throws com.liferay.portal.kernel.exception.SystemException;
2411    
2412            /**
2413            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and status = &#63;.
2414            *
2415            * <p>
2416            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2417            * </p>
2418            *
2419            * @param groupId the group ID
2420            * @param status the status
2421            * @param start the lower bound of the range of journal articles
2422            * @param end the upper bound of the range of journal articles (not inclusive)
2423            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2424            * @return the ordered range of matching journal articles that the user has permission to view
2425            * @throws SystemException if a system exception occurred
2426            */
2427            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST(
2428                    long groupId, int status, int start, int end,
2429                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2430                    throws com.liferay.portal.kernel.exception.SystemException;
2431    
2432            /**
2433            * 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;.
2434            *
2435            * @param id the primary key of the current journal article
2436            * @param groupId the group ID
2437            * @param status the status
2438            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2439            * @return the previous, current, and next journal article
2440            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2441            * @throws SystemException if a system exception occurred
2442            */
2443            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_ST_PrevAndNext(
2444                    long id, long groupId, int status,
2445                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2446                    throws com.liferay.portal.kernel.exception.SystemException,
2447                            com.liferay.portlet.journal.NoSuchArticleException;
2448    
2449            /**
2450            * Returns all the journal articles where companyId = &#63; and version = &#63;.
2451            *
2452            * @param companyId the company ID
2453            * @param version the version
2454            * @return the matching journal articles
2455            * @throws SystemException if a system exception occurred
2456            */
2457            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V(
2458                    long companyId, double version)
2459                    throws com.liferay.portal.kernel.exception.SystemException;
2460    
2461            /**
2462            * Returns a range of all the journal articles where companyId = &#63; and version = &#63;.
2463            *
2464            * <p>
2465            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2466            * </p>
2467            *
2468            * @param companyId the company ID
2469            * @param version the version
2470            * @param start the lower bound of the range of journal articles
2471            * @param end the upper bound of the range of journal articles (not inclusive)
2472            * @return the range of matching journal articles
2473            * @throws SystemException if a system exception occurred
2474            */
2475            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V(
2476                    long companyId, double version, int start, int end)
2477                    throws com.liferay.portal.kernel.exception.SystemException;
2478    
2479            /**
2480            * Returns an ordered range of all the journal articles where companyId = &#63; and version = &#63;.
2481            *
2482            * <p>
2483            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2484            * </p>
2485            *
2486            * @param companyId the company ID
2487            * @param version the version
2488            * @param start the lower bound of the range of journal articles
2489            * @param end the upper bound of the range of journal articles (not inclusive)
2490            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2491            * @return the ordered range of matching journal articles
2492            * @throws SystemException if a system exception occurred
2493            */
2494            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V(
2495                    long companyId, double version, int start, int end,
2496                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2497                    throws com.liferay.portal.kernel.exception.SystemException;
2498    
2499            /**
2500            * Returns the first journal article in the ordered set where companyId = &#63; and version = &#63;.
2501            *
2502            * @param companyId the company ID
2503            * @param version the version
2504            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2505            * @return the first matching journal article
2506            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2507            * @throws SystemException if a system exception occurred
2508            */
2509            public com.liferay.portlet.journal.model.JournalArticle findByC_V_First(
2510                    long companyId, double version,
2511                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2512                    throws com.liferay.portal.kernel.exception.SystemException,
2513                            com.liferay.portlet.journal.NoSuchArticleException;
2514    
2515            /**
2516            * Returns the first journal article in the ordered set where companyId = &#63; and version = &#63;.
2517            *
2518            * @param companyId the company ID
2519            * @param version the version
2520            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2521            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
2522            * @throws SystemException if a system exception occurred
2523            */
2524            public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_First(
2525                    long companyId, double version,
2526                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2527                    throws com.liferay.portal.kernel.exception.SystemException;
2528    
2529            /**
2530            * Returns the last journal article in the ordered set where companyId = &#63; and version = &#63;.
2531            *
2532            * @param companyId the company ID
2533            * @param version the version
2534            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2535            * @return the last matching journal article
2536            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2537            * @throws SystemException if a system exception occurred
2538            */
2539            public com.liferay.portlet.journal.model.JournalArticle findByC_V_Last(
2540                    long companyId, double version,
2541                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2542                    throws com.liferay.portal.kernel.exception.SystemException,
2543                            com.liferay.portlet.journal.NoSuchArticleException;
2544    
2545            /**
2546            * Returns the last journal article in the ordered set where companyId = &#63; and version = &#63;.
2547            *
2548            * @param companyId the company ID
2549            * @param version the version
2550            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2551            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
2552            * @throws SystemException if a system exception occurred
2553            */
2554            public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_Last(
2555                    long companyId, double version,
2556                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2557                    throws com.liferay.portal.kernel.exception.SystemException;
2558    
2559            /**
2560            * Returns the journal articles before and after the current journal article in the ordered set where companyId = &#63; and version = &#63;.
2561            *
2562            * @param id the primary key of the current journal article
2563            * @param companyId the company ID
2564            * @param version the version
2565            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2566            * @return the previous, current, and next journal article
2567            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2568            * @throws SystemException if a system exception occurred
2569            */
2570            public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_PrevAndNext(
2571                    long id, long companyId, double version,
2572                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2573                    throws com.liferay.portal.kernel.exception.SystemException,
2574                            com.liferay.portlet.journal.NoSuchArticleException;
2575    
2576            /**
2577            * Returns all the journal articles where companyId = &#63; and status = &#63;.
2578            *
2579            * @param companyId the company ID
2580            * @param status the status
2581            * @return the matching journal articles
2582            * @throws SystemException if a system exception occurred
2583            */
2584            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST(
2585                    long companyId, int status)
2586                    throws com.liferay.portal.kernel.exception.SystemException;
2587    
2588            /**
2589            * Returns a range of all the journal articles where companyId = &#63; and status = &#63;.
2590            *
2591            * <p>
2592            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2593            * </p>
2594            *
2595            * @param companyId the company ID
2596            * @param status the status
2597            * @param start the lower bound of the range of journal articles
2598            * @param end the upper bound of the range of journal articles (not inclusive)
2599            * @return the range of matching journal articles
2600            * @throws SystemException if a system exception occurred
2601            */
2602            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST(
2603                    long companyId, int status, int start, int end)
2604                    throws com.liferay.portal.kernel.exception.SystemException;
2605    
2606            /**
2607            * Returns an ordered range of all the journal articles where companyId = &#63; and status = &#63;.
2608            *
2609            * <p>
2610            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2611            * </p>
2612            *
2613            * @param companyId the company ID
2614            * @param status the status
2615            * @param start the lower bound of the range of journal articles
2616            * @param end the upper bound of the range of journal articles (not inclusive)
2617            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2618            * @return the ordered range of matching journal articles
2619            * @throws SystemException if a system exception occurred
2620            */
2621            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST(
2622                    long companyId, int status, int start, int end,
2623                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2624                    throws com.liferay.portal.kernel.exception.SystemException;
2625    
2626            /**
2627            * Returns the first journal article in the ordered set where companyId = &#63; and status = &#63;.
2628            *
2629            * @param companyId the company ID
2630            * @param status the status
2631            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2632            * @return the first matching journal article
2633            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2634            * @throws SystemException if a system exception occurred
2635            */
2636            public com.liferay.portlet.journal.model.JournalArticle findByC_ST_First(
2637                    long companyId, int status,
2638                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2639                    throws com.liferay.portal.kernel.exception.SystemException,
2640                            com.liferay.portlet.journal.NoSuchArticleException;
2641    
2642            /**
2643            * Returns the first journal article in the ordered set where companyId = &#63; and status = &#63;.
2644            *
2645            * @param companyId the company ID
2646            * @param status the status
2647            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2648            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
2649            * @throws SystemException if a system exception occurred
2650            */
2651            public com.liferay.portlet.journal.model.JournalArticle fetchByC_ST_First(
2652                    long companyId, int status,
2653                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2654                    throws com.liferay.portal.kernel.exception.SystemException;
2655    
2656            /**
2657            * Returns the last journal article in the ordered set where companyId = &#63; and status = &#63;.
2658            *
2659            * @param companyId the company ID
2660            * @param status the status
2661            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2662            * @return the last 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 findByC_ST_Last(
2667                    long companyId, int status,
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 last journal article in the ordered set where companyId = &#63; and status = &#63;.
2674            *
2675            * @param companyId the company ID
2676            * @param status the status
2677            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2678            * @return the last 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 fetchByC_ST_Last(
2682                    long companyId, int status,
2683                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2684                    throws com.liferay.portal.kernel.exception.SystemException;
2685    
2686            /**
2687            * Returns the journal articles before and after the current journal article in the ordered set where companyId = &#63; and status = &#63;.
2688            *
2689            * @param id the primary key of the current journal article
2690            * @param companyId the company ID
2691            * @param status the status
2692            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2693            * @return the previous, current, and next journal article
2694            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2695            * @throws SystemException if a system exception occurred
2696            */
2697            public com.liferay.portlet.journal.model.JournalArticle[] findByC_ST_PrevAndNext(
2698                    long id, long companyId, int status,
2699                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2700                    throws com.liferay.portal.kernel.exception.SystemException,
2701                            com.liferay.portlet.journal.NoSuchArticleException;
2702    
2703            /**
2704            * Returns all the journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
2705            *
2706            * @param groupId the group ID
2707            * @param classNameId the class name ID
2708            * @param classPK the class p k
2709            * @return the matching journal articles
2710            * @throws SystemException if a system exception occurred
2711            */
2712            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C(
2713                    long groupId, long classNameId, long classPK)
2714                    throws com.liferay.portal.kernel.exception.SystemException;
2715    
2716            /**
2717            * Returns a range of all the journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
2718            *
2719            * <p>
2720            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2721            * </p>
2722            *
2723            * @param groupId the group ID
2724            * @param classNameId the class name ID
2725            * @param classPK the class p k
2726            * @param start the lower bound of the range of journal articles
2727            * @param end the upper bound of the range of journal articles (not inclusive)
2728            * @return the range of matching journal articles
2729            * @throws SystemException if a system exception occurred
2730            */
2731            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C(
2732                    long groupId, long classNameId, long classPK, int start, int end)
2733                    throws com.liferay.portal.kernel.exception.SystemException;
2734    
2735            /**
2736            * Returns an ordered range of all the journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
2737            *
2738            * <p>
2739            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2740            * </p>
2741            *
2742            * @param groupId the group ID
2743            * @param classNameId the class name ID
2744            * @param classPK the class p k
2745            * @param start the lower bound of the range of journal articles
2746            * @param end the upper bound of the range of journal articles (not inclusive)
2747            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2748            * @return the ordered range of matching journal articles
2749            * @throws SystemException if a system exception occurred
2750            */
2751            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C(
2752                    long groupId, long classNameId, long classPK, int start, int end,
2753                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2754                    throws com.liferay.portal.kernel.exception.SystemException;
2755    
2756            /**
2757            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
2758            *
2759            * @param groupId the group ID
2760            * @param classNameId the class name ID
2761            * @param classPK the class p k
2762            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2763            * @return the first matching journal article
2764            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2765            * @throws SystemException if a system exception occurred
2766            */
2767            public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_First(
2768                    long groupId, long classNameId, long classPK,
2769                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2770                    throws com.liferay.portal.kernel.exception.SystemException,
2771                            com.liferay.portlet.journal.NoSuchArticleException;
2772    
2773            /**
2774            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
2775            *
2776            * @param groupId the group ID
2777            * @param classNameId the class name ID
2778            * @param classPK the class p k
2779            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2780            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
2781            * @throws SystemException if a system exception occurred
2782            */
2783            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_C_First(
2784                    long groupId, long classNameId, long classPK,
2785                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2786                    throws com.liferay.portal.kernel.exception.SystemException;
2787    
2788            /**
2789            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
2790            *
2791            * @param groupId the group ID
2792            * @param classNameId the class name ID
2793            * @param classPK the class p k
2794            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2795            * @return the last matching journal article
2796            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2797            * @throws SystemException if a system exception occurred
2798            */
2799            public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_Last(
2800                    long groupId, long classNameId, long classPK,
2801                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2802                    throws com.liferay.portal.kernel.exception.SystemException,
2803                            com.liferay.portlet.journal.NoSuchArticleException;
2804    
2805            /**
2806            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
2807            *
2808            * @param groupId the group ID
2809            * @param classNameId the class name ID
2810            * @param classPK the class p k
2811            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2812            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
2813            * @throws SystemException if a system exception occurred
2814            */
2815            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_C_Last(
2816                    long groupId, long classNameId, long classPK,
2817                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2818                    throws com.liferay.portal.kernel.exception.SystemException;
2819    
2820            /**
2821            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
2822            *
2823            * @param id the primary key of the current journal article
2824            * @param groupId the group ID
2825            * @param classNameId the class name ID
2826            * @param classPK the class p k
2827            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2828            * @return the previous, current, and next journal article
2829            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2830            * @throws SystemException if a system exception occurred
2831            */
2832            public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_C_PrevAndNext(
2833                    long id, long groupId, long classNameId, long classPK,
2834                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2835                    throws com.liferay.portal.kernel.exception.SystemException,
2836                            com.liferay.portlet.journal.NoSuchArticleException;
2837    
2838            /**
2839            * Returns all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
2840            *
2841            * @param groupId the group ID
2842            * @param classNameId the class name ID
2843            * @param classPK the class p k
2844            * @return the matching journal articles that the user has permission to view
2845            * @throws SystemException if a system exception occurred
2846            */
2847            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C(
2848                    long groupId, long classNameId, long classPK)
2849                    throws com.liferay.portal.kernel.exception.SystemException;
2850    
2851            /**
2852            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
2853            *
2854            * <p>
2855            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2856            * </p>
2857            *
2858            * @param groupId the group ID
2859            * @param classNameId the class name ID
2860            * @param classPK the class p k
2861            * @param start the lower bound of the range of journal articles
2862            * @param end the upper bound of the range of journal articles (not inclusive)
2863            * @return the range of matching journal articles that the user has permission to view
2864            * @throws SystemException if a system exception occurred
2865            */
2866            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C(
2867                    long groupId, long classNameId, long classPK, int start, int end)
2868                    throws com.liferay.portal.kernel.exception.SystemException;
2869    
2870            /**
2871            * 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;.
2872            *
2873            * <p>
2874            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2875            * </p>
2876            *
2877            * @param groupId the group ID
2878            * @param classNameId the class name ID
2879            * @param classPK the class p k
2880            * @param start the lower bound of the range of journal articles
2881            * @param end the upper bound of the range of journal articles (not inclusive)
2882            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2883            * @return the ordered range of matching journal articles that the user has permission to view
2884            * @throws SystemException if a system exception occurred
2885            */
2886            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C(
2887                    long groupId, long classNameId, long classPK, int start, int end,
2888                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2889                    throws com.liferay.portal.kernel.exception.SystemException;
2890    
2891            /**
2892            * 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;.
2893            *
2894            * @param id the primary key of the current journal article
2895            * @param groupId the group ID
2896            * @param classNameId the class name ID
2897            * @param classPK the class p k
2898            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2899            * @return the previous, current, and next journal article
2900            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2901            * @throws SystemException if a system exception occurred
2902            */
2903            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_C_PrevAndNext(
2904                    long id, long groupId, long classNameId, long classPK,
2905                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2906                    throws com.liferay.portal.kernel.exception.SystemException,
2907                            com.liferay.portlet.journal.NoSuchArticleException;
2908    
2909            /**
2910            * 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.
2911            *
2912            * @param groupId the group ID
2913            * @param classNameId the class name ID
2914            * @param structureId the structure ID
2915            * @return the matching journal article
2916            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2917            * @throws SystemException if a system exception occurred
2918            */
2919            public com.liferay.portlet.journal.model.JournalArticle findByG_C_S(
2920                    long groupId, long classNameId, java.lang.String structureId)
2921                    throws com.liferay.portal.kernel.exception.SystemException,
2922                            com.liferay.portlet.journal.NoSuchArticleException;
2923    
2924            /**
2925            * 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.
2926            *
2927            * @param groupId the group ID
2928            * @param classNameId the class name ID
2929            * @param structureId the structure ID
2930            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
2931            * @throws SystemException if a system exception occurred
2932            */
2933            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_S(
2934                    long groupId, long classNameId, java.lang.String structureId)
2935                    throws com.liferay.portal.kernel.exception.SystemException;
2936    
2937            /**
2938            * 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.
2939            *
2940            * @param groupId the group ID
2941            * @param classNameId the class name ID
2942            * @param structureId the structure ID
2943            * @param retrieveFromCache whether to use the finder cache
2944            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
2945            * @throws SystemException if a system exception occurred
2946            */
2947            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_S(
2948                    long groupId, long classNameId, java.lang.String structureId,
2949                    boolean retrieveFromCache)
2950                    throws com.liferay.portal.kernel.exception.SystemException;
2951    
2952            /**
2953            * Returns all the journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
2954            *
2955            * @param groupId the group ID
2956            * @param classNameId the class name ID
2957            * @param templateId the template ID
2958            * @return the matching journal articles
2959            * @throws SystemException if a system exception occurred
2960            */
2961            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T(
2962                    long groupId, long classNameId, java.lang.String templateId)
2963                    throws com.liferay.portal.kernel.exception.SystemException;
2964    
2965            /**
2966            * Returns a range of all the journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
2967            *
2968            * <p>
2969            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2970            * </p>
2971            *
2972            * @param groupId the group ID
2973            * @param classNameId the class name ID
2974            * @param templateId the template ID
2975            * @param start the lower bound of the range of journal articles
2976            * @param end the upper bound of the range of journal articles (not inclusive)
2977            * @return the range of matching journal articles
2978            * @throws SystemException if a system exception occurred
2979            */
2980            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T(
2981                    long groupId, long classNameId, java.lang.String templateId, int start,
2982                    int end) throws com.liferay.portal.kernel.exception.SystemException;
2983    
2984            /**
2985            * Returns an ordered range of all the journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
2986            *
2987            * <p>
2988            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2989            * </p>
2990            *
2991            * @param groupId the group ID
2992            * @param classNameId the class name ID
2993            * @param templateId the template ID
2994            * @param start the lower bound of the range of journal articles
2995            * @param end the upper bound of the range of journal articles (not inclusive)
2996            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2997            * @return the ordered range of matching journal articles
2998            * @throws SystemException if a system exception occurred
2999            */
3000            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T(
3001                    long groupId, long classNameId, java.lang.String templateId, int start,
3002                    int end,
3003                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3004                    throws com.liferay.portal.kernel.exception.SystemException;
3005    
3006            /**
3007            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
3008            *
3009            * @param groupId the group ID
3010            * @param classNameId the class name ID
3011            * @param templateId the template ID
3012            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3013            * @return the first matching journal article
3014            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3015            * @throws SystemException if a system exception occurred
3016            */
3017            public com.liferay.portlet.journal.model.JournalArticle findByG_C_T_First(
3018                    long groupId, long classNameId, java.lang.String templateId,
3019                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3020                    throws com.liferay.portal.kernel.exception.SystemException,
3021                            com.liferay.portlet.journal.NoSuchArticleException;
3022    
3023            /**
3024            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
3025            *
3026            * @param groupId the group ID
3027            * @param classNameId the class name ID
3028            * @param templateId the template ID
3029            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3030            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
3031            * @throws SystemException if a system exception occurred
3032            */
3033            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_T_First(
3034                    long groupId, long classNameId, java.lang.String templateId,
3035                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3036                    throws com.liferay.portal.kernel.exception.SystemException;
3037    
3038            /**
3039            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
3040            *
3041            * @param groupId the group ID
3042            * @param classNameId the class name ID
3043            * @param templateId the template ID
3044            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3045            * @return the last matching journal article
3046            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3047            * @throws SystemException if a system exception occurred
3048            */
3049            public com.liferay.portlet.journal.model.JournalArticle findByG_C_T_Last(
3050                    long groupId, long classNameId, java.lang.String templateId,
3051                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3052                    throws com.liferay.portal.kernel.exception.SystemException,
3053                            com.liferay.portlet.journal.NoSuchArticleException;
3054    
3055            /**
3056            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
3057            *
3058            * @param groupId the group ID
3059            * @param classNameId the class name ID
3060            * @param templateId the template ID
3061            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3062            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
3063            * @throws SystemException if a system exception occurred
3064            */
3065            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_T_Last(
3066                    long groupId, long classNameId, java.lang.String templateId,
3067                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3068                    throws com.liferay.portal.kernel.exception.SystemException;
3069    
3070            /**
3071            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
3072            *
3073            * @param id the primary key of the current journal article
3074            * @param groupId the group ID
3075            * @param classNameId the class name ID
3076            * @param templateId the template ID
3077            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3078            * @return the previous, current, and next journal article
3079            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3080            * @throws SystemException if a system exception occurred
3081            */
3082            public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_T_PrevAndNext(
3083                    long id, long groupId, long classNameId, java.lang.String templateId,
3084                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3085                    throws com.liferay.portal.kernel.exception.SystemException,
3086                            com.liferay.portlet.journal.NoSuchArticleException;
3087    
3088            /**
3089            * Returns all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
3090            *
3091            * @param groupId the group ID
3092            * @param classNameId the class name ID
3093            * @param templateId the template ID
3094            * @return the matching journal articles that the user has permission to view
3095            * @throws SystemException if a system exception occurred
3096            */
3097            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T(
3098                    long groupId, long classNameId, java.lang.String templateId)
3099                    throws com.liferay.portal.kernel.exception.SystemException;
3100    
3101            /**
3102            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
3103            *
3104            * <p>
3105            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3106            * </p>
3107            *
3108            * @param groupId the group ID
3109            * @param classNameId the class name ID
3110            * @param templateId the template ID
3111            * @param start the lower bound of the range of journal articles
3112            * @param end the upper bound of the range of journal articles (not inclusive)
3113            * @return the range of matching journal articles that the user has permission to view
3114            * @throws SystemException if a system exception occurred
3115            */
3116            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T(
3117                    long groupId, long classNameId, java.lang.String templateId, int start,
3118                    int end) throws com.liferay.portal.kernel.exception.SystemException;
3119    
3120            /**
3121            * 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;.
3122            *
3123            * <p>
3124            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3125            * </p>
3126            *
3127            * @param groupId the group ID
3128            * @param classNameId the class name ID
3129            * @param templateId the template ID
3130            * @param start the lower bound of the range of journal articles
3131            * @param end the upper bound of the range of journal articles (not inclusive)
3132            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3133            * @return the ordered range of matching journal articles that the user has permission to view
3134            * @throws SystemException if a system exception occurred
3135            */
3136            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T(
3137                    long groupId, long classNameId, java.lang.String templateId, int start,
3138                    int end,
3139                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3140                    throws com.liferay.portal.kernel.exception.SystemException;
3141    
3142            /**
3143            * 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;.
3144            *
3145            * @param id the primary key of the current journal article
3146            * @param groupId the group ID
3147            * @param classNameId the class name ID
3148            * @param templateId the template ID
3149            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3150            * @return the previous, current, and next journal article
3151            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3152            * @throws SystemException if a system exception occurred
3153            */
3154            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_T_PrevAndNext(
3155                    long id, long groupId, long classNameId, java.lang.String templateId,
3156                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3157                    throws com.liferay.portal.kernel.exception.SystemException,
3158                            com.liferay.portlet.journal.NoSuchArticleException;
3159    
3160            /**
3161            * Returns all the journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
3162            *
3163            * @param groupId the group ID
3164            * @param classNameId the class name ID
3165            * @param layoutUuid the layout uuid
3166            * @return the matching journal articles
3167            * @throws SystemException if a system exception occurred
3168            */
3169            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L(
3170                    long groupId, long classNameId, java.lang.String layoutUuid)
3171                    throws com.liferay.portal.kernel.exception.SystemException;
3172    
3173            /**
3174            * Returns a range of all the journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
3175            *
3176            * <p>
3177            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3178            * </p>
3179            *
3180            * @param groupId the group ID
3181            * @param classNameId the class name ID
3182            * @param layoutUuid the layout uuid
3183            * @param start the lower bound of the range of journal articles
3184            * @param end the upper bound of the range of journal articles (not inclusive)
3185            * @return the range of matching journal articles
3186            * @throws SystemException if a system exception occurred
3187            */
3188            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L(
3189                    long groupId, long classNameId, java.lang.String layoutUuid, int start,
3190                    int end) throws com.liferay.portal.kernel.exception.SystemException;
3191    
3192            /**
3193            * Returns an ordered range of all the journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
3194            *
3195            * <p>
3196            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3197            * </p>
3198            *
3199            * @param groupId the group ID
3200            * @param classNameId the class name ID
3201            * @param layoutUuid the layout uuid
3202            * @param start the lower bound of the range of journal articles
3203            * @param end the upper bound of the range of journal articles (not inclusive)
3204            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3205            * @return the ordered range of matching journal articles
3206            * @throws SystemException if a system exception occurred
3207            */
3208            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L(
3209                    long groupId, long classNameId, java.lang.String layoutUuid, int start,
3210                    int end,
3211                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3212                    throws com.liferay.portal.kernel.exception.SystemException;
3213    
3214            /**
3215            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
3216            *
3217            * @param groupId the group ID
3218            * @param classNameId the class name ID
3219            * @param layoutUuid the layout uuid
3220            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3221            * @return the first matching journal article
3222            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3223            * @throws SystemException if a system exception occurred
3224            */
3225            public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_First(
3226                    long groupId, long classNameId, java.lang.String layoutUuid,
3227                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3228                    throws com.liferay.portal.kernel.exception.SystemException,
3229                            com.liferay.portlet.journal.NoSuchArticleException;
3230    
3231            /**
3232            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
3233            *
3234            * @param groupId the group ID
3235            * @param classNameId the class name ID
3236            * @param layoutUuid the layout uuid
3237            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3238            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
3239            * @throws SystemException if a system exception occurred
3240            */
3241            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_L_First(
3242                    long groupId, long classNameId, java.lang.String layoutUuid,
3243                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3244                    throws com.liferay.portal.kernel.exception.SystemException;
3245    
3246            /**
3247            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
3248            *
3249            * @param groupId the group ID
3250            * @param classNameId the class name ID
3251            * @param layoutUuid the layout uuid
3252            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3253            * @return the last matching journal article
3254            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3255            * @throws SystemException if a system exception occurred
3256            */
3257            public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_Last(
3258                    long groupId, long classNameId, java.lang.String layoutUuid,
3259                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3260                    throws com.liferay.portal.kernel.exception.SystemException,
3261                            com.liferay.portlet.journal.NoSuchArticleException;
3262    
3263            /**
3264            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
3265            *
3266            * @param groupId the group ID
3267            * @param classNameId the class name ID
3268            * @param layoutUuid the layout uuid
3269            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3270            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
3271            * @throws SystemException if a system exception occurred
3272            */
3273            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_L_Last(
3274                    long groupId, long classNameId, java.lang.String layoutUuid,
3275                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3276                    throws com.liferay.portal.kernel.exception.SystemException;
3277    
3278            /**
3279            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
3280            *
3281            * @param id the primary key of the current journal article
3282            * @param groupId the group ID
3283            * @param classNameId the class name ID
3284            * @param layoutUuid the layout uuid
3285            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3286            * @return the previous, current, and next journal article
3287            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3288            * @throws SystemException if a system exception occurred
3289            */
3290            public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_L_PrevAndNext(
3291                    long id, long groupId, long classNameId, java.lang.String layoutUuid,
3292                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3293                    throws com.liferay.portal.kernel.exception.SystemException,
3294                            com.liferay.portlet.journal.NoSuchArticleException;
3295    
3296            /**
3297            * Returns all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
3298            *
3299            * @param groupId the group ID
3300            * @param classNameId the class name ID
3301            * @param layoutUuid the layout uuid
3302            * @return the matching journal articles that the user has permission to view
3303            * @throws SystemException if a system exception occurred
3304            */
3305            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L(
3306                    long groupId, long classNameId, java.lang.String layoutUuid)
3307                    throws com.liferay.portal.kernel.exception.SystemException;
3308    
3309            /**
3310            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
3311            *
3312            * <p>
3313            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3314            * </p>
3315            *
3316            * @param groupId the group ID
3317            * @param classNameId the class name ID
3318            * @param layoutUuid the layout uuid
3319            * @param start the lower bound of the range of journal articles
3320            * @param end the upper bound of the range of journal articles (not inclusive)
3321            * @return the range of matching journal articles that the user has permission to view
3322            * @throws SystemException if a system exception occurred
3323            */
3324            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L(
3325                    long groupId, long classNameId, java.lang.String layoutUuid, int start,
3326                    int end) throws com.liferay.portal.kernel.exception.SystemException;
3327    
3328            /**
3329            * 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;.
3330            *
3331            * <p>
3332            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3333            * </p>
3334            *
3335            * @param groupId the group ID
3336            * @param classNameId the class name ID
3337            * @param layoutUuid the layout uuid
3338            * @param start the lower bound of the range of journal articles
3339            * @param end the upper bound of the range of journal articles (not inclusive)
3340            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3341            * @return the ordered range of matching journal articles that the user has permission to view
3342            * @throws SystemException if a system exception occurred
3343            */
3344            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L(
3345                    long groupId, long classNameId, java.lang.String layoutUuid, int start,
3346                    int end,
3347                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3348                    throws com.liferay.portal.kernel.exception.SystemException;
3349    
3350            /**
3351            * 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;.
3352            *
3353            * @param id the primary key of the current journal article
3354            * @param groupId the group ID
3355            * @param classNameId the class name ID
3356            * @param layoutUuid the layout uuid
3357            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3358            * @return the previous, current, and next journal article
3359            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3360            * @throws SystemException if a system exception occurred
3361            */
3362            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_L_PrevAndNext(
3363                    long id, long groupId, long classNameId, java.lang.String layoutUuid,
3364                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3365                    throws com.liferay.portal.kernel.exception.SystemException,
3366                            com.liferay.portlet.journal.NoSuchArticleException;
3367    
3368            /**
3369            * 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.
3370            *
3371            * @param groupId the group ID
3372            * @param articleId the article ID
3373            * @param version the version
3374            * @return the matching journal article
3375            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3376            * @throws SystemException if a system exception occurred
3377            */
3378            public com.liferay.portlet.journal.model.JournalArticle findByG_A_V(
3379                    long groupId, java.lang.String articleId, double version)
3380                    throws com.liferay.portal.kernel.exception.SystemException,
3381                            com.liferay.portlet.journal.NoSuchArticleException;
3382    
3383            /**
3384            * 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.
3385            *
3386            * @param groupId the group ID
3387            * @param articleId the article ID
3388            * @param version the version
3389            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
3390            * @throws SystemException if a system exception occurred
3391            */
3392            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V(
3393                    long groupId, java.lang.String articleId, double version)
3394                    throws com.liferay.portal.kernel.exception.SystemException;
3395    
3396            /**
3397            * 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.
3398            *
3399            * @param groupId the group ID
3400            * @param articleId the article ID
3401            * @param version the version
3402            * @param retrieveFromCache whether to use the finder cache
3403            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
3404            * @throws SystemException if a system exception occurred
3405            */
3406            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V(
3407                    long groupId, java.lang.String articleId, double version,
3408                    boolean retrieveFromCache)
3409                    throws com.liferay.portal.kernel.exception.SystemException;
3410    
3411            /**
3412            * Returns all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
3413            *
3414            * @param groupId the group ID
3415            * @param articleId the article ID
3416            * @param status the status
3417            * @return the matching journal articles
3418            * @throws SystemException if a system exception occurred
3419            */
3420            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
3421                    long groupId, java.lang.String articleId, int status)
3422                    throws com.liferay.portal.kernel.exception.SystemException;
3423    
3424            /**
3425            * Returns a range of all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
3426            *
3427            * <p>
3428            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3429            * </p>
3430            *
3431            * @param groupId the group ID
3432            * @param articleId the article ID
3433            * @param status the status
3434            * @param start the lower bound of the range of journal articles
3435            * @param end the upper bound of the range of journal articles (not inclusive)
3436            * @return the range of matching journal articles
3437            * @throws SystemException if a system exception occurred
3438            */
3439            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
3440                    long groupId, java.lang.String articleId, int status, int start, int end)
3441                    throws com.liferay.portal.kernel.exception.SystemException;
3442    
3443            /**
3444            * Returns an ordered range of all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
3445            *
3446            * <p>
3447            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3448            * </p>
3449            *
3450            * @param groupId the group ID
3451            * @param articleId the article ID
3452            * @param status the status
3453            * @param start the lower bound of the range of journal articles
3454            * @param end the upper bound of the range of journal articles (not inclusive)
3455            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3456            * @return the ordered range of matching journal articles
3457            * @throws SystemException if a system exception occurred
3458            */
3459            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
3460                    long groupId, java.lang.String articleId, int status, int start,
3461                    int end,
3462                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3463                    throws com.liferay.portal.kernel.exception.SystemException;
3464    
3465            /**
3466            * Returns the first journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
3467            *
3468            * @param groupId the group ID
3469            * @param articleId the article ID
3470            * @param status the status
3471            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3472            * @return the first matching journal article
3473            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3474            * @throws SystemException if a system exception occurred
3475            */
3476            public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_First(
3477                    long groupId, java.lang.String articleId, int status,
3478                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3479                    throws com.liferay.portal.kernel.exception.SystemException,
3480                            com.liferay.portlet.journal.NoSuchArticleException;
3481    
3482            /**
3483            * Returns the first journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
3484            *
3485            * @param groupId the group ID
3486            * @param articleId the article ID
3487            * @param status the status
3488            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3489            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
3490            * @throws SystemException if a system exception occurred
3491            */
3492            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_ST_First(
3493                    long groupId, java.lang.String articleId, int status,
3494                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3495                    throws com.liferay.portal.kernel.exception.SystemException;
3496    
3497            /**
3498            * Returns the last journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
3499            *
3500            * @param groupId the group ID
3501            * @param articleId the article ID
3502            * @param status the status
3503            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3504            * @return the last matching journal article
3505            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3506            * @throws SystemException if a system exception occurred
3507            */
3508            public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_Last(
3509                    long groupId, java.lang.String articleId, int status,
3510                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3511                    throws com.liferay.portal.kernel.exception.SystemException,
3512                            com.liferay.portlet.journal.NoSuchArticleException;
3513    
3514            /**
3515            * Returns the last journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
3516            *
3517            * @param groupId the group ID
3518            * @param articleId the article ID
3519            * @param status the status
3520            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3521            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
3522            * @throws SystemException if a system exception occurred
3523            */
3524            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_ST_Last(
3525                    long groupId, java.lang.String articleId, int status,
3526                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3527                    throws com.liferay.portal.kernel.exception.SystemException;
3528    
3529            /**
3530            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
3531            *
3532            * @param id the primary key of the current journal article
3533            * @param groupId the group ID
3534            * @param articleId the article ID
3535            * @param status the status
3536            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3537            * @return the previous, current, and next journal article
3538            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3539            * @throws SystemException if a system exception occurred
3540            */
3541            public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_ST_PrevAndNext(
3542                    long id, long groupId, java.lang.String articleId, int status,
3543                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3544                    throws com.liferay.portal.kernel.exception.SystemException,
3545                            com.liferay.portlet.journal.NoSuchArticleException;
3546    
3547            /**
3548            * Returns all the journal articles where groupId = &#63; and articleId = &#63; and status = any &#63;.
3549            *
3550            * <p>
3551            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3552            * </p>
3553            *
3554            * @param groupId the group ID
3555            * @param articleId the article ID
3556            * @param statuses the statuses
3557            * @return the matching journal articles
3558            * @throws SystemException if a system exception occurred
3559            */
3560            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
3561                    long groupId, java.lang.String articleId, int[] statuses)
3562                    throws com.liferay.portal.kernel.exception.SystemException;
3563    
3564            /**
3565            * Returns a range of all the journal articles where groupId = &#63; and articleId = &#63; and status = any &#63;.
3566            *
3567            * <p>
3568            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3569            * </p>
3570            *
3571            * @param groupId the group ID
3572            * @param articleId the article ID
3573            * @param statuses the statuses
3574            * @param start the lower bound of the range of journal articles
3575            * @param end the upper bound of the range of journal articles (not inclusive)
3576            * @return the range of matching journal articles
3577            * @throws SystemException if a system exception occurred
3578            */
3579            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
3580                    long groupId, java.lang.String articleId, int[] statuses, int start,
3581                    int end) throws com.liferay.portal.kernel.exception.SystemException;
3582    
3583            /**
3584            * Returns an ordered range of all the journal articles where groupId = &#63; and articleId = &#63; and status = any &#63;.
3585            *
3586            * <p>
3587            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3588            * </p>
3589            *
3590            * @param groupId the group ID
3591            * @param articleId the article ID
3592            * @param statuses the statuses
3593            * @param start the lower bound of the range of journal articles
3594            * @param end the upper bound of the range of journal articles (not inclusive)
3595            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3596            * @return the ordered range of matching journal articles
3597            * @throws SystemException if a system exception occurred
3598            */
3599            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
3600                    long groupId, java.lang.String articleId, int[] statuses, int start,
3601                    int end,
3602                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3603                    throws com.liferay.portal.kernel.exception.SystemException;
3604    
3605            /**
3606            * Returns all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = &#63;.
3607            *
3608            * @param groupId the group ID
3609            * @param articleId the article ID
3610            * @param status the status
3611            * @return the matching journal articles that the user has permission to view
3612            * @throws SystemException if a system exception occurred
3613            */
3614            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
3615                    long groupId, java.lang.String articleId, int status)
3616                    throws com.liferay.portal.kernel.exception.SystemException;
3617    
3618            /**
3619            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = &#63;.
3620            *
3621            * <p>
3622            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3623            * </p>
3624            *
3625            * @param groupId the group ID
3626            * @param articleId the article ID
3627            * @param status the status
3628            * @param start the lower bound of the range of journal articles
3629            * @param end the upper bound of the range of journal articles (not inclusive)
3630            * @return the range of matching journal articles that the user has permission to view
3631            * @throws SystemException if a system exception occurred
3632            */
3633            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
3634                    long groupId, java.lang.String articleId, int status, int start, int end)
3635                    throws com.liferay.portal.kernel.exception.SystemException;
3636    
3637            /**
3638            * 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;.
3639            *
3640            * <p>
3641            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3642            * </p>
3643            *
3644            * @param groupId the group ID
3645            * @param articleId the article ID
3646            * @param status the status
3647            * @param start the lower bound of the range of journal articles
3648            * @param end the upper bound of the range of journal articles (not inclusive)
3649            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3650            * @return the ordered range of matching journal articles that the user has permission to view
3651            * @throws SystemException if a system exception occurred
3652            */
3653            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
3654                    long groupId, java.lang.String articleId, int status, int start,
3655                    int end,
3656                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3657                    throws com.liferay.portal.kernel.exception.SystemException;
3658    
3659            /**
3660            * 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;.
3661            *
3662            * @param id the primary key of the current journal article
3663            * @param groupId the group ID
3664            * @param articleId the article ID
3665            * @param status the status
3666            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3667            * @return the previous, current, and next journal article
3668            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3669            * @throws SystemException if a system exception occurred
3670            */
3671            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_ST_PrevAndNext(
3672                    long id, long groupId, java.lang.String articleId, int status,
3673                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3674                    throws com.liferay.portal.kernel.exception.SystemException,
3675                            com.liferay.portlet.journal.NoSuchArticleException;
3676    
3677            /**
3678            * Returns all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = any &#63;.
3679            *
3680            * @param groupId the group ID
3681            * @param articleId the article ID
3682            * @param statuses the statuses
3683            * @return the matching journal articles that the user has permission to view
3684            * @throws SystemException if a system exception occurred
3685            */
3686            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
3687                    long groupId, java.lang.String articleId, int[] statuses)
3688                    throws com.liferay.portal.kernel.exception.SystemException;
3689    
3690            /**
3691            * 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;.
3692            *
3693            * <p>
3694            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3695            * </p>
3696            *
3697            * @param groupId the group ID
3698            * @param articleId the article ID
3699            * @param statuses the statuses
3700            * @param start the lower bound of the range of journal articles
3701            * @param end the upper bound of the range of journal articles (not inclusive)
3702            * @return the range of matching journal articles that the user has permission to view
3703            * @throws SystemException if a system exception occurred
3704            */
3705            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
3706                    long groupId, java.lang.String articleId, int[] statuses, int start,
3707                    int end) throws com.liferay.portal.kernel.exception.SystemException;
3708    
3709            /**
3710            * 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;.
3711            *
3712            * <p>
3713            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3714            * </p>
3715            *
3716            * @param groupId the group ID
3717            * @param articleId the article ID
3718            * @param statuses the statuses
3719            * @param start the lower bound of the range of journal articles
3720            * @param end the upper bound of the range of journal articles (not inclusive)
3721            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3722            * @return the ordered range of matching journal articles that the user has permission to view
3723            * @throws SystemException if a system exception occurred
3724            */
3725            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
3726                    long groupId, java.lang.String articleId, int[] statuses, int start,
3727                    int end,
3728                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3729                    throws com.liferay.portal.kernel.exception.SystemException;
3730    
3731            /**
3732            * Returns all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
3733            *
3734            * @param groupId the group ID
3735            * @param urlTitle the url title
3736            * @param status the status
3737            * @return the matching journal articles
3738            * @throws SystemException if a system exception occurred
3739            */
3740            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST(
3741                    long groupId, java.lang.String urlTitle, int status)
3742                    throws com.liferay.portal.kernel.exception.SystemException;
3743    
3744            /**
3745            * Returns a range of all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
3746            *
3747            * <p>
3748            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3749            * </p>
3750            *
3751            * @param groupId the group ID
3752            * @param urlTitle the url title
3753            * @param status the status
3754            * @param start the lower bound of the range of journal articles
3755            * @param end the upper bound of the range of journal articles (not inclusive)
3756            * @return the range of matching journal articles
3757            * @throws SystemException if a system exception occurred
3758            */
3759            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST(
3760                    long groupId, java.lang.String urlTitle, int status, int start, int end)
3761                    throws com.liferay.portal.kernel.exception.SystemException;
3762    
3763            /**
3764            * Returns an ordered range of all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
3765            *
3766            * <p>
3767            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3768            * </p>
3769            *
3770            * @param groupId the group ID
3771            * @param urlTitle the url title
3772            * @param status the status
3773            * @param start the lower bound of the range of journal articles
3774            * @param end the upper bound of the range of journal articles (not inclusive)
3775            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3776            * @return the ordered range of matching journal articles
3777            * @throws SystemException if a system exception occurred
3778            */
3779            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST(
3780                    long groupId, java.lang.String urlTitle, int status, int start,
3781                    int end,
3782                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3783                    throws com.liferay.portal.kernel.exception.SystemException;
3784    
3785            /**
3786            * Returns the first journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
3787            *
3788            * @param groupId the group ID
3789            * @param urlTitle the url title
3790            * @param status the status
3791            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3792            * @return the first matching journal article
3793            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3794            * @throws SystemException if a system exception occurred
3795            */
3796            public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_First(
3797                    long groupId, java.lang.String urlTitle, int status,
3798                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3799                    throws com.liferay.portal.kernel.exception.SystemException,
3800                            com.liferay.portlet.journal.NoSuchArticleException;
3801    
3802            /**
3803            * Returns the first journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
3804            *
3805            * @param groupId the group ID
3806            * @param urlTitle the url title
3807            * @param status the status
3808            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3809            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
3810            * @throws SystemException if a system exception occurred
3811            */
3812            public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_ST_First(
3813                    long groupId, java.lang.String urlTitle, int status,
3814                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3815                    throws com.liferay.portal.kernel.exception.SystemException;
3816    
3817            /**
3818            * Returns the last journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
3819            *
3820            * @param groupId the group ID
3821            * @param urlTitle the url title
3822            * @param status the status
3823            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3824            * @return the last matching journal article
3825            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3826            * @throws SystemException if a system exception occurred
3827            */
3828            public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_Last(
3829                    long groupId, java.lang.String urlTitle, int status,
3830                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3831                    throws com.liferay.portal.kernel.exception.SystemException,
3832                            com.liferay.portlet.journal.NoSuchArticleException;
3833    
3834            /**
3835            * Returns the last journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
3836            *
3837            * @param groupId the group ID
3838            * @param urlTitle the url title
3839            * @param status the status
3840            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3841            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
3842            * @throws SystemException if a system exception occurred
3843            */
3844            public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_ST_Last(
3845                    long groupId, java.lang.String urlTitle, int status,
3846                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3847                    throws com.liferay.portal.kernel.exception.SystemException;
3848    
3849            /**
3850            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
3851            *
3852            * @param id the primary key of the current journal article
3853            * @param groupId the group ID
3854            * @param urlTitle the url title
3855            * @param status the status
3856            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3857            * @return the previous, current, and next journal article
3858            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3859            * @throws SystemException if a system exception occurred
3860            */
3861            public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_ST_PrevAndNext(
3862                    long id, long groupId, java.lang.String urlTitle, int status,
3863                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3864                    throws com.liferay.portal.kernel.exception.SystemException,
3865                            com.liferay.portlet.journal.NoSuchArticleException;
3866    
3867            /**
3868            * Returns all the journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63; and status = &#63;.
3869            *
3870            * @param groupId the group ID
3871            * @param urlTitle the url title
3872            * @param status the status
3873            * @return the matching journal articles that the user has permission to view
3874            * @throws SystemException if a system exception occurred
3875            */
3876            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST(
3877                    long groupId, java.lang.String urlTitle, int status)
3878                    throws com.liferay.portal.kernel.exception.SystemException;
3879    
3880            /**
3881            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63; and status = &#63;.
3882            *
3883            * <p>
3884            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3885            * </p>
3886            *
3887            * @param groupId the group ID
3888            * @param urlTitle the url title
3889            * @param status the status
3890            * @param start the lower bound of the range of journal articles
3891            * @param end the upper bound of the range of journal articles (not inclusive)
3892            * @return the range of matching journal articles that the user has permission to view
3893            * @throws SystemException if a system exception occurred
3894            */
3895            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST(
3896                    long groupId, java.lang.String urlTitle, int status, int start, int end)
3897                    throws com.liferay.portal.kernel.exception.SystemException;
3898    
3899            /**
3900            * 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;.
3901            *
3902            * <p>
3903            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3904            * </p>
3905            *
3906            * @param groupId the group ID
3907            * @param urlTitle the url title
3908            * @param status the status
3909            * @param start the lower bound of the range of journal articles
3910            * @param end the upper bound of the range of journal articles (not inclusive)
3911            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3912            * @return the ordered range of matching journal articles that the user has permission to view
3913            * @throws SystemException if a system exception occurred
3914            */
3915            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST(
3916                    long groupId, java.lang.String urlTitle, int status, int start,
3917                    int end,
3918                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3919                    throws com.liferay.portal.kernel.exception.SystemException;
3920    
3921            /**
3922            * 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;.
3923            *
3924            * @param id the primary key of the current journal article
3925            * @param groupId the group ID
3926            * @param urlTitle the url title
3927            * @param status the status
3928            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3929            * @return the previous, current, and next journal article
3930            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3931            * @throws SystemException if a system exception occurred
3932            */
3933            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_ST_PrevAndNext(
3934                    long id, long groupId, java.lang.String urlTitle, int status,
3935                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3936                    throws com.liferay.portal.kernel.exception.SystemException,
3937                            com.liferay.portlet.journal.NoSuchArticleException;
3938    
3939            /**
3940            * Returns all the journal articles where companyId = &#63; and version = &#63; and status = &#63;.
3941            *
3942            * @param companyId the company ID
3943            * @param version the version
3944            * @param status the status
3945            * @return the matching journal articles
3946            * @throws SystemException if a system exception occurred
3947            */
3948            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST(
3949                    long companyId, double version, int status)
3950                    throws com.liferay.portal.kernel.exception.SystemException;
3951    
3952            /**
3953            * Returns a range of all the journal articles where companyId = &#63; and version = &#63; and status = &#63;.
3954            *
3955            * <p>
3956            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3957            * </p>
3958            *
3959            * @param companyId the company ID
3960            * @param version the version
3961            * @param status the status
3962            * @param start the lower bound of the range of journal articles
3963            * @param end the upper bound of the range of journal articles (not inclusive)
3964            * @return the range of matching journal articles
3965            * @throws SystemException if a system exception occurred
3966            */
3967            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST(
3968                    long companyId, double version, int status, int start, int end)
3969                    throws com.liferay.portal.kernel.exception.SystemException;
3970    
3971            /**
3972            * Returns an ordered range of all the journal articles where companyId = &#63; and version = &#63; and status = &#63;.
3973            *
3974            * <p>
3975            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3976            * </p>
3977            *
3978            * @param companyId the company ID
3979            * @param version the version
3980            * @param status the status
3981            * @param start the lower bound of the range of journal articles
3982            * @param end the upper bound of the range of journal articles (not inclusive)
3983            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3984            * @return the ordered range of matching journal articles
3985            * @throws SystemException if a system exception occurred
3986            */
3987            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST(
3988                    long companyId, double version, int status, int start, int end,
3989                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3990                    throws com.liferay.portal.kernel.exception.SystemException;
3991    
3992            /**
3993            * Returns the first journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
3994            *
3995            * @param companyId the company ID
3996            * @param version the version
3997            * @param status the status
3998            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3999            * @return the first matching journal article
4000            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4001            * @throws SystemException if a system exception occurred
4002            */
4003            public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_First(
4004                    long companyId, double version, int status,
4005                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4006                    throws com.liferay.portal.kernel.exception.SystemException,
4007                            com.liferay.portlet.journal.NoSuchArticleException;
4008    
4009            /**
4010            * Returns the first journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
4011            *
4012            * @param companyId the company ID
4013            * @param version the version
4014            * @param status the status
4015            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4016            * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found
4017            * @throws SystemException if a system exception occurred
4018            */
4019            public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_ST_First(
4020                    long companyId, double version, int status,
4021                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4022                    throws com.liferay.portal.kernel.exception.SystemException;
4023    
4024            /**
4025            * Returns the last journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
4026            *
4027            * @param companyId the company ID
4028            * @param version the version
4029            * @param status the status
4030            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4031            * @return the last matching journal article
4032            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
4033            * @throws SystemException if a system exception occurred
4034            */
4035            public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_Last(
4036                    long companyId, double version, int status,
4037                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4038                    throws com.liferay.portal.kernel.exception.SystemException,
4039                            com.liferay.portlet.journal.NoSuchArticleException;
4040    
4041            /**
4042            * Returns the last journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
4043            *
4044            * @param companyId the company ID
4045            * @param version the version
4046            * @param status the status
4047            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4048            * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found
4049            * @throws SystemException if a system exception occurred
4050            */
4051            public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_ST_Last(
4052                    long companyId, double version, int status,
4053                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4054                    throws com.liferay.portal.kernel.exception.SystemException;
4055    
4056            /**
4057            * Returns the journal articles before and after the current journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
4058            *
4059            * @param id the primary key of the current journal article
4060            * @param companyId the company ID
4061            * @param version the version
4062            * @param status the status
4063            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4064            * @return the previous, current, and next journal article
4065            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
4066            * @throws SystemException if a system exception occurred
4067            */
4068            public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_ST_PrevAndNext(
4069                    long id, long companyId, double version, int status,
4070                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4071                    throws com.liferay.portal.kernel.exception.SystemException,
4072                            com.liferay.portlet.journal.NoSuchArticleException;
4073    
4074            /**
4075            * Returns all the journal articles.
4076            *
4077            * @return the journal articles
4078            * @throws SystemException if a system exception occurred
4079            */
4080            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll()
4081                    throws com.liferay.portal.kernel.exception.SystemException;
4082    
4083            /**
4084            * Returns a range of all the journal articles.
4085            *
4086            * <p>
4087            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
4088            * </p>
4089            *
4090            * @param start the lower bound of the range of journal articles
4091            * @param end the upper bound of the range of journal articles (not inclusive)
4092            * @return the range of journal articles
4093            * @throws SystemException if a system exception occurred
4094            */
4095            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll(
4096                    int start, int end)
4097                    throws com.liferay.portal.kernel.exception.SystemException;
4098    
4099            /**
4100            * Returns an ordered range of all the journal articles.
4101            *
4102            * <p>
4103            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
4104            * </p>
4105            *
4106            * @param start the lower bound of the range of journal articles
4107            * @param end the upper bound of the range of journal articles (not inclusive)
4108            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4109            * @return the ordered range of journal articles
4110            * @throws SystemException if a system exception occurred
4111            */
4112            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll(
4113                    int start, int end,
4114                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4115                    throws com.liferay.portal.kernel.exception.SystemException;
4116    
4117            /**
4118            * Removes all the journal articles where uuid = &#63; from the database.
4119            *
4120            * @param uuid the uuid
4121            * @throws SystemException if a system exception occurred
4122            */
4123            public void removeByUuid(java.lang.String uuid)
4124                    throws com.liferay.portal.kernel.exception.SystemException;
4125    
4126            /**
4127            * Removes the journal article where uuid = &#63; and groupId = &#63; from the database.
4128            *
4129            * @param uuid the uuid
4130            * @param groupId the group ID
4131            * @return the journal article that was removed
4132            * @throws SystemException if a system exception occurred
4133            */
4134            public com.liferay.portlet.journal.model.JournalArticle removeByUUID_G(
4135                    java.lang.String uuid, long groupId)
4136                    throws com.liferay.portal.kernel.exception.SystemException,
4137                            com.liferay.portlet.journal.NoSuchArticleException;
4138    
4139            /**
4140            * Removes all the journal articles where resourcePrimKey = &#63; from the database.
4141            *
4142            * @param resourcePrimKey the resource prim key
4143            * @throws SystemException if a system exception occurred
4144            */
4145            public void removeByResourcePrimKey(long resourcePrimKey)
4146                    throws com.liferay.portal.kernel.exception.SystemException;
4147    
4148            /**
4149            * Removes all the journal articles where groupId = &#63; from the database.
4150            *
4151            * @param groupId the group ID
4152            * @throws SystemException if a system exception occurred
4153            */
4154            public void removeByGroupId(long groupId)
4155                    throws com.liferay.portal.kernel.exception.SystemException;
4156    
4157            /**
4158            * Removes all the journal articles where companyId = &#63; from the database.
4159            *
4160            * @param companyId the company ID
4161            * @throws SystemException if a system exception occurred
4162            */
4163            public void removeByCompanyId(long companyId)
4164                    throws com.liferay.portal.kernel.exception.SystemException;
4165    
4166            /**
4167            * Removes all the journal articles where structureId = &#63; from the database.
4168            *
4169            * @param structureId the structure ID
4170            * @throws SystemException if a system exception occurred
4171            */
4172            public void removeByStructureId(java.lang.String structureId)
4173                    throws com.liferay.portal.kernel.exception.SystemException;
4174    
4175            /**
4176            * Removes all the journal articles where templateId = &#63; from the database.
4177            *
4178            * @param templateId the template ID
4179            * @throws SystemException if a system exception occurred
4180            */
4181            public void removeByTemplateId(java.lang.String templateId)
4182                    throws com.liferay.portal.kernel.exception.SystemException;
4183    
4184            /**
4185            * Removes all the journal articles where layoutUuid = &#63; from the database.
4186            *
4187            * @param layoutUuid the layout uuid
4188            * @throws SystemException if a system exception occurred
4189            */
4190            public void removeByLayoutUuid(java.lang.String layoutUuid)
4191                    throws com.liferay.portal.kernel.exception.SystemException;
4192    
4193            /**
4194            * Removes all the journal articles where smallImageId = &#63; from the database.
4195            *
4196            * @param smallImageId the small image ID
4197            * @throws SystemException if a system exception occurred
4198            */
4199            public void removeBySmallImageId(long smallImageId)
4200                    throws com.liferay.portal.kernel.exception.SystemException;
4201    
4202            /**
4203            * Removes all the journal articles where resourcePrimKey = &#63; and status = &#63; from the database.
4204            *
4205            * @param resourcePrimKey the resource prim key
4206            * @param status the status
4207            * @throws SystemException if a system exception occurred
4208            */
4209            public void removeByR_ST(long resourcePrimKey, int status)
4210                    throws com.liferay.portal.kernel.exception.SystemException;
4211    
4212            /**
4213            * Removes all the journal articles where groupId = &#63; and articleId = &#63; from the database.
4214            *
4215            * @param groupId the group ID
4216            * @param articleId the article ID
4217            * @throws SystemException if a system exception occurred
4218            */
4219            public void removeByG_A(long groupId, java.lang.String articleId)
4220                    throws com.liferay.portal.kernel.exception.SystemException;
4221    
4222            /**
4223            * Removes all the journal articles where groupId = &#63; and urlTitle = &#63; from the database.
4224            *
4225            * @param groupId the group ID
4226            * @param urlTitle the url title
4227            * @throws SystemException if a system exception occurred
4228            */
4229            public void removeByG_UT(long groupId, java.lang.String urlTitle)
4230                    throws com.liferay.portal.kernel.exception.SystemException;
4231    
4232            /**
4233            * Removes all the journal articles where groupId = &#63; and structureId = &#63; from the database.
4234            *
4235            * @param groupId the group ID
4236            * @param structureId the structure ID
4237            * @throws SystemException if a system exception occurred
4238            */
4239            public void removeByG_S(long groupId, java.lang.String structureId)
4240                    throws com.liferay.portal.kernel.exception.SystemException;
4241    
4242            /**
4243            * Removes all the journal articles where groupId = &#63; and templateId = &#63; from the database.
4244            *
4245            * @param groupId the group ID
4246            * @param templateId the template ID
4247            * @throws SystemException if a system exception occurred
4248            */
4249            public void removeByG_T(long groupId, java.lang.String templateId)
4250                    throws com.liferay.portal.kernel.exception.SystemException;
4251    
4252            /**
4253            * Removes all the journal articles where groupId = &#63; and layoutUuid = &#63; from the database.
4254            *
4255            * @param groupId the group ID
4256            * @param layoutUuid the layout uuid
4257            * @throws SystemException if a system exception occurred
4258            */
4259            public void removeByG_L(long groupId, java.lang.String layoutUuid)
4260                    throws com.liferay.portal.kernel.exception.SystemException;
4261    
4262            /**
4263            * Removes all the journal articles where groupId = &#63; and status = &#63; from the database.
4264            *
4265            * @param groupId the group ID
4266            * @param status the status
4267            * @throws SystemException if a system exception occurred
4268            */
4269            public void removeByG_ST(long groupId, int status)
4270                    throws com.liferay.portal.kernel.exception.SystemException;
4271    
4272            /**
4273            * Removes all the journal articles where companyId = &#63; and version = &#63; from the database.
4274            *
4275            * @param companyId the company ID
4276            * @param version the version
4277            * @throws SystemException if a system exception occurred
4278            */
4279            public void removeByC_V(long companyId, double version)
4280                    throws com.liferay.portal.kernel.exception.SystemException;
4281    
4282            /**
4283            * Removes all the journal articles where companyId = &#63; and status = &#63; from the database.
4284            *
4285            * @param companyId the company ID
4286            * @param status the status
4287            * @throws SystemException if a system exception occurred
4288            */
4289            public void removeByC_ST(long companyId, int status)
4290                    throws com.liferay.portal.kernel.exception.SystemException;
4291    
4292            /**
4293            * Removes all the journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63; from the database.
4294            *
4295            * @param groupId the group ID
4296            * @param classNameId the class name ID
4297            * @param classPK the class p k
4298            * @throws SystemException if a system exception occurred
4299            */
4300            public void removeByG_C_C(long groupId, long classNameId, long classPK)
4301                    throws com.liferay.portal.kernel.exception.SystemException;
4302    
4303            /**
4304            * Removes the journal article where groupId = &#63; and classNameId = &#63; and structureId = &#63; from the database.
4305            *
4306            * @param groupId the group ID
4307            * @param classNameId the class name ID
4308            * @param structureId the structure ID
4309            * @return the journal article that was removed
4310            * @throws SystemException if a system exception occurred
4311            */
4312            public com.liferay.portlet.journal.model.JournalArticle removeByG_C_S(
4313                    long groupId, long classNameId, java.lang.String structureId)
4314                    throws com.liferay.portal.kernel.exception.SystemException,
4315                            com.liferay.portlet.journal.NoSuchArticleException;
4316    
4317            /**
4318            * Removes all the journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63; from the database.
4319            *
4320            * @param groupId the group ID
4321            * @param classNameId the class name ID
4322            * @param templateId the template ID
4323            * @throws SystemException if a system exception occurred
4324            */
4325            public void removeByG_C_T(long groupId, long classNameId,
4326                    java.lang.String templateId)
4327                    throws com.liferay.portal.kernel.exception.SystemException;
4328    
4329            /**
4330            * Removes all the journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63; from the database.
4331            *
4332            * @param groupId the group ID
4333            * @param classNameId the class name ID
4334            * @param layoutUuid the layout uuid
4335            * @throws SystemException if a system exception occurred
4336            */
4337            public void removeByG_C_L(long groupId, long classNameId,
4338                    java.lang.String layoutUuid)
4339                    throws com.liferay.portal.kernel.exception.SystemException;
4340    
4341            /**
4342            * Removes the journal article where groupId = &#63; and articleId = &#63; and version = &#63; from the database.
4343            *
4344            * @param groupId the group ID
4345            * @param articleId the article ID
4346            * @param version the version
4347            * @return the journal article that was removed
4348            * @throws SystemException if a system exception occurred
4349            */
4350            public com.liferay.portlet.journal.model.JournalArticle removeByG_A_V(
4351                    long groupId, java.lang.String articleId, double version)
4352                    throws com.liferay.portal.kernel.exception.SystemException,
4353                            com.liferay.portlet.journal.NoSuchArticleException;
4354    
4355            /**
4356            * Removes all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63; from the database.
4357            *
4358            * @param groupId the group ID
4359            * @param articleId the article ID
4360            * @param status the status
4361            * @throws SystemException if a system exception occurred
4362            */
4363            public void removeByG_A_ST(long groupId, java.lang.String articleId,
4364                    int status) throws com.liferay.portal.kernel.exception.SystemException;
4365    
4366            /**
4367            * Removes all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63; from the database.
4368            *
4369            * @param groupId the group ID
4370            * @param urlTitle the url title
4371            * @param status the status
4372            * @throws SystemException if a system exception occurred
4373            */
4374            public void removeByG_UT_ST(long groupId, java.lang.String urlTitle,
4375                    int status) throws com.liferay.portal.kernel.exception.SystemException;
4376    
4377            /**
4378            * Removes all the journal articles where companyId = &#63; and version = &#63; and status = &#63; from the database.
4379            *
4380            * @param companyId the company ID
4381            * @param version the version
4382            * @param status the status
4383            * @throws SystemException if a system exception occurred
4384            */
4385            public void removeByC_V_ST(long companyId, double version, int status)
4386                    throws com.liferay.portal.kernel.exception.SystemException;
4387    
4388            /**
4389            * Removes all the journal articles from the database.
4390            *
4391            * @throws SystemException if a system exception occurred
4392            */
4393            public void removeAll()
4394                    throws com.liferay.portal.kernel.exception.SystemException;
4395    
4396            /**
4397            * Returns the number of journal articles where uuid = &#63;.
4398            *
4399            * @param uuid the uuid
4400            * @return the number of matching journal articles
4401            * @throws SystemException if a system exception occurred
4402            */
4403            public int countByUuid(java.lang.String uuid)
4404                    throws com.liferay.portal.kernel.exception.SystemException;
4405    
4406            /**
4407            * Returns the number of journal articles where uuid = &#63; and groupId = &#63;.
4408            *
4409            * @param uuid the uuid
4410            * @param groupId the group ID
4411            * @return the number of matching journal articles
4412            * @throws SystemException if a system exception occurred
4413            */
4414            public int countByUUID_G(java.lang.String uuid, long groupId)
4415                    throws com.liferay.portal.kernel.exception.SystemException;
4416    
4417            /**
4418            * Returns the number of journal articles where resourcePrimKey = &#63;.
4419            *
4420            * @param resourcePrimKey the resource prim key
4421            * @return the number of matching journal articles
4422            * @throws SystemException if a system exception occurred
4423            */
4424            public int countByResourcePrimKey(long resourcePrimKey)
4425                    throws com.liferay.portal.kernel.exception.SystemException;
4426    
4427            /**
4428            * Returns the number of journal articles where groupId = &#63;.
4429            *
4430            * @param groupId the group ID
4431            * @return the number of matching journal articles
4432            * @throws SystemException if a system exception occurred
4433            */
4434            public int countByGroupId(long groupId)
4435                    throws com.liferay.portal.kernel.exception.SystemException;
4436    
4437            /**
4438            * Returns the number of journal articles that the user has permission to view where groupId = &#63;.
4439            *
4440            * @param groupId the group ID
4441            * @return the number of matching journal articles that the user has permission to view
4442            * @throws SystemException if a system exception occurred
4443            */
4444            public int filterCountByGroupId(long groupId)
4445                    throws com.liferay.portal.kernel.exception.SystemException;
4446    
4447            /**
4448            * Returns the number of journal articles where companyId = &#63;.
4449            *
4450            * @param companyId the company ID
4451            * @return the number of matching journal articles
4452            * @throws SystemException if a system exception occurred
4453            */
4454            public int countByCompanyId(long companyId)
4455                    throws com.liferay.portal.kernel.exception.SystemException;
4456    
4457            /**
4458            * Returns the number of journal articles where structureId = &#63;.
4459            *
4460            * @param structureId the structure ID
4461            * @return the number of matching journal articles
4462            * @throws SystemException if a system exception occurred
4463            */
4464            public int countByStructureId(java.lang.String structureId)
4465                    throws com.liferay.portal.kernel.exception.SystemException;
4466    
4467            /**
4468            * Returns the number of journal articles where templateId = &#63;.
4469            *
4470            * @param templateId the template ID
4471            * @return the number of matching journal articles
4472            * @throws SystemException if a system exception occurred
4473            */
4474            public int countByTemplateId(java.lang.String templateId)
4475                    throws com.liferay.portal.kernel.exception.SystemException;
4476    
4477            /**
4478            * Returns the number of journal articles where layoutUuid = &#63;.
4479            *
4480            * @param layoutUuid the layout uuid
4481            * @return the number of matching journal articles
4482            * @throws SystemException if a system exception occurred
4483            */
4484            public int countByLayoutUuid(java.lang.String layoutUuid)
4485                    throws com.liferay.portal.kernel.exception.SystemException;
4486    
4487            /**
4488            * Returns the number of journal articles where smallImageId = &#63;.
4489            *
4490            * @param smallImageId the small image ID
4491            * @return the number of matching journal articles
4492            * @throws SystemException if a system exception occurred
4493            */
4494            public int countBySmallImageId(long smallImageId)
4495                    throws com.liferay.portal.kernel.exception.SystemException;
4496    
4497            /**
4498            * Returns the number of journal articles where resourcePrimKey = &#63; and status = &#63;.
4499            *
4500            * @param resourcePrimKey the resource prim key
4501            * @param status the status
4502            * @return the number of matching journal articles
4503            * @throws SystemException if a system exception occurred
4504            */
4505            public int countByR_ST(long resourcePrimKey, int status)
4506                    throws com.liferay.portal.kernel.exception.SystemException;
4507    
4508            /**
4509            * Returns the number of journal articles where groupId = &#63; and articleId = &#63;.
4510            *
4511            * @param groupId the group ID
4512            * @param articleId the article ID
4513            * @return the number of matching journal articles
4514            * @throws SystemException if a system exception occurred
4515            */
4516            public int countByG_A(long groupId, java.lang.String articleId)
4517                    throws com.liferay.portal.kernel.exception.SystemException;
4518    
4519            /**
4520            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and articleId = &#63;.
4521            *
4522            * @param groupId the group ID
4523            * @param articleId the article ID
4524            * @return the number of matching journal articles that the user has permission to view
4525            * @throws SystemException if a system exception occurred
4526            */
4527            public int filterCountByG_A(long groupId, java.lang.String articleId)
4528                    throws com.liferay.portal.kernel.exception.SystemException;
4529    
4530            /**
4531            * Returns the number of journal articles where groupId = &#63; and urlTitle = &#63;.
4532            *
4533            * @param groupId the group ID
4534            * @param urlTitle the url title
4535            * @return the number of matching journal articles
4536            * @throws SystemException if a system exception occurred
4537            */
4538            public int countByG_UT(long groupId, java.lang.String urlTitle)
4539                    throws com.liferay.portal.kernel.exception.SystemException;
4540    
4541            /**
4542            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63;.
4543            *
4544            * @param groupId the group ID
4545            * @param urlTitle the url title
4546            * @return the number of matching journal articles that the user has permission to view
4547            * @throws SystemException if a system exception occurred
4548            */
4549            public int filterCountByG_UT(long groupId, java.lang.String urlTitle)
4550                    throws com.liferay.portal.kernel.exception.SystemException;
4551    
4552            /**
4553            * Returns the number of journal articles where groupId = &#63; and structureId = &#63;.
4554            *
4555            * @param groupId the group ID
4556            * @param structureId the structure ID
4557            * @return the number of matching journal articles
4558            * @throws SystemException if a system exception occurred
4559            */
4560            public int countByG_S(long groupId, java.lang.String structureId)
4561                    throws com.liferay.portal.kernel.exception.SystemException;
4562    
4563            /**
4564            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and structureId = &#63;.
4565            *
4566            * @param groupId the group ID
4567            * @param structureId the structure ID
4568            * @return the number of matching journal articles that the user has permission to view
4569            * @throws SystemException if a system exception occurred
4570            */
4571            public int filterCountByG_S(long groupId, java.lang.String structureId)
4572                    throws com.liferay.portal.kernel.exception.SystemException;
4573    
4574            /**
4575            * Returns the number of journal articles where groupId = &#63; and templateId = &#63;.
4576            *
4577            * @param groupId the group ID
4578            * @param templateId the template ID
4579            * @return the number of matching journal articles
4580            * @throws SystemException if a system exception occurred
4581            */
4582            public int countByG_T(long groupId, java.lang.String templateId)
4583                    throws com.liferay.portal.kernel.exception.SystemException;
4584    
4585            /**
4586            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and templateId = &#63;.
4587            *
4588            * @param groupId the group ID
4589            * @param templateId the template ID
4590            * @return the number of matching journal articles that the user has permission to view
4591            * @throws SystemException if a system exception occurred
4592            */
4593            public int filterCountByG_T(long groupId, java.lang.String templateId)
4594                    throws com.liferay.portal.kernel.exception.SystemException;
4595    
4596            /**
4597            * Returns the number of journal articles where groupId = &#63; and layoutUuid = &#63;.
4598            *
4599            * @param groupId the group ID
4600            * @param layoutUuid the layout uuid
4601            * @return the number of matching journal articles
4602            * @throws SystemException if a system exception occurred
4603            */
4604            public int countByG_L(long groupId, java.lang.String layoutUuid)
4605                    throws com.liferay.portal.kernel.exception.SystemException;
4606    
4607            /**
4608            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and layoutUuid = &#63;.
4609            *
4610            * @param groupId the group ID
4611            * @param layoutUuid the layout uuid
4612            * @return the number of matching journal articles that the user has permission to view
4613            * @throws SystemException if a system exception occurred
4614            */
4615            public int filterCountByG_L(long groupId, java.lang.String layoutUuid)
4616                    throws com.liferay.portal.kernel.exception.SystemException;
4617    
4618            /**
4619            * Returns the number of journal articles where groupId = &#63; and status = &#63;.
4620            *
4621            * @param groupId the group ID
4622            * @param status the status
4623            * @return the number of matching journal articles
4624            * @throws SystemException if a system exception occurred
4625            */
4626            public int countByG_ST(long groupId, int status)
4627                    throws com.liferay.portal.kernel.exception.SystemException;
4628    
4629            /**
4630            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and status = &#63;.
4631            *
4632            * @param groupId the group ID
4633            * @param status the status
4634            * @return the number of matching journal articles that the user has permission to view
4635            * @throws SystemException if a system exception occurred
4636            */
4637            public int filterCountByG_ST(long groupId, int status)
4638                    throws com.liferay.portal.kernel.exception.SystemException;
4639    
4640            /**
4641            * Returns the number of journal articles where companyId = &#63; and version = &#63;.
4642            *
4643            * @param companyId the company ID
4644            * @param version the version
4645            * @return the number of matching journal articles
4646            * @throws SystemException if a system exception occurred
4647            */
4648            public int countByC_V(long companyId, double version)
4649                    throws com.liferay.portal.kernel.exception.SystemException;
4650    
4651            /**
4652            * Returns the number of journal articles where companyId = &#63; and status = &#63;.
4653            *
4654            * @param companyId the company ID
4655            * @param status the status
4656            * @return the number of matching journal articles
4657            * @throws SystemException if a system exception occurred
4658            */
4659            public int countByC_ST(long companyId, int status)
4660                    throws com.liferay.portal.kernel.exception.SystemException;
4661    
4662            /**
4663            * Returns the number of journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
4664            *
4665            * @param groupId the group ID
4666            * @param classNameId the class name ID
4667            * @param classPK the class p k
4668            * @return the number of matching journal articles
4669            * @throws SystemException if a system exception occurred
4670            */
4671            public int countByG_C_C(long groupId, long classNameId, long classPK)
4672                    throws com.liferay.portal.kernel.exception.SystemException;
4673    
4674            /**
4675            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
4676            *
4677            * @param groupId the group ID
4678            * @param classNameId the class name ID
4679            * @param classPK the class p k
4680            * @return the number of matching journal articles that the user has permission to view
4681            * @throws SystemException if a system exception occurred
4682            */
4683            public int filterCountByG_C_C(long groupId, long classNameId, long classPK)
4684                    throws com.liferay.portal.kernel.exception.SystemException;
4685    
4686            /**
4687            * Returns the number of journal articles where groupId = &#63; and classNameId = &#63; and structureId = &#63;.
4688            *
4689            * @param groupId the group ID
4690            * @param classNameId the class name ID
4691            * @param structureId the structure ID
4692            * @return the number of matching journal articles
4693            * @throws SystemException if a system exception occurred
4694            */
4695            public int countByG_C_S(long groupId, long classNameId,
4696                    java.lang.String structureId)
4697                    throws com.liferay.portal.kernel.exception.SystemException;
4698    
4699            /**
4700            * Returns the number of journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
4701            *
4702            * @param groupId the group ID
4703            * @param classNameId the class name ID
4704            * @param templateId the template ID
4705            * @return the number of matching journal articles
4706            * @throws SystemException if a system exception occurred
4707            */
4708            public int countByG_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 that the user has permission to view 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 that the user has permission to view
4719            * @throws SystemException if a system exception occurred
4720            */
4721            public int filterCountByG_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 where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
4727            *
4728            * @param groupId the group ID
4729            * @param classNameId the class name ID
4730            * @param layoutUuid the layout uuid
4731            * @return the number of matching journal articles
4732            * @throws SystemException if a system exception occurred
4733            */
4734            public int countByG_C_L(long groupId, long classNameId,
4735                    java.lang.String layoutUuid)
4736                    throws com.liferay.portal.kernel.exception.SystemException;
4737    
4738            /**
4739            * Returns the number of journal articles that the user has permission to view 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 number of matching journal articles that the user has permission to view
4745            * @throws SystemException if a system exception occurred
4746            */
4747            public int filterCountByG_C_L(long groupId, long classNameId,
4748                    java.lang.String layoutUuid)
4749                    throws com.liferay.portal.kernel.exception.SystemException;
4750    
4751            /**
4752            * Returns the number of journal articles where groupId = &#63; and articleId = &#63; and version = &#63;.
4753            *
4754            * @param groupId the group ID
4755            * @param articleId the article ID
4756            * @param version the version
4757            * @return the number of matching journal articles
4758            * @throws SystemException if a system exception occurred
4759            */
4760            public int countByG_A_V(long groupId, java.lang.String articleId,
4761                    double version)
4762                    throws com.liferay.portal.kernel.exception.SystemException;
4763    
4764            /**
4765            * Returns the number of journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
4766            *
4767            * @param groupId the group ID
4768            * @param articleId the article ID
4769            * @param status the status
4770            * @return the number of matching journal articles
4771            * @throws SystemException if a system exception occurred
4772            */
4773            public int countByG_A_ST(long groupId, java.lang.String articleId,
4774                    int status) throws com.liferay.portal.kernel.exception.SystemException;
4775    
4776            /**
4777            * Returns the number of journal articles where groupId = &#63; and articleId = &#63; and status = any &#63;.
4778            *
4779            * @param groupId the group ID
4780            * @param articleId the article ID
4781            * @param statuses the statuses
4782            * @return the number of matching journal articles
4783            * @throws SystemException if a system exception occurred
4784            */
4785            public int countByG_A_ST(long groupId, java.lang.String articleId,
4786                    int[] statuses)
4787                    throws com.liferay.portal.kernel.exception.SystemException;
4788    
4789            /**
4790            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = &#63;.
4791            *
4792            * @param groupId the group ID
4793            * @param articleId the article ID
4794            * @param status the status
4795            * @return the number of matching journal articles that the user has permission to view
4796            * @throws SystemException if a system exception occurred
4797            */
4798            public int filterCountByG_A_ST(long groupId, java.lang.String articleId,
4799                    int status) throws com.liferay.portal.kernel.exception.SystemException;
4800    
4801            /**
4802            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = any &#63;.
4803            *
4804            * @param groupId the group ID
4805            * @param articleId the article ID
4806            * @param statuses the statuses
4807            * @return the number of matching journal articles that the user has permission to view
4808            * @throws SystemException if a system exception occurred
4809            */
4810            public int filterCountByG_A_ST(long groupId, java.lang.String articleId,
4811                    int[] statuses)
4812                    throws com.liferay.portal.kernel.exception.SystemException;
4813    
4814            /**
4815            * Returns the number of journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
4816            *
4817            * @param groupId the group ID
4818            * @param urlTitle the url title
4819            * @param status the status
4820            * @return the number of matching journal articles
4821            * @throws SystemException if a system exception occurred
4822            */
4823            public int countByG_UT_ST(long groupId, java.lang.String urlTitle,
4824                    int status) throws com.liferay.portal.kernel.exception.SystemException;
4825    
4826            /**
4827            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63; and status = &#63;.
4828            *
4829            * @param groupId the group ID
4830            * @param urlTitle the url title
4831            * @param status the status
4832            * @return the number of matching journal articles that the user has permission to view
4833            * @throws SystemException if a system exception occurred
4834            */
4835            public int filterCountByG_UT_ST(long groupId, java.lang.String urlTitle,
4836                    int status) throws com.liferay.portal.kernel.exception.SystemException;
4837    
4838            /**
4839            * Returns the number of journal articles where companyId = &#63; and version = &#63; and status = &#63;.
4840            *
4841            * @param companyId the company ID
4842            * @param version the version
4843            * @param status the status
4844            * @return the number of matching journal articles
4845            * @throws SystemException if a system exception occurred
4846            */
4847            public int countByC_V_ST(long companyId, double version, int status)
4848                    throws com.liferay.portal.kernel.exception.SystemException;
4849    
4850            /**
4851            * Returns the number of journal articles.
4852            *
4853            * @return the number of journal articles
4854            * @throws SystemException if a system exception occurred
4855            */
4856            public int countAll()
4857                    throws com.liferay.portal.kernel.exception.SystemException;
4858    }