001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.journal.service.persistence;
016    
017    import com.liferay.portal.service.persistence.BasePersistence;
018    
019    import com.liferay.portlet.journal.model.JournalArticle;
020    
021    /**
022     * The persistence interface for the journal article service.
023     *
024     * <p>
025     * 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.
026     * </p>
027     *
028     * <p>
029     * Caching information and settings can be found in <code>portal.properties</code>
030     * </p>
031     *
032     * @author Brian Wing Shun Chan
033     * @see JournalArticlePersistenceImpl
034     * @see JournalArticleUtil
035     * @generated
036     */
037    public interface JournalArticlePersistence extends BasePersistence<JournalArticle> {
038            /**
039            * Caches the journal article in the entity cache if it is enabled.
040            *
041            * @param journalArticle the journal article to cache
042            */
043            public void cacheResult(
044                    com.liferay.portlet.journal.model.JournalArticle journalArticle);
045    
046            /**
047            * Caches the journal articles in the entity cache if it is enabled.
048            *
049            * @param journalArticles the journal articles to cache
050            */
051            public void cacheResult(
052                    java.util.List<com.liferay.portlet.journal.model.JournalArticle> journalArticles);
053    
054            /**
055            * Creates a new journal article with the primary key. Does not add the journal article to the database.
056            *
057            * @param id the primary key for the new journal article
058            * @return the new journal article
059            */
060            public com.liferay.portlet.journal.model.JournalArticle create(long id);
061    
062            /**
063            * Removes the journal article with the primary key from the database. Also notifies the appropriate model listeners.
064            *
065            * @param id the primary key of the journal article to remove
066            * @return the journal article that was removed
067            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
068            * @throws SystemException if a system exception occurred
069            */
070            public com.liferay.portlet.journal.model.JournalArticle remove(long id)
071                    throws com.liferay.portal.kernel.exception.SystemException,
072                            com.liferay.portlet.journal.NoSuchArticleException;
073    
074            public com.liferay.portlet.journal.model.JournalArticle updateImpl(
075                    com.liferay.portlet.journal.model.JournalArticle journalArticle,
076                    boolean merge)
077                    throws com.liferay.portal.kernel.exception.SystemException;
078    
079            /**
080            * Finds the journal article with the primary key or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found.
081            *
082            * @param id the primary key of the journal article to find
083            * @return the journal article
084            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
085            * @throws SystemException if a system exception occurred
086            */
087            public com.liferay.portlet.journal.model.JournalArticle findByPrimaryKey(
088                    long id)
089                    throws com.liferay.portal.kernel.exception.SystemException,
090                            com.liferay.portlet.journal.NoSuchArticleException;
091    
092            /**
093            * Finds the journal article with the primary key or returns <code>null</code> if it could not be found.
094            *
095            * @param id the primary key of the journal article to find
096            * @return the journal article, or <code>null</code> if a journal article with the primary key could not be found
097            * @throws SystemException if a system exception occurred
098            */
099            public com.liferay.portlet.journal.model.JournalArticle fetchByPrimaryKey(
100                    long id) throws com.liferay.portal.kernel.exception.SystemException;
101    
102            /**
103            * Finds all the journal articles where uuid = &#63;.
104            *
105            * @param uuid the uuid to search with
106            * @return the matching journal articles
107            * @throws SystemException if a system exception occurred
108            */
109            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid(
110                    java.lang.String uuid)
111                    throws com.liferay.portal.kernel.exception.SystemException;
112    
113            /**
114            * Finds a range of all the journal articles where uuid = &#63;.
115            *
116            * <p>
117            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
118            * </p>
119            *
120            * @param uuid the uuid to search with
121            * @param start the lower bound of the range of journal articles to return
122            * @param end the upper bound of the range of journal articles to return (not inclusive)
123            * @return the range of matching journal articles
124            * @throws SystemException if a system exception occurred
125            */
126            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid(
127                    java.lang.String uuid, int start, int end)
128                    throws com.liferay.portal.kernel.exception.SystemException;
129    
130            /**
131            * Finds an ordered range of all the journal articles where uuid = &#63;.
132            *
133            * <p>
134            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
135            * </p>
136            *
137            * @param uuid the uuid to search with
138            * @param start the lower bound of the range of journal articles to return
139            * @param end the upper bound of the range of journal articles to return (not inclusive)
140            * @param orderByComparator the comparator to order the results by
141            * @return the ordered range of matching journal articles
142            * @throws SystemException if a system exception occurred
143            */
144            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid(
145                    java.lang.String uuid, int start, int end,
146                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
147                    throws com.liferay.portal.kernel.exception.SystemException;
148    
149            /**
150            * Finds the first journal article in the ordered set where uuid = &#63;.
151            *
152            * <p>
153            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
154            * </p>
155            *
156            * @param uuid the uuid to search with
157            * @param orderByComparator the comparator to order the set by
158            * @return the first matching journal article
159            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
160            * @throws SystemException if a system exception occurred
161            */
162            public com.liferay.portlet.journal.model.JournalArticle findByUuid_First(
163                    java.lang.String uuid,
164                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
165                    throws com.liferay.portal.kernel.exception.SystemException,
166                            com.liferay.portlet.journal.NoSuchArticleException;
167    
168            /**
169            * Finds the last journal article in the ordered set where uuid = &#63;.
170            *
171            * <p>
172            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
173            * </p>
174            *
175            * @param uuid the uuid to search with
176            * @param orderByComparator the comparator to order the set by
177            * @return the last matching journal article
178            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
179            * @throws SystemException if a system exception occurred
180            */
181            public com.liferay.portlet.journal.model.JournalArticle findByUuid_Last(
182                    java.lang.String uuid,
183                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
184                    throws com.liferay.portal.kernel.exception.SystemException,
185                            com.liferay.portlet.journal.NoSuchArticleException;
186    
187            /**
188            * Finds the journal articles before and after the current journal article in the ordered set where uuid = &#63;.
189            *
190            * <p>
191            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
192            * </p>
193            *
194            * @param id the primary key of the current journal article
195            * @param uuid the uuid to search with
196            * @param orderByComparator the comparator to order the set by
197            * @return the previous, current, and next journal article
198            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
199            * @throws SystemException if a system exception occurred
200            */
201            public com.liferay.portlet.journal.model.JournalArticle[] findByUuid_PrevAndNext(
202                    long id, java.lang.String uuid,
203                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
204                    throws com.liferay.portal.kernel.exception.SystemException,
205                            com.liferay.portlet.journal.NoSuchArticleException;
206    
207            /**
208            * Finds the journal article where uuid = &#63; and groupId = &#63; or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found.
209            *
210            * @param uuid the uuid to search with
211            * @param groupId the group id to search with
212            * @return the matching journal article
213            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
214            * @throws SystemException if a system exception occurred
215            */
216            public com.liferay.portlet.journal.model.JournalArticle findByUUID_G(
217                    java.lang.String uuid, long groupId)
218                    throws com.liferay.portal.kernel.exception.SystemException,
219                            com.liferay.portlet.journal.NoSuchArticleException;
220    
221            /**
222            * Finds the journal article where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
223            *
224            * @param uuid the uuid to search with
225            * @param groupId the group id to search with
226            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
227            * @throws SystemException if a system exception occurred
228            */
229            public com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G(
230                    java.lang.String uuid, long groupId)
231                    throws com.liferay.portal.kernel.exception.SystemException;
232    
233            /**
234            * Finds 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.
235            *
236            * @param uuid the uuid to search with
237            * @param groupId the group id to search with
238            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
239            * @throws SystemException if a system exception occurred
240            */
241            public com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G(
242                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
243                    throws com.liferay.portal.kernel.exception.SystemException;
244    
245            /**
246            * Finds all the journal articles where resourcePrimKey = &#63;.
247            *
248            * @param resourcePrimKey the resource prim key to search with
249            * @return the matching journal articles
250            * @throws SystemException if a system exception occurred
251            */
252            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey(
253                    long resourcePrimKey)
254                    throws com.liferay.portal.kernel.exception.SystemException;
255    
256            /**
257            * Finds a range of all the journal articles where resourcePrimKey = &#63;.
258            *
259            * <p>
260            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
261            * </p>
262            *
263            * @param resourcePrimKey the resource prim key to search with
264            * @param start the lower bound of the range of journal articles to return
265            * @param end the upper bound of the range of journal articles to return (not inclusive)
266            * @return the range of matching journal articles
267            * @throws SystemException if a system exception occurred
268            */
269            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey(
270                    long resourcePrimKey, int start, int end)
271                    throws com.liferay.portal.kernel.exception.SystemException;
272    
273            /**
274            * Finds an ordered range of all the journal articles where resourcePrimKey = &#63;.
275            *
276            * <p>
277            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
278            * </p>
279            *
280            * @param resourcePrimKey the resource prim key to search with
281            * @param start the lower bound of the range of journal articles to return
282            * @param end the upper bound of the range of journal articles to return (not inclusive)
283            * @param orderByComparator the comparator to order the results by
284            * @return the ordered range of matching journal articles
285            * @throws SystemException if a system exception occurred
286            */
287            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey(
288                    long resourcePrimKey, int start, int end,
289                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
290                    throws com.liferay.portal.kernel.exception.SystemException;
291    
292            /**
293            * Finds the first journal article in the ordered set where resourcePrimKey = &#63;.
294            *
295            * <p>
296            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
297            * </p>
298            *
299            * @param resourcePrimKey the resource prim key to search with
300            * @param orderByComparator the comparator to order the set by
301            * @return the first matching journal article
302            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
303            * @throws SystemException if a system exception occurred
304            */
305            public com.liferay.portlet.journal.model.JournalArticle findByResourcePrimKey_First(
306                    long resourcePrimKey,
307                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
308                    throws com.liferay.portal.kernel.exception.SystemException,
309                            com.liferay.portlet.journal.NoSuchArticleException;
310    
311            /**
312            * Finds the last journal article in the ordered set where resourcePrimKey = &#63;.
313            *
314            * <p>
315            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
316            * </p>
317            *
318            * @param resourcePrimKey the resource prim key to search with
319            * @param orderByComparator the comparator to order the set by
320            * @return the last matching journal article
321            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
322            * @throws SystemException if a system exception occurred
323            */
324            public com.liferay.portlet.journal.model.JournalArticle findByResourcePrimKey_Last(
325                    long resourcePrimKey,
326                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
327                    throws com.liferay.portal.kernel.exception.SystemException,
328                            com.liferay.portlet.journal.NoSuchArticleException;
329    
330            /**
331            * Finds the journal articles before and after the current journal article in the ordered set where resourcePrimKey = &#63;.
332            *
333            * <p>
334            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
335            * </p>
336            *
337            * @param id the primary key of the current journal article
338            * @param resourcePrimKey the resource prim key to search with
339            * @param orderByComparator the comparator to order the set by
340            * @return the previous, current, and next journal article
341            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
342            * @throws SystemException if a system exception occurred
343            */
344            public com.liferay.portlet.journal.model.JournalArticle[] findByResourcePrimKey_PrevAndNext(
345                    long id, long resourcePrimKey,
346                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
347                    throws com.liferay.portal.kernel.exception.SystemException,
348                            com.liferay.portlet.journal.NoSuchArticleException;
349    
350            /**
351            * Finds all the journal articles where groupId = &#63;.
352            *
353            * @param groupId the group id to search with
354            * @return the matching journal articles
355            * @throws SystemException if a system exception occurred
356            */
357            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId(
358                    long groupId)
359                    throws com.liferay.portal.kernel.exception.SystemException;
360    
361            /**
362            * Finds a range of all the journal articles where groupId = &#63;.
363            *
364            * <p>
365            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
366            * </p>
367            *
368            * @param groupId the group id to search with
369            * @param start the lower bound of the range of journal articles to return
370            * @param end the upper bound of the range of journal articles to return (not inclusive)
371            * @return the range of matching journal articles
372            * @throws SystemException if a system exception occurred
373            */
374            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId(
375                    long groupId, int start, int end)
376                    throws com.liferay.portal.kernel.exception.SystemException;
377    
378            /**
379            * Finds an ordered range of all the journal articles where groupId = &#63;.
380            *
381            * <p>
382            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
383            * </p>
384            *
385            * @param groupId the group id to search with
386            * @param start the lower bound of the range of journal articles to return
387            * @param end the upper bound of the range of journal articles to return (not inclusive)
388            * @param orderByComparator the comparator to order the results by
389            * @return the ordered range of matching journal articles
390            * @throws SystemException if a system exception occurred
391            */
392            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId(
393                    long groupId, int start, int end,
394                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
395                    throws com.liferay.portal.kernel.exception.SystemException;
396    
397            /**
398            * Finds the first journal article in the ordered set where groupId = &#63;.
399            *
400            * <p>
401            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
402            * </p>
403            *
404            * @param groupId the group id to search with
405            * @param orderByComparator the comparator to order the set by
406            * @return the first matching journal article
407            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
408            * @throws SystemException if a system exception occurred
409            */
410            public com.liferay.portlet.journal.model.JournalArticle findByGroupId_First(
411                    long groupId,
412                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
413                    throws com.liferay.portal.kernel.exception.SystemException,
414                            com.liferay.portlet.journal.NoSuchArticleException;
415    
416            /**
417            * Finds the last journal article in the ordered set where groupId = &#63;.
418            *
419            * <p>
420            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
421            * </p>
422            *
423            * @param groupId the group id to search with
424            * @param orderByComparator the comparator to order the set by
425            * @return the last matching journal article
426            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
427            * @throws SystemException if a system exception occurred
428            */
429            public com.liferay.portlet.journal.model.JournalArticle findByGroupId_Last(
430                    long groupId,
431                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
432                    throws com.liferay.portal.kernel.exception.SystemException,
433                            com.liferay.portlet.journal.NoSuchArticleException;
434    
435            /**
436            * Finds the journal articles before and after the current journal article in the ordered set where groupId = &#63;.
437            *
438            * <p>
439            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
440            * </p>
441            *
442            * @param id the primary key of the current journal article
443            * @param groupId the group id to search with
444            * @param orderByComparator the comparator to order the set by
445            * @return the previous, current, and next journal article
446            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
447            * @throws SystemException if a system exception occurred
448            */
449            public com.liferay.portlet.journal.model.JournalArticle[] findByGroupId_PrevAndNext(
450                    long id, long groupId,
451                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
452                    throws com.liferay.portal.kernel.exception.SystemException,
453                            com.liferay.portlet.journal.NoSuchArticleException;
454    
455            /**
456            * Filters by the user's permissions and finds all the journal articles where groupId = &#63;.
457            *
458            * @param groupId the group id to search with
459            * @return the matching journal articles that the user has permission to view
460            * @throws SystemException if a system exception occurred
461            */
462            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId(
463                    long groupId)
464                    throws com.liferay.portal.kernel.exception.SystemException;
465    
466            /**
467            * Filters by the user's permissions and finds a range of all the journal articles where groupId = &#63;.
468            *
469            * <p>
470            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
471            * </p>
472            *
473            * @param groupId the group id to search with
474            * @param start the lower bound of the range of journal articles to return
475            * @param end the upper bound of the range of journal articles to return (not inclusive)
476            * @return the range of matching journal articles that the user has permission to view
477            * @throws SystemException if a system exception occurred
478            */
479            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId(
480                    long groupId, int start, int end)
481                    throws com.liferay.portal.kernel.exception.SystemException;
482    
483            /**
484            * Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = &#63;.
485            *
486            * <p>
487            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
488            * </p>
489            *
490            * @param groupId the group id to search with
491            * @param start the lower bound of the range of journal articles to return
492            * @param end the upper bound of the range of journal articles to return (not inclusive)
493            * @param orderByComparator the comparator to order the results by
494            * @return the ordered range of matching journal articles that the user has permission to view
495            * @throws SystemException if a system exception occurred
496            */
497            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId(
498                    long groupId, int start, int end,
499                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
500                    throws com.liferay.portal.kernel.exception.SystemException;
501    
502            /**
503            * Finds all the journal articles where companyId = &#63;.
504            *
505            * @param companyId the company id to search with
506            * @return the matching journal articles
507            * @throws SystemException if a system exception occurred
508            */
509            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId(
510                    long companyId)
511                    throws com.liferay.portal.kernel.exception.SystemException;
512    
513            /**
514            * Finds a range of all the journal articles where companyId = &#63;.
515            *
516            * <p>
517            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
518            * </p>
519            *
520            * @param companyId the company id to search with
521            * @param start the lower bound of the range of journal articles to return
522            * @param end the upper bound of the range of journal articles to return (not inclusive)
523            * @return the range of matching journal articles
524            * @throws SystemException if a system exception occurred
525            */
526            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId(
527                    long companyId, int start, int end)
528                    throws com.liferay.portal.kernel.exception.SystemException;
529    
530            /**
531            * Finds an ordered range of all the journal articles where companyId = &#63;.
532            *
533            * <p>
534            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
535            * </p>
536            *
537            * @param companyId the company id to search with
538            * @param start the lower bound of the range of journal articles to return
539            * @param end the upper bound of the range of journal articles to return (not inclusive)
540            * @param orderByComparator the comparator to order the results by
541            * @return the ordered range of matching journal articles
542            * @throws SystemException if a system exception occurred
543            */
544            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId(
545                    long companyId, int start, int end,
546                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
547                    throws com.liferay.portal.kernel.exception.SystemException;
548    
549            /**
550            * Finds the first journal article in the ordered set where companyId = &#63;.
551            *
552            * <p>
553            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
554            * </p>
555            *
556            * @param companyId the company id to search with
557            * @param orderByComparator the comparator to order the set by
558            * @return the first matching journal article
559            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
560            * @throws SystemException if a system exception occurred
561            */
562            public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_First(
563                    long companyId,
564                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
565                    throws com.liferay.portal.kernel.exception.SystemException,
566                            com.liferay.portlet.journal.NoSuchArticleException;
567    
568            /**
569            * Finds the last journal article in the ordered set where companyId = &#63;.
570            *
571            * <p>
572            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
573            * </p>
574            *
575            * @param companyId the company id to search with
576            * @param orderByComparator the comparator to order the set by
577            * @return the last matching journal article
578            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
579            * @throws SystemException if a system exception occurred
580            */
581            public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_Last(
582                    long companyId,
583                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
584                    throws com.liferay.portal.kernel.exception.SystemException,
585                            com.liferay.portlet.journal.NoSuchArticleException;
586    
587            /**
588            * Finds the journal articles before and after the current journal article in the ordered set where companyId = &#63;.
589            *
590            * <p>
591            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
592            * </p>
593            *
594            * @param id the primary key of the current journal article
595            * @param companyId the company id to search with
596            * @param orderByComparator the comparator to order the set by
597            * @return the previous, current, and next journal article
598            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
599            * @throws SystemException if a system exception occurred
600            */
601            public com.liferay.portlet.journal.model.JournalArticle[] findByCompanyId_PrevAndNext(
602                    long id, 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            * Finds all the journal articles where smallImageId = &#63;.
609            *
610            * @param smallImageId the small image id to search with
611            * @return the matching journal articles
612            * @throws SystemException if a system exception occurred
613            */
614            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
615                    long smallImageId)
616                    throws com.liferay.portal.kernel.exception.SystemException;
617    
618            /**
619            * Finds a range of all the journal articles where smallImageId = &#63;.
620            *
621            * <p>
622            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
623            * </p>
624            *
625            * @param smallImageId the small image id to search with
626            * @param start the lower bound of the range of journal articles to return
627            * @param end the upper bound of the range of journal articles to return (not inclusive)
628            * @return the range of matching journal articles
629            * @throws SystemException if a system exception occurred
630            */
631            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
632                    long smallImageId, int start, int end)
633                    throws com.liferay.portal.kernel.exception.SystemException;
634    
635            /**
636            * Finds an ordered range of all the journal articles where smallImageId = &#63;.
637            *
638            * <p>
639            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
640            * </p>
641            *
642            * @param smallImageId the small image id to search with
643            * @param start the lower bound of the range of journal articles to return
644            * @param end the upper bound of the range of journal articles to return (not inclusive)
645            * @param orderByComparator the comparator to order the results by
646            * @return the ordered range of matching journal articles
647            * @throws SystemException if a system exception occurred
648            */
649            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
650                    long smallImageId, int start, int end,
651                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
652                    throws com.liferay.portal.kernel.exception.SystemException;
653    
654            /**
655            * Finds the first journal article in the ordered set where smallImageId = &#63;.
656            *
657            * <p>
658            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
659            * </p>
660            *
661            * @param smallImageId the small image id to search with
662            * @param orderByComparator the comparator to order the set by
663            * @return the first matching journal article
664            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
665            * @throws SystemException if a system exception occurred
666            */
667            public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_First(
668                    long smallImageId,
669                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
670                    throws com.liferay.portal.kernel.exception.SystemException,
671                            com.liferay.portlet.journal.NoSuchArticleException;
672    
673            /**
674            * Finds the last journal article in the ordered set where smallImageId = &#63;.
675            *
676            * <p>
677            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
678            * </p>
679            *
680            * @param smallImageId the small image id to search with
681            * @param orderByComparator the comparator to order the set by
682            * @return the last matching journal article
683            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
684            * @throws SystemException if a system exception occurred
685            */
686            public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_Last(
687                    long smallImageId,
688                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
689                    throws com.liferay.portal.kernel.exception.SystemException,
690                            com.liferay.portlet.journal.NoSuchArticleException;
691    
692            /**
693            * Finds the journal articles before and after the current journal article in the ordered set where smallImageId = &#63;.
694            *
695            * <p>
696            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
697            * </p>
698            *
699            * @param id the primary key of the current journal article
700            * @param smallImageId the small image id to search with
701            * @param orderByComparator the comparator to order the set by
702            * @return the previous, current, and next journal article
703            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
704            * @throws SystemException if a system exception occurred
705            */
706            public com.liferay.portlet.journal.model.JournalArticle[] findBySmallImageId_PrevAndNext(
707                    long id, 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            * Finds all the journal articles where resourcePrimKey = &#63; and status = &#63;.
714            *
715            * @param resourcePrimKey the resource prim key to search with
716            * @param status the status to search with
717            * @return the matching journal articles
718            * @throws SystemException if a system exception occurred
719            */
720            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST(
721                    long resourcePrimKey, int status)
722                    throws com.liferay.portal.kernel.exception.SystemException;
723    
724            /**
725            * Finds a range of all the journal articles where resourcePrimKey = &#63; and status = &#63;.
726            *
727            * <p>
728            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
729            * </p>
730            *
731            * @param resourcePrimKey the resource prim key to search with
732            * @param status the status to search with
733            * @param start the lower bound of the range of journal articles to return
734            * @param end the upper bound of the range of journal articles to return (not inclusive)
735            * @return the range of matching journal articles
736            * @throws SystemException if a system exception occurred
737            */
738            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST(
739                    long resourcePrimKey, int status, int start, int end)
740                    throws com.liferay.portal.kernel.exception.SystemException;
741    
742            /**
743            * Finds an ordered range of all the journal articles where resourcePrimKey = &#63; and status = &#63;.
744            *
745            * <p>
746            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
747            * </p>
748            *
749            * @param resourcePrimKey the resource prim key to search with
750            * @param status the status to search with
751            * @param start the lower bound of the range of journal articles to return
752            * @param end the upper bound of the range of journal articles to return (not inclusive)
753            * @param orderByComparator the comparator to order the results by
754            * @return the ordered range of matching journal articles
755            * @throws SystemException if a system exception occurred
756            */
757            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST(
758                    long resourcePrimKey, int status, int start, int end,
759                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
760                    throws com.liferay.portal.kernel.exception.SystemException;
761    
762            /**
763            * Finds the first journal article in the ordered set 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 to search with
770            * @param status the status to search with
771            * @param orderByComparator the comparator to order the set by
772            * @return the first matching journal article
773            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
774            * @throws SystemException if a system exception occurred
775            */
776            public com.liferay.portlet.journal.model.JournalArticle findByR_ST_First(
777                    long resourcePrimKey, int status,
778                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
779                    throws com.liferay.portal.kernel.exception.SystemException,
780                            com.liferay.portlet.journal.NoSuchArticleException;
781    
782            /**
783            * Finds the last 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 to search with
790            * @param status the status to search with
791            * @param orderByComparator the comparator to order the set by
792            * @return the last 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_Last(
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            * Finds the journal articles before and after the current 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 id the primary key of the current journal article
810            * @param resourcePrimKey the resource prim key to search with
811            * @param status the status to search with
812            * @param orderByComparator the comparator to order the set by
813            * @return the previous, current, and next journal article
814            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
815            * @throws SystemException if a system exception occurred
816            */
817            public com.liferay.portlet.journal.model.JournalArticle[] findByR_ST_PrevAndNext(
818                    long id, long resourcePrimKey, int status,
819                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
820                    throws com.liferay.portal.kernel.exception.SystemException,
821                            com.liferay.portlet.journal.NoSuchArticleException;
822    
823            /**
824            * Finds all the journal articles where groupId = &#63; and articleId = &#63;.
825            *
826            * @param groupId the group id to search with
827            * @param articleId the article id to search with
828            * @return the matching journal articles
829            * @throws SystemException if a system exception occurred
830            */
831            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
832                    long groupId, java.lang.String articleId)
833                    throws com.liferay.portal.kernel.exception.SystemException;
834    
835            /**
836            * Finds a range of all the journal articles where groupId = &#63; and articleId = &#63;.
837            *
838            * <p>
839            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
840            * </p>
841            *
842            * @param groupId the group id to search with
843            * @param articleId the article id to search with
844            * @param start the lower bound of the range of journal articles to return
845            * @param end the upper bound of the range of journal articles to return (not inclusive)
846            * @return the range of matching journal articles
847            * @throws SystemException if a system exception occurred
848            */
849            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
850                    long groupId, java.lang.String articleId, int start, int end)
851                    throws com.liferay.portal.kernel.exception.SystemException;
852    
853            /**
854            * Finds an ordered range of all the journal articles where groupId = &#63; and articleId = &#63;.
855            *
856            * <p>
857            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
858            * </p>
859            *
860            * @param groupId the group id to search with
861            * @param articleId the article id to search with
862            * @param start the lower bound of the range of journal articles to return
863            * @param end the upper bound of the range of journal articles to return (not inclusive)
864            * @param orderByComparator the comparator to order the results by
865            * @return the ordered range of matching journal articles
866            * @throws SystemException if a system exception occurred
867            */
868            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
869                    long groupId, java.lang.String articleId, int start, int end,
870                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
871                    throws com.liferay.portal.kernel.exception.SystemException;
872    
873            /**
874            * Finds the first journal article in the ordered set 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 to search with
881            * @param articleId the article id to search with
882            * @param orderByComparator the comparator to order the set by
883            * @return the first matching journal article
884            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
885            * @throws SystemException if a system exception occurred
886            */
887            public com.liferay.portlet.journal.model.JournalArticle findByG_A_First(
888                    long groupId, java.lang.String articleId,
889                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
890                    throws com.liferay.portal.kernel.exception.SystemException,
891                            com.liferay.portlet.journal.NoSuchArticleException;
892    
893            /**
894            * Finds the last 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 to search with
901            * @param articleId the article id to search with
902            * @param orderByComparator the comparator to order the set by
903            * @return the last 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_Last(
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            * Finds the journal articles before and after the current 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 id the primary key of the current journal article
921            * @param groupId the group id to search with
922            * @param articleId the article id to search with
923            * @param orderByComparator the comparator to order the set by
924            * @return the previous, current, and next journal article
925            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
926            * @throws SystemException if a system exception occurred
927            */
928            public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_PrevAndNext(
929                    long id, long groupId, java.lang.String articleId,
930                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
931                    throws com.liferay.portal.kernel.exception.SystemException,
932                            com.liferay.portlet.journal.NoSuchArticleException;
933    
934            /**
935            * Filters by the user's permissions and finds all the journal articles where groupId = &#63; and articleId = &#63;.
936            *
937            * @param groupId the group id to search with
938            * @param articleId the article id to search with
939            * @return the matching journal articles that the user has permission to view
940            * @throws SystemException if a system exception occurred
941            */
942            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A(
943                    long groupId, java.lang.String articleId)
944                    throws com.liferay.portal.kernel.exception.SystemException;
945    
946            /**
947            * Filters by the user's permissions and finds a range of all the journal articles where groupId = &#63; and articleId = &#63;.
948            *
949            * <p>
950            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
951            * </p>
952            *
953            * @param groupId the group id to search with
954            * @param articleId the article id to search with
955            * @param start the lower bound of the range of journal articles to return
956            * @param end the upper bound of the range of journal articles to return (not inclusive)
957            * @return the range of matching journal articles that the user has permission to view
958            * @throws SystemException if a system exception occurred
959            */
960            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A(
961                    long groupId, java.lang.String articleId, int start, int end)
962                    throws com.liferay.portal.kernel.exception.SystemException;
963    
964            /**
965            * Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = &#63; and articleId = &#63;.
966            *
967            * <p>
968            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
969            * </p>
970            *
971            * @param groupId the group id to search with
972            * @param articleId the article id to search with
973            * @param start the lower bound of the range of journal articles to return
974            * @param end the upper bound of the range of journal articles to return (not inclusive)
975            * @param orderByComparator the comparator to order the results by
976            * @return the ordered range of matching journal articles that the user has permission to view
977            * @throws SystemException if a system exception occurred
978            */
979            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A(
980                    long groupId, java.lang.String articleId, int start, int end,
981                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
982                    throws com.liferay.portal.kernel.exception.SystemException;
983    
984            /**
985            * Finds all the journal articles where groupId = &#63; and structureId = &#63;.
986            *
987            * @param groupId the group id to search with
988            * @param structureId the structure id to search with
989            * @return the matching journal articles
990            * @throws SystemException if a system exception occurred
991            */
992            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
993                    long groupId, java.lang.String structureId)
994                    throws com.liferay.portal.kernel.exception.SystemException;
995    
996            /**
997            * Finds a range of all the journal articles where groupId = &#63; and structureId = &#63;.
998            *
999            * <p>
1000            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1001            * </p>
1002            *
1003            * @param groupId the group id to search with
1004            * @param structureId the structure id to search with
1005            * @param start the lower bound of the range of journal articles to return
1006            * @param end the upper bound of the range of journal articles to return (not inclusive)
1007            * @return the range of matching journal articles
1008            * @throws SystemException if a system exception occurred
1009            */
1010            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
1011                    long groupId, java.lang.String structureId, int start, int end)
1012                    throws com.liferay.portal.kernel.exception.SystemException;
1013    
1014            /**
1015            * Finds an ordered range of all the journal articles where groupId = &#63; and structureId = &#63;.
1016            *
1017            * <p>
1018            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1019            * </p>
1020            *
1021            * @param groupId the group id to search with
1022            * @param structureId the structure id to search with
1023            * @param start the lower bound of the range of journal articles to return
1024            * @param end the upper bound of the range of journal articles to return (not inclusive)
1025            * @param orderByComparator the comparator to order the results by
1026            * @return the ordered range of matching journal articles
1027            * @throws SystemException if a system exception occurred
1028            */
1029            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
1030                    long groupId, java.lang.String structureId, int start, int end,
1031                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1032                    throws com.liferay.portal.kernel.exception.SystemException;
1033    
1034            /**
1035            * Finds the first journal article in the ordered set where groupId = &#63; and structureId = &#63;.
1036            *
1037            * <p>
1038            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1039            * </p>
1040            *
1041            * @param groupId the group id to search with
1042            * @param structureId the structure id to search with
1043            * @param orderByComparator the comparator to order the set by
1044            * @return the first matching journal article
1045            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1046            * @throws SystemException if a system exception occurred
1047            */
1048            public com.liferay.portlet.journal.model.JournalArticle findByG_S_First(
1049                    long groupId, java.lang.String structureId,
1050                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1051                    throws com.liferay.portal.kernel.exception.SystemException,
1052                            com.liferay.portlet.journal.NoSuchArticleException;
1053    
1054            /**
1055            * Finds the last journal article in the ordered set where groupId = &#63; and structureId = &#63;.
1056            *
1057            * <p>
1058            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1059            * </p>
1060            *
1061            * @param groupId the group id to search with
1062            * @param structureId the structure id to search with
1063            * @param orderByComparator the comparator to order the set by
1064            * @return the last matching journal article
1065            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1066            * @throws SystemException if a system exception occurred
1067            */
1068            public com.liferay.portlet.journal.model.JournalArticle findByG_S_Last(
1069                    long groupId, java.lang.String structureId,
1070                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1071                    throws com.liferay.portal.kernel.exception.SystemException,
1072                            com.liferay.portlet.journal.NoSuchArticleException;
1073    
1074            /**
1075            * Finds the journal articles before and after the current journal article in the ordered set where groupId = &#63; and structureId = &#63;.
1076            *
1077            * <p>
1078            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1079            * </p>
1080            *
1081            * @param id the primary key of the current journal article
1082            * @param groupId the group id to search with
1083            * @param structureId the structure id to search with
1084            * @param orderByComparator the comparator to order the set by
1085            * @return the previous, current, and next journal article
1086            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1087            * @throws SystemException if a system exception occurred
1088            */
1089            public com.liferay.portlet.journal.model.JournalArticle[] findByG_S_PrevAndNext(
1090                    long id, long groupId, java.lang.String structureId,
1091                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1092                    throws com.liferay.portal.kernel.exception.SystemException,
1093                            com.liferay.portlet.journal.NoSuchArticleException;
1094    
1095            /**
1096            * Filters by the user's permissions and finds all the journal articles where groupId = &#63; and structureId = &#63;.
1097            *
1098            * @param groupId the group id to search with
1099            * @param structureId the structure id to search with
1100            * @return the matching journal articles that the user has permission to view
1101            * @throws SystemException if a system exception occurred
1102            */
1103            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S(
1104                    long groupId, java.lang.String structureId)
1105                    throws com.liferay.portal.kernel.exception.SystemException;
1106    
1107            /**
1108            * Filters by the user's permissions and finds a range of all the journal articles where groupId = &#63; and structureId = &#63;.
1109            *
1110            * <p>
1111            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1112            * </p>
1113            *
1114            * @param groupId the group id to search with
1115            * @param structureId the structure id to search with
1116            * @param start the lower bound of the range of journal articles to return
1117            * @param end the upper bound of the range of journal articles to return (not inclusive)
1118            * @return the range of matching journal articles that the user has permission to view
1119            * @throws SystemException if a system exception occurred
1120            */
1121            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S(
1122                    long groupId, java.lang.String structureId, int start, int end)
1123                    throws com.liferay.portal.kernel.exception.SystemException;
1124    
1125            /**
1126            * Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = &#63; and structureId = &#63;.
1127            *
1128            * <p>
1129            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1130            * </p>
1131            *
1132            * @param groupId the group id to search with
1133            * @param structureId the structure id to search with
1134            * @param start the lower bound of the range of journal articles to return
1135            * @param end the upper bound of the range of journal articles to return (not inclusive)
1136            * @param orderByComparator the comparator to order the results by
1137            * @return the ordered range of 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_S(
1141                    long groupId, java.lang.String structureId, int start, int end,
1142                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1143                    throws com.liferay.portal.kernel.exception.SystemException;
1144    
1145            /**
1146            * Finds all the journal articles where groupId = &#63; and templateId = &#63;.
1147            *
1148            * @param groupId the group id to search with
1149            * @param templateId the template id to search with
1150            * @return the matching journal articles
1151            * @throws SystemException if a system exception occurred
1152            */
1153            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
1154                    long groupId, java.lang.String templateId)
1155                    throws com.liferay.portal.kernel.exception.SystemException;
1156    
1157            /**
1158            * Finds a range of all the journal articles where groupId = &#63; and templateId = &#63;.
1159            *
1160            * <p>
1161            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1162            * </p>
1163            *
1164            * @param groupId the group id to search with
1165            * @param templateId the template id to search with
1166            * @param start the lower bound of the range of journal articles to return
1167            * @param end the upper bound of the range of journal articles to return (not inclusive)
1168            * @return the range of matching journal articles
1169            * @throws SystemException if a system exception occurred
1170            */
1171            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
1172                    long groupId, java.lang.String templateId, int start, int end)
1173                    throws com.liferay.portal.kernel.exception.SystemException;
1174    
1175            /**
1176            * Finds an ordered range of all the journal articles where groupId = &#63; and templateId = &#63;.
1177            *
1178            * <p>
1179            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1180            * </p>
1181            *
1182            * @param groupId the group id to search with
1183            * @param templateId the template id to search with
1184            * @param start the lower bound of the range of journal articles to return
1185            * @param end the upper bound of the range of journal articles to return (not inclusive)
1186            * @param orderByComparator the comparator to order the results by
1187            * @return the ordered range of matching journal articles
1188            * @throws SystemException if a system exception occurred
1189            */
1190            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
1191                    long groupId, java.lang.String templateId, int start, int end,
1192                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1193                    throws com.liferay.portal.kernel.exception.SystemException;
1194    
1195            /**
1196            * Finds the first journal article in the ordered set where groupId = &#63; and templateId = &#63;.
1197            *
1198            * <p>
1199            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1200            * </p>
1201            *
1202            * @param groupId the group id to search with
1203            * @param templateId the template id to search with
1204            * @param orderByComparator the comparator to order the set by
1205            * @return the first matching journal article
1206            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1207            * @throws SystemException if a system exception occurred
1208            */
1209            public com.liferay.portlet.journal.model.JournalArticle findByG_T_First(
1210                    long groupId, java.lang.String templateId,
1211                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1212                    throws com.liferay.portal.kernel.exception.SystemException,
1213                            com.liferay.portlet.journal.NoSuchArticleException;
1214    
1215            /**
1216            * Finds the last journal article in the ordered set where groupId = &#63; and templateId = &#63;.
1217            *
1218            * <p>
1219            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1220            * </p>
1221            *
1222            * @param groupId the group id to search with
1223            * @param templateId the template id to search with
1224            * @param orderByComparator the comparator to order the set by
1225            * @return the last matching journal article
1226            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1227            * @throws SystemException if a system exception occurred
1228            */
1229            public com.liferay.portlet.journal.model.JournalArticle findByG_T_Last(
1230                    long groupId, java.lang.String templateId,
1231                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1232                    throws com.liferay.portal.kernel.exception.SystemException,
1233                            com.liferay.portlet.journal.NoSuchArticleException;
1234    
1235            /**
1236            * Finds the journal articles before and after the current journal article in the ordered set where groupId = &#63; and templateId = &#63;.
1237            *
1238            * <p>
1239            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1240            * </p>
1241            *
1242            * @param id the primary key of the current journal article
1243            * @param groupId the group id to search with
1244            * @param templateId the template id to search with
1245            * @param orderByComparator the comparator to order the set by
1246            * @return the previous, current, and next journal article
1247            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1248            * @throws SystemException if a system exception occurred
1249            */
1250            public com.liferay.portlet.journal.model.JournalArticle[] findByG_T_PrevAndNext(
1251                    long id, long groupId, java.lang.String templateId,
1252                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1253                    throws com.liferay.portal.kernel.exception.SystemException,
1254                            com.liferay.portlet.journal.NoSuchArticleException;
1255    
1256            /**
1257            * Filters by the user's permissions and finds all the journal articles where groupId = &#63; and templateId = &#63;.
1258            *
1259            * @param groupId the group id to search with
1260            * @param templateId the template id to search with
1261            * @return the matching journal articles that the user has permission to view
1262            * @throws SystemException if a system exception occurred
1263            */
1264            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T(
1265                    long groupId, java.lang.String templateId)
1266                    throws com.liferay.portal.kernel.exception.SystemException;
1267    
1268            /**
1269            * Filters by the user's permissions and finds a range of all the journal articles where groupId = &#63; and templateId = &#63;.
1270            *
1271            * <p>
1272            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1273            * </p>
1274            *
1275            * @param groupId the group id to search with
1276            * @param templateId the template id to search with
1277            * @param start the lower bound of the range of journal articles to return
1278            * @param end the upper bound of the range of journal articles to return (not inclusive)
1279            * @return the range of matching journal articles that the user has permission to view
1280            * @throws SystemException if a system exception occurred
1281            */
1282            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T(
1283                    long groupId, java.lang.String templateId, int start, int end)
1284                    throws com.liferay.portal.kernel.exception.SystemException;
1285    
1286            /**
1287            * Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = &#63; and templateId = &#63;.
1288            *
1289            * <p>
1290            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1291            * </p>
1292            *
1293            * @param groupId the group id to search with
1294            * @param templateId the template id to search with
1295            * @param start the lower bound of the range of journal articles to return
1296            * @param end the upper bound of the range of journal articles to return (not inclusive)
1297            * @param orderByComparator the comparator to order the results by
1298            * @return the ordered range of matching journal articles that the user has permission to view
1299            * @throws SystemException if a system exception occurred
1300            */
1301            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T(
1302                    long groupId, java.lang.String templateId, int start, int end,
1303                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1304                    throws com.liferay.portal.kernel.exception.SystemException;
1305    
1306            /**
1307            * Finds all the journal articles where groupId = &#63; and urlTitle = &#63;.
1308            *
1309            * @param groupId the group id to search with
1310            * @param urlTitle the url title to search with
1311            * @return the matching journal articles
1312            * @throws SystemException if a system exception occurred
1313            */
1314            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
1315                    long groupId, java.lang.String urlTitle)
1316                    throws com.liferay.portal.kernel.exception.SystemException;
1317    
1318            /**
1319            * Finds a range of all the journal articles where groupId = &#63; and urlTitle = &#63;.
1320            *
1321            * <p>
1322            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1323            * </p>
1324            *
1325            * @param groupId the group id to search with
1326            * @param urlTitle the url title to search with
1327            * @param start the lower bound of the range of journal articles to return
1328            * @param end the upper bound of the range of journal articles to return (not inclusive)
1329            * @return the range of matching journal articles
1330            * @throws SystemException if a system exception occurred
1331            */
1332            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
1333                    long groupId, java.lang.String urlTitle, int start, int end)
1334                    throws com.liferay.portal.kernel.exception.SystemException;
1335    
1336            /**
1337            * Finds an ordered range of all the journal articles where groupId = &#63; and urlTitle = &#63;.
1338            *
1339            * <p>
1340            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1341            * </p>
1342            *
1343            * @param groupId the group id to search with
1344            * @param urlTitle the url title to search with
1345            * @param start the lower bound of the range of journal articles to return
1346            * @param end the upper bound of the range of journal articles to return (not inclusive)
1347            * @param orderByComparator the comparator to order the results by
1348            * @return the ordered range of matching journal articles
1349            * @throws SystemException if a system exception occurred
1350            */
1351            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
1352                    long groupId, java.lang.String urlTitle, int start, int end,
1353                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1354                    throws com.liferay.portal.kernel.exception.SystemException;
1355    
1356            /**
1357            * Finds the first journal article in the ordered set where groupId = &#63; and urlTitle = &#63;.
1358            *
1359            * <p>
1360            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1361            * </p>
1362            *
1363            * @param groupId the group id to search with
1364            * @param urlTitle the url title to search with
1365            * @param orderByComparator the comparator to order the set by
1366            * @return the first matching journal article
1367            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1368            * @throws SystemException if a system exception occurred
1369            */
1370            public com.liferay.portlet.journal.model.JournalArticle findByG_UT_First(
1371                    long groupId, java.lang.String urlTitle,
1372                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1373                    throws com.liferay.portal.kernel.exception.SystemException,
1374                            com.liferay.portlet.journal.NoSuchArticleException;
1375    
1376            /**
1377            * Finds the last journal article in the ordered set where groupId = &#63; and urlTitle = &#63;.
1378            *
1379            * <p>
1380            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1381            * </p>
1382            *
1383            * @param groupId the group id to search with
1384            * @param urlTitle the url title to search with
1385            * @param orderByComparator the comparator to order the set by
1386            * @return the last matching journal article
1387            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1388            * @throws SystemException if a system exception occurred
1389            */
1390            public com.liferay.portlet.journal.model.JournalArticle findByG_UT_Last(
1391                    long groupId, java.lang.String urlTitle,
1392                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1393                    throws com.liferay.portal.kernel.exception.SystemException,
1394                            com.liferay.portlet.journal.NoSuchArticleException;
1395    
1396            /**
1397            * Finds the journal articles before and after the current journal article in the ordered set where groupId = &#63; and urlTitle = &#63;.
1398            *
1399            * <p>
1400            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1401            * </p>
1402            *
1403            * @param id the primary key of the current journal article
1404            * @param groupId the group id to search with
1405            * @param urlTitle the url title to search with
1406            * @param orderByComparator the comparator to order the set by
1407            * @return the previous, current, and next journal article
1408            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1409            * @throws SystemException if a system exception occurred
1410            */
1411            public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_PrevAndNext(
1412                    long id, long groupId, java.lang.String urlTitle,
1413                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1414                    throws com.liferay.portal.kernel.exception.SystemException,
1415                            com.liferay.portlet.journal.NoSuchArticleException;
1416    
1417            /**
1418            * Filters by the user's permissions and finds all the journal articles where groupId = &#63; and urlTitle = &#63;.
1419            *
1420            * @param groupId the group id to search with
1421            * @param urlTitle the url title to search with
1422            * @return the matching journal articles that the user has permission to view
1423            * @throws SystemException if a system exception occurred
1424            */
1425            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT(
1426                    long groupId, java.lang.String urlTitle)
1427                    throws com.liferay.portal.kernel.exception.SystemException;
1428    
1429            /**
1430            * Filters by the user's permissions and finds a range of all the journal articles where groupId = &#63; and urlTitle = &#63;.
1431            *
1432            * <p>
1433            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1434            * </p>
1435            *
1436            * @param groupId the group id to search with
1437            * @param urlTitle the url title to search with
1438            * @param start the lower bound of the range of journal articles to return
1439            * @param end the upper bound of the range of journal articles to return (not inclusive)
1440            * @return the range of matching journal articles that the user has permission to view
1441            * @throws SystemException if a system exception occurred
1442            */
1443            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT(
1444                    long groupId, java.lang.String urlTitle, int start, int end)
1445                    throws com.liferay.portal.kernel.exception.SystemException;
1446    
1447            /**
1448            * Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = &#63; and urlTitle = &#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 to search with
1455            * @param urlTitle the url title to search with
1456            * @param start the lower bound of the range of journal articles to return
1457            * @param end the upper bound of the range of journal articles to return (not inclusive)
1458            * @param orderByComparator the comparator to order the results by
1459            * @return the ordered range of matching journal articles that the user has permission to view
1460            * @throws SystemException if a system exception occurred
1461            */
1462            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT(
1463                    long groupId, java.lang.String urlTitle, int start, int end,
1464                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1465                    throws com.liferay.portal.kernel.exception.SystemException;
1466    
1467            /**
1468            * Finds all the journal articles where groupId = &#63; and status = &#63;.
1469            *
1470            * @param groupId the group id to search with
1471            * @param status the status to search with
1472            * @return the matching journal articles
1473            * @throws SystemException if a system exception occurred
1474            */
1475            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST(
1476                    long groupId, int status)
1477                    throws com.liferay.portal.kernel.exception.SystemException;
1478    
1479            /**
1480            * Finds a range of all the journal articles where groupId = &#63; and status = &#63;.
1481            *
1482            * <p>
1483            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1484            * </p>
1485            *
1486            * @param groupId the group id to search with
1487            * @param status the status to search with
1488            * @param start the lower bound of the range of journal articles to return
1489            * @param end the upper bound of the range of journal articles to return (not inclusive)
1490            * @return the range of matching journal articles
1491            * @throws SystemException if a system exception occurred
1492            */
1493            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST(
1494                    long groupId, int status, int start, int end)
1495                    throws com.liferay.portal.kernel.exception.SystemException;
1496    
1497            /**
1498            * Finds an ordered range of all the journal articles where groupId = &#63; and status = &#63;.
1499            *
1500            * <p>
1501            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1502            * </p>
1503            *
1504            * @param groupId the group id to search with
1505            * @param status the status to search with
1506            * @param start the lower bound of the range of journal articles to return
1507            * @param end the upper bound of the range of journal articles to return (not inclusive)
1508            * @param orderByComparator the comparator to order the results by
1509            * @return the ordered range of matching journal articles
1510            * @throws SystemException if a system exception occurred
1511            */
1512            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST(
1513                    long groupId, int status, int start, int end,
1514                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1515                    throws com.liferay.portal.kernel.exception.SystemException;
1516    
1517            /**
1518            * Finds the first journal article in the ordered set where groupId = &#63; and status = &#63;.
1519            *
1520            * <p>
1521            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1522            * </p>
1523            *
1524            * @param groupId the group id to search with
1525            * @param status the status to search with
1526            * @param orderByComparator the comparator to order the set by
1527            * @return the first matching journal article
1528            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1529            * @throws SystemException if a system exception occurred
1530            */
1531            public com.liferay.portlet.journal.model.JournalArticle findByG_ST_First(
1532                    long groupId, int status,
1533                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1534                    throws com.liferay.portal.kernel.exception.SystemException,
1535                            com.liferay.portlet.journal.NoSuchArticleException;
1536    
1537            /**
1538            * Finds the last journal article in the ordered set where groupId = &#63; and status = &#63;.
1539            *
1540            * <p>
1541            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1542            * </p>
1543            *
1544            * @param groupId the group id to search with
1545            * @param status the status to search with
1546            * @param orderByComparator the comparator to order the set by
1547            * @return the last matching journal article
1548            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1549            * @throws SystemException if a system exception occurred
1550            */
1551            public com.liferay.portlet.journal.model.JournalArticle findByG_ST_Last(
1552                    long groupId, int status,
1553                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1554                    throws com.liferay.portal.kernel.exception.SystemException,
1555                            com.liferay.portlet.journal.NoSuchArticleException;
1556    
1557            /**
1558            * Finds the journal articles before and after the current journal article in the ordered set where groupId = &#63; and status = &#63;.
1559            *
1560            * <p>
1561            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1562            * </p>
1563            *
1564            * @param id the primary key of the current journal article
1565            * @param groupId the group id to search with
1566            * @param status the status to search with
1567            * @param orderByComparator the comparator to order the set by
1568            * @return the previous, current, and next journal article
1569            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1570            * @throws SystemException if a system exception occurred
1571            */
1572            public com.liferay.portlet.journal.model.JournalArticle[] findByG_ST_PrevAndNext(
1573                    long id, long groupId, int status,
1574                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1575                    throws com.liferay.portal.kernel.exception.SystemException,
1576                            com.liferay.portlet.journal.NoSuchArticleException;
1577    
1578            /**
1579            * Filters by the user's permissions and finds all the journal articles where groupId = &#63; and status = &#63;.
1580            *
1581            * @param groupId the group id to search with
1582            * @param status the status to search with
1583            * @return the matching journal articles that the user has permission to view
1584            * @throws SystemException if a system exception occurred
1585            */
1586            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST(
1587                    long groupId, int status)
1588                    throws com.liferay.portal.kernel.exception.SystemException;
1589    
1590            /**
1591            * Filters by the user's permissions and finds a range of all the journal articles where groupId = &#63; and status = &#63;.
1592            *
1593            * <p>
1594            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1595            * </p>
1596            *
1597            * @param groupId the group id to search with
1598            * @param status the status to search with
1599            * @param start the lower bound of the range of journal articles to return
1600            * @param end the upper bound of the range of journal articles to return (not inclusive)
1601            * @return the range of matching journal articles that the user has permission to view
1602            * @throws SystemException if a system exception occurred
1603            */
1604            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST(
1605                    long groupId, int status, int start, int end)
1606                    throws com.liferay.portal.kernel.exception.SystemException;
1607    
1608            /**
1609            * Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = &#63; and status = &#63;.
1610            *
1611            * <p>
1612            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1613            * </p>
1614            *
1615            * @param groupId the group id to search with
1616            * @param status the status to search with
1617            * @param start the lower bound of the range of journal articles to return
1618            * @param end the upper bound of the range of journal articles to return (not inclusive)
1619            * @param orderByComparator the comparator to order the results by
1620            * @return the ordered range of matching journal articles that the user has permission to view
1621            * @throws SystemException if a system exception occurred
1622            */
1623            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST(
1624                    long groupId, int status, int start, int end,
1625                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1626                    throws com.liferay.portal.kernel.exception.SystemException;
1627    
1628            /**
1629            * Finds all the journal articles where companyId = &#63; and status = &#63;.
1630            *
1631            * @param companyId the company id to search with
1632            * @param status the status to search with
1633            * @return the matching journal articles
1634            * @throws SystemException if a system exception occurred
1635            */
1636            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST(
1637                    long companyId, int status)
1638                    throws com.liferay.portal.kernel.exception.SystemException;
1639    
1640            /**
1641            * Finds a range of all the journal articles where companyId = &#63; and status = &#63;.
1642            *
1643            * <p>
1644            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1645            * </p>
1646            *
1647            * @param companyId the company id to search with
1648            * @param status the status to search with
1649            * @param start the lower bound of the range of journal articles to return
1650            * @param end the upper bound of the range of journal articles to return (not inclusive)
1651            * @return the range of matching journal articles
1652            * @throws SystemException if a system exception occurred
1653            */
1654            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST(
1655                    long companyId, int status, int start, int end)
1656                    throws com.liferay.portal.kernel.exception.SystemException;
1657    
1658            /**
1659            * Finds an ordered range of all the journal articles where companyId = &#63; and status = &#63;.
1660            *
1661            * <p>
1662            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1663            * </p>
1664            *
1665            * @param companyId the company id to search with
1666            * @param status the status to search with
1667            * @param start the lower bound of the range of journal articles to return
1668            * @param end the upper bound of the range of journal articles to return (not inclusive)
1669            * @param orderByComparator the comparator to order the results by
1670            * @return the ordered range of matching journal articles
1671            * @throws SystemException if a system exception occurred
1672            */
1673            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST(
1674                    long companyId, int status, int start, int end,
1675                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1676                    throws com.liferay.portal.kernel.exception.SystemException;
1677    
1678            /**
1679            * Finds the first journal article in the ordered set where companyId = &#63; and status = &#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 companyId the company id to search with
1686            * @param status the status to search with
1687            * @param orderByComparator the comparator to order the set by
1688            * @return the first matching journal article
1689            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1690            * @throws SystemException if a system exception occurred
1691            */
1692            public com.liferay.portlet.journal.model.JournalArticle findByC_ST_First(
1693                    long companyId, int status,
1694                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1695                    throws com.liferay.portal.kernel.exception.SystemException,
1696                            com.liferay.portlet.journal.NoSuchArticleException;
1697    
1698            /**
1699            * Finds the last journal article in the ordered set where companyId = &#63; and status = &#63;.
1700            *
1701            * <p>
1702            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1703            * </p>
1704            *
1705            * @param companyId the company id to search with
1706            * @param status the status to search with
1707            * @param orderByComparator the comparator to order the set by
1708            * @return the last matching journal article
1709            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1710            * @throws SystemException if a system exception occurred
1711            */
1712            public com.liferay.portlet.journal.model.JournalArticle findByC_ST_Last(
1713                    long companyId, int status,
1714                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1715                    throws com.liferay.portal.kernel.exception.SystemException,
1716                            com.liferay.portlet.journal.NoSuchArticleException;
1717    
1718            /**
1719            * Finds the journal articles before and after the current journal article in the ordered set where companyId = &#63; and status = &#63;.
1720            *
1721            * <p>
1722            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1723            * </p>
1724            *
1725            * @param id the primary key of the current journal article
1726            * @param companyId the company id to search with
1727            * @param status the status to search with
1728            * @param orderByComparator the comparator to order the set by
1729            * @return the previous, current, and next journal article
1730            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1731            * @throws SystemException if a system exception occurred
1732            */
1733            public com.liferay.portlet.journal.model.JournalArticle[] findByC_ST_PrevAndNext(
1734                    long id, long companyId, int status,
1735                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1736                    throws com.liferay.portal.kernel.exception.SystemException,
1737                            com.liferay.portlet.journal.NoSuchArticleException;
1738    
1739            /**
1740            * Finds 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.
1741            *
1742            * @param groupId the group id to search with
1743            * @param articleId the article id to search with
1744            * @param version the version to search with
1745            * @return the matching journal article
1746            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1747            * @throws SystemException if a system exception occurred
1748            */
1749            public com.liferay.portlet.journal.model.JournalArticle findByG_A_V(
1750                    long groupId, java.lang.String articleId, double version)
1751                    throws com.liferay.portal.kernel.exception.SystemException,
1752                            com.liferay.portlet.journal.NoSuchArticleException;
1753    
1754            /**
1755            * Finds 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.
1756            *
1757            * @param groupId the group id to search with
1758            * @param articleId the article id to search with
1759            * @param version the version to search with
1760            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
1761            * @throws SystemException if a system exception occurred
1762            */
1763            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V(
1764                    long groupId, java.lang.String articleId, double version)
1765                    throws com.liferay.portal.kernel.exception.SystemException;
1766    
1767            /**
1768            * Finds 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.
1769            *
1770            * @param groupId the group id to search with
1771            * @param articleId the article id to search with
1772            * @param version the version to search with
1773            * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
1774            * @throws SystemException if a system exception occurred
1775            */
1776            public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V(
1777                    long groupId, java.lang.String articleId, double version,
1778                    boolean retrieveFromCache)
1779                    throws com.liferay.portal.kernel.exception.SystemException;
1780    
1781            /**
1782            * Finds all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
1783            *
1784            * @param groupId the group id to search with
1785            * @param articleId the article id to search with
1786            * @param status the status to search with
1787            * @return the matching journal articles
1788            * @throws SystemException if a system exception occurred
1789            */
1790            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
1791                    long groupId, java.lang.String articleId, int status)
1792                    throws com.liferay.portal.kernel.exception.SystemException;
1793    
1794            /**
1795            * Finds a range of all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
1796            *
1797            * <p>
1798            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1799            * </p>
1800            *
1801            * @param groupId the group id to search with
1802            * @param articleId the article id to search with
1803            * @param status the status to search with
1804            * @param start the lower bound of the range of journal articles to return
1805            * @param end the upper bound of the range of journal articles to return (not inclusive)
1806            * @return the range of matching journal articles
1807            * @throws SystemException if a system exception occurred
1808            */
1809            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
1810                    long groupId, java.lang.String articleId, int status, int start, int end)
1811                    throws com.liferay.portal.kernel.exception.SystemException;
1812    
1813            /**
1814            * Finds an ordered range of all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
1815            *
1816            * <p>
1817            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1818            * </p>
1819            *
1820            * @param groupId the group id to search with
1821            * @param articleId the article id to search with
1822            * @param status the status to search with
1823            * @param start the lower bound of the range of journal articles to return
1824            * @param end the upper bound of the range of journal articles to return (not inclusive)
1825            * @param orderByComparator the comparator to order the results by
1826            * @return the ordered range of matching journal articles
1827            * @throws SystemException if a system exception occurred
1828            */
1829            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
1830                    long groupId, java.lang.String articleId, int status, int start,
1831                    int end,
1832                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1833                    throws com.liferay.portal.kernel.exception.SystemException;
1834    
1835            /**
1836            * Finds the first journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
1837            *
1838            * <p>
1839            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1840            * </p>
1841            *
1842            * @param groupId the group id to search with
1843            * @param articleId the article id to search with
1844            * @param status the status to search with
1845            * @param orderByComparator the comparator to order the set by
1846            * @return the first matching journal article
1847            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1848            * @throws SystemException if a system exception occurred
1849            */
1850            public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_First(
1851                    long groupId, java.lang.String articleId, int status,
1852                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1853                    throws com.liferay.portal.kernel.exception.SystemException,
1854                            com.liferay.portlet.journal.NoSuchArticleException;
1855    
1856            /**
1857            * Finds the last journal article in the ordered set where groupId = &#63; and articleId = &#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 to search with
1864            * @param articleId the article id to search with
1865            * @param status the status to search with
1866            * @param orderByComparator the comparator to order the set by
1867            * @return the last matching journal article
1868            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
1869            * @throws SystemException if a system exception occurred
1870            */
1871            public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_Last(
1872                    long groupId, java.lang.String articleId, int status,
1873                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1874                    throws com.liferay.portal.kernel.exception.SystemException,
1875                            com.liferay.portlet.journal.NoSuchArticleException;
1876    
1877            /**
1878            * Finds the journal articles before and after the current journal article in the ordered set where groupId = &#63; and articleId = &#63; and status = &#63;.
1879            *
1880            * <p>
1881            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1882            * </p>
1883            *
1884            * @param id the primary key of the current journal article
1885            * @param groupId the group id to search with
1886            * @param articleId the article id to search with
1887            * @param status the status to search with
1888            * @param orderByComparator the comparator to order the set by
1889            * @return the previous, current, and next journal article
1890            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
1891            * @throws SystemException if a system exception occurred
1892            */
1893            public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_ST_PrevAndNext(
1894                    long id, long groupId, java.lang.String articleId, int status,
1895                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1896                    throws com.liferay.portal.kernel.exception.SystemException,
1897                            com.liferay.portlet.journal.NoSuchArticleException;
1898    
1899            /**
1900            * Filters by the user's permissions and finds all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
1901            *
1902            * @param groupId the group id to search with
1903            * @param articleId the article id to search with
1904            * @param status the status to search with
1905            * @return the matching journal articles that the user has permission to view
1906            * @throws SystemException if a system exception occurred
1907            */
1908            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
1909                    long groupId, java.lang.String articleId, int status)
1910                    throws com.liferay.portal.kernel.exception.SystemException;
1911    
1912            /**
1913            * Filters by the user's permissions and finds a range of all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
1914            *
1915            * <p>
1916            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1917            * </p>
1918            *
1919            * @param groupId the group id to search with
1920            * @param articleId the article id to search with
1921            * @param status the status to search with
1922            * @param start the lower bound of the range of journal articles to return
1923            * @param end the upper bound of the range of journal articles to return (not inclusive)
1924            * @return the range of matching journal articles that the user has permission to view
1925            * @throws SystemException if a system exception occurred
1926            */
1927            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
1928                    long groupId, java.lang.String articleId, int status, int start, int end)
1929                    throws com.liferay.portal.kernel.exception.SystemException;
1930    
1931            /**
1932            * Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
1933            *
1934            * <p>
1935            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1936            * </p>
1937            *
1938            * @param groupId the group id to search with
1939            * @param articleId the article id to search with
1940            * @param status the status to search with
1941            * @param start the lower bound of the range of journal articles to return
1942            * @param end the upper bound of the range of journal articles to return (not inclusive)
1943            * @param orderByComparator the comparator to order the results by
1944            * @return the ordered range of matching journal articles that the user has permission to view
1945            * @throws SystemException if a system exception occurred
1946            */
1947            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
1948                    long groupId, java.lang.String articleId, int status, int start,
1949                    int end,
1950                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1951                    throws com.liferay.portal.kernel.exception.SystemException;
1952    
1953            /**
1954            * Finds all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
1955            *
1956            * @param groupId the group id to search with
1957            * @param urlTitle the url title to search with
1958            * @param status the status to search with
1959            * @return the matching journal articles
1960            * @throws SystemException if a system exception occurred
1961            */
1962            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST(
1963                    long groupId, java.lang.String urlTitle, int status)
1964                    throws com.liferay.portal.kernel.exception.SystemException;
1965    
1966            /**
1967            * Finds a range of all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
1968            *
1969            * <p>
1970            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1971            * </p>
1972            *
1973            * @param groupId the group id to search with
1974            * @param urlTitle the url title to search with
1975            * @param status the status to search with
1976            * @param start the lower bound of the range of journal articles to return
1977            * @param end the upper bound of the range of journal articles to return (not inclusive)
1978            * @return the range of matching journal articles
1979            * @throws SystemException if a system exception occurred
1980            */
1981            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST(
1982                    long groupId, java.lang.String urlTitle, int status, int start, int end)
1983                    throws com.liferay.portal.kernel.exception.SystemException;
1984    
1985            /**
1986            * Finds an ordered range of all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
1987            *
1988            * <p>
1989            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1990            * </p>
1991            *
1992            * @param groupId the group id to search with
1993            * @param urlTitle the url title to search with
1994            * @param status the status to search with
1995            * @param start the lower bound of the range of journal articles to return
1996            * @param end the upper bound of the range of journal articles to return (not inclusive)
1997            * @param orderByComparator the comparator to order the results by
1998            * @return the ordered range of matching journal articles
1999            * @throws SystemException if a system exception occurred
2000            */
2001            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST(
2002                    long groupId, java.lang.String urlTitle, int status, int start,
2003                    int end,
2004                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2005                    throws com.liferay.portal.kernel.exception.SystemException;
2006    
2007            /**
2008            * Finds the first journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
2009            *
2010            * <p>
2011            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2012            * </p>
2013            *
2014            * @param groupId the group id to search with
2015            * @param urlTitle the url title to search with
2016            * @param status the status to search with
2017            * @param orderByComparator the comparator to order the set by
2018            * @return the first matching journal article
2019            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2020            * @throws SystemException if a system exception occurred
2021            */
2022            public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_First(
2023                    long groupId, java.lang.String urlTitle, int status,
2024                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2025                    throws com.liferay.portal.kernel.exception.SystemException,
2026                            com.liferay.portlet.journal.NoSuchArticleException;
2027    
2028            /**
2029            * Finds the last journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
2030            *
2031            * <p>
2032            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2033            * </p>
2034            *
2035            * @param groupId the group id to search with
2036            * @param urlTitle the url title to search with
2037            * @param status the status to search with
2038            * @param orderByComparator the comparator to order the set by
2039            * @return the last matching journal article
2040            * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found
2041            * @throws SystemException if a system exception occurred
2042            */
2043            public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_Last(
2044                    long groupId, java.lang.String urlTitle, int status,
2045                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2046                    throws com.liferay.portal.kernel.exception.SystemException,
2047                            com.liferay.portlet.journal.NoSuchArticleException;
2048    
2049            /**
2050            * Finds the journal articles before and after the current journal article in the ordered set where groupId = &#63; and urlTitle = &#63; and status = &#63;.
2051            *
2052            * <p>
2053            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2054            * </p>
2055            *
2056            * @param id the primary key of the current journal article
2057            * @param groupId the group id to search with
2058            * @param urlTitle the url title to search with
2059            * @param status the status to search with
2060            * @param orderByComparator the comparator to order the set by
2061            * @return the previous, current, and next journal article
2062            * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found
2063            * @throws SystemException if a system exception occurred
2064            */
2065            public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_ST_PrevAndNext(
2066                    long id, long groupId, java.lang.String urlTitle, int status,
2067                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2068                    throws com.liferay.portal.kernel.exception.SystemException,
2069                            com.liferay.portlet.journal.NoSuchArticleException;
2070    
2071            /**
2072            * Filters by the user's permissions and finds all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
2073            *
2074            * @param groupId the group id to search with
2075            * @param urlTitle the url title to search with
2076            * @param status the status to search with
2077            * @return the matching journal articles that the user has permission to view
2078            * @throws SystemException if a system exception occurred
2079            */
2080            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST(
2081                    long groupId, java.lang.String urlTitle, int status)
2082                    throws com.liferay.portal.kernel.exception.SystemException;
2083    
2084            /**
2085            * Filters by the user's permissions and finds a range of all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
2086            *
2087            * <p>
2088            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2089            * </p>
2090            *
2091            * @param groupId the group id to search with
2092            * @param urlTitle the url title to search with
2093            * @param status the status to search with
2094            * @param start the lower bound of the range of journal articles to return
2095            * @param end the upper bound of the range of journal articles to return (not inclusive)
2096            * @return the range of matching journal articles that the user has permission to view
2097            * @throws SystemException if a system exception occurred
2098            */
2099            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST(
2100                    long groupId, java.lang.String urlTitle, int status, int start, int end)
2101                    throws com.liferay.portal.kernel.exception.SystemException;
2102    
2103            /**
2104            * Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
2105            *
2106            * <p>
2107            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2108            * </p>
2109            *
2110            * @param groupId the group id to search with
2111            * @param urlTitle the url title to search with
2112            * @param status the status to search with
2113            * @param start the lower bound of the range of journal articles to return
2114            * @param end the upper bound of the range of journal articles to return (not inclusive)
2115            * @param orderByComparator the comparator to order the results by
2116            * @return the ordered range of matching journal articles that the user has permission to view
2117            * @throws SystemException if a system exception occurred
2118            */
2119            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST(
2120                    long groupId, java.lang.String urlTitle, int status, int start,
2121                    int end,
2122                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2123                    throws com.liferay.portal.kernel.exception.SystemException;
2124    
2125            /**
2126            * Finds all the journal articles.
2127            *
2128            * @return the journal articles
2129            * @throws SystemException if a system exception occurred
2130            */
2131            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll()
2132                    throws com.liferay.portal.kernel.exception.SystemException;
2133    
2134            /**
2135            * Finds a range of all the journal articles.
2136            *
2137            * <p>
2138            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2139            * </p>
2140            *
2141            * @param start the lower bound of the range of journal articles to return
2142            * @param end the upper bound of the range of journal articles to return (not inclusive)
2143            * @return the range of journal articles
2144            * @throws SystemException if a system exception occurred
2145            */
2146            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll(
2147                    int start, int end)
2148                    throws com.liferay.portal.kernel.exception.SystemException;
2149    
2150            /**
2151            * Finds an ordered range of all the journal articles.
2152            *
2153            * <p>
2154            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2155            * </p>
2156            *
2157            * @param start the lower bound of the range of journal articles to return
2158            * @param end the upper bound of the range of journal articles to return (not inclusive)
2159            * @param orderByComparator the comparator to order the results by
2160            * @return the ordered range of journal articles
2161            * @throws SystemException if a system exception occurred
2162            */
2163            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll(
2164                    int start, int end,
2165                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2166                    throws com.liferay.portal.kernel.exception.SystemException;
2167    
2168            /**
2169            * Removes all the journal articles where uuid = &#63; from the database.
2170            *
2171            * @param uuid the uuid to search with
2172            * @throws SystemException if a system exception occurred
2173            */
2174            public void removeByUuid(java.lang.String uuid)
2175                    throws com.liferay.portal.kernel.exception.SystemException;
2176    
2177            /**
2178            * Removes the journal article where uuid = &#63; and groupId = &#63; from the database.
2179            *
2180            * @param uuid the uuid to search with
2181            * @param groupId the group id to search with
2182            * @throws SystemException if a system exception occurred
2183            */
2184            public void removeByUUID_G(java.lang.String uuid, long groupId)
2185                    throws com.liferay.portal.kernel.exception.SystemException,
2186                            com.liferay.portlet.journal.NoSuchArticleException;
2187    
2188            /**
2189            * Removes all the journal articles where resourcePrimKey = &#63; from the database.
2190            *
2191            * @param resourcePrimKey the resource prim key to search with
2192            * @throws SystemException if a system exception occurred
2193            */
2194            public void removeByResourcePrimKey(long resourcePrimKey)
2195                    throws com.liferay.portal.kernel.exception.SystemException;
2196    
2197            /**
2198            * Removes all the journal articles where groupId = &#63; from the database.
2199            *
2200            * @param groupId the group id to search with
2201            * @throws SystemException if a system exception occurred
2202            */
2203            public void removeByGroupId(long groupId)
2204                    throws com.liferay.portal.kernel.exception.SystemException;
2205    
2206            /**
2207            * Removes all the journal articles where companyId = &#63; from the database.
2208            *
2209            * @param companyId the company id to search with
2210            * @throws SystemException if a system exception occurred
2211            */
2212            public void removeByCompanyId(long companyId)
2213                    throws com.liferay.portal.kernel.exception.SystemException;
2214    
2215            /**
2216            * Removes all the journal articles where smallImageId = &#63; from the database.
2217            *
2218            * @param smallImageId the small image id to search with
2219            * @throws SystemException if a system exception occurred
2220            */
2221            public void removeBySmallImageId(long smallImageId)
2222                    throws com.liferay.portal.kernel.exception.SystemException;
2223    
2224            /**
2225            * Removes all the journal articles where resourcePrimKey = &#63; and status = &#63; from the database.
2226            *
2227            * @param resourcePrimKey the resource prim key to search with
2228            * @param status the status to search with
2229            * @throws SystemException if a system exception occurred
2230            */
2231            public void removeByR_ST(long resourcePrimKey, int status)
2232                    throws com.liferay.portal.kernel.exception.SystemException;
2233    
2234            /**
2235            * Removes all the journal articles where groupId = &#63; and articleId = &#63; from the database.
2236            *
2237            * @param groupId the group id to search with
2238            * @param articleId the article id to search with
2239            * @throws SystemException if a system exception occurred
2240            */
2241            public void removeByG_A(long groupId, java.lang.String articleId)
2242                    throws com.liferay.portal.kernel.exception.SystemException;
2243    
2244            /**
2245            * Removes all the journal articles where groupId = &#63; and structureId = &#63; from the database.
2246            *
2247            * @param groupId the group id to search with
2248            * @param structureId the structure id to search with
2249            * @throws SystemException if a system exception occurred
2250            */
2251            public void removeByG_S(long groupId, java.lang.String structureId)
2252                    throws com.liferay.portal.kernel.exception.SystemException;
2253    
2254            /**
2255            * Removes all the journal articles where groupId = &#63; and templateId = &#63; from the database.
2256            *
2257            * @param groupId the group id to search with
2258            * @param templateId the template id to search with
2259            * @throws SystemException if a system exception occurred
2260            */
2261            public void removeByG_T(long groupId, java.lang.String templateId)
2262                    throws com.liferay.portal.kernel.exception.SystemException;
2263    
2264            /**
2265            * Removes all the journal articles where groupId = &#63; and urlTitle = &#63; from the database.
2266            *
2267            * @param groupId the group id to search with
2268            * @param urlTitle the url title to search with
2269            * @throws SystemException if a system exception occurred
2270            */
2271            public void removeByG_UT(long groupId, java.lang.String urlTitle)
2272                    throws com.liferay.portal.kernel.exception.SystemException;
2273    
2274            /**
2275            * Removes all the journal articles where groupId = &#63; and status = &#63; from the database.
2276            *
2277            * @param groupId the group id to search with
2278            * @param status the status to search with
2279            * @throws SystemException if a system exception occurred
2280            */
2281            public void removeByG_ST(long groupId, int status)
2282                    throws com.liferay.portal.kernel.exception.SystemException;
2283    
2284            /**
2285            * Removes all the journal articles where companyId = &#63; and status = &#63; from the database.
2286            *
2287            * @param companyId the company id to search with
2288            * @param status the status to search with
2289            * @throws SystemException if a system exception occurred
2290            */
2291            public void removeByC_ST(long companyId, int status)
2292                    throws com.liferay.portal.kernel.exception.SystemException;
2293    
2294            /**
2295            * Removes the journal article where groupId = &#63; and articleId = &#63; and version = &#63; from the database.
2296            *
2297            * @param groupId the group id to search with
2298            * @param articleId the article id to search with
2299            * @param version the version to search with
2300            * @throws SystemException if a system exception occurred
2301            */
2302            public void removeByG_A_V(long groupId, java.lang.String articleId,
2303                    double version)
2304                    throws com.liferay.portal.kernel.exception.SystemException,
2305                            com.liferay.portlet.journal.NoSuchArticleException;
2306    
2307            /**
2308            * Removes all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63; from the database.
2309            *
2310            * @param groupId the group id to search with
2311            * @param articleId the article id to search with
2312            * @param status the status to search with
2313            * @throws SystemException if a system exception occurred
2314            */
2315            public void removeByG_A_ST(long groupId, java.lang.String articleId,
2316                    int status) throws com.liferay.portal.kernel.exception.SystemException;
2317    
2318            /**
2319            * Removes all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63; from the database.
2320            *
2321            * @param groupId the group id to search with
2322            * @param urlTitle the url title to search with
2323            * @param status the status to search with
2324            * @throws SystemException if a system exception occurred
2325            */
2326            public void removeByG_UT_ST(long groupId, java.lang.String urlTitle,
2327                    int status) throws com.liferay.portal.kernel.exception.SystemException;
2328    
2329            /**
2330            * Removes all the journal articles from the database.
2331            *
2332            * @throws SystemException if a system exception occurred
2333            */
2334            public void removeAll()
2335                    throws com.liferay.portal.kernel.exception.SystemException;
2336    
2337            /**
2338            * Counts all the journal articles where uuid = &#63;.
2339            *
2340            * @param uuid the uuid to search with
2341            * @return the number of matching journal articles
2342            * @throws SystemException if a system exception occurred
2343            */
2344            public int countByUuid(java.lang.String uuid)
2345                    throws com.liferay.portal.kernel.exception.SystemException;
2346    
2347            /**
2348            * Counts all the journal articles where uuid = &#63; and groupId = &#63;.
2349            *
2350            * @param uuid the uuid to search with
2351            * @param groupId the group id to search with
2352            * @return the number of matching journal articles
2353            * @throws SystemException if a system exception occurred
2354            */
2355            public int countByUUID_G(java.lang.String uuid, long groupId)
2356                    throws com.liferay.portal.kernel.exception.SystemException;
2357    
2358            /**
2359            * Counts all the journal articles where resourcePrimKey = &#63;.
2360            *
2361            * @param resourcePrimKey the resource prim key to search with
2362            * @return the number of matching journal articles
2363            * @throws SystemException if a system exception occurred
2364            */
2365            public int countByResourcePrimKey(long resourcePrimKey)
2366                    throws com.liferay.portal.kernel.exception.SystemException;
2367    
2368            /**
2369            * Counts all the journal articles where groupId = &#63;.
2370            *
2371            * @param groupId the group id to search with
2372            * @return the number of matching journal articles
2373            * @throws SystemException if a system exception occurred
2374            */
2375            public int countByGroupId(long groupId)
2376                    throws com.liferay.portal.kernel.exception.SystemException;
2377    
2378            /**
2379            * Filters by the user's permissions and counts all the journal articles where groupId = &#63;.
2380            *
2381            * @param groupId the group id to search with
2382            * @return the number of matching journal articles that the user has permission to view
2383            * @throws SystemException if a system exception occurred
2384            */
2385            public int filterCountByGroupId(long groupId)
2386                    throws com.liferay.portal.kernel.exception.SystemException;
2387    
2388            /**
2389            * Counts all the journal articles where companyId = &#63;.
2390            *
2391            * @param companyId the company id to search with
2392            * @return the number of matching journal articles
2393            * @throws SystemException if a system exception occurred
2394            */
2395            public int countByCompanyId(long companyId)
2396                    throws com.liferay.portal.kernel.exception.SystemException;
2397    
2398            /**
2399            * Counts all the journal articles where smallImageId = &#63;.
2400            *
2401            * @param smallImageId the small image id to search with
2402            * @return the number of matching journal articles
2403            * @throws SystemException if a system exception occurred
2404            */
2405            public int countBySmallImageId(long smallImageId)
2406                    throws com.liferay.portal.kernel.exception.SystemException;
2407    
2408            /**
2409            * Counts all the journal articles where resourcePrimKey = &#63; and status = &#63;.
2410            *
2411            * @param resourcePrimKey the resource prim key to search with
2412            * @param status the status to search with
2413            * @return the number of matching journal articles
2414            * @throws SystemException if a system exception occurred
2415            */
2416            public int countByR_ST(long resourcePrimKey, int status)
2417                    throws com.liferay.portal.kernel.exception.SystemException;
2418    
2419            /**
2420            * Counts all the journal articles where groupId = &#63; and articleId = &#63;.
2421            *
2422            * @param groupId the group id to search with
2423            * @param articleId the article id to search with
2424            * @return the number of matching journal articles
2425            * @throws SystemException if a system exception occurred
2426            */
2427            public int countByG_A(long groupId, java.lang.String articleId)
2428                    throws com.liferay.portal.kernel.exception.SystemException;
2429    
2430            /**
2431            * Filters by the user's permissions and counts all the journal articles where groupId = &#63; and articleId = &#63;.
2432            *
2433            * @param groupId the group id to search with
2434            * @param articleId the article id to search with
2435            * @return the number of matching journal articles that the user has permission to view
2436            * @throws SystemException if a system exception occurred
2437            */
2438            public int filterCountByG_A(long groupId, java.lang.String articleId)
2439                    throws com.liferay.portal.kernel.exception.SystemException;
2440    
2441            /**
2442            * Counts all the journal articles where groupId = &#63; and structureId = &#63;.
2443            *
2444            * @param groupId the group id to search with
2445            * @param structureId the structure id to search with
2446            * @return the number of matching journal articles
2447            * @throws SystemException if a system exception occurred
2448            */
2449            public int countByG_S(long groupId, java.lang.String structureId)
2450                    throws com.liferay.portal.kernel.exception.SystemException;
2451    
2452            /**
2453            * Filters by the user's permissions and counts all the journal articles where groupId = &#63; and structureId = &#63;.
2454            *
2455            * @param groupId the group id to search with
2456            * @param structureId the structure id to search with
2457            * @return the number of matching journal articles that the user has permission to view
2458            * @throws SystemException if a system exception occurred
2459            */
2460            public int filterCountByG_S(long groupId, java.lang.String structureId)
2461                    throws com.liferay.portal.kernel.exception.SystemException;
2462    
2463            /**
2464            * Counts all the journal articles where groupId = &#63; and templateId = &#63;.
2465            *
2466            * @param groupId the group id to search with
2467            * @param templateId the template id to search with
2468            * @return the number of matching journal articles
2469            * @throws SystemException if a system exception occurred
2470            */
2471            public int countByG_T(long groupId, java.lang.String templateId)
2472                    throws com.liferay.portal.kernel.exception.SystemException;
2473    
2474            /**
2475            * Filters by the user's permissions and counts all the journal articles where groupId = &#63; and templateId = &#63;.
2476            *
2477            * @param groupId the group id to search with
2478            * @param templateId the template id to search with
2479            * @return the number of matching journal articles that the user has permission to view
2480            * @throws SystemException if a system exception occurred
2481            */
2482            public int filterCountByG_T(long groupId, java.lang.String templateId)
2483                    throws com.liferay.portal.kernel.exception.SystemException;
2484    
2485            /**
2486            * Counts all the journal articles where groupId = &#63; and urlTitle = &#63;.
2487            *
2488            * @param groupId the group id to search with
2489            * @param urlTitle the url title to search with
2490            * @return the number of matching journal articles
2491            * @throws SystemException if a system exception occurred
2492            */
2493            public int countByG_UT(long groupId, java.lang.String urlTitle)
2494                    throws com.liferay.portal.kernel.exception.SystemException;
2495    
2496            /**
2497            * Filters by the user's permissions and counts all the journal articles where groupId = &#63; and urlTitle = &#63;.
2498            *
2499            * @param groupId the group id to search with
2500            * @param urlTitle the url title to search with
2501            * @return the number of matching journal articles that the user has permission to view
2502            * @throws SystemException if a system exception occurred
2503            */
2504            public int filterCountByG_UT(long groupId, java.lang.String urlTitle)
2505                    throws com.liferay.portal.kernel.exception.SystemException;
2506    
2507            /**
2508            * Counts all the journal articles where groupId = &#63; and status = &#63;.
2509            *
2510            * @param groupId the group id to search with
2511            * @param status the status to search with
2512            * @return the number of matching journal articles
2513            * @throws SystemException if a system exception occurred
2514            */
2515            public int countByG_ST(long groupId, int status)
2516                    throws com.liferay.portal.kernel.exception.SystemException;
2517    
2518            /**
2519            * Filters by the user's permissions and counts all the journal articles where groupId = &#63; and status = &#63;.
2520            *
2521            * @param groupId the group id to search with
2522            * @param status the status to search with
2523            * @return the number of matching journal articles that the user has permission to view
2524            * @throws SystemException if a system exception occurred
2525            */
2526            public int filterCountByG_ST(long groupId, int status)
2527                    throws com.liferay.portal.kernel.exception.SystemException;
2528    
2529            /**
2530            * Counts all the journal articles where companyId = &#63; and status = &#63;.
2531            *
2532            * @param companyId the company id to search with
2533            * @param status the status to search with
2534            * @return the number of matching journal articles
2535            * @throws SystemException if a system exception occurred
2536            */
2537            public int countByC_ST(long companyId, int status)
2538                    throws com.liferay.portal.kernel.exception.SystemException;
2539    
2540            /**
2541            * Counts all the journal articles where groupId = &#63; and articleId = &#63; and version = &#63;.
2542            *
2543            * @param groupId the group id to search with
2544            * @param articleId the article id to search with
2545            * @param version the version to search with
2546            * @return the number of matching journal articles
2547            * @throws SystemException if a system exception occurred
2548            */
2549            public int countByG_A_V(long groupId, java.lang.String articleId,
2550                    double version)
2551                    throws com.liferay.portal.kernel.exception.SystemException;
2552    
2553            /**
2554            * Filters by the user's permissions and counts all the journal articles where groupId = &#63; and articleId = &#63; and version = &#63;.
2555            *
2556            * @param groupId the group id to search with
2557            * @param articleId the article id to search with
2558            * @param version the version to search with
2559            * @return the number of matching journal articles that the user has permission to view
2560            * @throws SystemException if a system exception occurred
2561            */
2562            public int filterCountByG_A_V(long groupId, java.lang.String articleId,
2563                    double version)
2564                    throws com.liferay.portal.kernel.exception.SystemException;
2565    
2566            /**
2567            * Counts all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
2568            *
2569            * @param groupId the group id to search with
2570            * @param articleId the article id to search with
2571            * @param status the status to search with
2572            * @return the number of matching journal articles
2573            * @throws SystemException if a system exception occurred
2574            */
2575            public int countByG_A_ST(long groupId, java.lang.String articleId,
2576                    int status) throws com.liferay.portal.kernel.exception.SystemException;
2577    
2578            /**
2579            * Filters by the user's permissions and counts all the journal articles where groupId = &#63; and articleId = &#63; and status = &#63;.
2580            *
2581            * @param groupId the group id to search with
2582            * @param articleId the article id to search with
2583            * @param status the status to search with
2584            * @return the number of matching journal articles that the user has permission to view
2585            * @throws SystemException if a system exception occurred
2586            */
2587            public int filterCountByG_A_ST(long groupId, java.lang.String articleId,
2588                    int status) throws com.liferay.portal.kernel.exception.SystemException;
2589    
2590            /**
2591            * Counts all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
2592            *
2593            * @param groupId the group id to search with
2594            * @param urlTitle the url title to search with
2595            * @param status the status to search with
2596            * @return the number of matching journal articles
2597            * @throws SystemException if a system exception occurred
2598            */
2599            public int countByG_UT_ST(long groupId, java.lang.String urlTitle,
2600                    int status) throws com.liferay.portal.kernel.exception.SystemException;
2601    
2602            /**
2603            * Filters by the user's permissions and counts all the journal articles where groupId = &#63; and urlTitle = &#63; and status = &#63;.
2604            *
2605            * @param groupId the group id to search with
2606            * @param urlTitle the url title to search with
2607            * @param status the status to search with
2608            * @return the number of matching journal articles that the user has permission to view
2609            * @throws SystemException if a system exception occurred
2610            */
2611            public int filterCountByG_UT_ST(long groupId, java.lang.String urlTitle,
2612                    int status) throws com.liferay.portal.kernel.exception.SystemException;
2613    
2614            /**
2615            * Counts all the journal articles.
2616            *
2617            * @return the number of journal articles
2618            * @throws SystemException if a system exception occurred
2619            */
2620            public int countAll()
2621                    throws com.liferay.portal.kernel.exception.SystemException;
2622    }