001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.journal.service.persistence;
016    
017    import com.liferay.portal.service.persistence.BasePersistence;
018    
019    import com.liferay.portlet.journal.model.JournalFeed;
020    
021    /**
022     * The persistence interface for the journal feed service.
023     *
024     * <p>
025     * Caching information and settings can be found in <code>portal.properties</code>
026     * </p>
027     *
028     * @author Brian Wing Shun Chan
029     * @see JournalFeedPersistenceImpl
030     * @see JournalFeedUtil
031     * @generated
032     */
033    public interface JournalFeedPersistence extends BasePersistence<JournalFeed> {
034            /*
035             * NOTE FOR DEVELOPERS:
036             *
037             * Never modify or reference this interface directly. Always use {@link JournalFeedUtil} to access the journal feed persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
038             */
039    
040            /**
041            * Caches the journal feed in the entity cache if it is enabled.
042            *
043            * @param journalFeed the journal feed
044            */
045            public void cacheResult(
046                    com.liferay.portlet.journal.model.JournalFeed journalFeed);
047    
048            /**
049            * Caches the journal feeds in the entity cache if it is enabled.
050            *
051            * @param journalFeeds the journal feeds
052            */
053            public void cacheResult(
054                    java.util.List<com.liferay.portlet.journal.model.JournalFeed> journalFeeds);
055    
056            /**
057            * Creates a new journal feed with the primary key. Does not add the journal feed to the database.
058            *
059            * @param id the primary key for the new journal feed
060            * @return the new journal feed
061            */
062            public com.liferay.portlet.journal.model.JournalFeed create(long id);
063    
064            /**
065            * Removes the journal feed with the primary key from the database. Also notifies the appropriate model listeners.
066            *
067            * @param id the primary key of the journal feed
068            * @return the journal feed that was removed
069            * @throws com.liferay.portlet.journal.NoSuchFeedException if a journal feed with the primary key could not be found
070            * @throws SystemException if a system exception occurred
071            */
072            public com.liferay.portlet.journal.model.JournalFeed remove(long id)
073                    throws com.liferay.portal.kernel.exception.SystemException,
074                            com.liferay.portlet.journal.NoSuchFeedException;
075    
076            public com.liferay.portlet.journal.model.JournalFeed updateImpl(
077                    com.liferay.portlet.journal.model.JournalFeed journalFeed, boolean merge)
078                    throws com.liferay.portal.kernel.exception.SystemException;
079    
080            /**
081            * Returns the journal feed with the primary key or throws a {@link com.liferay.portlet.journal.NoSuchFeedException} if it could not be found.
082            *
083            * @param id the primary key of the journal feed
084            * @return the journal feed
085            * @throws com.liferay.portlet.journal.NoSuchFeedException if a journal feed with the primary key could not be found
086            * @throws SystemException if a system exception occurred
087            */
088            public com.liferay.portlet.journal.model.JournalFeed findByPrimaryKey(
089                    long id)
090                    throws com.liferay.portal.kernel.exception.SystemException,
091                            com.liferay.portlet.journal.NoSuchFeedException;
092    
093            /**
094            * Returns the journal feed with the primary key or returns <code>null</code> if it could not be found.
095            *
096            * @param id the primary key of the journal feed
097            * @return the journal feed, or <code>null</code> if a journal feed with the primary key could not be found
098            * @throws SystemException if a system exception occurred
099            */
100            public com.liferay.portlet.journal.model.JournalFeed fetchByPrimaryKey(
101                    long id) throws com.liferay.portal.kernel.exception.SystemException;
102    
103            /**
104            * Returns all the journal feeds where uuid = &#63;.
105            *
106            * @param uuid the uuid
107            * @return the matching journal feeds
108            * @throws SystemException if a system exception occurred
109            */
110            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid(
111                    java.lang.String uuid)
112                    throws com.liferay.portal.kernel.exception.SystemException;
113    
114            /**
115            * Returns a range of all the journal feeds where uuid = &#63;.
116            *
117            * <p>
118            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
119            * </p>
120            *
121            * @param uuid the uuid
122            * @param start the lower bound of the range of journal feeds
123            * @param end the upper bound of the range of journal feeds (not inclusive)
124            * @return the range of matching journal feeds
125            * @throws SystemException if a system exception occurred
126            */
127            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid(
128                    java.lang.String uuid, int start, int end)
129                    throws com.liferay.portal.kernel.exception.SystemException;
130    
131            /**
132            * Returns an ordered range of all the journal feeds where uuid = &#63;.
133            *
134            * <p>
135            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
136            * </p>
137            *
138            * @param uuid the uuid
139            * @param start the lower bound of the range of journal feeds
140            * @param end the upper bound of the range of journal feeds (not inclusive)
141            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
142            * @return the ordered range of matching journal feeds
143            * @throws SystemException if a system exception occurred
144            */
145            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid(
146                    java.lang.String uuid, int start, int end,
147                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
148                    throws com.liferay.portal.kernel.exception.SystemException;
149    
150            /**
151            * Returns the first journal feed in the ordered set where uuid = &#63;.
152            *
153            * @param uuid the uuid
154            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
155            * @return the first matching journal feed
156            * @throws com.liferay.portlet.journal.NoSuchFeedException if a matching journal feed could not be found
157            * @throws SystemException if a system exception occurred
158            */
159            public com.liferay.portlet.journal.model.JournalFeed findByUuid_First(
160                    java.lang.String uuid,
161                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
162                    throws com.liferay.portal.kernel.exception.SystemException,
163                            com.liferay.portlet.journal.NoSuchFeedException;
164    
165            /**
166            * Returns the first journal feed in the ordered set where uuid = &#63;.
167            *
168            * @param uuid the uuid
169            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
170            * @return the first matching journal feed, or <code>null</code> if a matching journal feed could not be found
171            * @throws SystemException if a system exception occurred
172            */
173            public com.liferay.portlet.journal.model.JournalFeed fetchByUuid_First(
174                    java.lang.String uuid,
175                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
176                    throws com.liferay.portal.kernel.exception.SystemException;
177    
178            /**
179            * Returns the last journal feed in the ordered set where uuid = &#63;.
180            *
181            * @param uuid the uuid
182            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
183            * @return the last matching journal feed
184            * @throws com.liferay.portlet.journal.NoSuchFeedException if a matching journal feed could not be found
185            * @throws SystemException if a system exception occurred
186            */
187            public com.liferay.portlet.journal.model.JournalFeed findByUuid_Last(
188                    java.lang.String uuid,
189                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
190                    throws com.liferay.portal.kernel.exception.SystemException,
191                            com.liferay.portlet.journal.NoSuchFeedException;
192    
193            /**
194            * Returns the last journal feed in the ordered set where uuid = &#63;.
195            *
196            * @param uuid the uuid
197            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
198            * @return the last matching journal feed, or <code>null</code> if a matching journal feed could not be found
199            * @throws SystemException if a system exception occurred
200            */
201            public com.liferay.portlet.journal.model.JournalFeed fetchByUuid_Last(
202                    java.lang.String uuid,
203                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
204                    throws com.liferay.portal.kernel.exception.SystemException;
205    
206            /**
207            * Returns the journal feeds before and after the current journal feed in the ordered set where uuid = &#63;.
208            *
209            * @param id the primary key of the current journal feed
210            * @param uuid the uuid
211            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
212            * @return the previous, current, and next journal feed
213            * @throws com.liferay.portlet.journal.NoSuchFeedException if a journal feed with the primary key could not be found
214            * @throws SystemException if a system exception occurred
215            */
216            public com.liferay.portlet.journal.model.JournalFeed[] findByUuid_PrevAndNext(
217                    long id, java.lang.String uuid,
218                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
219                    throws com.liferay.portal.kernel.exception.SystemException,
220                            com.liferay.portlet.journal.NoSuchFeedException;
221    
222            /**
223            * Returns the journal feed where uuid = &#63; and groupId = &#63; or throws a {@link com.liferay.portlet.journal.NoSuchFeedException} if it could not be found.
224            *
225            * @param uuid the uuid
226            * @param groupId the group ID
227            * @return the matching journal feed
228            * @throws com.liferay.portlet.journal.NoSuchFeedException if a matching journal feed could not be found
229            * @throws SystemException if a system exception occurred
230            */
231            public com.liferay.portlet.journal.model.JournalFeed findByUUID_G(
232                    java.lang.String uuid, long groupId)
233                    throws com.liferay.portal.kernel.exception.SystemException,
234                            com.liferay.portlet.journal.NoSuchFeedException;
235    
236            /**
237            * Returns the journal feed where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
238            *
239            * @param uuid the uuid
240            * @param groupId the group ID
241            * @return the matching journal feed, or <code>null</code> if a matching journal feed could not be found
242            * @throws SystemException if a system exception occurred
243            */
244            public com.liferay.portlet.journal.model.JournalFeed fetchByUUID_G(
245                    java.lang.String uuid, long groupId)
246                    throws com.liferay.portal.kernel.exception.SystemException;
247    
248            /**
249            * Returns the journal feed where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
250            *
251            * @param uuid the uuid
252            * @param groupId the group ID
253            * @param retrieveFromCache whether to use the finder cache
254            * @return the matching journal feed, or <code>null</code> if a matching journal feed could not be found
255            * @throws SystemException if a system exception occurred
256            */
257            public com.liferay.portlet.journal.model.JournalFeed fetchByUUID_G(
258                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
259                    throws com.liferay.portal.kernel.exception.SystemException;
260    
261            /**
262            * Returns all the journal feeds where groupId = &#63;.
263            *
264            * @param groupId the group ID
265            * @return the matching journal feeds
266            * @throws SystemException if a system exception occurred
267            */
268            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByGroupId(
269                    long groupId)
270                    throws com.liferay.portal.kernel.exception.SystemException;
271    
272            /**
273            * Returns a range of all the journal feeds where groupId = &#63;.
274            *
275            * <p>
276            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
277            * </p>
278            *
279            * @param groupId the group ID
280            * @param start the lower bound of the range of journal feeds
281            * @param end the upper bound of the range of journal feeds (not inclusive)
282            * @return the range of matching journal feeds
283            * @throws SystemException if a system exception occurred
284            */
285            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByGroupId(
286                    long groupId, int start, int end)
287                    throws com.liferay.portal.kernel.exception.SystemException;
288    
289            /**
290            * Returns an ordered range of all the journal feeds where groupId = &#63;.
291            *
292            * <p>
293            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
294            * </p>
295            *
296            * @param groupId the group ID
297            * @param start the lower bound of the range of journal feeds
298            * @param end the upper bound of the range of journal feeds (not inclusive)
299            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
300            * @return the ordered range of matching journal feeds
301            * @throws SystemException if a system exception occurred
302            */
303            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByGroupId(
304                    long groupId, int start, int end,
305                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
306                    throws com.liferay.portal.kernel.exception.SystemException;
307    
308            /**
309            * Returns the first journal feed in the ordered set where groupId = &#63;.
310            *
311            * @param groupId the group ID
312            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
313            * @return the first matching journal feed
314            * @throws com.liferay.portlet.journal.NoSuchFeedException if a matching journal feed could not be found
315            * @throws SystemException if a system exception occurred
316            */
317            public com.liferay.portlet.journal.model.JournalFeed findByGroupId_First(
318                    long groupId,
319                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
320                    throws com.liferay.portal.kernel.exception.SystemException,
321                            com.liferay.portlet.journal.NoSuchFeedException;
322    
323            /**
324            * Returns the first journal feed in the ordered set where groupId = &#63;.
325            *
326            * @param groupId the group ID
327            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
328            * @return the first matching journal feed, or <code>null</code> if a matching journal feed could not be found
329            * @throws SystemException if a system exception occurred
330            */
331            public com.liferay.portlet.journal.model.JournalFeed fetchByGroupId_First(
332                    long groupId,
333                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
334                    throws com.liferay.portal.kernel.exception.SystemException;
335    
336            /**
337            * Returns the last journal feed in the ordered set where groupId = &#63;.
338            *
339            * @param groupId the group ID
340            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
341            * @return the last matching journal feed
342            * @throws com.liferay.portlet.journal.NoSuchFeedException if a matching journal feed could not be found
343            * @throws SystemException if a system exception occurred
344            */
345            public com.liferay.portlet.journal.model.JournalFeed findByGroupId_Last(
346                    long groupId,
347                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
348                    throws com.liferay.portal.kernel.exception.SystemException,
349                            com.liferay.portlet.journal.NoSuchFeedException;
350    
351            /**
352            * Returns the last journal feed in the ordered set where groupId = &#63;.
353            *
354            * @param groupId the group ID
355            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
356            * @return the last matching journal feed, or <code>null</code> if a matching journal feed could not be found
357            * @throws SystemException if a system exception occurred
358            */
359            public com.liferay.portlet.journal.model.JournalFeed fetchByGroupId_Last(
360                    long groupId,
361                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
362                    throws com.liferay.portal.kernel.exception.SystemException;
363    
364            /**
365            * Returns the journal feeds before and after the current journal feed in the ordered set where groupId = &#63;.
366            *
367            * @param id the primary key of the current journal feed
368            * @param groupId the group ID
369            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
370            * @return the previous, current, and next journal feed
371            * @throws com.liferay.portlet.journal.NoSuchFeedException if a journal feed with the primary key could not be found
372            * @throws SystemException if a system exception occurred
373            */
374            public com.liferay.portlet.journal.model.JournalFeed[] findByGroupId_PrevAndNext(
375                    long id, long groupId,
376                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
377                    throws com.liferay.portal.kernel.exception.SystemException,
378                            com.liferay.portlet.journal.NoSuchFeedException;
379    
380            /**
381            * Returns all the journal feeds that the user has permission to view where groupId = &#63;.
382            *
383            * @param groupId the group ID
384            * @return the matching journal feeds that the user has permission to view
385            * @throws SystemException if a system exception occurred
386            */
387            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> filterFindByGroupId(
388                    long groupId)
389                    throws com.liferay.portal.kernel.exception.SystemException;
390    
391            /**
392            * Returns a range of all the journal feeds that the user has permission to view where groupId = &#63;.
393            *
394            * <p>
395            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
396            * </p>
397            *
398            * @param groupId the group ID
399            * @param start the lower bound of the range of journal feeds
400            * @param end the upper bound of the range of journal feeds (not inclusive)
401            * @return the range of matching journal feeds that the user has permission to view
402            * @throws SystemException if a system exception occurred
403            */
404            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> filterFindByGroupId(
405                    long groupId, int start, int end)
406                    throws com.liferay.portal.kernel.exception.SystemException;
407    
408            /**
409            * Returns an ordered range of all the journal feeds that the user has permissions to view where groupId = &#63;.
410            *
411            * <p>
412            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
413            * </p>
414            *
415            * @param groupId the group ID
416            * @param start the lower bound of the range of journal feeds
417            * @param end the upper bound of the range of journal feeds (not inclusive)
418            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
419            * @return the ordered range of matching journal feeds that the user has permission to view
420            * @throws SystemException if a system exception occurred
421            */
422            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> filterFindByGroupId(
423                    long groupId, int start, int end,
424                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
425                    throws com.liferay.portal.kernel.exception.SystemException;
426    
427            /**
428            * Returns the journal feeds before and after the current journal feed in the ordered set of journal feeds that the user has permission to view where groupId = &#63;.
429            *
430            * @param id the primary key of the current journal feed
431            * @param groupId the group ID
432            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
433            * @return the previous, current, and next journal feed
434            * @throws com.liferay.portlet.journal.NoSuchFeedException if a journal feed with the primary key could not be found
435            * @throws SystemException if a system exception occurred
436            */
437            public com.liferay.portlet.journal.model.JournalFeed[] filterFindByGroupId_PrevAndNext(
438                    long id, long groupId,
439                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
440                    throws com.liferay.portal.kernel.exception.SystemException,
441                            com.liferay.portlet.journal.NoSuchFeedException;
442    
443            /**
444            * Returns the journal feed where groupId = &#63; and feedId = &#63; or throws a {@link com.liferay.portlet.journal.NoSuchFeedException} if it could not be found.
445            *
446            * @param groupId the group ID
447            * @param feedId the feed ID
448            * @return the matching journal feed
449            * @throws com.liferay.portlet.journal.NoSuchFeedException if a matching journal feed could not be found
450            * @throws SystemException if a system exception occurred
451            */
452            public com.liferay.portlet.journal.model.JournalFeed findByG_F(
453                    long groupId, java.lang.String feedId)
454                    throws com.liferay.portal.kernel.exception.SystemException,
455                            com.liferay.portlet.journal.NoSuchFeedException;
456    
457            /**
458            * Returns the journal feed where groupId = &#63; and feedId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
459            *
460            * @param groupId the group ID
461            * @param feedId the feed ID
462            * @return the matching journal feed, or <code>null</code> if a matching journal feed could not be found
463            * @throws SystemException if a system exception occurred
464            */
465            public com.liferay.portlet.journal.model.JournalFeed fetchByG_F(
466                    long groupId, java.lang.String feedId)
467                    throws com.liferay.portal.kernel.exception.SystemException;
468    
469            /**
470            * Returns the journal feed where groupId = &#63; and feedId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
471            *
472            * @param groupId the group ID
473            * @param feedId the feed ID
474            * @param retrieveFromCache whether to use the finder cache
475            * @return the matching journal feed, or <code>null</code> if a matching journal feed could not be found
476            * @throws SystemException if a system exception occurred
477            */
478            public com.liferay.portlet.journal.model.JournalFeed fetchByG_F(
479                    long groupId, java.lang.String feedId, boolean retrieveFromCache)
480                    throws com.liferay.portal.kernel.exception.SystemException;
481    
482            /**
483            * Returns all the journal feeds.
484            *
485            * @return the journal feeds
486            * @throws SystemException if a system exception occurred
487            */
488            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll()
489                    throws com.liferay.portal.kernel.exception.SystemException;
490    
491            /**
492            * Returns a range of all the journal feeds.
493            *
494            * <p>
495            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
496            * </p>
497            *
498            * @param start the lower bound of the range of journal feeds
499            * @param end the upper bound of the range of journal feeds (not inclusive)
500            * @return the range of journal feeds
501            * @throws SystemException if a system exception occurred
502            */
503            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll(
504                    int start, int end)
505                    throws com.liferay.portal.kernel.exception.SystemException;
506    
507            /**
508            * Returns an ordered range of all the journal feeds.
509            *
510            * <p>
511            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
512            * </p>
513            *
514            * @param start the lower bound of the range of journal feeds
515            * @param end the upper bound of the range of journal feeds (not inclusive)
516            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
517            * @return the ordered range of journal feeds
518            * @throws SystemException if a system exception occurred
519            */
520            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll(
521                    int start, int end,
522                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
523                    throws com.liferay.portal.kernel.exception.SystemException;
524    
525            /**
526            * Removes all the journal feeds where uuid = &#63; from the database.
527            *
528            * @param uuid the uuid
529            * @throws SystemException if a system exception occurred
530            */
531            public void removeByUuid(java.lang.String uuid)
532                    throws com.liferay.portal.kernel.exception.SystemException;
533    
534            /**
535            * Removes the journal feed where uuid = &#63; and groupId = &#63; from the database.
536            *
537            * @param uuid the uuid
538            * @param groupId the group ID
539            * @return the journal feed that was removed
540            * @throws SystemException if a system exception occurred
541            */
542            public com.liferay.portlet.journal.model.JournalFeed removeByUUID_G(
543                    java.lang.String uuid, long groupId)
544                    throws com.liferay.portal.kernel.exception.SystemException,
545                            com.liferay.portlet.journal.NoSuchFeedException;
546    
547            /**
548            * Removes all the journal feeds where groupId = &#63; from the database.
549            *
550            * @param groupId the group ID
551            * @throws SystemException if a system exception occurred
552            */
553            public void removeByGroupId(long groupId)
554                    throws com.liferay.portal.kernel.exception.SystemException;
555    
556            /**
557            * Removes the journal feed where groupId = &#63; and feedId = &#63; from the database.
558            *
559            * @param groupId the group ID
560            * @param feedId the feed ID
561            * @return the journal feed that was removed
562            * @throws SystemException if a system exception occurred
563            */
564            public com.liferay.portlet.journal.model.JournalFeed removeByG_F(
565                    long groupId, java.lang.String feedId)
566                    throws com.liferay.portal.kernel.exception.SystemException,
567                            com.liferay.portlet.journal.NoSuchFeedException;
568    
569            /**
570            * Removes all the journal feeds from the database.
571            *
572            * @throws SystemException if a system exception occurred
573            */
574            public void removeAll()
575                    throws com.liferay.portal.kernel.exception.SystemException;
576    
577            /**
578            * Returns the number of journal feeds where uuid = &#63;.
579            *
580            * @param uuid the uuid
581            * @return the number of matching journal feeds
582            * @throws SystemException if a system exception occurred
583            */
584            public int countByUuid(java.lang.String uuid)
585                    throws com.liferay.portal.kernel.exception.SystemException;
586    
587            /**
588            * Returns the number of journal feeds where uuid = &#63; and groupId = &#63;.
589            *
590            * @param uuid the uuid
591            * @param groupId the group ID
592            * @return the number of matching journal feeds
593            * @throws SystemException if a system exception occurred
594            */
595            public int countByUUID_G(java.lang.String uuid, long groupId)
596                    throws com.liferay.portal.kernel.exception.SystemException;
597    
598            /**
599            * Returns the number of journal feeds where groupId = &#63;.
600            *
601            * @param groupId the group ID
602            * @return the number of matching journal feeds
603            * @throws SystemException if a system exception occurred
604            */
605            public int countByGroupId(long groupId)
606                    throws com.liferay.portal.kernel.exception.SystemException;
607    
608            /**
609            * Returns the number of journal feeds that the user has permission to view where groupId = &#63;.
610            *
611            * @param groupId the group ID
612            * @return the number of matching journal feeds that the user has permission to view
613            * @throws SystemException if a system exception occurred
614            */
615            public int filterCountByGroupId(long groupId)
616                    throws com.liferay.portal.kernel.exception.SystemException;
617    
618            /**
619            * Returns the number of journal feeds where groupId = &#63; and feedId = &#63;.
620            *
621            * @param groupId the group ID
622            * @param feedId the feed ID
623            * @return the number of matching journal feeds
624            * @throws SystemException if a system exception occurred
625            */
626            public int countByG_F(long groupId, java.lang.String feedId)
627                    throws com.liferay.portal.kernel.exception.SystemException;
628    
629            /**
630            * Returns the number of journal feeds.
631            *
632            * @return the number of journal feeds
633            * @throws SystemException if a system exception occurred
634            */
635            public int countAll()
636                    throws com.liferay.portal.kernel.exception.SystemException;
637    }