001    /**
002     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.journal.service.persistence;
016    
017    import com.liferay.portal.service.persistence.BasePersistence;
018    
019    import com.liferay.portlet.journal.model.JournalArticle;
020    
021    /**
022     * The persistence interface for the journal article service.
023     *
024     * <p>
025     * Caching information and settings can be found in <code>portal.properties</code>
026     * </p>
027     *
028     * @author Brian Wing Shun Chan
029     * @see JournalArticlePersistenceImpl
030     * @see JournalArticleUtil
031     * @generated
032     */
033    public interface JournalArticlePersistence extends BasePersistence<JournalArticle> {
034            /*
035             * NOTE FOR DEVELOPERS:
036             *
037             * Never modify or reference this interface directly. Always use {@link JournalArticleUtil} to access the journal article persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
038             */
039    
040            /**
041            * 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 where groupId = &#63; and articleId = &#63; and status = any &#63;.
2906            *
2907            * <p>
2908            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2909            * </p>
2910            *
2911            * @param groupId the group ID
2912            * @param articleId the article ID
2913            * @param statuses the statuses
2914            * @return the matching journal articles
2915            * @throws SystemException if a system exception occurred
2916            */
2917            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
2918                    long groupId, java.lang.String articleId, int[] statuses)
2919                    throws com.liferay.portal.kernel.exception.SystemException;
2920    
2921            /**
2922            * Returns a range of all the journal articles where groupId = &#63; and articleId = &#63; and status = any &#63;.
2923            *
2924            * <p>
2925            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2926            * </p>
2927            *
2928            * @param groupId the group ID
2929            * @param articleId the article ID
2930            * @param statuses the statuses
2931            * @param start the lower bound of the range of journal articles
2932            * @param end the upper bound of the range of journal articles (not inclusive)
2933            * @return the range of matching journal articles
2934            * @throws SystemException if a system exception occurred
2935            */
2936            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
2937                    long groupId, java.lang.String articleId, int[] statuses, int start,
2938                    int end) throws com.liferay.portal.kernel.exception.SystemException;
2939    
2940            /**
2941            * Returns an ordered range of all the journal articles where groupId = &#63; and articleId = &#63; and status = any &#63;.
2942            *
2943            * <p>
2944            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2945            * </p>
2946            *
2947            * @param groupId the group ID
2948            * @param articleId the article ID
2949            * @param statuses the statuses
2950            * @param start the lower bound of the range of journal articles
2951            * @param end the upper bound of the range of journal articles (not inclusive)
2952            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2953            * @return the ordered range of matching journal articles
2954            * @throws SystemException if a system exception occurred
2955            */
2956            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
2957                    long groupId, java.lang.String articleId, int[] statuses, int start,
2958                    int end,
2959                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2960                    throws com.liferay.portal.kernel.exception.SystemException;
2961    
2962            /**
2963            * Returns all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = &#63;.
2964            *
2965            * @param groupId the group ID
2966            * @param articleId the article ID
2967            * @param status the status
2968            * @return the matching journal articles that the user has permission to view
2969            * @throws SystemException if a system exception occurred
2970            */
2971            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
2972                    long groupId, java.lang.String articleId, int status)
2973                    throws com.liferay.portal.kernel.exception.SystemException;
2974    
2975            /**
2976            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = &#63;.
2977            *
2978            * <p>
2979            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2980            * </p>
2981            *
2982            * @param groupId the group ID
2983            * @param articleId the article ID
2984            * @param status the status
2985            * @param start the lower bound of the range of journal articles
2986            * @param end the upper bound of the range of journal articles (not inclusive)
2987            * @return the range of matching journal articles that the user has permission to view
2988            * @throws SystemException if a system exception occurred
2989            */
2990            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
2991                    long groupId, java.lang.String articleId, int status, int start, int end)
2992                    throws com.liferay.portal.kernel.exception.SystemException;
2993    
2994            /**
2995            * 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;.
2996            *
2997            * <p>
2998            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2999            * </p>
3000            *
3001            * @param groupId the group ID
3002            * @param articleId the article ID
3003            * @param status the status
3004            * @param start the lower bound of the range of journal articles
3005            * @param end the upper bound of the range of journal articles (not inclusive)
3006            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3007            * @return the ordered range of matching journal articles that the user has permission to view
3008            * @throws SystemException if a system exception occurred
3009            */
3010            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
3011                    long groupId, java.lang.String articleId, int status, int start,
3012                    int end,
3013                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3014                    throws com.liferay.portal.kernel.exception.SystemException;
3015    
3016            /**
3017            * 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;.
3018            *
3019            * @param id the primary key of the current journal article
3020            * @param groupId the group ID
3021            * @param articleId the article ID
3022            * @param status the status
3023            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3024            * @return the previous, current, and next journal article
3025            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3026            * @throws SystemException if a system exception occurred
3027            */
3028            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_ST_PrevAndNext(
3029                    long id, long groupId, java.lang.String articleId, int status,
3030                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3031                    throws com.liferay.portal.kernel.exception.SystemException,
3032                            com.liferay.portlet.journal.NoSuchArticleException;
3033    
3034            /**
3035            * Returns all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = any &#63;.
3036            *
3037            * @param groupId the group ID
3038            * @param articleId the article ID
3039            * @param statuses the statuses
3040            * @return the matching journal articles that the user has permission to view
3041            * @throws SystemException if a system exception occurred
3042            */
3043            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
3044                    long groupId, java.lang.String articleId, int[] statuses)
3045                    throws com.liferay.portal.kernel.exception.SystemException;
3046    
3047            /**
3048            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = any &#63;.
3049            *
3050            * <p>
3051            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3052            * </p>
3053            *
3054            * @param groupId the group ID
3055            * @param articleId the article ID
3056            * @param statuses the statuses
3057            * @param start the lower bound of the range of journal articles
3058            * @param end the upper bound of the range of journal articles (not inclusive)
3059            * @return the range of matching journal articles that the user has permission to view
3060            * @throws SystemException if a system exception occurred
3061            */
3062            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
3063                    long groupId, java.lang.String articleId, int[] statuses, int start,
3064                    int end) throws com.liferay.portal.kernel.exception.SystemException;
3065    
3066            /**
3067            * Returns an ordered range of all the journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = any &#63;.
3068            *
3069            * <p>
3070            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3071            * </p>
3072            *
3073            * @param groupId the group ID
3074            * @param articleId the article ID
3075            * @param statuses the statuses
3076            * @param start the lower bound of the range of journal articles
3077            * @param end the upper bound of the range of journal articles (not inclusive)
3078            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3079            * @return the ordered range of matching journal articles that the user has permission to view
3080            * @throws SystemException if a system exception occurred
3081            */
3082            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
3083                    long groupId, java.lang.String articleId, int[] statuses, int start,
3084                    int end,
3085                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3086                    throws com.liferay.portal.kernel.exception.SystemException;
3087    
3088            /**
3089            * Returns all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
3090            *
3091            * @param groupId the group ID
3092            * @param urlTitle the url title
3093            * @param status the status
3094            * @return the matching journal articles
3095            * @throws SystemException if a system exception occurred
3096            */
3097            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST(
3098                    long groupId, java.lang.String urlTitle, int status)
3099                    throws com.liferay.portal.kernel.exception.SystemException;
3100    
3101            /**
3102            * Returns a range of all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
3103            *
3104            * <p>
3105            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3106            * </p>
3107            *
3108            * @param groupId the group ID
3109            * @param urlTitle the url title
3110            * @param status the status
3111            * @param start the lower bound of the range of journal articles
3112            * @param end the upper bound of the range of journal articles (not inclusive)
3113            * @return the range of matching journal articles
3114            * @throws SystemException if a system exception occurred
3115            */
3116            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST(
3117                    long groupId, java.lang.String urlTitle, int status, int start, int end)
3118                    throws com.liferay.portal.kernel.exception.SystemException;
3119    
3120            /**
3121            * Returns an ordered range of all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
3122            *
3123            * <p>
3124            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3125            * </p>
3126            *
3127            * @param groupId the group ID
3128            * @param urlTitle the url title
3129            * @param status the status
3130            * @param start the lower bound of the range of journal articles
3131            * @param end the upper bound of the range of journal articles (not inclusive)
3132            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3133            * @return the ordered range of matching journal articles
3134            * @throws SystemException if a system exception occurred
3135            */
3136            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST(
3137                    long groupId, java.lang.String urlTitle, int status, int start,
3138                    int end,
3139                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3140                    throws com.liferay.portal.kernel.exception.SystemException;
3141    
3142            /**
3143            * Returns the first journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
3144            *
3145            * <p>
3146            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3147            * </p>
3148            *
3149            * @param groupId the group ID
3150            * @param urlTitle the url title
3151            * @param status the status
3152            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3153            * @return the first matching journal article
3154            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3155            * @throws SystemException if a system exception occurred
3156            */
3157            public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_First(
3158                    long groupId, java.lang.String urlTitle, int status,
3159                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3160                    throws com.liferay.portal.kernel.exception.SystemException,
3161                            com.liferay.portlet.journal.NoSuchArticleException;
3162    
3163            /**
3164            * Returns the last journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
3165            *
3166            * <p>
3167            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3168            * </p>
3169            *
3170            * @param groupId the group ID
3171            * @param urlTitle the url title
3172            * @param status the status
3173            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3174            * @return the last matching journal article
3175            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3176            * @throws SystemException if a system exception occurred
3177            */
3178            public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_Last(
3179                    long groupId, java.lang.String urlTitle, int status,
3180                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3181                    throws com.liferay.portal.kernel.exception.SystemException,
3182                            com.liferay.portlet.journal.NoSuchArticleException;
3183    
3184            /**
3185            * Returns the journal articles before and after the current journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
3186            *
3187            * <p>
3188            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3189            * </p>
3190            *
3191            * @param id the primary key of the current journal article
3192            * @param groupId the group ID
3193            * @param urlTitle the url title
3194            * @param status the status
3195            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3196            * @return the previous, current, and next journal article
3197            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3198            * @throws SystemException if a system exception occurred
3199            */
3200            public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_ST_PrevAndNext(
3201                    long id, long groupId, java.lang.String urlTitle, int status,
3202                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3203                    throws com.liferay.portal.kernel.exception.SystemException,
3204                            com.liferay.portlet.journal.NoSuchArticleException;
3205    
3206            /**
3207            * Returns all the journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63; and status = &#63;.
3208            *
3209            * @param groupId the group ID
3210            * @param urlTitle the url title
3211            * @param status the status
3212            * @return the matching journal articles that the user has permission to view
3213            * @throws SystemException if a system exception occurred
3214            */
3215            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST(
3216                    long groupId, java.lang.String urlTitle, int status)
3217                    throws com.liferay.portal.kernel.exception.SystemException;
3218    
3219            /**
3220            * Returns a range of all the journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#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 groupId the group ID
3227            * @param urlTitle the url title
3228            * @param status the status
3229            * @param start the lower bound of the range of journal articles
3230            * @param end the upper bound of the range of journal articles (not inclusive)
3231            * @return the range of matching journal articles that the user has permission to view
3232            * @throws SystemException if a system exception occurred
3233            */
3234            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST(
3235                    long groupId, java.lang.String urlTitle, int status, int start, int end)
3236                    throws com.liferay.portal.kernel.exception.SystemException;
3237    
3238            /**
3239            * 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;.
3240            *
3241            * <p>
3242            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3243            * </p>
3244            *
3245            * @param groupId the group ID
3246            * @param urlTitle the url title
3247            * @param status the status
3248            * @param start the lower bound of the range of journal articles
3249            * @param end the upper bound of the range of journal articles (not inclusive)
3250            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3251            * @return the ordered range of matching journal articles that the user has permission to view
3252            * @throws SystemException if a system exception occurred
3253            */
3254            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST(
3255                    long groupId, java.lang.String urlTitle, int status, int start,
3256                    int end,
3257                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3258                    throws com.liferay.portal.kernel.exception.SystemException;
3259    
3260            /**
3261            * 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;.
3262            *
3263            * @param id the primary key of the current journal article
3264            * @param groupId the group ID
3265            * @param urlTitle the url title
3266            * @param status the status
3267            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3268            * @return the previous, current, and next journal article
3269            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3270            * @throws SystemException if a system exception occurred
3271            */
3272            public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_ST_PrevAndNext(
3273                    long id, long groupId, java.lang.String urlTitle, int status,
3274                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3275                    throws com.liferay.portal.kernel.exception.SystemException,
3276                            com.liferay.portlet.journal.NoSuchArticleException;
3277    
3278            /**
3279            * Returns all the journal articles where companyId = &#63; and version = &#63; and status = &#63;.
3280            *
3281            * @param companyId the company ID
3282            * @param version the version
3283            * @param status the status
3284            * @return the matching journal articles
3285            * @throws SystemException if a system exception occurred
3286            */
3287            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST(
3288                    long companyId, double version, int status)
3289                    throws com.liferay.portal.kernel.exception.SystemException;
3290    
3291            /**
3292            * Returns a range of all the journal articles where companyId = &#63; and version = &#63; and status = &#63;.
3293            *
3294            * <p>
3295            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3296            * </p>
3297            *
3298            * @param companyId the company ID
3299            * @param version the version
3300            * @param status the status
3301            * @param start the lower bound of the range of journal articles
3302            * @param end the upper bound of the range of journal articles (not inclusive)
3303            * @return the range of matching journal articles
3304            * @throws SystemException if a system exception occurred
3305            */
3306            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST(
3307                    long companyId, double version, int status, int start, int end)
3308                    throws com.liferay.portal.kernel.exception.SystemException;
3309    
3310            /**
3311            * Returns an ordered range of all the journal articles where companyId = &#63; and version = &#63; and status = &#63;.
3312            *
3313            * <p>
3314            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3315            * </p>
3316            *
3317            * @param companyId the company ID
3318            * @param version the version
3319            * @param status the status
3320            * @param start the lower bound of the range of journal articles
3321            * @param end the upper bound of the range of journal articles (not inclusive)
3322            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3323            * @return the ordered range of matching journal articles
3324            * @throws SystemException if a system exception occurred
3325            */
3326            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST(
3327                    long companyId, double version, int status, int start, int end,
3328                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3329                    throws com.liferay.portal.kernel.exception.SystemException;
3330    
3331            /**
3332            * Returns the first journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
3333            *
3334            * <p>
3335            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3336            * </p>
3337            *
3338            * @param companyId the company ID
3339            * @param version the version
3340            * @param status the status
3341            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3342            * @return the first matching journal article
3343            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3344            * @throws SystemException if a system exception occurred
3345            */
3346            public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_First(
3347                    long companyId, double version, int status,
3348                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3349                    throws com.liferay.portal.kernel.exception.SystemException,
3350                            com.liferay.portlet.journal.NoSuchArticleException;
3351    
3352            /**
3353            * Returns the last journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
3354            *
3355            * <p>
3356            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3357            * </p>
3358            *
3359            * @param companyId the company ID
3360            * @param version the version
3361            * @param status the status
3362            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3363            * @return the last matching journal article
3364            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
3365            * @throws SystemException if a system exception occurred
3366            */
3367            public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_Last(
3368                    long companyId, double version, int status,
3369                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3370                    throws com.liferay.portal.kernel.exception.SystemException,
3371                            com.liferay.portlet.journal.NoSuchArticleException;
3372    
3373            /**
3374            * Returns the journal articles before and after the current journal article in the ordered set where companyId = &#63; and version = &#63; and status = &#63;.
3375            *
3376            * <p>
3377            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3378            * </p>
3379            *
3380            * @param id the primary key of the current journal article
3381            * @param companyId the company ID
3382            * @param version the version
3383            * @param status the status
3384            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3385            * @return the previous, current, and next journal article
3386            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
3387            * @throws SystemException if a system exception occurred
3388            */
3389            public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_ST_PrevAndNext(
3390                    long id, long companyId, double version, int status,
3391                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3392                    throws com.liferay.portal.kernel.exception.SystemException,
3393                            com.liferay.portlet.journal.NoSuchArticleException;
3394    
3395            /**
3396            * Returns all the journal articles.
3397            *
3398            * @return the journal articles
3399            * @throws SystemException if a system exception occurred
3400            */
3401            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll()
3402                    throws com.liferay.portal.kernel.exception.SystemException;
3403    
3404            /**
3405            * Returns a range of all the journal articles.
3406            *
3407            * <p>
3408            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3409            * </p>
3410            *
3411            * @param start the lower bound of the range of journal articles
3412            * @param end the upper bound of the range of journal articles (not inclusive)
3413            * @return the range of journal articles
3414            * @throws SystemException if a system exception occurred
3415            */
3416            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll(
3417                    int start, int end)
3418                    throws com.liferay.portal.kernel.exception.SystemException;
3419    
3420            /**
3421            * Returns an ordered range of all the journal articles.
3422            *
3423            * <p>
3424            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
3425            * </p>
3426            *
3427            * @param start the lower bound of the range of journal articles
3428            * @param end the upper bound of the range of journal articles (not inclusive)
3429            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3430            * @return the ordered range of journal articles
3431            * @throws SystemException if a system exception occurred
3432            */
3433            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll(
3434                    int start, int end,
3435                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3436                    throws com.liferay.portal.kernel.exception.SystemException;
3437    
3438            /**
3439            * Removes all the journal articles where uuid = &#63; from the database.
3440            *
3441            * @param uuid the uuid
3442            * @throws SystemException if a system exception occurred
3443            */
3444            public void removeByUuid(java.lang.String uuid)
3445                    throws com.liferay.portal.kernel.exception.SystemException;
3446    
3447            /**
3448            * Removes the journal article where uuid = &#63; and groupId = &#63; from the database.
3449            *
3450            * @param uuid the uuid
3451            * @param groupId the group ID
3452            * @throws SystemException if a system exception occurred
3453            */
3454            public void removeByUUID_G(java.lang.String uuid, long groupId)
3455                    throws com.liferay.portal.kernel.exception.SystemException,
3456                            com.liferay.portlet.journal.NoSuchArticleException;
3457    
3458            /**
3459            * Removes all the journal articles where resourcePrimKey = &#63; from the database.
3460            *
3461            * @param resourcePrimKey the resource prim key
3462            * @throws SystemException if a system exception occurred
3463            */
3464            public void removeByResourcePrimKey(long resourcePrimKey)
3465                    throws com.liferay.portal.kernel.exception.SystemException;
3466    
3467            /**
3468            * Removes all the journal articles where groupId = &#63; from the database.
3469            *
3470            * @param groupId the group ID
3471            * @throws SystemException if a system exception occurred
3472            */
3473            public void removeByGroupId(long groupId)
3474                    throws com.liferay.portal.kernel.exception.SystemException;
3475    
3476            /**
3477            * Removes all the journal articles where companyId = &#63; from the database.
3478            *
3479            * @param companyId the company ID
3480            * @throws SystemException if a system exception occurred
3481            */
3482            public void removeByCompanyId(long companyId)
3483                    throws com.liferay.portal.kernel.exception.SystemException;
3484    
3485            /**
3486            * Removes all the journal articles where smallImageId = &#63; from the database.
3487            *
3488            * @param smallImageId the small image ID
3489            * @throws SystemException if a system exception occurred
3490            */
3491            public void removeBySmallImageId(long smallImageId)
3492                    throws com.liferay.portal.kernel.exception.SystemException;
3493    
3494            /**
3495            * Removes all the journal articles where resourcePrimKey = &#63; and status = &#63; from the database.
3496            *
3497            * @param resourcePrimKey the resource prim key
3498            * @param status the status
3499            * @throws SystemException if a system exception occurred
3500            */
3501            public void removeByR_ST(long resourcePrimKey, int status)
3502                    throws com.liferay.portal.kernel.exception.SystemException;
3503    
3504            /**
3505            * Removes all the journal articles where groupId = &#63; and articleId = &#63; from the database.
3506            *
3507            * @param groupId the group ID
3508            * @param articleId the article ID
3509            * @throws SystemException if a system exception occurred
3510            */
3511            public void removeByG_A(long groupId, java.lang.String articleId)
3512                    throws com.liferay.portal.kernel.exception.SystemException;
3513    
3514            /**
3515            * Removes all the journal articles where groupId = &#63; and urlTitle = &#63; from the database.
3516            *
3517            * @param groupId the group ID
3518            * @param urlTitle the url title
3519            * @throws SystemException if a system exception occurred
3520            */
3521            public void removeByG_UT(long groupId, java.lang.String urlTitle)
3522                    throws com.liferay.portal.kernel.exception.SystemException;
3523    
3524            /**
3525            * Removes all the journal articles where groupId = &#63; and structureId = &#63; from the database.
3526            *
3527            * @param groupId the group ID
3528            * @param structureId the structure ID
3529            * @throws SystemException if a system exception occurred
3530            */
3531            public void removeByG_S(long groupId, java.lang.String structureId)
3532                    throws com.liferay.portal.kernel.exception.SystemException;
3533    
3534            /**
3535            * Removes all the journal articles where groupId = &#63; and templateId = &#63; from the database.
3536            *
3537            * @param groupId the group ID
3538            * @param templateId the template ID
3539            * @throws SystemException if a system exception occurred
3540            */
3541            public void removeByG_T(long groupId, java.lang.String templateId)
3542                    throws com.liferay.portal.kernel.exception.SystemException;
3543    
3544            /**
3545            * Removes all the journal articles where groupId = &#63; and layoutUuid = &#63; from the database.
3546            *
3547            * @param groupId the group ID
3548            * @param layoutUuid the layout uuid
3549            * @throws SystemException if a system exception occurred
3550            */
3551            public void removeByG_L(long groupId, java.lang.String layoutUuid)
3552                    throws com.liferay.portal.kernel.exception.SystemException;
3553    
3554            /**
3555            * Removes all the journal articles where groupId = &#63; and status = &#63; from the database.
3556            *
3557            * @param groupId the group ID
3558            * @param status the status
3559            * @throws SystemException if a system exception occurred
3560            */
3561            public void removeByG_ST(long groupId, int status)
3562                    throws com.liferay.portal.kernel.exception.SystemException;
3563    
3564            /**
3565            * Removes all the journal articles where companyId = &#63; and version = &#63; from the database.
3566            *
3567            * @param companyId the company ID
3568            * @param version the version
3569            * @throws SystemException if a system exception occurred
3570            */
3571            public void removeByC_V(long companyId, double version)
3572                    throws com.liferay.portal.kernel.exception.SystemException;
3573    
3574            /**
3575            * Removes all the journal articles where companyId = &#63; and status = &#63; from the database.
3576            *
3577            * @param companyId the company ID
3578            * @param status the status
3579            * @throws SystemException if a system exception occurred
3580            */
3581            public void removeByC_ST(long companyId, int status)
3582                    throws com.liferay.portal.kernel.exception.SystemException;
3583    
3584            /**
3585            * Removes all the journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63; from the database.
3586            *
3587            * @param groupId the group ID
3588            * @param classNameId the class name ID
3589            * @param classPK the class p k
3590            * @throws SystemException if a system exception occurred
3591            */
3592            public void removeByG_C_C(long groupId, long classNameId, long classPK)
3593                    throws com.liferay.portal.kernel.exception.SystemException;
3594    
3595            /**
3596            * Removes the journal article where groupId = &#63; and classNameId = &#63; and structureId = &#63; from the database.
3597            *
3598            * @param groupId the group ID
3599            * @param classNameId the class name ID
3600            * @param structureId the structure ID
3601            * @throws SystemException if a system exception occurred
3602            */
3603            public void removeByG_C_S(long groupId, long classNameId,
3604                    java.lang.String structureId)
3605                    throws com.liferay.portal.kernel.exception.SystemException,
3606                            com.liferay.portlet.journal.NoSuchArticleException;
3607    
3608            /**
3609            * Removes all the journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63; from the database.
3610            *
3611            * @param groupId the group ID
3612            * @param classNameId the class name ID
3613            * @param templateId the template ID
3614            * @throws SystemException if a system exception occurred
3615            */
3616            public void removeByG_C_T(long groupId, long classNameId,
3617                    java.lang.String templateId)
3618                    throws com.liferay.portal.kernel.exception.SystemException;
3619    
3620            /**
3621            * Removes all the journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63; from the database.
3622            *
3623            * @param groupId the group ID
3624            * @param classNameId the class name ID
3625            * @param layoutUuid the layout uuid
3626            * @throws SystemException if a system exception occurred
3627            */
3628            public void removeByG_C_L(long groupId, long classNameId,
3629                    java.lang.String layoutUuid)
3630                    throws com.liferay.portal.kernel.exception.SystemException;
3631    
3632            /**
3633            * Removes the journal article where groupId = &#63; and articleId = &#63; and version = &#63; from the database.
3634            *
3635            * @param groupId the group ID
3636            * @param articleId the article ID
3637            * @param version the version
3638            * @throws SystemException if a system exception occurred
3639            */
3640            public void removeByG_A_V(long groupId, java.lang.String articleId,
3641                    double version)
3642                    throws com.liferay.portal.kernel.exception.SystemException,
3643                            com.liferay.portlet.journal.NoSuchArticleException;
3644    
3645            /**
3646            * Removes all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63; from the database.
3647            *
3648            * @param groupId the group ID
3649            * @param articleId the article ID
3650            * @param status the status
3651            * @throws SystemException if a system exception occurred
3652            */
3653            public void removeByG_A_ST(long groupId, java.lang.String articleId,
3654                    int status) throws com.liferay.portal.kernel.exception.SystemException;
3655    
3656            /**
3657            * Removes all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63; from the database.
3658            *
3659            * @param groupId the group ID
3660            * @param urlTitle the url title
3661            * @param status the status
3662            * @throws SystemException if a system exception occurred
3663            */
3664            public void removeByG_UT_ST(long groupId, java.lang.String urlTitle,
3665                    int status) throws com.liferay.portal.kernel.exception.SystemException;
3666    
3667            /**
3668            * Removes all the journal articles where companyId = &#63; and version = &#63; and status = &#63; from the database.
3669            *
3670            * @param companyId the company ID
3671            * @param version the version
3672            * @param status the status
3673            * @throws SystemException if a system exception occurred
3674            */
3675            public void removeByC_V_ST(long companyId, double version, int status)
3676                    throws com.liferay.portal.kernel.exception.SystemException;
3677    
3678            /**
3679            * Removes all the journal articles from the database.
3680            *
3681            * @throws SystemException if a system exception occurred
3682            */
3683            public void removeAll()
3684                    throws com.liferay.portal.kernel.exception.SystemException;
3685    
3686            /**
3687            * Returns the number of journal articles where uuid = &#63;.
3688            *
3689            * @param uuid the uuid
3690            * @return the number of matching journal articles
3691            * @throws SystemException if a system exception occurred
3692            */
3693            public int countByUuid(java.lang.String uuid)
3694                    throws com.liferay.portal.kernel.exception.SystemException;
3695    
3696            /**
3697            * Returns the number of journal articles where uuid = &#63; and groupId = &#63;.
3698            *
3699            * @param uuid the uuid
3700            * @param groupId the group ID
3701            * @return the number of matching journal articles
3702            * @throws SystemException if a system exception occurred
3703            */
3704            public int countByUUID_G(java.lang.String uuid, long groupId)
3705                    throws com.liferay.portal.kernel.exception.SystemException;
3706    
3707            /**
3708            * Returns the number of journal articles where resourcePrimKey = &#63;.
3709            *
3710            * @param resourcePrimKey the resource prim key
3711            * @return the number of matching journal articles
3712            * @throws SystemException if a system exception occurred
3713            */
3714            public int countByResourcePrimKey(long resourcePrimKey)
3715                    throws com.liferay.portal.kernel.exception.SystemException;
3716    
3717            /**
3718            * Returns the number of journal articles where groupId = &#63;.
3719            *
3720            * @param groupId the group ID
3721            * @return the number of matching journal articles
3722            * @throws SystemException if a system exception occurred
3723            */
3724            public int countByGroupId(long groupId)
3725                    throws com.liferay.portal.kernel.exception.SystemException;
3726    
3727            /**
3728            * Returns the number of journal articles that the user has permission to view where groupId = &#63;.
3729            *
3730            * @param groupId the group ID
3731            * @return the number of matching journal articles that the user has permission to view
3732            * @throws SystemException if a system exception occurred
3733            */
3734            public int filterCountByGroupId(long groupId)
3735                    throws com.liferay.portal.kernel.exception.SystemException;
3736    
3737            /**
3738            * Returns the number of journal articles where companyId = &#63;.
3739            *
3740            * @param companyId the company ID
3741            * @return the number of matching journal articles
3742            * @throws SystemException if a system exception occurred
3743            */
3744            public int countByCompanyId(long companyId)
3745                    throws com.liferay.portal.kernel.exception.SystemException;
3746    
3747            /**
3748            * Returns the number of journal articles where smallImageId = &#63;.
3749            *
3750            * @param smallImageId the small image ID
3751            * @return the number of matching journal articles
3752            * @throws SystemException if a system exception occurred
3753            */
3754            public int countBySmallImageId(long smallImageId)
3755                    throws com.liferay.portal.kernel.exception.SystemException;
3756    
3757            /**
3758            * Returns the number of journal articles where resourcePrimKey = &#63; and status = &#63;.
3759            *
3760            * @param resourcePrimKey the resource prim key
3761            * @param status the status
3762            * @return the number of matching journal articles
3763            * @throws SystemException if a system exception occurred
3764            */
3765            public int countByR_ST(long resourcePrimKey, int status)
3766                    throws com.liferay.portal.kernel.exception.SystemException;
3767    
3768            /**
3769            * Returns the number of journal articles where groupId = &#63; and articleId = &#63;.
3770            *
3771            * @param groupId the group ID
3772            * @param articleId the article ID
3773            * @return the number of matching journal articles
3774            * @throws SystemException if a system exception occurred
3775            */
3776            public int countByG_A(long groupId, java.lang.String articleId)
3777                    throws com.liferay.portal.kernel.exception.SystemException;
3778    
3779            /**
3780            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and articleId = &#63;.
3781            *
3782            * @param groupId the group ID
3783            * @param articleId the article ID
3784            * @return the number of matching journal articles that the user has permission to view
3785            * @throws SystemException if a system exception occurred
3786            */
3787            public int filterCountByG_A(long groupId, java.lang.String articleId)
3788                    throws com.liferay.portal.kernel.exception.SystemException;
3789    
3790            /**
3791            * Returns the number of journal articles where groupId = &#63; and urlTitle = &#63;.
3792            *
3793            * @param groupId the group ID
3794            * @param urlTitle the url title
3795            * @return the number of matching journal articles
3796            * @throws SystemException if a system exception occurred
3797            */
3798            public int countByG_UT(long groupId, java.lang.String urlTitle)
3799                    throws com.liferay.portal.kernel.exception.SystemException;
3800    
3801            /**
3802            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63;.
3803            *
3804            * @param groupId the group ID
3805            * @param urlTitle the url title
3806            * @return the number of matching journal articles that the user has permission to view
3807            * @throws SystemException if a system exception occurred
3808            */
3809            public int filterCountByG_UT(long groupId, java.lang.String urlTitle)
3810                    throws com.liferay.portal.kernel.exception.SystemException;
3811    
3812            /**
3813            * Returns the number of journal articles where groupId = &#63; and structureId = &#63;.
3814            *
3815            * @param groupId the group ID
3816            * @param structureId the structure ID
3817            * @return the number of matching journal articles
3818            * @throws SystemException if a system exception occurred
3819            */
3820            public int countByG_S(long groupId, java.lang.String structureId)
3821                    throws com.liferay.portal.kernel.exception.SystemException;
3822    
3823            /**
3824            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and structureId = &#63;.
3825            *
3826            * @param groupId the group ID
3827            * @param structureId the structure ID
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_S(long groupId, java.lang.String structureId)
3832                    throws com.liferay.portal.kernel.exception.SystemException;
3833    
3834            /**
3835            * Returns the number of journal articles where groupId = &#63; and templateId = &#63;.
3836            *
3837            * @param groupId the group ID
3838            * @param templateId the template ID
3839            * @return the number of matching journal articles
3840            * @throws SystemException if a system exception occurred
3841            */
3842            public int countByG_T(long groupId, java.lang.String templateId)
3843                    throws com.liferay.portal.kernel.exception.SystemException;
3844    
3845            /**
3846            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and templateId = &#63;.
3847            *
3848            * @param groupId the group ID
3849            * @param templateId the template ID
3850            * @return the number of matching journal articles that the user has permission to view
3851            * @throws SystemException if a system exception occurred
3852            */
3853            public int filterCountByG_T(long groupId, java.lang.String templateId)
3854                    throws com.liferay.portal.kernel.exception.SystemException;
3855    
3856            /**
3857            * Returns the number of journal articles where groupId = &#63; and layoutUuid = &#63;.
3858            *
3859            * @param groupId the group ID
3860            * @param layoutUuid the layout uuid
3861            * @return the number of matching journal articles
3862            * @throws SystemException if a system exception occurred
3863            */
3864            public int countByG_L(long groupId, java.lang.String layoutUuid)
3865                    throws com.liferay.portal.kernel.exception.SystemException;
3866    
3867            /**
3868            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and layoutUuid = &#63;.
3869            *
3870            * @param groupId the group ID
3871            * @param layoutUuid the layout uuid
3872            * @return the number of matching journal articles that the user has permission to view
3873            * @throws SystemException if a system exception occurred
3874            */
3875            public int filterCountByG_L(long groupId, java.lang.String layoutUuid)
3876                    throws com.liferay.portal.kernel.exception.SystemException;
3877    
3878            /**
3879            * Returns the number of journal articles where groupId = &#63; and status = &#63;.
3880            *
3881            * @param groupId the group ID
3882            * @param status the status
3883            * @return the number of matching journal articles
3884            * @throws SystemException if a system exception occurred
3885            */
3886            public int countByG_ST(long groupId, int status)
3887                    throws com.liferay.portal.kernel.exception.SystemException;
3888    
3889            /**
3890            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and status = &#63;.
3891            *
3892            * @param groupId the group ID
3893            * @param status the status
3894            * @return the number of matching journal articles that the user has permission to view
3895            * @throws SystemException if a system exception occurred
3896            */
3897            public int filterCountByG_ST(long groupId, int status)
3898                    throws com.liferay.portal.kernel.exception.SystemException;
3899    
3900            /**
3901            * Returns the number of journal articles where companyId = &#63; and version = &#63;.
3902            *
3903            * @param companyId the company 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 countByC_V(long companyId, double version)
3909                    throws com.liferay.portal.kernel.exception.SystemException;
3910    
3911            /**
3912            * Returns the number of journal articles where companyId = &#63; and status = &#63;.
3913            *
3914            * @param companyId the company ID
3915            * @param status the status
3916            * @return the number of matching journal articles
3917            * @throws SystemException if a system exception occurred
3918            */
3919            public int countByC_ST(long companyId, int status)
3920                    throws com.liferay.portal.kernel.exception.SystemException;
3921    
3922            /**
3923            * Returns the number of journal articles where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
3924            *
3925            * @param groupId the group ID
3926            * @param classNameId the class name ID
3927            * @param classPK the class p k
3928            * @return the number of matching journal articles
3929            * @throws SystemException if a system exception occurred
3930            */
3931            public int countByG_C_C(long groupId, long classNameId, long classPK)
3932                    throws com.liferay.portal.kernel.exception.SystemException;
3933    
3934            /**
3935            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and classPK = &#63;.
3936            *
3937            * @param groupId the group ID
3938            * @param classNameId the class name ID
3939            * @param classPK the class p k
3940            * @return the number of matching journal articles that the user has permission to view
3941            * @throws SystemException if a system exception occurred
3942            */
3943            public int filterCountByG_C_C(long groupId, long classNameId, long classPK)
3944                    throws com.liferay.portal.kernel.exception.SystemException;
3945    
3946            /**
3947            * Returns the number of journal articles where groupId = &#63; and classNameId = &#63; and structureId = &#63;.
3948            *
3949            * @param groupId the group ID
3950            * @param classNameId the class name ID
3951            * @param structureId the structure ID
3952            * @return the number of matching journal articles
3953            * @throws SystemException if a system exception occurred
3954            */
3955            public int countByG_C_S(long groupId, long classNameId,
3956                    java.lang.String structureId)
3957                    throws com.liferay.portal.kernel.exception.SystemException;
3958    
3959            /**
3960            * Returns the number of journal articles where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
3961            *
3962            * @param groupId the group ID
3963            * @param classNameId the class name ID
3964            * @param templateId the template ID
3965            * @return the number of matching journal articles
3966            * @throws SystemException if a system exception occurred
3967            */
3968            public int countByG_C_T(long groupId, long classNameId,
3969                    java.lang.String templateId)
3970                    throws com.liferay.portal.kernel.exception.SystemException;
3971    
3972            /**
3973            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and templateId = &#63;.
3974            *
3975            * @param groupId the group ID
3976            * @param classNameId the class name ID
3977            * @param templateId the template ID
3978            * @return the number of matching journal articles that the user has permission to view
3979            * @throws SystemException if a system exception occurred
3980            */
3981            public int filterCountByG_C_T(long groupId, long classNameId,
3982                    java.lang.String templateId)
3983                    throws com.liferay.portal.kernel.exception.SystemException;
3984    
3985            /**
3986            * Returns the number of journal articles where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
3987            *
3988            * @param groupId the group ID
3989            * @param classNameId the class name ID
3990            * @param layoutUuid the layout uuid
3991            * @return the number of matching journal articles
3992            * @throws SystemException if a system exception occurred
3993            */
3994            public int countByG_C_L(long groupId, long classNameId,
3995                    java.lang.String layoutUuid)
3996                    throws com.liferay.portal.kernel.exception.SystemException;
3997    
3998            /**
3999            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and classNameId = &#63; and layoutUuid = &#63;.
4000            *
4001            * @param groupId the group ID
4002            * @param classNameId the class name ID
4003            * @param layoutUuid the layout uuid
4004            * @return the number of matching journal articles that the user has permission to view
4005            * @throws SystemException if a system exception occurred
4006            */
4007            public int filterCountByG_C_L(long groupId, long classNameId,
4008                    java.lang.String layoutUuid)
4009                    throws com.liferay.portal.kernel.exception.SystemException;
4010    
4011            /**
4012            * Returns the number of journal articles where groupId = &#63; and articleId = &#63; and version = &#63;.
4013            *
4014            * @param groupId the group ID
4015            * @param articleId the article ID
4016            * @param version the version
4017            * @return the number of matching journal articles
4018            * @throws SystemException if a system exception occurred
4019            */
4020            public int countByG_A_V(long groupId, java.lang.String articleId,
4021                    double version)
4022                    throws com.liferay.portal.kernel.exception.SystemException;
4023    
4024            /**
4025            * Returns the number of journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
4026            *
4027            * @param groupId the group ID
4028            * @param articleId the article ID
4029            * @param status the status
4030            * @return the number of matching journal articles
4031            * @throws SystemException if a system exception occurred
4032            */
4033            public int countByG_A_ST(long groupId, java.lang.String articleId,
4034                    int status) throws com.liferay.portal.kernel.exception.SystemException;
4035    
4036            /**
4037            * Returns the number of journal articles where groupId = &#63; and articleId = &#63; and status = any &#63;.
4038            *
4039            * @param groupId the group ID
4040            * @param articleId the article ID
4041            * @param statuses the statuses
4042            * @return the number of matching journal articles
4043            * @throws SystemException if a system exception occurred
4044            */
4045            public int countByG_A_ST(long groupId, java.lang.String articleId,
4046                    int[] statuses)
4047                    throws com.liferay.portal.kernel.exception.SystemException;
4048    
4049            /**
4050            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = &#63;.
4051            *
4052            * @param groupId the group ID
4053            * @param articleId the article ID
4054            * @param status the status
4055            * @return the number of matching journal articles that the user has permission to view
4056            * @throws SystemException if a system exception occurred
4057            */
4058            public int filterCountByG_A_ST(long groupId, java.lang.String articleId,
4059                    int status) throws com.liferay.portal.kernel.exception.SystemException;
4060    
4061            /**
4062            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and articleId = &#63; and status = any &#63;.
4063            *
4064            * @param groupId the group ID
4065            * @param articleId the article ID
4066            * @param statuses the statuses
4067            * @return the number of matching journal articles that the user has permission to view
4068            * @throws SystemException if a system exception occurred
4069            */
4070            public int filterCountByG_A_ST(long groupId, java.lang.String articleId,
4071                    int[] statuses)
4072                    throws com.liferay.portal.kernel.exception.SystemException;
4073    
4074            /**
4075            * Returns the number of journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
4076            *
4077            * @param groupId the group ID
4078            * @param urlTitle the url title
4079            * @param status the status
4080            * @return the number of matching journal articles
4081            * @throws SystemException if a system exception occurred
4082            */
4083            public int countByG_UT_ST(long groupId, java.lang.String urlTitle,
4084                    int status) throws com.liferay.portal.kernel.exception.SystemException;
4085    
4086            /**
4087            * Returns the number of journal articles that the user has permission to view where groupId = &#63; and urlTitle = &#63; and status = &#63;.
4088            *
4089            * @param groupId the group ID
4090            * @param urlTitle the url title
4091            * @param status the status
4092            * @return the number of matching journal articles that the user has permission to view
4093            * @throws SystemException if a system exception occurred
4094            */
4095            public int filterCountByG_UT_ST(long groupId, java.lang.String urlTitle,
4096                    int status) throws com.liferay.portal.kernel.exception.SystemException;
4097    
4098            /**
4099            * Returns the number of journal articles where companyId = &#63; and version = &#63; and status = &#63;.
4100            *
4101            * @param companyId the company ID
4102            * @param version the version
4103            * @param status the status
4104            * @return the number of matching journal articles
4105            * @throws SystemException if a system exception occurred
4106            */
4107            public int countByC_V_ST(long companyId, double version, int status)
4108                    throws com.liferay.portal.kernel.exception.SystemException;
4109    
4110            /**
4111            * Returns the number of journal articles.
4112            *
4113            * @return the number of journal articles
4114            * @throws SystemException if a system exception occurred
4115            */
4116            public int countAll()
4117                    throws com.liferay.portal.kernel.exception.SystemException;
4118    }