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