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