001    /**
002     * Copyright (c) 2000-2011 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            * <p>
155            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
156            * </p>
157            *
158            * @param uuid the uuid
159            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
160            * @return the first matching journal article
161            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
162            * @throws SystemException if a system exception occurred
163            */
164            public com.liferay.portlet.journal.model.JournalArticle findByUuid_First(
165                    java.lang.String uuid,
166                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
167                    throws com.liferay.portal.kernel.exception.SystemException,
168                            com.liferay.portlet.journal.NoSuchArticleException;
169    
170            /**
171            * Returns the last journal article in the ordered set where uuid = &#63;.
172            *
173            * <p>
174            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
175            * </p>
176            *
177            * @param uuid the uuid
178            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
179            * @return the last matching journal article
180            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
181            * @throws SystemException if a system exception occurred
182            */
183            public com.liferay.portlet.journal.model.JournalArticle findByUuid_Last(
184                    java.lang.String uuid,
185                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
186                    throws com.liferay.portal.kernel.exception.SystemException,
187                            com.liferay.portlet.journal.NoSuchArticleException;
188    
189            /**
190            * Returns the journal articles before and after the current journal article in the ordered set where uuid = &#63;.
191            *
192            * <p>
193            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
194            * </p>
195            *
196            * @param id the primary key of the current journal article
197            * @param uuid the uuid
198            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
199            * @return the previous, current, and next journal article
200            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
201            * @throws SystemException if a system exception occurred
202            */
203            public com.liferay.portlet.journal.model.JournalArticle[] findByUuid_PrevAndNext(
204                    long id, java.lang.String uuid,
205                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
206                    throws com.liferay.portal.kernel.exception.SystemException,
207                            com.liferay.portlet.journal.NoSuchArticleException;
208    
209            /**
210            * 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.
211            *
212            * @param uuid the uuid
213            * @param groupId the group ID
214            * @return the matching journal article
215            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
216            * @throws SystemException if a system exception occurred
217            */
218            public com.liferay.portlet.journal.model.JournalArticle findByUUID_G(
219                    java.lang.String uuid, long groupId)
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 returns <code>null</code> if it could not be found. Uses the finder cache.
225            *
226            * @param uuid the uuid
227            * @param groupId the group ID
228            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
229            * @throws SystemException if a system exception occurred
230            */
231            public com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G(
232                    java.lang.String uuid, long groupId)
233                    throws com.liferay.portal.kernel.exception.SystemException;
234    
235            /**
236            * 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.
237            *
238            * @param uuid the uuid
239            * @param groupId the group ID
240            * @param retrieveFromCache whether to use the finder cache
241            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
242            * @throws SystemException if a system exception occurred
243            */
244            public com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G(
245                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
246                    throws com.liferay.portal.kernel.exception.SystemException;
247    
248            /**
249            * Returns all the journal articles where resourcePrimKey = &#63;.
250            *
251            * @param resourcePrimKey the resource prim key
252            * @return the matching journal articles
253            * @throws SystemException if a system exception occurred
254            */
255            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey(
256                    long resourcePrimKey)
257                    throws com.liferay.portal.kernel.exception.SystemException;
258    
259            /**
260            * Returns a range of all the journal articles where resourcePrimKey = &#63;.
261            *
262            * <p>
263            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
264            * </p>
265            *
266            * @param resourcePrimKey the resource prim key
267            * @param start the lower bound of the range of journal articles
268            * @param end the upper bound of the range of journal articles (not inclusive)
269            * @return the range of matching journal articles
270            * @throws SystemException if a system exception occurred
271            */
272            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey(
273                    long resourcePrimKey, int start, int end)
274                    throws com.liferay.portal.kernel.exception.SystemException;
275    
276            /**
277            * Returns an ordered range of all the journal articles where resourcePrimKey = &#63;.
278            *
279            * <p>
280            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
281            * </p>
282            *
283            * @param resourcePrimKey the resource prim key
284            * @param start the lower bound of the range of journal articles
285            * @param end the upper bound of the range of journal articles (not inclusive)
286            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
287            * @return the ordered range of matching journal articles
288            * @throws SystemException if a system exception occurred
289            */
290            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey(
291                    long resourcePrimKey, int start, int end,
292                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
293                    throws com.liferay.portal.kernel.exception.SystemException;
294    
295            /**
296            * Returns the first journal article in the ordered set where resourcePrimKey = &#63;.
297            *
298            * <p>
299            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
300            * </p>
301            *
302            * @param resourcePrimKey the resource prim key
303            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
304            * @return the first matching journal article
305            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
306            * @throws SystemException if a system exception occurred
307            */
308            public com.liferay.portlet.journal.model.JournalArticle findByResourcePrimKey_First(
309                    long resourcePrimKey,
310                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
311                    throws com.liferay.portal.kernel.exception.SystemException,
312                            com.liferay.portlet.journal.NoSuchArticleException;
313    
314            /**
315            * Returns the last journal article in the ordered set where resourcePrimKey = &#63;.
316            *
317            * <p>
318            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
319            * </p>
320            *
321            * @param resourcePrimKey the resource prim key
322            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
323            * @return the last matching journal article
324            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
325            * @throws SystemException if a system exception occurred
326            */
327            public com.liferay.portlet.journal.model.JournalArticle findByResourcePrimKey_Last(
328                    long resourcePrimKey,
329                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
330                    throws com.liferay.portal.kernel.exception.SystemException,
331                            com.liferay.portlet.journal.NoSuchArticleException;
332    
333            /**
334            * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = &#63;.
335            *
336            * <p>
337            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
338            * </p>
339            *
340            * @param id the primary key of the current journal article
341            * @param resourcePrimKey the resource prim key
342            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
343            * @return the previous, current, and next journal article
344            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
345            * @throws SystemException if a system exception occurred
346            */
347            public com.liferay.portlet.journal.model.JournalArticle[] findByResourcePrimKey_PrevAndNext(
348                    long id, long resourcePrimKey,
349                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
350                    throws com.liferay.portal.kernel.exception.SystemException,
351                            com.liferay.portlet.journal.NoSuchArticleException;
352    
353            /**
354            * Returns all the journal articles where groupId = &#63;.
355            *
356            * @param groupId the group ID
357            * @return the matching journal articles
358            * @throws SystemException if a system exception occurred
359            */
360            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId(
361                    long groupId)
362                    throws com.liferay.portal.kernel.exception.SystemException;
363    
364            /**
365            * Returns a range of all the journal articles where groupId = &#63;.
366            *
367            * <p>
368            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
369            * </p>
370            *
371            * @param groupId the group ID
372            * @param start the lower bound of the range of journal articles
373            * @param end the upper bound of the range of journal articles (not inclusive)
374            * @return the range of matching journal articles
375            * @throws SystemException if a system exception occurred
376            */
377            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId(
378                    long groupId, int start, int end)
379                    throws com.liferay.portal.kernel.exception.SystemException;
380    
381            /**
382            * Returns an ordered range of all the journal articles where groupId = &#63;.
383            *
384            * <p>
385            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
386            * </p>
387            *
388            * @param groupId the group ID
389            * @param start the lower bound of the range of journal articles
390            * @param end the upper bound of the range of journal articles (not inclusive)
391            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
392            * @return the ordered range of matching journal articles
393            * @throws SystemException if a system exception occurred
394            */
395            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId(
396                    long groupId, int start, int end,
397                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
398                    throws com.liferay.portal.kernel.exception.SystemException;
399    
400            /**
401            * Returns the first journal article in the ordered set where groupId = &#63;.
402            *
403            * <p>
404            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
405            * </p>
406            *
407            * @param groupId the group ID
408            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
409            * @return the first matching journal article
410            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
411            * @throws SystemException if a system exception occurred
412            */
413            public com.liferay.portlet.journal.model.JournalArticle findByGroupId_First(
414                    long groupId,
415                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
416                    throws com.liferay.portal.kernel.exception.SystemException,
417                            com.liferay.portlet.journal.NoSuchArticleException;
418    
419            /**
420            * Returns the last journal article in the ordered set where groupId = &#63;.
421            *
422            * <p>
423            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
424            * </p>
425            *
426            * @param groupId the group ID
427            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
428            * @return the last matching journal article
429            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
430            * @throws SystemException if a system exception occurred
431            */
432            public com.liferay.portlet.journal.model.JournalArticle findByGroupId_Last(
433                    long groupId,
434                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
435                    throws com.liferay.portal.kernel.exception.SystemException,
436                            com.liferay.portlet.journal.NoSuchArticleException;
437    
438            /**
439            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63;.
440            *
441            * <p>
442            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
443            * </p>
444            *
445            * @param id the primary key of the current journal article
446            * @param groupId the group ID
447            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
448            * @return the previous, current, and next journal article
449            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
450            * @throws SystemException if a system exception occurred
451            */
452            public com.liferay.portlet.journal.model.JournalArticle[] findByGroupId_PrevAndNext(
453                    long id, long groupId,
454                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
455                    throws com.liferay.portal.kernel.exception.SystemException,
456                            com.liferay.portlet.journal.NoSuchArticleException;
457    
458            /**
459            * Returns all the journal articles that the user has permission to view where groupId = &#63;.
460            *
461            * @param groupId the group ID
462            * @return the matching journal articles that the user has permission to view
463            * @throws SystemException if a system exception occurred
464            */
465            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId(
466                    long groupId)
467                    throws com.liferay.portal.kernel.exception.SystemException;
468    
469            /**
470            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63;.
471            *
472            * <p>
473            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
474            * </p>
475            *
476            * @param groupId the group ID
477            * @param start the lower bound of the range of journal articles
478            * @param end the upper bound of the range of journal articles (not inclusive)
479            * @return the range of matching journal articles that the user has permission to view
480            * @throws SystemException if a system exception occurred
481            */
482            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId(
483                    long groupId, int start, int end)
484                    throws com.liferay.portal.kernel.exception.SystemException;
485    
486            /**
487            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63;.
488            *
489            * <p>
490            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
491            * </p>
492            *
493            * @param groupId the group ID
494            * @param start the lower bound of the range of journal articles
495            * @param end the upper bound of the range of journal articles (not inclusive)
496            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
497            * @return the ordered range of matching journal articles that the user has permission to view
498            * @throws SystemException if a system exception occurred
499            */
500            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId(
501                    long groupId, int start, int end,
502                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
503                    throws com.liferay.portal.kernel.exception.SystemException;
504    
505            /**
506            * 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;.
507            *
508            * @param id the primary key of the current journal article
509            * @param groupId the group ID
510            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
511            * @return the previous, current, and next journal article
512            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
513            * @throws SystemException if a system exception occurred
514            */
515            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByGroupId_PrevAndNext(
516                    long id, long groupId,
517                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
518                    throws com.liferay.portal.kernel.exception.SystemException,
519                            com.liferay.portlet.journal.NoSuchArticleException;
520    
521            /**
522            * Returns all the journal articles where companyId = &#63;.
523            *
524            * @param companyId the company ID
525            * @return the matching journal articles
526            * @throws SystemException if a system exception occurred
527            */
528            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId(
529                    long companyId)
530                    throws com.liferay.portal.kernel.exception.SystemException;
531    
532            /**
533            * Returns a range of all the journal articles where companyId = &#63;.
534            *
535            * <p>
536            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
537            * </p>
538            *
539            * @param companyId the company ID
540            * @param start the lower bound of the range of journal articles
541            * @param end the upper bound of the range of journal articles (not inclusive)
542            * @return the range of matching journal articles
543            * @throws SystemException if a system exception occurred
544            */
545            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId(
546                    long companyId, int start, int end)
547                    throws com.liferay.portal.kernel.exception.SystemException;
548    
549            /**
550            * Returns an ordered range of all the journal articles where companyId = &#63;.
551            *
552            * <p>
553            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
554            * </p>
555            *
556            * @param companyId the company ID
557            * @param start the lower bound of the range of journal articles
558            * @param end the upper bound of the range of journal articles (not inclusive)
559            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
560            * @return the ordered range of matching journal articles
561            * @throws SystemException if a system exception occurred
562            */
563            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId(
564                    long companyId, int start, int end,
565                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
566                    throws com.liferay.portal.kernel.exception.SystemException;
567    
568            /**
569            * Returns the first journal article in the ordered set where companyId = &#63;.
570            *
571            * <p>
572            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
573            * </p>
574            *
575            * @param companyId the company ID
576            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
577            * @return the first matching journal article
578            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
579            * @throws SystemException if a system exception occurred
580            */
581            public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_First(
582                    long companyId,
583                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
584                    throws com.liferay.portal.kernel.exception.SystemException,
585                            com.liferay.portlet.journal.NoSuchArticleException;
586    
587            /**
588            * Returns the last journal article in the ordered set where companyId = &#63;.
589            *
590            * <p>
591            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
592            * </p>
593            *
594            * @param companyId the company ID
595            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
596            * @return the last matching journal article
597            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
598            * @throws SystemException if a system exception occurred
599            */
600            public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_Last(
601                    long companyId,
602                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
603                    throws com.liferay.portal.kernel.exception.SystemException,
604                            com.liferay.portlet.journal.NoSuchArticleException;
605    
606            /**
607            * Returns the journal articles before and after the current journal article in the ordered set where companyId = &#63;.
608            *
609            * <p>
610            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
611            * </p>
612            *
613            * @param id the primary key of the current journal article
614            * @param companyId the company ID
615            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
616            * @return the previous, current, and next journal article
617            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
618            * @throws SystemException if a system exception occurred
619            */
620            public com.liferay.portlet.journal.model.JournalArticle[] findByCompanyId_PrevAndNext(
621                    long id, long companyId,
622                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
623                    throws com.liferay.portal.kernel.exception.SystemException,
624                            com.liferay.portlet.journal.NoSuchArticleException;
625    
626            /**
627            * Returns all the journal articles where smallImageId = &#63;.
628            *
629            * @param smallImageId the small image ID
630            * @return the matching journal articles
631            * @throws SystemException if a system exception occurred
632            */
633            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
634                    long smallImageId)
635                    throws com.liferay.portal.kernel.exception.SystemException;
636    
637            /**
638            * Returns a range of all the journal articles where smallImageId = &#63;.
639            *
640            * <p>
641            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
642            * </p>
643            *
644            * @param smallImageId the small image ID
645            * @param start the lower bound of the range of journal articles
646            * @param end the upper bound of the range of journal articles (not inclusive)
647            * @return the range of matching journal articles
648            * @throws SystemException if a system exception occurred
649            */
650            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
651                    long smallImageId, int start, int end)
652                    throws com.liferay.portal.kernel.exception.SystemException;
653    
654            /**
655            * Returns an ordered range of all the journal articles where smallImageId = &#63;.
656            *
657            * <p>
658            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
659            * </p>
660            *
661            * @param smallImageId the small image ID
662            * @param start the lower bound of the range of journal articles
663            * @param end the upper bound of the range of journal articles (not inclusive)
664            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
665            * @return the ordered range of matching journal articles
666            * @throws SystemException if a system exception occurred
667            */
668            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
669                    long smallImageId, int start, int end,
670                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
671                    throws com.liferay.portal.kernel.exception.SystemException;
672    
673            /**
674            * Returns the first journal article in the ordered set where smallImageId = &#63;.
675            *
676            * <p>
677            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
678            * </p>
679            *
680            * @param smallImageId the small image ID
681            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
682            * @return the first matching journal article
683            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
684            * @throws SystemException if a system exception occurred
685            */
686            public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_First(
687                    long smallImageId,
688                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
689                    throws com.liferay.portal.kernel.exception.SystemException,
690                            com.liferay.portlet.journal.NoSuchArticleException;
691    
692            /**
693            * Returns the last journal article in the ordered set where smallImageId = &#63;.
694            *
695            * <p>
696            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
697            * </p>
698            *
699            * @param smallImageId the small image ID
700            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
701            * @return the last matching journal article
702            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
703            * @throws SystemException if a system exception occurred
704            */
705            public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_Last(
706                    long smallImageId,
707                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
708                    throws com.liferay.portal.kernel.exception.SystemException,
709                            com.liferay.portlet.journal.NoSuchArticleException;
710    
711            /**
712            * Returns the journal articles before and after the current journal article in the ordered set where smallImageId = &#63;.
713            *
714            * <p>
715            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
716            * </p>
717            *
718            * @param id the primary key of the current journal article
719            * @param smallImageId the small image ID
720            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
721            * @return the previous, current, and next journal article
722            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
723            * @throws SystemException if a system exception occurred
724            */
725            public com.liferay.portlet.journal.model.JournalArticle[] findBySmallImageId_PrevAndNext(
726                    long id, long smallImageId,
727                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
728                    throws com.liferay.portal.kernel.exception.SystemException,
729                            com.liferay.portlet.journal.NoSuchArticleException;
730    
731            /**
732            * Returns all the journal articles where resourcePrimKey = &#63; and status = &#63;.
733            *
734            * @param resourcePrimKey the resource prim key
735            * @param status the status
736            * @return the matching journal articles
737            * @throws SystemException if a system exception occurred
738            */
739            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST(
740                    long resourcePrimKey, int status)
741                    throws com.liferay.portal.kernel.exception.SystemException;
742    
743            /**
744            * Returns a range of all the journal articles where resourcePrimKey = &#63; and status = &#63;.
745            *
746            * <p>
747            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
748            * </p>
749            *
750            * @param resourcePrimKey the resource prim key
751            * @param status the status
752            * @param start the lower bound of the range of journal articles
753            * @param end the upper bound of the range of journal articles (not inclusive)
754            * @return the range of matching journal articles
755            * @throws SystemException if a system exception occurred
756            */
757            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST(
758                    long resourcePrimKey, int status, int start, int end)
759                    throws com.liferay.portal.kernel.exception.SystemException;
760    
761            /**
762            * Returns an ordered range of all the journal articles where resourcePrimKey = &#63; and status = &#63;.
763            *
764            * <p>
765            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
766            * </p>
767            *
768            * @param resourcePrimKey the resource prim key
769            * @param status the status
770            * @param start the lower bound of the range of journal articles
771            * @param end the upper bound of the range of journal articles (not inclusive)
772            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
773            * @return the ordered range of matching journal articles
774            * @throws SystemException if a system exception occurred
775            */
776            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST(
777                    long resourcePrimKey, int status, int start, int end,
778                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
779                    throws com.liferay.portal.kernel.exception.SystemException;
780    
781            /**
782            * Returns the first journal article in the ordered set where resourcePrimKey = &#63; and status = &#63;.
783            *
784            * <p>
785            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
786            * </p>
787            *
788            * @param resourcePrimKey the resource prim key
789            * @param status the status
790            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
791            * @return the first matching journal article
792            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
793            * @throws SystemException if a system exception occurred
794            */
795            public com.liferay.portlet.journal.model.JournalArticle findByR_ST_First(
796                    long resourcePrimKey, int status,
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 the last journal article in the ordered set where resourcePrimKey = &#63; and status = &#63;.
803            *
804            * <p>
805            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
806            * </p>
807            *
808            * @param resourcePrimKey the resource prim key
809            * @param status the status
810            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
811            * @return the last matching journal article
812            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
813            * @throws SystemException if a system exception occurred
814            */
815            public com.liferay.portlet.journal.model.JournalArticle findByR_ST_Last(
816                    long resourcePrimKey, int status,
817                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
818                    throws com.liferay.portal.kernel.exception.SystemException,
819                            com.liferay.portlet.journal.NoSuchArticleException;
820    
821            /**
822            * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = &#63; and status = &#63;.
823            *
824            * <p>
825            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
826            * </p>
827            *
828            * @param id the primary key of the current journal article
829            * @param resourcePrimKey the resource prim key
830            * @param status the status
831            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
832            * @return the previous, current, and next journal article
833            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
834            * @throws SystemException if a system exception occurred
835            */
836            public com.liferay.portlet.journal.model.JournalArticle[] findByR_ST_PrevAndNext(
837                    long id, long resourcePrimKey, int status,
838                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
839                    throws com.liferay.portal.kernel.exception.SystemException,
840                            com.liferay.portlet.journal.NoSuchArticleException;
841    
842            /**
843            * Returns all the journal articles where groupId = &#63; and articleId = &#63;.
844            *
845            * @param groupId the group ID
846            * @param articleId the article ID
847            * @return the matching journal articles
848            * @throws SystemException if a system exception occurred
849            */
850            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
851                    long groupId, java.lang.String articleId)
852                    throws com.liferay.portal.kernel.exception.SystemException;
853    
854            /**
855            * Returns a range of all the journal articles where groupId = &#63; and articleId = &#63;.
856            *
857            * <p>
858            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
859            * </p>
860            *
861            * @param groupId the group ID
862            * @param articleId the article ID
863            * @param start the lower bound of the range of journal articles
864            * @param end the upper bound of the range of journal articles (not inclusive)
865            * @return the range of matching journal articles
866            * @throws SystemException if a system exception occurred
867            */
868            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
869                    long groupId, java.lang.String articleId, int start, int end)
870                    throws com.liferay.portal.kernel.exception.SystemException;
871    
872            /**
873            * Returns an ordered range of all the journal articles where groupId = &#63; and articleId = &#63;.
874            *
875            * <p>
876            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
877            * </p>
878            *
879            * @param groupId the group ID
880            * @param articleId the article ID
881            * @param start the lower bound of the range of journal articles
882            * @param end the upper bound of the range of journal articles (not inclusive)
883            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
884            * @return the ordered range of matching journal articles
885            * @throws SystemException if a system exception occurred
886            */
887            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
888                    long groupId, java.lang.String articleId, int start, int end,
889                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
890                    throws com.liferay.portal.kernel.exception.SystemException;
891    
892            /**
893            * Returns the first journal article in the ordered set where groupId = &#63; and articleId = &#63;.
894            *
895            * <p>
896            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
897            * </p>
898            *
899            * @param groupId the group ID
900            * @param articleId the article ID
901            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
902            * @return the first matching journal article
903            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
904            * @throws SystemException if a system exception occurred
905            */
906            public com.liferay.portlet.journal.model.JournalArticle findByG_A_First(
907                    long groupId, java.lang.String articleId,
908                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
909                    throws com.liferay.portal.kernel.exception.SystemException,
910                            com.liferay.portlet.journal.NoSuchArticleException;
911    
912            /**
913            * Returns the last journal article in the ordered set where groupId = &#63; and articleId = &#63;.
914            *
915            * <p>
916            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
917            * </p>
918            *
919            * @param groupId the group ID
920            * @param articleId the article ID
921            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
922            * @return the last matching journal article
923            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
924            * @throws SystemException if a system exception occurred
925            */
926            public com.liferay.portlet.journal.model.JournalArticle findByG_A_Last(
927                    long groupId, java.lang.String articleId,
928                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
929                    throws com.liferay.portal.kernel.exception.SystemException,
930                            com.liferay.portlet.journal.NoSuchArticleException;
931    
932            /**
933            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and articleId = &#63;.
934            *
935            * <p>
936            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
937            * </p>
938            *
939            * @param id the primary key of the current journal article
940            * @param groupId the group ID
941            * @param articleId the article ID
942            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
943            * @return the previous, current, and next journal article
944            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
945            * @throws SystemException if a system exception occurred
946            */
947            public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_PrevAndNext(
948                    long id, long groupId, java.lang.String articleId,
949                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
950                    throws com.liferay.portal.kernel.exception.SystemException,
951                            com.liferay.portlet.journal.NoSuchArticleException;
952    
953            /**
954            * Returns all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63;.
955            *
956            * @param groupId the group ID
957            * @param articleId the article ID
958            * @return the matching journal articles that the user has permission to view
959            * @throws SystemException if a system exception occurred
960            */
961            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A(
962                    long groupId, java.lang.String articleId)
963                    throws com.liferay.portal.kernel.exception.SystemException;
964    
965            /**
966            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63;.
967            *
968            * <p>
969            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
970            * </p>
971            *
972            * @param groupId the group ID
973            * @param articleId the article ID
974            * @param start the lower bound of the range of journal articles
975            * @param end the upper bound of the range of journal articles (not inclusive)
976            * @return the range of matching journal articles that the user has permission to view
977            * @throws SystemException if a system exception occurred
978            */
979            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A(
980                    long groupId, java.lang.String articleId, int start, int end)
981                    throws com.liferay.portal.kernel.exception.SystemException;
982    
983            /**
984            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and articleId = &#63;.
985            *
986            * <p>
987            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
988            * </p>
989            *
990            * @param groupId the group ID
991            * @param articleId the article ID
992            * @param start the lower bound of the range of journal articles
993            * @param end the upper bound of the range of journal articles (not inclusive)
994            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
995            * @return the ordered range of matching journal articles that the user has permission to view
996            * @throws SystemException if a system exception occurred
997            */
998            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A(
999                    long groupId, java.lang.String articleId, int start, int end,
1000                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1001                    throws com.liferay.portal.kernel.exception.SystemException;
1002    
1003            /**
1004            * 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;.
1005            *
1006            * @param id the primary key of the current journal article
1007            * @param groupId the group ID
1008            * @param articleId the article ID
1009            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1010            * @return the previous, current, and next journal article
1011            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1012            * @throws SystemException if a system exception occurred
1013            */
1014            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_PrevAndNext(
1015                    long id, long groupId, java.lang.String articleId,
1016                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1017                    throws com.liferay.portal.kernel.exception.SystemException,
1018                            com.liferay.portlet.journal.NoSuchArticleException;
1019    
1020            /**
1021            * Returns all the journal articles where groupId = &#63; and urlTitle = &#63;.
1022            *
1023            * @param groupId the group ID
1024            * @param urlTitle the url title
1025            * @return the matching journal articles
1026            * @throws SystemException if a system exception occurred
1027            */
1028            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
1029                    long groupId, java.lang.String urlTitle)
1030                    throws com.liferay.portal.kernel.exception.SystemException;
1031    
1032            /**
1033            * Returns a range of all the journal articles where groupId = &#63; and urlTitle = &#63;.
1034            *
1035            * <p>
1036            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1037            * </p>
1038            *
1039            * @param groupId the group ID
1040            * @param urlTitle the url title
1041            * @param start the lower bound of the range of journal articles
1042            * @param end the upper bound of the range of journal articles (not inclusive)
1043            * @return the range of matching journal articles
1044            * @throws SystemException if a system exception occurred
1045            */
1046            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
1047                    long groupId, java.lang.String urlTitle, int start, int end)
1048                    throws com.liferay.portal.kernel.exception.SystemException;
1049    
1050            /**
1051            * Returns an ordered range of all the journal articles where groupId = &#63; and urlTitle = &#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 groupId the group ID
1058            * @param urlTitle the url title
1059            * @param start the lower bound of the range of journal articles
1060            * @param end the upper bound of the range of journal articles (not inclusive)
1061            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1062            * @return the ordered range of matching journal articles
1063            * @throws SystemException if a system exception occurred
1064            */
1065            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
1066                    long groupId, java.lang.String urlTitle, int start, int end,
1067                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1068                    throws com.liferay.portal.kernel.exception.SystemException;
1069    
1070            /**
1071            * Returns the first journal article in the ordered set where groupId = &#63; and urlTitle = &#63;.
1072            *
1073            * <p>
1074            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1075            * </p>
1076            *
1077            * @param groupId the group ID
1078            * @param urlTitle the url title
1079            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1080            * @return the first matching journal article
1081            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1082            * @throws SystemException if a system exception occurred
1083            */
1084            public com.liferay.portlet.journal.model.JournalArticle findByG_UT_First(
1085                    long groupId, java.lang.String urlTitle,
1086                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1087                    throws com.liferay.portal.kernel.exception.SystemException,
1088                            com.liferay.portlet.journal.NoSuchArticleException;
1089    
1090            /**
1091            * Returns the last journal article in the ordered set where groupId = &#63; and urlTitle = &#63;.
1092            *
1093            * <p>
1094            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1095            * </p>
1096            *
1097            * @param groupId the group ID
1098            * @param urlTitle the url title
1099            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1100            * @return the last matching journal article
1101            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1102            * @throws SystemException if a system exception occurred
1103            */
1104            public com.liferay.portlet.journal.model.JournalArticle findByG_UT_Last(
1105                    long groupId, java.lang.String urlTitle,
1106                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1107                    throws com.liferay.portal.kernel.exception.SystemException,
1108                            com.liferay.portlet.journal.NoSuchArticleException;
1109    
1110            /**
1111            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and urlTitle = &#63;.
1112            *
1113            * <p>
1114            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1115            * </p>
1116            *
1117            * @param id the primary key of the current journal article
1118            * @param groupId the group ID
1119            * @param urlTitle the url title
1120            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1121            * @return the previous, current, and next journal article
1122            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1123            * @throws SystemException if a system exception occurred
1124            */
1125            public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_PrevAndNext(
1126                    long id, long groupId, java.lang.String urlTitle,
1127                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1128                    throws com.liferay.portal.kernel.exception.SystemException,
1129                            com.liferay.portlet.journal.NoSuchArticleException;
1130    
1131            /**
1132            * Returns all the journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63;.
1133            *
1134            * @param groupId the group ID
1135            * @param urlTitle the url title
1136            * @return the matching journal articles that the user has permission to view
1137            * @throws SystemException if a system exception occurred
1138            */
1139            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT(
1140                    long groupId, java.lang.String urlTitle)
1141                    throws com.liferay.portal.kernel.exception.SystemException;
1142    
1143            /**
1144            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63;.
1145            *
1146            * <p>
1147            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1148            * </p>
1149            *
1150            * @param groupId the group ID
1151            * @param urlTitle the url title
1152            * @param start the lower bound of the range of journal articles
1153            * @param end the upper bound of the range of journal articles (not inclusive)
1154            * @return the range of matching journal articles that the user has permission to view
1155            * @throws SystemException if a system exception occurred
1156            */
1157            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT(
1158                    long groupId, java.lang.String urlTitle, int start, int end)
1159                    throws com.liferay.portal.kernel.exception.SystemException;
1160    
1161            /**
1162            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and urlTitle = &#63;.
1163            *
1164            * <p>
1165            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1166            * </p>
1167            *
1168            * @param groupId the group ID
1169            * @param urlTitle the url title
1170            * @param start the lower bound of the range of journal articles
1171            * @param end the upper bound of the range of journal articles (not inclusive)
1172            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1173            * @return the ordered range of matching journal articles that the user has permission to view
1174            * @throws SystemException if a system exception occurred
1175            */
1176            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT(
1177                    long groupId, java.lang.String urlTitle, int start, int end,
1178                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1179                    throws com.liferay.portal.kernel.exception.SystemException;
1180    
1181            /**
1182            * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63;.
1183            *
1184            * @param id the primary key of the current journal article
1185            * @param groupId the group ID
1186            * @param urlTitle the url title
1187            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1188            * @return the previous, current, and next journal article
1189            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1190            * @throws SystemException if a system exception occurred
1191            */
1192            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_PrevAndNext(
1193                    long id, long groupId, java.lang.String urlTitle,
1194                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1195                    throws com.liferay.portal.kernel.exception.SystemException,
1196                            com.liferay.portlet.journal.NoSuchArticleException;
1197    
1198            /**
1199            * Returns all the journal articles where groupId = &#63; and structureId = &#63;.
1200            *
1201            * @param groupId the group ID
1202            * @param structureId the structure ID
1203            * @return the matching journal articles
1204            * @throws SystemException if a system exception occurred
1205            */
1206            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
1207                    long groupId, java.lang.String structureId)
1208                    throws com.liferay.portal.kernel.exception.SystemException;
1209    
1210            /**
1211            * Returns a range of all the journal articles where groupId = &#63; and structureId = &#63;.
1212            *
1213            * <p>
1214            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1215            * </p>
1216            *
1217            * @param groupId the group ID
1218            * @param structureId the structure ID
1219            * @param start the lower bound of the range of journal articles
1220            * @param end the upper bound of the range of journal articles (not inclusive)
1221            * @return the range of matching journal articles
1222            * @throws SystemException if a system exception occurred
1223            */
1224            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
1225                    long groupId, java.lang.String structureId, int start, int end)
1226                    throws com.liferay.portal.kernel.exception.SystemException;
1227    
1228            /**
1229            * Returns an ordered range of all the journal articles where groupId = &#63; and structureId = &#63;.
1230            *
1231            * <p>
1232            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1233            * </p>
1234            *
1235            * @param groupId the group ID
1236            * @param structureId the structure ID
1237            * @param start the lower bound of the range of journal articles
1238            * @param end the upper bound of the range of journal articles (not inclusive)
1239            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1240            * @return the ordered range of matching journal articles
1241            * @throws SystemException if a system exception occurred
1242            */
1243            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
1244                    long groupId, java.lang.String structureId, int start, int end,
1245                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1246                    throws com.liferay.portal.kernel.exception.SystemException;
1247    
1248            /**
1249            * Returns the first journal article in the ordered set where groupId = &#63; and structureId = &#63;.
1250            *
1251            * <p>
1252            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1253            * </p>
1254            *
1255            * @param groupId the group ID
1256            * @param structureId the structure ID
1257            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1258            * @return the first matching journal article
1259            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1260            * @throws SystemException if a system exception occurred
1261            */
1262            public com.liferay.portlet.journal.model.JournalArticle findByG_S_First(
1263                    long groupId, java.lang.String structureId,
1264                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1265                    throws com.liferay.portal.kernel.exception.SystemException,
1266                            com.liferay.portlet.journal.NoSuchArticleException;
1267    
1268            /**
1269            * Returns the last journal article in the ordered set where groupId = &#63; and structureId = &#63;.
1270            *
1271            * <p>
1272            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1273            * </p>
1274            *
1275            * @param groupId the group ID
1276            * @param structureId the structure ID
1277            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1278            * @return the last matching journal article
1279            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1280            * @throws SystemException if a system exception occurred
1281            */
1282            public com.liferay.portlet.journal.model.JournalArticle findByG_S_Last(
1283                    long groupId, java.lang.String structureId,
1284                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1285                    throws com.liferay.portal.kernel.exception.SystemException,
1286                            com.liferay.portlet.journal.NoSuchArticleException;
1287    
1288            /**
1289            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and structureId = &#63;.
1290            *
1291            * <p>
1292            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1293            * </p>
1294            *
1295            * @param id the primary key of the current journal article
1296            * @param groupId the group ID
1297            * @param structureId the structure ID
1298            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1299            * @return the previous, current, and next journal article
1300            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1301            * @throws SystemException if a system exception occurred
1302            */
1303            public com.liferay.portlet.journal.model.JournalArticle[] findByG_S_PrevAndNext(
1304                    long id, long groupId, java.lang.String structureId,
1305                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1306                    throws com.liferay.portal.kernel.exception.SystemException,
1307                            com.liferay.portlet.journal.NoSuchArticleException;
1308    
1309            /**
1310            * Returns all the journal articles that the user has permission to view where groupId = &#63; and structureId = &#63;.
1311            *
1312            * @param groupId the group ID
1313            * @param structureId the structure ID
1314            * @return the matching journal articles that the user has permission to view
1315            * @throws SystemException if a system exception occurred
1316            */
1317            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S(
1318                    long groupId, java.lang.String structureId)
1319                    throws com.liferay.portal.kernel.exception.SystemException;
1320    
1321            /**
1322            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and structureId = &#63;.
1323            *
1324            * <p>
1325            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1326            * </p>
1327            *
1328            * @param groupId the group ID
1329            * @param structureId the structure ID
1330            * @param start the lower bound of the range of journal articles
1331            * @param end the upper bound of the range of journal articles (not inclusive)
1332            * @return the range of matching journal articles that the user has permission to view
1333            * @throws SystemException if a system exception occurred
1334            */
1335            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S(
1336                    long groupId, java.lang.String structureId, int start, int end)
1337                    throws com.liferay.portal.kernel.exception.SystemException;
1338    
1339            /**
1340            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and structureId = &#63;.
1341            *
1342            * <p>
1343            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1344            * </p>
1345            *
1346            * @param groupId the group ID
1347            * @param structureId the structure ID
1348            * @param start the lower bound of the range of journal articles
1349            * @param end the upper bound of the range of journal articles (not inclusive)
1350            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1351            * @return the ordered range of matching journal articles that the user has permission to view
1352            * @throws SystemException if a system exception occurred
1353            */
1354            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S(
1355                    long groupId, java.lang.String structureId, int start, int end,
1356                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1357                    throws com.liferay.portal.kernel.exception.SystemException;
1358    
1359            /**
1360            * 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;.
1361            *
1362            * @param id the primary key of the current journal article
1363            * @param groupId the group ID
1364            * @param structureId the structure ID
1365            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1366            * @return the previous, current, and next journal article
1367            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1368            * @throws SystemException if a system exception occurred
1369            */
1370            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_S_PrevAndNext(
1371                    long id, long groupId, java.lang.String structureId,
1372                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1373                    throws com.liferay.portal.kernel.exception.SystemException,
1374                            com.liferay.portlet.journal.NoSuchArticleException;
1375    
1376            /**
1377            * Returns all the journal articles where groupId = &#63; and templateId = &#63;.
1378            *
1379            * @param groupId the group ID
1380            * @param templateId the template ID
1381            * @return the matching journal articles
1382            * @throws SystemException if a system exception occurred
1383            */
1384            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
1385                    long groupId, java.lang.String templateId)
1386                    throws com.liferay.portal.kernel.exception.SystemException;
1387    
1388            /**
1389            * Returns a range of all the journal articles where groupId = &#63; and templateId = &#63;.
1390            *
1391            * <p>
1392            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1393            * </p>
1394            *
1395            * @param groupId the group ID
1396            * @param templateId the template ID
1397            * @param start the lower bound of the range of journal articles
1398            * @param end the upper bound of the range of journal articles (not inclusive)
1399            * @return the range of matching journal articles
1400            * @throws SystemException if a system exception occurred
1401            */
1402            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
1403                    long groupId, java.lang.String templateId, int start, int end)
1404                    throws com.liferay.portal.kernel.exception.SystemException;
1405    
1406            /**
1407            * Returns an ordered range of all the journal articles where groupId = &#63; and templateId = &#63;.
1408            *
1409            * <p>
1410            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1411            * </p>
1412            *
1413            * @param groupId the group ID
1414            * @param templateId the template ID
1415            * @param start the lower bound of the range of journal articles
1416            * @param end the upper bound of the range of journal articles (not inclusive)
1417            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1418            * @return the ordered range of matching journal articles
1419            * @throws SystemException if a system exception occurred
1420            */
1421            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
1422                    long groupId, java.lang.String templateId, int start, int end,
1423                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1424                    throws com.liferay.portal.kernel.exception.SystemException;
1425    
1426            /**
1427            * Returns the first journal article in the ordered set where groupId = &#63; and templateId = &#63;.
1428            *
1429            * <p>
1430            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1431            * </p>
1432            *
1433            * @param groupId the group ID
1434            * @param templateId the template ID
1435            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1436            * @return the first matching journal article
1437            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1438            * @throws SystemException if a system exception occurred
1439            */
1440            public com.liferay.portlet.journal.model.JournalArticle findByG_T_First(
1441                    long groupId, java.lang.String templateId,
1442                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1443                    throws com.liferay.portal.kernel.exception.SystemException,
1444                            com.liferay.portlet.journal.NoSuchArticleException;
1445    
1446            /**
1447            * Returns the last journal article in the ordered set where groupId = &#63; and templateId = &#63;.
1448            *
1449            * <p>
1450            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1451            * </p>
1452            *
1453            * @param groupId the group ID
1454            * @param templateId the template ID
1455            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1456            * @return the last matching journal article
1457            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1458            * @throws SystemException if a system exception occurred
1459            */
1460            public com.liferay.portlet.journal.model.JournalArticle findByG_T_Last(
1461                    long groupId, java.lang.String templateId,
1462                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1463                    throws com.liferay.portal.kernel.exception.SystemException,
1464                            com.liferay.portlet.journal.NoSuchArticleException;
1465    
1466            /**
1467            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and templateId = &#63;.
1468            *
1469            * <p>
1470            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1471            * </p>
1472            *
1473            * @param id the primary key of the current journal article
1474            * @param groupId the group ID
1475            * @param templateId the template ID
1476            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1477            * @return the previous, current, and next journal article
1478            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1479            * @throws SystemException if a system exception occurred
1480            */
1481            public com.liferay.portlet.journal.model.JournalArticle[] findByG_T_PrevAndNext(
1482                    long id, long groupId, java.lang.String templateId,
1483                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1484                    throws com.liferay.portal.kernel.exception.SystemException,
1485                            com.liferay.portlet.journal.NoSuchArticleException;
1486    
1487            /**
1488            * Returns all the journal articles that the user has permission to view where groupId = &#63; and templateId = &#63;.
1489            *
1490            * @param groupId the group ID
1491            * @param templateId the template ID
1492            * @return the matching journal articles that the user has permission to view
1493            * @throws SystemException if a system exception occurred
1494            */
1495            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T(
1496                    long groupId, java.lang.String templateId)
1497                    throws com.liferay.portal.kernel.exception.SystemException;
1498    
1499            /**
1500            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and templateId = &#63;.
1501            *
1502            * <p>
1503            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1504            * </p>
1505            *
1506            * @param groupId the group ID
1507            * @param templateId the template ID
1508            * @param start the lower bound of the range of journal articles
1509            * @param end the upper bound of the range of journal articles (not inclusive)
1510            * @return the range of matching journal articles that the user has permission to view
1511            * @throws SystemException if a system exception occurred
1512            */
1513            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T(
1514                    long groupId, java.lang.String templateId, int start, int end)
1515                    throws com.liferay.portal.kernel.exception.SystemException;
1516    
1517            /**
1518            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and templateId = &#63;.
1519            *
1520            * <p>
1521            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1522            * </p>
1523            *
1524            * @param groupId the group ID
1525            * @param templateId the template ID
1526            * @param start the lower bound of the range of journal articles
1527            * @param end the upper bound of the range of journal articles (not inclusive)
1528            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1529            * @return the ordered range of matching journal articles that the user has permission to view
1530            * @throws SystemException if a system exception occurred
1531            */
1532            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T(
1533                    long groupId, java.lang.String templateId, int start, int end,
1534                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1535                    throws com.liferay.portal.kernel.exception.SystemException;
1536    
1537            /**
1538            * 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;.
1539            *
1540            * @param id the primary key of the current journal article
1541            * @param groupId the group ID
1542            * @param templateId the template ID
1543            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1544            * @return the previous, current, and next journal article
1545            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1546            * @throws SystemException if a system exception occurred
1547            */
1548            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_T_PrevAndNext(
1549                    long id, long groupId, java.lang.String templateId,
1550                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1551                    throws com.liferay.portal.kernel.exception.SystemException,
1552                            com.liferay.portlet.journal.NoSuchArticleException;
1553    
1554            /**
1555            * Returns all the journal articles where groupId = &#63; and layoutUuid = &#63;.
1556            *
1557            * @param groupId the group ID
1558            * @param layoutUuid the layout uuid
1559            * @return the matching journal articles
1560            * @throws SystemException if a system exception occurred
1561            */
1562            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L(
1563                    long groupId, java.lang.String layoutUuid)
1564                    throws com.liferay.portal.kernel.exception.SystemException;
1565    
1566            /**
1567            * Returns a range of all the journal articles where groupId = &#63; and layoutUuid = &#63;.
1568            *
1569            * <p>
1570            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1571            * </p>
1572            *
1573            * @param groupId the group ID
1574            * @param layoutUuid the layout uuid
1575            * @param start the lower bound of the range of journal articles
1576            * @param end the upper bound of the range of journal articles (not inclusive)
1577            * @return the range of matching journal articles
1578            * @throws SystemException if a system exception occurred
1579            */
1580            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L(
1581                    long groupId, java.lang.String layoutUuid, int start, int end)
1582                    throws com.liferay.portal.kernel.exception.SystemException;
1583    
1584            /**
1585            * Returns an ordered range of all the journal articles where groupId = &#63; and layoutUuid = &#63;.
1586            *
1587            * <p>
1588            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1589            * </p>
1590            *
1591            * @param groupId the group ID
1592            * @param layoutUuid the layout uuid
1593            * @param start the lower bound of the range of journal articles
1594            * @param end the upper bound of the range of journal articles (not inclusive)
1595            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1596            * @return the ordered range of matching journal articles
1597            * @throws SystemException if a system exception occurred
1598            */
1599            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L(
1600                    long groupId, java.lang.String layoutUuid, int start, int end,
1601                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1602                    throws com.liferay.portal.kernel.exception.SystemException;
1603    
1604            /**
1605            * Returns the first journal article in the ordered set where groupId = &#63; and layoutUuid = &#63;.
1606            *
1607            * <p>
1608            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1609            * </p>
1610            *
1611            * @param groupId the group ID
1612            * @param layoutUuid the layout uuid
1613            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1614            * @return the first matching journal article
1615            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1616            * @throws SystemException if a system exception occurred
1617            */
1618            public com.liferay.portlet.journal.model.JournalArticle findByG_L_First(
1619                    long groupId, java.lang.String layoutUuid,
1620                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1621                    throws com.liferay.portal.kernel.exception.SystemException,
1622                            com.liferay.portlet.journal.NoSuchArticleException;
1623    
1624            /**
1625            * Returns the last journal article in the ordered set where groupId = &#63; and layoutUuid = &#63;.
1626            *
1627            * <p>
1628            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1629            * </p>
1630            *
1631            * @param groupId the group ID
1632            * @param layoutUuid the layout uuid
1633            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1634            * @return the last matching journal article
1635            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1636            * @throws SystemException if a system exception occurred
1637            */
1638            public com.liferay.portlet.journal.model.JournalArticle findByG_L_Last(
1639                    long groupId, java.lang.String layoutUuid,
1640                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1641                    throws com.liferay.portal.kernel.exception.SystemException,
1642                            com.liferay.portlet.journal.NoSuchArticleException;
1643    
1644            /**
1645            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and layoutUuid = &#63;.
1646            *
1647            * <p>
1648            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1649            * </p>
1650            *
1651            * @param id the primary key of the current journal article
1652            * @param groupId the group ID
1653            * @param layoutUuid the layout uuid
1654            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1655            * @return the previous, current, and next journal article
1656            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1657            * @throws SystemException if a system exception occurred
1658            */
1659            public com.liferay.portlet.journal.model.JournalArticle[] findByG_L_PrevAndNext(
1660                    long id, long groupId, java.lang.String layoutUuid,
1661                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1662                    throws com.liferay.portal.kernel.exception.SystemException,
1663                            com.liferay.portlet.journal.NoSuchArticleException;
1664    
1665            /**
1666            * Returns all the journal articles that the user has permission to view where groupId = &#63; and layoutUuid = &#63;.
1667            *
1668            * @param groupId the group ID
1669            * @param layoutUuid the layout uuid
1670            * @return the matching journal articles that the user has permission to view
1671            * @throws SystemException if a system exception occurred
1672            */
1673            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L(
1674                    long groupId, java.lang.String layoutUuid)
1675                    throws com.liferay.portal.kernel.exception.SystemException;
1676    
1677            /**
1678            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and layoutUuid = &#63;.
1679            *
1680            * <p>
1681            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1682            * </p>
1683            *
1684            * @param groupId the group ID
1685            * @param layoutUuid the layout uuid
1686            * @param start the lower bound of the range of journal articles
1687            * @param end the upper bound of the range of journal articles (not inclusive)
1688            * @return the range of matching journal articles that the user has permission to view
1689            * @throws SystemException if a system exception occurred
1690            */
1691            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L(
1692                    long groupId, java.lang.String layoutUuid, int start, int end)
1693                    throws com.liferay.portal.kernel.exception.SystemException;
1694    
1695            /**
1696            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and layoutUuid = &#63;.
1697            *
1698            * <p>
1699            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1700            * </p>
1701            *
1702            * @param groupId the group ID
1703            * @param layoutUuid the layout uuid
1704            * @param start the lower bound of the range of journal articles
1705            * @param end the upper bound of the range of journal articles (not inclusive)
1706            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1707            * @return the ordered range of matching journal articles that the user has permission to view
1708            * @throws SystemException if a system exception occurred
1709            */
1710            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L(
1711                    long groupId, java.lang.String layoutUuid, int start, int end,
1712                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1713                    throws com.liferay.portal.kernel.exception.SystemException;
1714    
1715            /**
1716            * 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;.
1717            *
1718            * @param id the primary key of the current journal article
1719            * @param groupId the group ID
1720            * @param layoutUuid the layout uuid
1721            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1722            * @return the previous, current, and next journal article
1723            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1724            * @throws SystemException if a system exception occurred
1725            */
1726            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_L_PrevAndNext(
1727                    long id, long groupId, java.lang.String layoutUuid,
1728                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1729                    throws com.liferay.portal.kernel.exception.SystemException,
1730                            com.liferay.portlet.journal.NoSuchArticleException;
1731    
1732            /**
1733            * Returns all the journal articles where groupId = &#63; and status = &#63;.
1734            *
1735            * @param groupId the group ID
1736            * @param status the status
1737            * @return the matching journal articles
1738            * @throws SystemException if a system exception occurred
1739            */
1740            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST(
1741                    long groupId, int status)
1742                    throws com.liferay.portal.kernel.exception.SystemException;
1743    
1744            /**
1745            * Returns a range of all the journal articles where groupId = &#63; and status = &#63;.
1746            *
1747            * <p>
1748            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1749            * </p>
1750            *
1751            * @param groupId the group ID
1752            * @param status the status
1753            * @param start the lower bound of the range of journal articles
1754            * @param end the upper bound of the range of journal articles (not inclusive)
1755            * @return the range of matching journal articles
1756            * @throws SystemException if a system exception occurred
1757            */
1758            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST(
1759                    long groupId, int status, int start, int end)
1760                    throws com.liferay.portal.kernel.exception.SystemException;
1761    
1762            /**
1763            * Returns an ordered range of all the journal articles where groupId = &#63; and status = &#63;.
1764            *
1765            * <p>
1766            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1767            * </p>
1768            *
1769            * @param groupId the group ID
1770            * @param status the status
1771            * @param start the lower bound of the range of journal articles
1772            * @param end the upper bound of the range of journal articles (not inclusive)
1773            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1774            * @return the ordered range of matching journal articles
1775            * @throws SystemException if a system exception occurred
1776            */
1777            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST(
1778                    long groupId, int status, int start, int end,
1779                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1780                    throws com.liferay.portal.kernel.exception.SystemException;
1781    
1782            /**
1783            * Returns the first journal article in the ordered set where groupId = &#63; and status = &#63;.
1784            *
1785            * <p>
1786            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1787            * </p>
1788            *
1789            * @param groupId the group ID
1790            * @param status the status
1791            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1792            * @return the first matching journal article
1793            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1794            * @throws SystemException if a system exception occurred
1795            */
1796            public com.liferay.portlet.journal.model.JournalArticle findByG_ST_First(
1797                    long groupId, int status,
1798                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1799                    throws com.liferay.portal.kernel.exception.SystemException,
1800                            com.liferay.portlet.journal.NoSuchArticleException;
1801    
1802            /**
1803            * Returns the last journal article in the ordered set where groupId = &#63; and status = &#63;.
1804            *
1805            * <p>
1806            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1807            * </p>
1808            *
1809            * @param groupId the group ID
1810            * @param status the status
1811            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1812            * @return the last matching journal article
1813            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1814            * @throws SystemException if a system exception occurred
1815            */
1816            public com.liferay.portlet.journal.model.JournalArticle findByG_ST_Last(
1817                    long groupId, int status,
1818                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1819                    throws com.liferay.portal.kernel.exception.SystemException,
1820                            com.liferay.portlet.journal.NoSuchArticleException;
1821    
1822            /**
1823            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and status = &#63;.
1824            *
1825            * <p>
1826            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1827            * </p>
1828            *
1829            * @param id the primary key of the current journal article
1830            * @param groupId the group ID
1831            * @param status the status
1832            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1833            * @return the previous, current, and next journal article
1834            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1835            * @throws SystemException if a system exception occurred
1836            */
1837            public com.liferay.portlet.journal.model.JournalArticle[] findByG_ST_PrevAndNext(
1838                    long id, long groupId, int status,
1839                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1840                    throws com.liferay.portal.kernel.exception.SystemException,
1841                            com.liferay.portlet.journal.NoSuchArticleException;
1842    
1843            /**
1844            * Returns all the journal articles that the user has permission to view where groupId = &#63; and status = &#63;.
1845            *
1846            * @param groupId the group ID
1847            * @param status the status
1848            * @return the matching journal articles that the user has permission to view
1849            * @throws SystemException if a system exception occurred
1850            */
1851            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST(
1852                    long groupId, int status)
1853                    throws com.liferay.portal.kernel.exception.SystemException;
1854    
1855            /**
1856            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and status = &#63;.
1857            *
1858            * <p>
1859            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1860            * </p>
1861            *
1862            * @param groupId the group ID
1863            * @param status the status
1864            * @param start the lower bound of the range of journal articles
1865            * @param end the upper bound of the range of journal articles (not inclusive)
1866            * @return the range of matching journal articles that the user has permission to view
1867            * @throws SystemException if a system exception occurred
1868            */
1869            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST(
1870                    long groupId, int status, int start, int end)
1871                    throws com.liferay.portal.kernel.exception.SystemException;
1872    
1873            /**
1874            * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = &#63; and status = &#63;.
1875            *
1876            * <p>
1877            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1878            * </p>
1879            *
1880            * @param groupId the group ID
1881            * @param status the status
1882            * @param start the lower bound of the range of journal articles
1883            * @param end the upper bound of the range of journal articles (not inclusive)
1884            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1885            * @return the ordered range of matching journal articles that the user has permission to view
1886            * @throws SystemException if a system exception occurred
1887            */
1888            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST(
1889                    long groupId, int status, int start, int end,
1890                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1891                    throws com.liferay.portal.kernel.exception.SystemException;
1892    
1893            /**
1894            * 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;.
1895            *
1896            * @param id the primary key of the current journal article
1897            * @param groupId the group ID
1898            * @param status the status
1899            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1900            * @return the previous, current, and next journal article
1901            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1902            * @throws SystemException if a system exception occurred
1903            */
1904            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_ST_PrevAndNext(
1905                    long id, long groupId, int status,
1906                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1907                    throws com.liferay.portal.kernel.exception.SystemException,
1908                            com.liferay.portlet.journal.NoSuchArticleException;
1909    
1910            /**
1911            * Returns all the journal articles where companyId = &#63; and version = &#63;.
1912            *
1913            * @param companyId the company ID
1914            * @param version the version
1915            * @return the matching journal articles
1916            * @throws SystemException if a system exception occurred
1917            */
1918            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V(
1919                    long companyId, double version)
1920                    throws com.liferay.portal.kernel.exception.SystemException;
1921    
1922            /**
1923            * Returns a range of all the journal articles where companyId = &#63; and version = &#63;.
1924            *
1925            * <p>
1926            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1927            * </p>
1928            *
1929            * @param companyId the company ID
1930            * @param version the version
1931            * @param start the lower bound of the range of journal articles
1932            * @param end the upper bound of the range of journal articles (not inclusive)
1933            * @return the range of matching journal articles
1934            * @throws SystemException if a system exception occurred
1935            */
1936            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V(
1937                    long companyId, double version, int start, int end)
1938                    throws com.liferay.portal.kernel.exception.SystemException;
1939    
1940            /**
1941            * Returns an ordered range of all the journal articles where companyId = &#63; and version = &#63;.
1942            *
1943            * <p>
1944            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1945            * </p>
1946            *
1947            * @param companyId the company ID
1948            * @param version the version
1949            * @param start the lower bound of the range of journal articles
1950            * @param end the upper bound of the range of journal articles (not inclusive)
1951            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1952            * @return the ordered range of matching journal articles
1953            * @throws SystemException if a system exception occurred
1954            */
1955            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V(
1956                    long companyId, double version, int start, int end,
1957                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1958                    throws com.liferay.portal.kernel.exception.SystemException;
1959    
1960            /**
1961            * Returns the first journal article in the ordered set where companyId = &#63; and version = &#63;.
1962            *
1963            * <p>
1964            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1965            * </p>
1966            *
1967            * @param companyId the company ID
1968            * @param version the version
1969            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1970            * @return the first matching journal article
1971            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1972            * @throws SystemException if a system exception occurred
1973            */
1974            public com.liferay.portlet.journal.model.JournalArticle findByC_V_First(
1975                    long companyId, double version,
1976                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1977                    throws com.liferay.portal.kernel.exception.SystemException,
1978                            com.liferay.portlet.journal.NoSuchArticleException;
1979    
1980            /**
1981            * Returns the last journal article in the ordered set where companyId = &#63; and version = &#63;.
1982            *
1983            * <p>
1984            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1985            * </p>
1986            *
1987            * @param companyId the company ID
1988            * @param version the version
1989            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1990            * @return the last matching journal article
1991            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1992            * @throws SystemException if a system exception occurred
1993            */
1994            public com.liferay.portlet.journal.model.JournalArticle findByC_V_Last(
1995                    long companyId, double version,
1996                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1997                    throws com.liferay.portal.kernel.exception.SystemException,
1998                            com.liferay.portlet.journal.NoSuchArticleException;
1999    
2000            /**
2001            * Returns the journal articles before and after the current journal article in the ordered set where companyId = &#63; and version = &#63;.
2002            *
2003            * <p>
2004            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2005            * </p>
2006            *
2007            * @param id the primary key of the current journal article
2008            * @param companyId the company ID
2009            * @param version the version
2010            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2011            * @return the previous, current, and next journal article
2012            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2013            * @throws SystemException if a system exception occurred
2014            */
2015            public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_PrevAndNext(
2016                    long id, long companyId, double version,
2017                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2018                    throws com.liferay.portal.kernel.exception.SystemException,
2019                            com.liferay.portlet.journal.NoSuchArticleException;
2020    
2021            /**
2022            * Returns all the journal articles where companyId = &#63; and status = &#63;.
2023            *
2024            * @param companyId the company ID
2025            * @param status the status
2026            * @return the matching journal articles
2027            * @throws SystemException if a system exception occurred
2028            */
2029            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST(
2030                    long companyId, int status)
2031                    throws com.liferay.portal.kernel.exception.SystemException;
2032    
2033            /**
2034            * Returns a range of all the journal articles where companyId = &#63; and status = &#63;.
2035            *
2036            * <p>
2037            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2038            * </p>
2039            *
2040            * @param companyId the company ID
2041            * @param status the status
2042            * @param start the lower bound of the range of journal articles
2043            * @param end the upper bound of the range of journal articles (not inclusive)
2044            * @return the range of matching journal articles
2045            * @throws SystemException if a system exception occurred
2046            */
2047            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST(
2048                    long companyId, int status, int start, int end)
2049                    throws com.liferay.portal.kernel.exception.SystemException;
2050    
2051            /**
2052            * Returns an ordered range of all the journal articles where companyId = &#63; and status = &#63;.
2053            *
2054            * <p>
2055            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2056            * </p>
2057            *
2058            * @param companyId the company ID
2059            * @param status the status
2060            * @param start the lower bound of the range of journal articles
2061            * @param end the upper bound of the range of journal articles (not inclusive)
2062            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2063            * @return the ordered range of matching journal articles
2064            * @throws SystemException if a system exception occurred
2065            */
2066            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST(
2067                    long companyId, int status, int start, int end,
2068                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2069                    throws com.liferay.portal.kernel.exception.SystemException;
2070    
2071            /**
2072            * Returns the first journal article in the ordered set where companyId = &#63; and status = &#63;.
2073            *
2074            * <p>
2075            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2076            * </p>
2077            *
2078            * @param companyId the company ID
2079            * @param status the status
2080            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2081            * @return the first matching journal article
2082            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2083            * @throws SystemException if a system exception occurred
2084            */
2085            public com.liferay.portlet.journal.model.JournalArticle findByC_ST_First(
2086                    long companyId, int status,
2087                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2088                    throws com.liferay.portal.kernel.exception.SystemException,
2089                            com.liferay.portlet.journal.NoSuchArticleException;
2090    
2091            /**
2092            * Returns the last journal article in the ordered set where companyId = &#63; and status = &#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 companyId the company ID
2099            * @param status the status
2100            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2101            * @return the last matching journal article
2102            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2103            * @throws SystemException if a system exception occurred
2104            */
2105            public com.liferay.portlet.journal.model.JournalArticle findByC_ST_Last(
2106                    long companyId, int status,
2107                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2108                    throws com.liferay.portal.kernel.exception.SystemException,
2109                            com.liferay.portlet.journal.NoSuchArticleException;
2110    
2111            /**
2112            * Returns the journal articles before and after the current journal article in the ordered set where companyId = &#63; and status = &#63;.
2113            *
2114            * <p>
2115            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2116            * </p>
2117            *
2118            * @param id the primary key of the current journal article
2119            * @param companyId the company ID
2120            * @param status the status
2121            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2122            * @return the previous, current, and next journal article
2123            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2124            * @throws SystemException if a system exception occurred
2125            */
2126            public com.liferay.portlet.journal.model.JournalArticle[] findByC_ST_PrevAndNext(
2127                    long id, long companyId, int status,
2128                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2129                    throws com.liferay.portal.kernel.exception.SystemException,
2130                            com.liferay.portlet.journal.NoSuchArticleException;
2131    
2132            /**
2133            * Returns all the journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
2134            *
2135            * @param groupId the group ID
2136            * @param classNameId the class name ID
2137            * @param classPK the class p k
2138            * @return the matching journal articles
2139            * @throws SystemException if a system exception occurred
2140            */
2141            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C(
2142                    long groupId, long classNameId, long classPK)
2143                    throws com.liferay.portal.kernel.exception.SystemException;
2144    
2145            /**
2146            * Returns a range of all the journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
2147            *
2148            * <p>
2149            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2150            * </p>
2151            *
2152            * @param groupId the group ID
2153            * @param classNameId the class name ID
2154            * @param classPK the class p k
2155            * @param start the lower bound of the range of journal articles
2156            * @param end the upper bound of the range of journal articles (not inclusive)
2157            * @return the range of matching journal articles
2158            * @throws SystemException if a system exception occurred
2159            */
2160            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C(
2161                    long groupId, long classNameId, long classPK, int start, int end)
2162                    throws com.liferay.portal.kernel.exception.SystemException;
2163    
2164            /**
2165            * Returns an ordered range of all the journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
2166            *
2167            * <p>
2168            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2169            * </p>
2170            *
2171            * @param groupId the group ID
2172            * @param classNameId the class name ID
2173            * @param classPK the class p k
2174            * @param start the lower bound of the range of journal articles
2175            * @param end the upper bound of the range of journal articles (not inclusive)
2176            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2177            * @return the ordered range of matching journal articles
2178            * @throws SystemException if a system exception occurred
2179            */
2180            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C(
2181                    long groupId, long classNameId, long classPK, int start, int end,
2182                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2183                    throws com.liferay.portal.kernel.exception.SystemException;
2184    
2185            /**
2186            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
2187            *
2188            * <p>
2189            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2190            * </p>
2191            *
2192            * @param groupId the group ID
2193            * @param classNameId the class name ID
2194            * @param classPK the class p k
2195            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2196            * @return the first matching journal article
2197            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2198            * @throws SystemException if a system exception occurred
2199            */
2200            public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_First(
2201                    long groupId, long classNameId, long classPK,
2202                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2203                    throws com.liferay.portal.kernel.exception.SystemException,
2204                            com.liferay.portlet.journal.NoSuchArticleException;
2205    
2206            /**
2207            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
2208            *
2209            * <p>
2210            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2211            * </p>
2212            *
2213            * @param groupId the group ID
2214            * @param classNameId the class name ID
2215            * @param classPK the class p k
2216            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2217            * @return the last matching journal article
2218            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2219            * @throws SystemException if a system exception occurred
2220            */
2221            public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_Last(
2222                    long groupId, long classNameId, long classPK,
2223                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2224                    throws com.liferay.portal.kernel.exception.SystemException,
2225                            com.liferay.portlet.journal.NoSuchArticleException;
2226    
2227            /**
2228            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
2229            *
2230            * <p>
2231            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2232            * </p>
2233            *
2234            * @param id the primary key of the current journal article
2235            * @param groupId the group ID
2236            * @param classNameId the class name ID
2237            * @param classPK the class p k
2238            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2239            * @return the previous, current, and next journal article
2240            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2241            * @throws SystemException if a system exception occurred
2242            */
2243            public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_C_PrevAndNext(
2244                    long id, long groupId, long classNameId, long classPK,
2245                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2246                    throws com.liferay.portal.kernel.exception.SystemException,
2247                            com.liferay.portlet.journal.NoSuchArticleException;
2248    
2249            /**
2250            * Returns all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
2251            *
2252            * @param groupId the group ID
2253            * @param classNameId the class name ID
2254            * @param classPK the class p k
2255            * @return the matching journal articles that the user has permission to view
2256            * @throws SystemException if a system exception occurred
2257            */
2258            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C(
2259                    long groupId, long classNameId, long classPK)
2260                    throws com.liferay.portal.kernel.exception.SystemException;
2261    
2262            /**
2263            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
2264            *
2265            * <p>
2266            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2267            * </p>
2268            *
2269            * @param groupId the group ID
2270            * @param classNameId the class name ID
2271            * @param classPK the class p k
2272            * @param start the lower bound of the range of journal articles
2273            * @param end the upper bound of the range of journal articles (not inclusive)
2274            * @return the range of matching journal articles that the user has permission to view
2275            * @throws SystemException if a system exception occurred
2276            */
2277            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C(
2278                    long groupId, long classNameId, long classPK, int start, int end)
2279                    throws com.liferay.portal.kernel.exception.SystemException;
2280    
2281            /**
2282            * 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;.
2283            *
2284            * <p>
2285            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2286            * </p>
2287            *
2288            * @param groupId the group ID
2289            * @param classNameId the class name ID
2290            * @param classPK the class p k
2291            * @param start the lower bound of the range of journal articles
2292            * @param end the upper bound of the range of journal articles (not inclusive)
2293            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2294            * @return the ordered range of matching journal articles that the user has permission to view
2295            * @throws SystemException if a system exception occurred
2296            */
2297            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C(
2298                    long groupId, long classNameId, long classPK, int start, int end,
2299                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2300                    throws com.liferay.portal.kernel.exception.SystemException;
2301    
2302            /**
2303            * 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;.
2304            *
2305            * @param id the primary key of the current journal article
2306            * @param groupId the group ID
2307            * @param classNameId the class name ID
2308            * @param classPK the class p k
2309            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2310            * @return the previous, current, and next journal article
2311            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2312            * @throws SystemException if a system exception occurred
2313            */
2314            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_C_PrevAndNext(
2315                    long id, long groupId, long classNameId, long classPK,
2316                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2317                    throws com.liferay.portal.kernel.exception.SystemException,
2318                            com.liferay.portlet.journal.NoSuchArticleException;
2319    
2320            /**
2321            * 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.
2322            *
2323            * @param groupId the group ID
2324            * @param classNameId the class name ID
2325            * @param structureId the structure ID
2326            * @return the matching journal article
2327            * @throws com.liferay.portlet.journal.NoSuchArticleException 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 findByG_C_S(
2331                    long groupId, long classNameId, java.lang.String structureId)
2332                    throws com.liferay.portal.kernel.exception.SystemException,
2333                            com.liferay.portlet.journal.NoSuchArticleException;
2334    
2335            /**
2336            * 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.
2337            *
2338            * @param groupId the group ID
2339            * @param classNameId the class name ID
2340            * @param structureId the structure ID
2341            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
2342            * @throws SystemException if a system exception occurred
2343            */
2344            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_S(
2345                    long groupId, long classNameId, java.lang.String structureId)
2346                    throws com.liferay.portal.kernel.exception.SystemException;
2347    
2348            /**
2349            * 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.
2350            *
2351            * @param groupId the group ID
2352            * @param classNameId the class name ID
2353            * @param structureId the structure ID
2354            * @param retrieveFromCache whether to use the finder cache
2355            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
2356            * @throws SystemException if a system exception occurred
2357            */
2358            public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_S(
2359                    long groupId, long classNameId, java.lang.String structureId,
2360                    boolean retrieveFromCache)
2361                    throws com.liferay.portal.kernel.exception.SystemException;
2362    
2363            /**
2364            * Returns all the journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
2365            *
2366            * @param groupId the group ID
2367            * @param classNameId the class name ID
2368            * @param templateId the template ID
2369            * @return the matching journal articles
2370            * @throws SystemException if a system exception occurred
2371            */
2372            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T(
2373                    long groupId, long classNameId, java.lang.String templateId)
2374                    throws com.liferay.portal.kernel.exception.SystemException;
2375    
2376            /**
2377            * Returns a range of all the journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
2378            *
2379            * <p>
2380            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2381            * </p>
2382            *
2383            * @param groupId the group ID
2384            * @param classNameId the class name ID
2385            * @param templateId the template ID
2386            * @param start the lower bound of the range of journal articles
2387            * @param end the upper bound of the range of journal articles (not inclusive)
2388            * @return the range of matching journal articles
2389            * @throws SystemException if a system exception occurred
2390            */
2391            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T(
2392                    long groupId, long classNameId, java.lang.String templateId, int start,
2393                    int end) throws com.liferay.portal.kernel.exception.SystemException;
2394    
2395            /**
2396            * Returns an ordered range of all the journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
2397            *
2398            * <p>
2399            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2400            * </p>
2401            *
2402            * @param groupId the group ID
2403            * @param classNameId the class name ID
2404            * @param templateId the template ID
2405            * @param start the lower bound of the range of journal articles
2406            * @param end the upper bound of the range of journal articles (not inclusive)
2407            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2408            * @return the ordered range of matching journal articles
2409            * @throws SystemException if a system exception occurred
2410            */
2411            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T(
2412                    long groupId, long classNameId, java.lang.String templateId, int start,
2413                    int end,
2414                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2415                    throws com.liferay.portal.kernel.exception.SystemException;
2416    
2417            /**
2418            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
2419            *
2420            * <p>
2421            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2422            * </p>
2423            *
2424            * @param groupId the group ID
2425            * @param classNameId the class name ID
2426            * @param templateId the template ID
2427            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2428            * @return the first matching journal article
2429            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2430            * @throws SystemException if a system exception occurred
2431            */
2432            public com.liferay.portlet.journal.model.JournalArticle findByG_C_T_First(
2433                    long groupId, long classNameId, java.lang.String templateId,
2434                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2435                    throws com.liferay.portal.kernel.exception.SystemException,
2436                            com.liferay.portlet.journal.NoSuchArticleException;
2437    
2438            /**
2439            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
2440            *
2441            * <p>
2442            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2443            * </p>
2444            *
2445            * @param groupId the group ID
2446            * @param classNameId the class name ID
2447            * @param templateId the template ID
2448            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2449            * @return the last matching journal article
2450            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2451            * @throws SystemException if a system exception occurred
2452            */
2453            public com.liferay.portlet.journal.model.JournalArticle findByG_C_T_Last(
2454                    long groupId, long classNameId, java.lang.String templateId,
2455                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2456                    throws com.liferay.portal.kernel.exception.SystemException,
2457                            com.liferay.portlet.journal.NoSuchArticleException;
2458    
2459            /**
2460            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
2461            *
2462            * <p>
2463            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2464            * </p>
2465            *
2466            * @param id the primary key of the current journal article
2467            * @param groupId the group ID
2468            * @param classNameId the class name ID
2469            * @param templateId the template ID
2470            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2471            * @return the previous, current, and next journal article
2472            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2473            * @throws SystemException if a system exception occurred
2474            */
2475            public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_T_PrevAndNext(
2476                    long id, long groupId, long classNameId, java.lang.String templateId,
2477                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2478                    throws com.liferay.portal.kernel.exception.SystemException,
2479                            com.liferay.portlet.journal.NoSuchArticleException;
2480    
2481            /**
2482            * Returns all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
2483            *
2484            * @param groupId the group ID
2485            * @param classNameId the class name ID
2486            * @param templateId the template ID
2487            * @return the matching journal articles that the user has permission to view
2488            * @throws SystemException if a system exception occurred
2489            */
2490            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T(
2491                    long groupId, long classNameId, java.lang.String templateId)
2492                    throws com.liferay.portal.kernel.exception.SystemException;
2493    
2494            /**
2495            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
2496            *
2497            * <p>
2498            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2499            * </p>
2500            *
2501            * @param groupId the group ID
2502            * @param classNameId the class name ID
2503            * @param templateId the template ID
2504            * @param start the lower bound of the range of journal articles
2505            * @param end the upper bound of the range of journal articles (not inclusive)
2506            * @return the range of matching journal articles that the user has permission to view
2507            * @throws SystemException if a system exception occurred
2508            */
2509            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T(
2510                    long groupId, long classNameId, java.lang.String templateId, int start,
2511                    int end) throws com.liferay.portal.kernel.exception.SystemException;
2512    
2513            /**
2514            * 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;.
2515            *
2516            * <p>
2517            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2518            * </p>
2519            *
2520            * @param groupId the group ID
2521            * @param classNameId the class name ID
2522            * @param templateId the template ID
2523            * @param start the lower bound of the range of journal articles
2524            * @param end the upper bound of the range of journal articles (not inclusive)
2525            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2526            * @return the ordered range of matching journal articles that the user has permission to view
2527            * @throws SystemException if a system exception occurred
2528            */
2529            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T(
2530                    long groupId, long classNameId, java.lang.String templateId, int start,
2531                    int end,
2532                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2533                    throws com.liferay.portal.kernel.exception.SystemException;
2534    
2535            /**
2536            * 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;.
2537            *
2538            * @param id the primary key of the current journal article
2539            * @param groupId the group ID
2540            * @param classNameId the class name ID
2541            * @param templateId the template ID
2542            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2543            * @return the previous, current, and next journal article
2544            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2545            * @throws SystemException if a system exception occurred
2546            */
2547            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_T_PrevAndNext(
2548                    long id, long groupId, long classNameId, java.lang.String templateId,
2549                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2550                    throws com.liferay.portal.kernel.exception.SystemException,
2551                            com.liferay.portlet.journal.NoSuchArticleException;
2552    
2553            /**
2554            * Returns all the journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
2555            *
2556            * @param groupId the group ID
2557            * @param classNameId the class name ID
2558            * @param layoutUuid the layout uuid
2559            * @return the matching journal articles
2560            * @throws SystemException if a system exception occurred
2561            */
2562            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L(
2563                    long groupId, long classNameId, java.lang.String layoutUuid)
2564                    throws com.liferay.portal.kernel.exception.SystemException;
2565    
2566            /**
2567            * Returns a range of all the journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
2568            *
2569            * <p>
2570            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2571            * </p>
2572            *
2573            * @param groupId the group ID
2574            * @param classNameId the class name ID
2575            * @param layoutUuid the layout uuid
2576            * @param start the lower bound of the range of journal articles
2577            * @param end the upper bound of the range of journal articles (not inclusive)
2578            * @return the range of matching journal articles
2579            * @throws SystemException if a system exception occurred
2580            */
2581            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L(
2582                    long groupId, long classNameId, java.lang.String layoutUuid, int start,
2583                    int end) throws com.liferay.portal.kernel.exception.SystemException;
2584    
2585            /**
2586            * Returns an ordered range of all the journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
2587            *
2588            * <p>
2589            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2590            * </p>
2591            *
2592            * @param groupId the group ID
2593            * @param classNameId the class name ID
2594            * @param layoutUuid the layout uuid
2595            * @param start the lower bound of the range of journal articles
2596            * @param end the upper bound of the range of journal articles (not inclusive)
2597            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2598            * @return the ordered range of matching journal articles
2599            * @throws SystemException if a system exception occurred
2600            */
2601            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L(
2602                    long groupId, long classNameId, java.lang.String layoutUuid, int start,
2603                    int end,
2604                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2605                    throws com.liferay.portal.kernel.exception.SystemException;
2606    
2607            /**
2608            * Returns the first journal article in the ordered set where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
2609            *
2610            * <p>
2611            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2612            * </p>
2613            *
2614            * @param groupId the group ID
2615            * @param classNameId the class name ID
2616            * @param layoutUuid the layout uuid
2617            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2618            * @return the first matching journal article
2619            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2620            * @throws SystemException if a system exception occurred
2621            */
2622            public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_First(
2623                    long groupId, long classNameId, java.lang.String layoutUuid,
2624                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2625                    throws com.liferay.portal.kernel.exception.SystemException,
2626                            com.liferay.portlet.journal.NoSuchArticleException;
2627    
2628            /**
2629            * Returns the last journal article in the ordered set where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
2630            *
2631            * <p>
2632            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2633            * </p>
2634            *
2635            * @param groupId the group ID
2636            * @param classNameId the class name ID
2637            * @param layoutUuid the layout uuid
2638            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2639            * @return the last matching journal article
2640            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2641            * @throws SystemException if a system exception occurred
2642            */
2643            public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_Last(
2644                    long groupId, long classNameId, java.lang.String layoutUuid,
2645                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2646                    throws com.liferay.portal.kernel.exception.SystemException,
2647                            com.liferay.portlet.journal.NoSuchArticleException;
2648    
2649            /**
2650            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
2651            *
2652            * <p>
2653            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2654            * </p>
2655            *
2656            * @param id the primary key of the current journal article
2657            * @param groupId the group ID
2658            * @param classNameId the class name ID
2659            * @param layoutUuid the layout uuid
2660            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2661            * @return the previous, current, and next journal article
2662            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2663            * @throws SystemException if a system exception occurred
2664            */
2665            public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_L_PrevAndNext(
2666                    long id, long groupId, long classNameId, java.lang.String layoutUuid,
2667                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2668                    throws com.liferay.portal.kernel.exception.SystemException,
2669                            com.liferay.portlet.journal.NoSuchArticleException;
2670    
2671            /**
2672            * Returns all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
2673            *
2674            * @param groupId the group ID
2675            * @param classNameId the class name ID
2676            * @param layoutUuid the layout uuid
2677            * @return the matching journal articles that the user has permission to view
2678            * @throws SystemException if a system exception occurred
2679            */
2680            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L(
2681                    long groupId, long classNameId, java.lang.String layoutUuid)
2682                    throws com.liferay.portal.kernel.exception.SystemException;
2683    
2684            /**
2685            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
2686            *
2687            * <p>
2688            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2689            * </p>
2690            *
2691            * @param groupId the group ID
2692            * @param classNameId the class name ID
2693            * @param layoutUuid the layout uuid
2694            * @param start the lower bound of the range of journal articles
2695            * @param end the upper bound of the range of journal articles (not inclusive)
2696            * @return the range of matching journal articles that the user has permission to view
2697            * @throws SystemException if a system exception occurred
2698            */
2699            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L(
2700                    long groupId, long classNameId, java.lang.String layoutUuid, int start,
2701                    int end) throws com.liferay.portal.kernel.exception.SystemException;
2702    
2703            /**
2704            * 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;.
2705            *
2706            * <p>
2707            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2708            * </p>
2709            *
2710            * @param groupId the group ID
2711            * @param classNameId the class name ID
2712            * @param layoutUuid the layout uuid
2713            * @param start the lower bound of the range of journal articles
2714            * @param end the upper bound of the range of journal articles (not inclusive)
2715            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2716            * @return the ordered range of matching journal articles that the user has permission to view
2717            * @throws SystemException if a system exception occurred
2718            */
2719            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L(
2720                    long groupId, long classNameId, java.lang.String layoutUuid, int start,
2721                    int end,
2722                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2723                    throws com.liferay.portal.kernel.exception.SystemException;
2724    
2725            /**
2726            * 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;.
2727            *
2728            * @param id the primary key of the current journal article
2729            * @param groupId the group ID
2730            * @param classNameId the class name ID
2731            * @param layoutUuid the layout uuid
2732            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2733            * @return the previous, current, and next journal article
2734            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2735            * @throws SystemException if a system exception occurred
2736            */
2737            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_L_PrevAndNext(
2738                    long id, long groupId, long classNameId, java.lang.String layoutUuid,
2739                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2740                    throws com.liferay.portal.kernel.exception.SystemException,
2741                            com.liferay.portlet.journal.NoSuchArticleException;
2742    
2743            /**
2744            * 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.
2745            *
2746            * @param groupId the group ID
2747            * @param articleId the article ID
2748            * @param version the version
2749            * @return the matching journal article
2750            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2751            * @throws SystemException if a system exception occurred
2752            */
2753            public com.liferay.portlet.journal.model.JournalArticle findByG_A_V(
2754                    long groupId, java.lang.String articleId, double version)
2755                    throws com.liferay.portal.kernel.exception.SystemException,
2756                            com.liferay.portlet.journal.NoSuchArticleException;
2757    
2758            /**
2759            * 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.
2760            *
2761            * @param groupId the group ID
2762            * @param articleId the article ID
2763            * @param version the version
2764            * @return the matching journal article, or <code>null</code> 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 fetchByG_A_V(
2768                    long groupId, java.lang.String articleId, double version)
2769                    throws com.liferay.portal.kernel.exception.SystemException;
2770    
2771            /**
2772            * 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.
2773            *
2774            * @param groupId the group ID
2775            * @param articleId the article ID
2776            * @param version the version
2777            * @param retrieveFromCache whether to use the finder cache
2778            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
2779            * @throws SystemException if a system exception occurred
2780            */
2781            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V(
2782                    long groupId, java.lang.String articleId, double version,
2783                    boolean retrieveFromCache)
2784                    throws com.liferay.portal.kernel.exception.SystemException;
2785    
2786            /**
2787            * Returns all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
2788            *
2789            * @param groupId the group ID
2790            * @param articleId the article ID
2791            * @param status the status
2792            * @return the matching journal articles
2793            * @throws SystemException if a system exception occurred
2794            */
2795            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
2796                    long groupId, java.lang.String articleId, int status)
2797                    throws com.liferay.portal.kernel.exception.SystemException;
2798    
2799            /**
2800            * Returns a range of all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
2801            *
2802            * <p>
2803            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2804            * </p>
2805            *
2806            * @param groupId the group ID
2807            * @param articleId the article ID
2808            * @param status the status
2809            * @param start the lower bound of the range of journal articles
2810            * @param end the upper bound of the range of journal articles (not inclusive)
2811            * @return the range of matching journal articles
2812            * @throws SystemException if a system exception occurred
2813            */
2814            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
2815                    long groupId, java.lang.String articleId, int status, int start, int end)
2816                    throws com.liferay.portal.kernel.exception.SystemException;
2817    
2818            /**
2819            * Returns an ordered range of all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
2820            *
2821            * <p>
2822            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2823            * </p>
2824            *
2825            * @param groupId the group ID
2826            * @param articleId the article ID
2827            * @param status the status
2828            * @param start the lower bound of the range of journal articles
2829            * @param end the upper bound of the range of journal articles (not inclusive)
2830            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2831            * @return the ordered range of matching journal articles
2832            * @throws SystemException if a system exception occurred
2833            */
2834            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
2835                    long groupId, java.lang.String articleId, int status, int start,
2836                    int end,
2837                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2838                    throws com.liferay.portal.kernel.exception.SystemException;
2839    
2840            /**
2841            * Returns the first journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
2842            *
2843            * <p>
2844            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2845            * </p>
2846            *
2847            * @param groupId the group ID
2848            * @param articleId the article ID
2849            * @param status the status
2850            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2851            * @return the first matching journal article
2852            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2853            * @throws SystemException if a system exception occurred
2854            */
2855            public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_First(
2856                    long groupId, java.lang.String articleId, int status,
2857                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2858                    throws com.liferay.portal.kernel.exception.SystemException,
2859                            com.liferay.portlet.journal.NoSuchArticleException;
2860    
2861            /**
2862            * Returns the last journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
2863            *
2864            * <p>
2865            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2866            * </p>
2867            *
2868            * @param groupId the group ID
2869            * @param articleId the article ID
2870            * @param status the status
2871            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2872            * @return the last matching journal article
2873            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2874            * @throws SystemException if a system exception occurred
2875            */
2876            public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_Last(
2877                    long groupId, java.lang.String articleId, int status,
2878                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2879                    throws com.liferay.portal.kernel.exception.SystemException,
2880                            com.liferay.portlet.journal.NoSuchArticleException;
2881    
2882            /**
2883            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
2884            *
2885            * <p>
2886            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2887            * </p>
2888            *
2889            * @param id the primary key of the current journal article
2890            * @param groupId the group ID
2891            * @param articleId the article ID
2892            * @param status the status
2893            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2894            * @return the previous, current, and next journal article
2895            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2896            * @throws SystemException if a system exception occurred
2897            */
2898            public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_ST_PrevAndNext(
2899                    long id, long groupId, java.lang.String articleId, int status,
2900                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2901                    throws com.liferay.portal.kernel.exception.SystemException,
2902                            com.liferay.portlet.journal.NoSuchArticleException;
2903    
2904            /**
2905            * Returns all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = &#63;.
2906            *
2907            * @param groupId the group ID
2908            * @param articleId the article ID
2909            * @param status the status
2910            * @return the matching journal articles that the user has permission to view
2911            * @throws SystemException if a system exception occurred
2912            */
2913            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
2914                    long groupId, java.lang.String articleId, int status)
2915                    throws com.liferay.portal.kernel.exception.SystemException;
2916    
2917            /**
2918            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = &#63;.
2919            *
2920            * <p>
2921            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2922            * </p>
2923            *
2924            * @param groupId the group ID
2925            * @param articleId the article ID
2926            * @param status the status
2927            * @param start the lower bound of the range of journal articles
2928            * @param end the upper bound of the range of journal articles (not inclusive)
2929            * @return the range of matching journal articles that the user has permission to view
2930            * @throws SystemException if a system exception occurred
2931            */
2932            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
2933                    long groupId, java.lang.String articleId, int status, int start, int end)
2934                    throws com.liferay.portal.kernel.exception.SystemException;
2935    
2936            /**
2937            * 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;.
2938            *
2939            * <p>
2940            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2941            * </p>
2942            *
2943            * @param groupId the group ID
2944            * @param articleId the article ID
2945            * @param status the status
2946            * @param start the lower bound of the range of journal articles
2947            * @param end the upper bound of the range of journal articles (not inclusive)
2948            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2949            * @return the ordered range of matching journal articles that the user has permission to view
2950            * @throws SystemException if a system exception occurred
2951            */
2952            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
2953                    long groupId, java.lang.String articleId, int status, int start,
2954                    int end,
2955                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2956                    throws com.liferay.portal.kernel.exception.SystemException;
2957    
2958            /**
2959            * 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;.
2960            *
2961            * @param id the primary key of the current journal article
2962            * @param groupId the group ID
2963            * @param articleId the article ID
2964            * @param status the status
2965            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2966            * @return the previous, current, and next journal article
2967            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2968            * @throws SystemException if a system exception occurred
2969            */
2970            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_ST_PrevAndNext(
2971                    long id, long groupId, java.lang.String articleId, int status,
2972                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2973                    throws com.liferay.portal.kernel.exception.SystemException,
2974                            com.liferay.portlet.journal.NoSuchArticleException;
2975    
2976            /**
2977            * Returns all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
2978            *
2979            * @param groupId the group ID
2980            * @param urlTitle the url title
2981            * @param status the status
2982            * @return the matching journal articles
2983            * @throws SystemException if a system exception occurred
2984            */
2985            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST(
2986                    long groupId, java.lang.String urlTitle, int status)
2987                    throws com.liferay.portal.kernel.exception.SystemException;
2988    
2989            /**
2990            * Returns a range of all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
2991            *
2992            * <p>
2993            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2994            * </p>
2995            *
2996            * @param groupId the group ID
2997            * @param urlTitle the url title
2998            * @param status the status
2999            * @param start the lower bound of the range of journal articles
3000            * @param end the upper bound of the range of journal articles (not inclusive)
3001            * @return the range of matching journal articles
3002            * @throws SystemException if a system exception occurred
3003            */
3004            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST(
3005                    long groupId, java.lang.String urlTitle, int status, int start, int end)
3006                    throws com.liferay.portal.kernel.exception.SystemException;
3007    
3008            /**
3009            * Returns an ordered range of all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
3010            *
3011            * <p>
3012            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3013            * </p>
3014            *
3015            * @param groupId the group ID
3016            * @param urlTitle the url title
3017            * @param status the status
3018            * @param start the lower bound of the range of journal articles
3019            * @param end the upper bound of the range of journal articles (not inclusive)
3020            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3021            * @return the ordered range of matching journal articles
3022            * @throws SystemException if a system exception occurred
3023            */
3024            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST(
3025                    long groupId, java.lang.String urlTitle, int status, int start,
3026                    int end,
3027                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3028                    throws com.liferay.portal.kernel.exception.SystemException;
3029    
3030            /**
3031            * Returns the first journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
3032            *
3033            * <p>
3034            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3035            * </p>
3036            *
3037            * @param groupId the group ID
3038            * @param urlTitle the url title
3039            * @param status the status
3040            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3041            * @return the first matching journal article
3042            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3043            * @throws SystemException if a system exception occurred
3044            */
3045            public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_First(
3046                    long groupId, java.lang.String urlTitle, int status,
3047                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3048                    throws com.liferay.portal.kernel.exception.SystemException,
3049                            com.liferay.portlet.journal.NoSuchArticleException;
3050    
3051            /**
3052            * Returns the last journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
3053            *
3054            * <p>
3055            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3056            * </p>
3057            *
3058            * @param groupId the group ID
3059            * @param urlTitle the url title
3060            * @param status the status
3061            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3062            * @return the last matching journal article
3063            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3064            * @throws SystemException if a system exception occurred
3065            */
3066            public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_Last(
3067                    long groupId, java.lang.String urlTitle, int status,
3068                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3069                    throws com.liferay.portal.kernel.exception.SystemException,
3070                            com.liferay.portlet.journal.NoSuchArticleException;
3071    
3072            /**
3073            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
3074            *
3075            * <p>
3076            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3077            * </p>
3078            *
3079            * @param id the primary key of the current journal article
3080            * @param groupId the group ID
3081            * @param urlTitle the url title
3082            * @param status the status
3083            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3084            * @return the previous, current, and next journal article
3085            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3086            * @throws SystemException if a system exception occurred
3087            */
3088            public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_ST_PrevAndNext(
3089                    long id, long groupId, java.lang.String urlTitle, int status,
3090                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3091                    throws com.liferay.portal.kernel.exception.SystemException,
3092                            com.liferay.portlet.journal.NoSuchArticleException;
3093    
3094            /**
3095            * Returns all the journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63; and status = &#63;.
3096            *
3097            * @param groupId the group ID
3098            * @param urlTitle the url title
3099            * @param status the status
3100            * @return the matching journal articles that the user has permission to view
3101            * @throws SystemException if a system exception occurred
3102            */
3103            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST(
3104                    long groupId, java.lang.String urlTitle, int status)
3105                    throws com.liferay.portal.kernel.exception.SystemException;
3106    
3107            /**
3108            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63; and status = &#63;.
3109            *
3110            * <p>
3111            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3112            * </p>
3113            *
3114            * @param groupId the group ID
3115            * @param urlTitle the url title
3116            * @param status the status
3117            * @param start the lower bound of the range of journal articles
3118            * @param end the upper bound of the range of journal articles (not inclusive)
3119            * @return the range of matching journal articles that the user has permission to view
3120            * @throws SystemException if a system exception occurred
3121            */
3122            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST(
3123                    long groupId, java.lang.String urlTitle, int status, int start, int end)
3124                    throws com.liferay.portal.kernel.exception.SystemException;
3125    
3126            /**
3127            * 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;.
3128            *
3129            * <p>
3130            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3131            * </p>
3132            *
3133            * @param groupId the group ID
3134            * @param urlTitle the url title
3135            * @param status the status
3136            * @param start the lower bound of the range of journal articles
3137            * @param end the upper bound of the range of journal articles (not inclusive)
3138            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3139            * @return the ordered range of matching journal articles that the user has permission to view
3140            * @throws SystemException if a system exception occurred
3141            */
3142            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST(
3143                    long groupId, java.lang.String urlTitle, int status, int start,
3144                    int end,
3145                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3146                    throws com.liferay.portal.kernel.exception.SystemException;
3147    
3148            /**
3149            * 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;.
3150            *
3151            * @param id the primary key of the current journal article
3152            * @param groupId the group ID
3153            * @param urlTitle the url title
3154            * @param status the status
3155            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3156            * @return the previous, current, and next journal article
3157            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3158            * @throws SystemException if a system exception occurred
3159            */
3160            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_ST_PrevAndNext(
3161                    long id, long groupId, java.lang.String urlTitle, int status,
3162                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3163                    throws com.liferay.portal.kernel.exception.SystemException,
3164                            com.liferay.portlet.journal.NoSuchArticleException;
3165    
3166            /**
3167            * Returns all the journal articles where companyId = &#63; and version = &#63; and status = &#63;.
3168            *
3169            * @param companyId the company ID
3170            * @param version the version
3171            * @param status the status
3172            * @return the matching journal articles
3173            * @throws SystemException if a system exception occurred
3174            */
3175            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST(
3176                    long companyId, double version, int status)
3177                    throws com.liferay.portal.kernel.exception.SystemException;
3178    
3179            /**
3180            * Returns a range of all the journal articles where companyId = &#63; and version = &#63; and status = &#63;.
3181            *
3182            * <p>
3183            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3184            * </p>
3185            *
3186            * @param companyId the company ID
3187            * @param version the version
3188            * @param status the status
3189            * @param start the lower bound of the range of journal articles
3190            * @param end the upper bound of the range of journal articles (not inclusive)
3191            * @return the range of matching journal articles
3192            * @throws SystemException if a system exception occurred
3193            */
3194            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST(
3195                    long companyId, double version, int status, int start, int end)
3196                    throws com.liferay.portal.kernel.exception.SystemException;
3197    
3198            /**
3199            * Returns an ordered range of all the journal articles where companyId = &#63; and version = &#63; and status = &#63;.
3200            *
3201            * <p>
3202            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3203            * </p>
3204            *
3205            * @param companyId the company ID
3206            * @param version the version
3207            * @param status the status
3208            * @param start the lower bound of the range of journal articles
3209            * @param end the upper bound of the range of journal articles (not inclusive)
3210            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3211            * @return the ordered range of matching journal articles
3212            * @throws SystemException if a system exception occurred
3213            */
3214            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST(
3215                    long companyId, double version, int status, int start, int end,
3216                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3217                    throws com.liferay.portal.kernel.exception.SystemException;
3218    
3219            /**
3220            * Returns the first journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
3221            *
3222            * <p>
3223            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3224            * </p>
3225            *
3226            * @param companyId the company ID
3227            * @param version the version
3228            * @param status the status
3229            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3230            * @return the first matching journal article
3231            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3232            * @throws SystemException if a system exception occurred
3233            */
3234            public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_First(
3235                    long companyId, double version, int status,
3236                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3237                    throws com.liferay.portal.kernel.exception.SystemException,
3238                            com.liferay.portlet.journal.NoSuchArticleException;
3239    
3240            /**
3241            * Returns the last journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
3242            *
3243            * <p>
3244            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3245            * </p>
3246            *
3247            * @param companyId the company ID
3248            * @param version the version
3249            * @param status the status
3250            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3251            * @return the last matching journal article
3252            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3253            * @throws SystemException if a system exception occurred
3254            */
3255            public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_Last(
3256                    long companyId, double version, int status,
3257                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3258                    throws com.liferay.portal.kernel.exception.SystemException,
3259                            com.liferay.portlet.journal.NoSuchArticleException;
3260    
3261            /**
3262            * Returns the journal articles before and after the current journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
3263            *
3264            * <p>
3265            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3266            * </p>
3267            *
3268            * @param id the primary key of the current journal article
3269            * @param companyId the company ID
3270            * @param version the version
3271            * @param status the status
3272            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3273            * @return the previous, current, and next journal article
3274            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3275            * @throws SystemException if a system exception occurred
3276            */
3277            public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_ST_PrevAndNext(
3278                    long id, long companyId, double version, int status,
3279                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3280                    throws com.liferay.portal.kernel.exception.SystemException,
3281                            com.liferay.portlet.journal.NoSuchArticleException;
3282    
3283            /**
3284            * Returns all the journal articles.
3285            *
3286            * @return the journal articles
3287            * @throws SystemException if a system exception occurred
3288            */
3289            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll()
3290                    throws com.liferay.portal.kernel.exception.SystemException;
3291    
3292            /**
3293            * Returns a range of all the journal articles.
3294            *
3295            * <p>
3296            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3297            * </p>
3298            *
3299            * @param start the lower bound of the range of journal articles
3300            * @param end the upper bound of the range of journal articles (not inclusive)
3301            * @return the range of journal articles
3302            * @throws SystemException if a system exception occurred
3303            */
3304            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll(
3305                    int start, int end)
3306                    throws com.liferay.portal.kernel.exception.SystemException;
3307    
3308            /**
3309            * Returns an ordered range of all the journal articles.
3310            *
3311            * <p>
3312            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3313            * </p>
3314            *
3315            * @param start the lower bound of the range of journal articles
3316            * @param end the upper bound of the range of journal articles (not inclusive)
3317            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3318            * @return the ordered range of journal articles
3319            * @throws SystemException if a system exception occurred
3320            */
3321            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll(
3322                    int start, int end,
3323                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3324                    throws com.liferay.portal.kernel.exception.SystemException;
3325    
3326            /**
3327            * Removes all the journal articles where uuid = &#63; from the database.
3328            *
3329            * @param uuid the uuid
3330            * @throws SystemException if a system exception occurred
3331            */
3332            public void removeByUuid(java.lang.String uuid)
3333                    throws com.liferay.portal.kernel.exception.SystemException;
3334    
3335            /**
3336            * Removes the journal article where uuid = &#63; and groupId = &#63; from the database.
3337            *
3338            * @param uuid the uuid
3339            * @param groupId the group ID
3340            * @throws SystemException if a system exception occurred
3341            */
3342            public void removeByUUID_G(java.lang.String uuid, long groupId)
3343                    throws com.liferay.portal.kernel.exception.SystemException,
3344                            com.liferay.portlet.journal.NoSuchArticleException;
3345    
3346            /**
3347            * Removes all the journal articles where resourcePrimKey = &#63; from the database.
3348            *
3349            * @param resourcePrimKey the resource prim key
3350            * @throws SystemException if a system exception occurred
3351            */
3352            public void removeByResourcePrimKey(long resourcePrimKey)
3353                    throws com.liferay.portal.kernel.exception.SystemException;
3354    
3355            /**
3356            * Removes all the journal articles where groupId = &#63; from the database.
3357            *
3358            * @param groupId the group ID
3359            * @throws SystemException if a system exception occurred
3360            */
3361            public void removeByGroupId(long groupId)
3362                    throws com.liferay.portal.kernel.exception.SystemException;
3363    
3364            /**
3365            * Removes all the journal articles where companyId = &#63; from the database.
3366            *
3367            * @param companyId the company ID
3368            * @throws SystemException if a system exception occurred
3369            */
3370            public void removeByCompanyId(long companyId)
3371                    throws com.liferay.portal.kernel.exception.SystemException;
3372    
3373            /**
3374            * Removes all the journal articles where smallImageId = &#63; from the database.
3375            *
3376            * @param smallImageId the small image ID
3377            * @throws SystemException if a system exception occurred
3378            */
3379            public void removeBySmallImageId(long smallImageId)
3380                    throws com.liferay.portal.kernel.exception.SystemException;
3381    
3382            /**
3383            * Removes all the journal articles where resourcePrimKey = &#63; and status = &#63; from the database.
3384            *
3385            * @param resourcePrimKey the resource prim key
3386            * @param status the status
3387            * @throws SystemException if a system exception occurred
3388            */
3389            public void removeByR_ST(long resourcePrimKey, int status)
3390                    throws com.liferay.portal.kernel.exception.SystemException;
3391    
3392            /**
3393            * Removes all the journal articles where groupId = &#63; and articleId = &#63; from the database.
3394            *
3395            * @param groupId the group ID
3396            * @param articleId the article ID
3397            * @throws SystemException if a system exception occurred
3398            */
3399            public void removeByG_A(long groupId, java.lang.String articleId)
3400                    throws com.liferay.portal.kernel.exception.SystemException;
3401    
3402            /**
3403            * Removes all the journal articles where groupId = &#63; and urlTitle = &#63; from the database.
3404            *
3405            * @param groupId the group ID
3406            * @param urlTitle the url title
3407            * @throws SystemException if a system exception occurred
3408            */
3409            public void removeByG_UT(long groupId, java.lang.String urlTitle)
3410                    throws com.liferay.portal.kernel.exception.SystemException;
3411    
3412            /**
3413            * Removes all the journal articles where groupId = &#63; and structureId = &#63; from the database.
3414            *
3415            * @param groupId the group ID
3416            * @param structureId the structure ID
3417            * @throws SystemException if a system exception occurred
3418            */
3419            public void removeByG_S(long groupId, java.lang.String structureId)
3420                    throws com.liferay.portal.kernel.exception.SystemException;
3421    
3422            /**
3423            * Removes all the journal articles where groupId = &#63; and templateId = &#63; from the database.
3424            *
3425            * @param groupId the group ID
3426            * @param templateId the template ID
3427            * @throws SystemException if a system exception occurred
3428            */
3429            public void removeByG_T(long groupId, java.lang.String templateId)
3430                    throws com.liferay.portal.kernel.exception.SystemException;
3431    
3432            /**
3433            * Removes all the journal articles where groupId = &#63; and layoutUuid = &#63; from the database.
3434            *
3435            * @param groupId the group ID
3436            * @param layoutUuid the layout uuid
3437            * @throws SystemException if a system exception occurred
3438            */
3439            public void removeByG_L(long groupId, java.lang.String layoutUuid)
3440                    throws com.liferay.portal.kernel.exception.SystemException;
3441    
3442            /**
3443            * Removes all the journal articles where groupId = &#63; and status = &#63; from the database.
3444            *
3445            * @param groupId the group ID
3446            * @param status the status
3447            * @throws SystemException if a system exception occurred
3448            */
3449            public void removeByG_ST(long groupId, int status)
3450                    throws com.liferay.portal.kernel.exception.SystemException;
3451    
3452            /**
3453            * Removes all the journal articles where companyId = &#63; and version = &#63; from the database.
3454            *
3455            * @param companyId the company ID
3456            * @param version the version
3457            * @throws SystemException if a system exception occurred
3458            */
3459            public void removeByC_V(long companyId, double version)
3460                    throws com.liferay.portal.kernel.exception.SystemException;
3461    
3462            /**
3463            * Removes all the journal articles where companyId = &#63; and status = &#63; from the database.
3464            *
3465            * @param companyId the company ID
3466            * @param status the status
3467            * @throws SystemException if a system exception occurred
3468            */
3469            public void removeByC_ST(long companyId, int status)
3470                    throws com.liferay.portal.kernel.exception.SystemException;
3471    
3472            /**
3473            * Removes all the journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63; from the database.
3474            *
3475            * @param groupId the group ID
3476            * @param classNameId the class name ID
3477            * @param classPK the class p k
3478            * @throws SystemException if a system exception occurred
3479            */
3480            public void removeByG_C_C(long groupId, long classNameId, long classPK)
3481                    throws com.liferay.portal.kernel.exception.SystemException;
3482    
3483            /**
3484            * Removes the journal article where groupId = &#63; and classNameId = &#63; and structureId = &#63; from the database.
3485            *
3486            * @param groupId the group ID
3487            * @param classNameId the class name ID
3488            * @param structureId the structure ID
3489            * @throws SystemException if a system exception occurred
3490            */
3491            public void removeByG_C_S(long groupId, long classNameId,
3492                    java.lang.String structureId)
3493                    throws com.liferay.portal.kernel.exception.SystemException,
3494                            com.liferay.portlet.journal.NoSuchArticleException;
3495    
3496            /**
3497            * Removes all the journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63; from the database.
3498            *
3499            * @param groupId the group ID
3500            * @param classNameId the class name ID
3501            * @param templateId the template ID
3502            * @throws SystemException if a system exception occurred
3503            */
3504            public void removeByG_C_T(long groupId, long classNameId,
3505                    java.lang.String templateId)
3506                    throws com.liferay.portal.kernel.exception.SystemException;
3507    
3508            /**
3509            * Removes all the journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63; from the database.
3510            *
3511            * @param groupId the group ID
3512            * @param classNameId the class name ID
3513            * @param layoutUuid the layout uuid
3514            * @throws SystemException if a system exception occurred
3515            */
3516            public void removeByG_C_L(long groupId, long classNameId,
3517                    java.lang.String layoutUuid)
3518                    throws com.liferay.portal.kernel.exception.SystemException;
3519    
3520            /**
3521            * Removes the journal article where groupId = &#63; and articleId = &#63; and version = &#63; from the database.
3522            *
3523            * @param groupId the group ID
3524            * @param articleId the article ID
3525            * @param version the version
3526            * @throws SystemException if a system exception occurred
3527            */
3528            public void removeByG_A_V(long groupId, java.lang.String articleId,
3529                    double version)
3530                    throws com.liferay.portal.kernel.exception.SystemException,
3531                            com.liferay.portlet.journal.NoSuchArticleException;
3532    
3533            /**
3534            * Removes all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63; from the database.
3535            *
3536            * @param groupId the group ID
3537            * @param articleId the article ID
3538            * @param status the status
3539            * @throws SystemException if a system exception occurred
3540            */
3541            public void removeByG_A_ST(long groupId, java.lang.String articleId,
3542                    int status) throws com.liferay.portal.kernel.exception.SystemException;
3543    
3544            /**
3545            * Removes all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63; from the database.
3546            *
3547            * @param groupId the group ID
3548            * @param urlTitle the url title
3549            * @param status the status
3550            * @throws SystemException if a system exception occurred
3551            */
3552            public void removeByG_UT_ST(long groupId, java.lang.String urlTitle,
3553                    int status) throws com.liferay.portal.kernel.exception.SystemException;
3554    
3555            /**
3556            * Removes all the journal articles where companyId = &#63; and version = &#63; and status = &#63; from the database.
3557            *
3558            * @param companyId the company ID
3559            * @param version the version
3560            * @param status the status
3561            * @throws SystemException if a system exception occurred
3562            */
3563            public void removeByC_V_ST(long companyId, double version, int status)
3564                    throws com.liferay.portal.kernel.exception.SystemException;
3565    
3566            /**
3567            * Removes all the journal articles from the database.
3568            *
3569            * @throws SystemException if a system exception occurred
3570            */
3571            public void removeAll()
3572                    throws com.liferay.portal.kernel.exception.SystemException;
3573    
3574            /**
3575            * Returns the number of journal articles where uuid = &#63;.
3576            *
3577            * @param uuid the uuid
3578            * @return the number of matching journal articles
3579            * @throws SystemException if a system exception occurred
3580            */
3581            public int countByUuid(java.lang.String uuid)
3582                    throws com.liferay.portal.kernel.exception.SystemException;
3583    
3584            /**
3585            * Returns the number of journal articles where uuid = &#63; and groupId = &#63;.
3586            *
3587            * @param uuid the uuid
3588            * @param groupId the group ID
3589            * @return the number of matching journal articles
3590            * @throws SystemException if a system exception occurred
3591            */
3592            public int countByUUID_G(java.lang.String uuid, long groupId)
3593                    throws com.liferay.portal.kernel.exception.SystemException;
3594    
3595            /**
3596            * Returns the number of journal articles where resourcePrimKey = &#63;.
3597            *
3598            * @param resourcePrimKey the resource prim key
3599            * @return the number of matching journal articles
3600            * @throws SystemException if a system exception occurred
3601            */
3602            public int countByResourcePrimKey(long resourcePrimKey)
3603                    throws com.liferay.portal.kernel.exception.SystemException;
3604    
3605            /**
3606            * Returns the number of journal articles where groupId = &#63;.
3607            *
3608            * @param groupId the group ID
3609            * @return the number of matching journal articles
3610            * @throws SystemException if a system exception occurred
3611            */
3612            public int countByGroupId(long groupId)
3613                    throws com.liferay.portal.kernel.exception.SystemException;
3614    
3615            /**
3616            * Returns the number of journal articles that the user has permission to view where groupId = &#63;.
3617            *
3618            * @param groupId the group ID
3619            * @return the number of matching journal articles that the user has permission to view
3620            * @throws SystemException if a system exception occurred
3621            */
3622            public int filterCountByGroupId(long groupId)
3623                    throws com.liferay.portal.kernel.exception.SystemException;
3624    
3625            /**
3626            * Returns the number of journal articles where companyId = &#63;.
3627            *
3628            * @param companyId the company ID
3629            * @return the number of matching journal articles
3630            * @throws SystemException if a system exception occurred
3631            */
3632            public int countByCompanyId(long companyId)
3633                    throws com.liferay.portal.kernel.exception.SystemException;
3634    
3635            /**
3636            * Returns the number of journal articles where smallImageId = &#63;.
3637            *
3638            * @param smallImageId the small image ID
3639            * @return the number of matching journal articles
3640            * @throws SystemException if a system exception occurred
3641            */
3642            public int countBySmallImageId(long smallImageId)
3643                    throws com.liferay.portal.kernel.exception.SystemException;
3644    
3645            /**
3646            * Returns the number of journal articles where resourcePrimKey = &#63; and status = &#63;.
3647            *
3648            * @param resourcePrimKey the resource prim key
3649            * @param status the status
3650            * @return the number of matching journal articles
3651            * @throws SystemException if a system exception occurred
3652            */
3653            public int countByR_ST(long resourcePrimKey, int status)
3654                    throws com.liferay.portal.kernel.exception.SystemException;
3655    
3656            /**
3657            * Returns the number of journal articles where groupId = &#63; and articleId = &#63;.
3658            *
3659            * @param groupId the group ID
3660            * @param articleId the article ID
3661            * @return the number of matching journal articles
3662            * @throws SystemException if a system exception occurred
3663            */
3664            public int countByG_A(long groupId, java.lang.String articleId)
3665                    throws com.liferay.portal.kernel.exception.SystemException;
3666    
3667            /**
3668            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and articleId = &#63;.
3669            *
3670            * @param groupId the group ID
3671            * @param articleId the article ID
3672            * @return the number of matching journal articles that the user has permission to view
3673            * @throws SystemException if a system exception occurred
3674            */
3675            public int filterCountByG_A(long groupId, java.lang.String articleId)
3676                    throws com.liferay.portal.kernel.exception.SystemException;
3677    
3678            /**
3679            * Returns the number of journal articles where groupId = &#63; and urlTitle = &#63;.
3680            *
3681            * @param groupId the group ID
3682            * @param urlTitle the url title
3683            * @return the number of matching journal articles
3684            * @throws SystemException if a system exception occurred
3685            */
3686            public int countByG_UT(long groupId, java.lang.String urlTitle)
3687                    throws com.liferay.portal.kernel.exception.SystemException;
3688    
3689            /**
3690            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63;.
3691            *
3692            * @param groupId the group ID
3693            * @param urlTitle the url title
3694            * @return the number of matching journal articles that the user has permission to view
3695            * @throws SystemException if a system exception occurred
3696            */
3697            public int filterCountByG_UT(long groupId, java.lang.String urlTitle)
3698                    throws com.liferay.portal.kernel.exception.SystemException;
3699    
3700            /**
3701            * Returns the number of journal articles where groupId = &#63; and structureId = &#63;.
3702            *
3703            * @param groupId the group ID
3704            * @param structureId the structure ID
3705            * @return the number of matching journal articles
3706            * @throws SystemException if a system exception occurred
3707            */
3708            public int countByG_S(long groupId, java.lang.String structureId)
3709                    throws com.liferay.portal.kernel.exception.SystemException;
3710    
3711            /**
3712            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and structureId = &#63;.
3713            *
3714            * @param groupId the group ID
3715            * @param structureId the structure ID
3716            * @return the number of matching journal articles that the user has permission to view
3717            * @throws SystemException if a system exception occurred
3718            */
3719            public int filterCountByG_S(long groupId, java.lang.String structureId)
3720                    throws com.liferay.portal.kernel.exception.SystemException;
3721    
3722            /**
3723            * Returns the number of journal articles where groupId = &#63; and templateId = &#63;.
3724            *
3725            * @param groupId the group ID
3726            * @param templateId the template ID
3727            * @return the number of matching journal articles
3728            * @throws SystemException if a system exception occurred
3729            */
3730            public int countByG_T(long groupId, java.lang.String templateId)
3731                    throws com.liferay.portal.kernel.exception.SystemException;
3732    
3733            /**
3734            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and templateId = &#63;.
3735            *
3736            * @param groupId the group ID
3737            * @param templateId the template ID
3738            * @return the number of matching journal articles that the user has permission to view
3739            * @throws SystemException if a system exception occurred
3740            */
3741            public int filterCountByG_T(long groupId, java.lang.String templateId)
3742                    throws com.liferay.portal.kernel.exception.SystemException;
3743    
3744            /**
3745            * Returns the number of journal articles where groupId = &#63; and layoutUuid = &#63;.
3746            *
3747            * @param groupId the group ID
3748            * @param layoutUuid the layout uuid
3749            * @return the number of matching journal articles
3750            * @throws SystemException if a system exception occurred
3751            */
3752            public int countByG_L(long groupId, java.lang.String layoutUuid)
3753                    throws com.liferay.portal.kernel.exception.SystemException;
3754    
3755            /**
3756            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and layoutUuid = &#63;.
3757            *
3758            * @param groupId the group ID
3759            * @param layoutUuid the layout uuid
3760            * @return the number of matching journal articles that the user has permission to view
3761            * @throws SystemException if a system exception occurred
3762            */
3763            public int filterCountByG_L(long groupId, java.lang.String layoutUuid)
3764                    throws com.liferay.portal.kernel.exception.SystemException;
3765    
3766            /**
3767            * Returns the number of journal articles where groupId = &#63; and status = &#63;.
3768            *
3769            * @param groupId the group ID
3770            * @param status the status
3771            * @return the number of matching journal articles
3772            * @throws SystemException if a system exception occurred
3773            */
3774            public int countByG_ST(long groupId, int status)
3775                    throws com.liferay.portal.kernel.exception.SystemException;
3776    
3777            /**
3778            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and status = &#63;.
3779            *
3780            * @param groupId the group ID
3781            * @param status the status
3782            * @return the number of matching journal articles that the user has permission to view
3783            * @throws SystemException if a system exception occurred
3784            */
3785            public int filterCountByG_ST(long groupId, int status)
3786                    throws com.liferay.portal.kernel.exception.SystemException;
3787    
3788            /**
3789            * Returns the number of journal articles where companyId = &#63; and version = &#63;.
3790            *
3791            * @param companyId the company ID
3792            * @param version the version
3793            * @return the number of matching journal articles
3794            * @throws SystemException if a system exception occurred
3795            */
3796            public int countByC_V(long companyId, double version)
3797                    throws com.liferay.portal.kernel.exception.SystemException;
3798    
3799            /**
3800            * Returns the number of journal articles where companyId = &#63; and status = &#63;.
3801            *
3802            * @param companyId the company ID
3803            * @param status the status
3804            * @return the number of matching journal articles
3805            * @throws SystemException if a system exception occurred
3806            */
3807            public int countByC_ST(long companyId, int status)
3808                    throws com.liferay.portal.kernel.exception.SystemException;
3809    
3810            /**
3811            * Returns the number of journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
3812            *
3813            * @param groupId the group ID
3814            * @param classNameId the class name ID
3815            * @param classPK the class p k
3816            * @return the number of matching journal articles
3817            * @throws SystemException if a system exception occurred
3818            */
3819            public int countByG_C_C(long groupId, long classNameId, long classPK)
3820                    throws com.liferay.portal.kernel.exception.SystemException;
3821    
3822            /**
3823            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
3824            *
3825            * @param groupId the group ID
3826            * @param classNameId the class name ID
3827            * @param classPK the class p k
3828            * @return the number of matching journal articles that the user has permission to view
3829            * @throws SystemException if a system exception occurred
3830            */
3831            public int filterCountByG_C_C(long groupId, long classNameId, long classPK)
3832                    throws com.liferay.portal.kernel.exception.SystemException;
3833    
3834            /**
3835            * Returns the number of journal articles where groupId = &#63; and classNameId = &#63; and structureId = &#63;.
3836            *
3837            * @param groupId the group ID
3838            * @param classNameId the class name ID
3839            * @param structureId the structure ID
3840            * @return the number of matching journal articles
3841            * @throws SystemException if a system exception occurred
3842            */
3843            public int countByG_C_S(long groupId, long classNameId,
3844                    java.lang.String structureId)
3845                    throws com.liferay.portal.kernel.exception.SystemException;
3846    
3847            /**
3848            * Returns the number of journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
3849            *
3850            * @param groupId the group ID
3851            * @param classNameId the class name ID
3852            * @param templateId the template ID
3853            * @return the number of matching journal articles
3854            * @throws SystemException if a system exception occurred
3855            */
3856            public int countByG_C_T(long groupId, long classNameId,
3857                    java.lang.String templateId)
3858                    throws com.liferay.portal.kernel.exception.SystemException;
3859    
3860            /**
3861            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
3862            *
3863            * @param groupId the group ID
3864            * @param classNameId the class name ID
3865            * @param templateId the template ID
3866            * @return the number of matching journal articles that the user has permission to view
3867            * @throws SystemException if a system exception occurred
3868            */
3869            public int filterCountByG_C_T(long groupId, long classNameId,
3870                    java.lang.String templateId)
3871                    throws com.liferay.portal.kernel.exception.SystemException;
3872    
3873            /**
3874            * Returns the number of journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
3875            *
3876            * @param groupId the group ID
3877            * @param classNameId the class name ID
3878            * @param layoutUuid the layout uuid
3879            * @return the number of matching journal articles
3880            * @throws SystemException if a system exception occurred
3881            */
3882            public int countByG_C_L(long groupId, long classNameId,
3883                    java.lang.String layoutUuid)
3884                    throws com.liferay.portal.kernel.exception.SystemException;
3885    
3886            /**
3887            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
3888            *
3889            * @param groupId the group ID
3890            * @param classNameId the class name ID
3891            * @param layoutUuid the layout uuid
3892            * @return the number of matching journal articles that the user has permission to view
3893            * @throws SystemException if a system exception occurred
3894            */
3895            public int filterCountByG_C_L(long groupId, long classNameId,
3896                    java.lang.String layoutUuid)
3897                    throws com.liferay.portal.kernel.exception.SystemException;
3898    
3899            /**
3900            * Returns the number of journal articles where groupId = &#63; and articleId = &#63; and version = &#63;.
3901            *
3902            * @param groupId the group ID
3903            * @param articleId the article ID
3904            * @param version the version
3905            * @return the number of matching journal articles
3906            * @throws SystemException if a system exception occurred
3907            */
3908            public int countByG_A_V(long groupId, java.lang.String articleId,
3909                    double version)
3910                    throws com.liferay.portal.kernel.exception.SystemException;
3911    
3912            /**
3913            * Returns the number of journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
3914            *
3915            * @param groupId the group ID
3916            * @param articleId the article ID
3917            * @param status the status
3918            * @return the number of matching journal articles
3919            * @throws SystemException if a system exception occurred
3920            */
3921            public int countByG_A_ST(long groupId, java.lang.String articleId,
3922                    int status) throws com.liferay.portal.kernel.exception.SystemException;
3923    
3924            /**
3925            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = &#63;.
3926            *
3927            * @param groupId the group ID
3928            * @param articleId the article ID
3929            * @param status the status
3930            * @return the number of matching journal articles that the user has permission to view
3931            * @throws SystemException if a system exception occurred
3932            */
3933            public int filterCountByG_A_ST(long groupId, java.lang.String articleId,
3934                    int status) throws com.liferay.portal.kernel.exception.SystemException;
3935    
3936            /**
3937            * Returns the number of journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
3938            *
3939            * @param groupId the group ID
3940            * @param urlTitle the url title
3941            * @param status the status
3942            * @return the number of matching journal articles
3943            * @throws SystemException if a system exception occurred
3944            */
3945            public int countByG_UT_ST(long groupId, java.lang.String urlTitle,
3946                    int status) throws com.liferay.portal.kernel.exception.SystemException;
3947    
3948            /**
3949            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63; and status = &#63;.
3950            *
3951            * @param groupId the group ID
3952            * @param urlTitle the url title
3953            * @param status the status
3954            * @return the number of matching journal articles that the user has permission to view
3955            * @throws SystemException if a system exception occurred
3956            */
3957            public int filterCountByG_UT_ST(long groupId, java.lang.String urlTitle,
3958                    int status) throws com.liferay.portal.kernel.exception.SystemException;
3959    
3960            /**
3961            * Returns the number of journal articles where companyId = &#63; and version = &#63; and status = &#63;.
3962            *
3963            * @param companyId the company ID
3964            * @param version the version
3965            * @param status the status
3966            * @return the number of matching journal articles
3967            * @throws SystemException if a system exception occurred
3968            */
3969            public int countByC_V_ST(long companyId, double version, int status)
3970                    throws com.liferay.portal.kernel.exception.SystemException;
3971    
3972            /**
3973            * Returns the number of journal articles.
3974            *
3975            * @return the number of journal articles
3976            * @throws SystemException if a system exception occurred
3977            */
3978            public int countAll()
3979                    throws com.liferay.portal.kernel.exception.SystemException;
3980    }