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