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.bookmarks.service.persistence;
016    
017    import com.liferay.portal.service.persistence.BasePersistence;
018    
019    import com.liferay.portlet.bookmarks.model.BookmarksEntry;
020    
021    /**
022     * The persistence interface for the bookmarks entry 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 BookmarksEntryPersistenceImpl
030     * @see BookmarksEntryUtil
031     * @generated
032     */
033    public interface BookmarksEntryPersistence extends BasePersistence<BookmarksEntry> {
034            /*
035             * NOTE FOR DEVELOPERS:
036             *
037             * Never modify or reference this interface directly. Always use {@link BookmarksEntryUtil} to access the bookmarks entry persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
038             */
039    
040            /**
041            * Caches the bookmarks entry in the entity cache if it is enabled.
042            *
043            * @param bookmarksEntry the bookmarks entry
044            */
045            public void cacheResult(
046                    com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry);
047    
048            /**
049            * Caches the bookmarks entries in the entity cache if it is enabled.
050            *
051            * @param bookmarksEntries the bookmarks entries
052            */
053            public void cacheResult(
054                    java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> bookmarksEntries);
055    
056            /**
057            * Creates a new bookmarks entry with the primary key. Does not add the bookmarks entry to the database.
058            *
059            * @param entryId the primary key for the new bookmarks entry
060            * @return the new bookmarks entry
061            */
062            public com.liferay.portlet.bookmarks.model.BookmarksEntry create(
063                    long entryId);
064    
065            /**
066            * Removes the bookmarks entry with the primary key from the database. Also notifies the appropriate model listeners.
067            *
068            * @param entryId the primary key of the bookmarks entry
069            * @return the bookmarks entry that was removed
070            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
071            * @throws SystemException if a system exception occurred
072            */
073            public com.liferay.portlet.bookmarks.model.BookmarksEntry remove(
074                    long entryId)
075                    throws com.liferay.portal.kernel.exception.SystemException,
076                            com.liferay.portlet.bookmarks.NoSuchEntryException;
077    
078            public com.liferay.portlet.bookmarks.model.BookmarksEntry updateImpl(
079                    com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry,
080                    boolean merge)
081                    throws com.liferay.portal.kernel.exception.SystemException;
082    
083            /**
084            * Returns the bookmarks entry with the primary key or throws a {@link com.liferay.portlet.bookmarks.NoSuchEntryException} if it could not be found.
085            *
086            * @param entryId the primary key of the bookmarks entry
087            * @return the bookmarks entry
088            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
089            * @throws SystemException if a system exception occurred
090            */
091            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByPrimaryKey(
092                    long entryId)
093                    throws com.liferay.portal.kernel.exception.SystemException,
094                            com.liferay.portlet.bookmarks.NoSuchEntryException;
095    
096            /**
097            * Returns the bookmarks entry with the primary key or returns <code>null</code> if it could not be found.
098            *
099            * @param entryId the primary key of the bookmarks entry
100            * @return the bookmarks entry, or <code>null</code> if a bookmarks entry with the primary key could not be found
101            * @throws SystemException if a system exception occurred
102            */
103            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByPrimaryKey(
104                    long entryId)
105                    throws com.liferay.portal.kernel.exception.SystemException;
106    
107            /**
108            * Returns all the bookmarks entries where resourceBlockId = &#63;.
109            *
110            * @param resourceBlockId the resource block ID
111            * @return the matching bookmarks entries
112            * @throws SystemException if a system exception occurred
113            */
114            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByResourceBlockId(
115                    long resourceBlockId)
116                    throws com.liferay.portal.kernel.exception.SystemException;
117    
118            /**
119            * Returns a range of all the bookmarks entries where resourceBlockId = &#63;.
120            *
121            * <p>
122            * 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.
123            * </p>
124            *
125            * @param resourceBlockId the resource block ID
126            * @param start the lower bound of the range of bookmarks entries
127            * @param end the upper bound of the range of bookmarks entries (not inclusive)
128            * @return the range of matching bookmarks entries
129            * @throws SystemException if a system exception occurred
130            */
131            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByResourceBlockId(
132                    long resourceBlockId, int start, int end)
133                    throws com.liferay.portal.kernel.exception.SystemException;
134    
135            /**
136            * Returns an ordered range of all the bookmarks entries where resourceBlockId = &#63;.
137            *
138            * <p>
139            * 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.
140            * </p>
141            *
142            * @param resourceBlockId the resource block ID
143            * @param start the lower bound of the range of bookmarks entries
144            * @param end the upper bound of the range of bookmarks entries (not inclusive)
145            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
146            * @return the ordered range of matching bookmarks entries
147            * @throws SystemException if a system exception occurred
148            */
149            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByResourceBlockId(
150                    long resourceBlockId, int start, int end,
151                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
152                    throws com.liferay.portal.kernel.exception.SystemException;
153    
154            /**
155            * Returns the first bookmarks entry in the ordered set where resourceBlockId = &#63;.
156            *
157            * @param resourceBlockId the resource block ID
158            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
159            * @return the first matching bookmarks entry
160            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
161            * @throws SystemException if a system exception occurred
162            */
163            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByResourceBlockId_First(
164                    long resourceBlockId,
165                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
166                    throws com.liferay.portal.kernel.exception.SystemException,
167                            com.liferay.portlet.bookmarks.NoSuchEntryException;
168    
169            /**
170            * Returns the first bookmarks entry in the ordered set where resourceBlockId = &#63;.
171            *
172            * @param resourceBlockId the resource block ID
173            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
174            * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
175            * @throws SystemException if a system exception occurred
176            */
177            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByResourceBlockId_First(
178                    long resourceBlockId,
179                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
180                    throws com.liferay.portal.kernel.exception.SystemException;
181    
182            /**
183            * Returns the last bookmarks entry in the ordered set where resourceBlockId = &#63;.
184            *
185            * @param resourceBlockId the resource block ID
186            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
187            * @return the last matching bookmarks entry
188            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
189            * @throws SystemException if a system exception occurred
190            */
191            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByResourceBlockId_Last(
192                    long resourceBlockId,
193                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
194                    throws com.liferay.portal.kernel.exception.SystemException,
195                            com.liferay.portlet.bookmarks.NoSuchEntryException;
196    
197            /**
198            * Returns the last bookmarks entry in the ordered set where resourceBlockId = &#63;.
199            *
200            * @param resourceBlockId the resource block ID
201            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
202            * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
203            * @throws SystemException if a system exception occurred
204            */
205            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByResourceBlockId_Last(
206                    long resourceBlockId,
207                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
208                    throws com.liferay.portal.kernel.exception.SystemException;
209    
210            /**
211            * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where resourceBlockId = &#63;.
212            *
213            * @param entryId the primary key of the current bookmarks entry
214            * @param resourceBlockId the resource block ID
215            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
216            * @return the previous, current, and next bookmarks entry
217            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
218            * @throws SystemException if a system exception occurred
219            */
220            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByResourceBlockId_PrevAndNext(
221                    long entryId, long resourceBlockId,
222                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
223                    throws com.liferay.portal.kernel.exception.SystemException,
224                            com.liferay.portlet.bookmarks.NoSuchEntryException;
225    
226            /**
227            * Returns all the bookmarks entries where uuid = &#63;.
228            *
229            * @param uuid the uuid
230            * @return the matching bookmarks entries
231            * @throws SystemException if a system exception occurred
232            */
233            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid(
234                    java.lang.String uuid)
235                    throws com.liferay.portal.kernel.exception.SystemException;
236    
237            /**
238            * Returns a range of all the bookmarks entries where uuid = &#63;.
239            *
240            * <p>
241            * 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.
242            * </p>
243            *
244            * @param uuid the uuid
245            * @param start the lower bound of the range of bookmarks entries
246            * @param end the upper bound of the range of bookmarks entries (not inclusive)
247            * @return the range of matching bookmarks entries
248            * @throws SystemException if a system exception occurred
249            */
250            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid(
251                    java.lang.String uuid, int start, int end)
252                    throws com.liferay.portal.kernel.exception.SystemException;
253    
254            /**
255            * Returns an ordered range of all the bookmarks entries where uuid = &#63;.
256            *
257            * <p>
258            * 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.
259            * </p>
260            *
261            * @param uuid the uuid
262            * @param start the lower bound of the range of bookmarks entries
263            * @param end the upper bound of the range of bookmarks entries (not inclusive)
264            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
265            * @return the ordered range of matching bookmarks entries
266            * @throws SystemException if a system exception occurred
267            */
268            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid(
269                    java.lang.String uuid, int start, int end,
270                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
271                    throws com.liferay.portal.kernel.exception.SystemException;
272    
273            /**
274            * Returns the first bookmarks entry in the ordered set where uuid = &#63;.
275            *
276            * @param uuid the uuid
277            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
278            * @return the first matching bookmarks entry
279            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
280            * @throws SystemException if a system exception occurred
281            */
282            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_First(
283                    java.lang.String uuid,
284                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
285                    throws com.liferay.portal.kernel.exception.SystemException,
286                            com.liferay.portlet.bookmarks.NoSuchEntryException;
287    
288            /**
289            * Returns the first bookmarks entry in the ordered set where uuid = &#63;.
290            *
291            * @param uuid the uuid
292            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
293            * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
294            * @throws SystemException if a system exception occurred
295            */
296            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUuid_First(
297                    java.lang.String uuid,
298                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
299                    throws com.liferay.portal.kernel.exception.SystemException;
300    
301            /**
302            * Returns the last bookmarks entry in the ordered set where uuid = &#63;.
303            *
304            * @param uuid the uuid
305            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
306            * @return the last matching bookmarks entry
307            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
308            * @throws SystemException if a system exception occurred
309            */
310            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_Last(
311                    java.lang.String uuid,
312                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
313                    throws com.liferay.portal.kernel.exception.SystemException,
314                            com.liferay.portlet.bookmarks.NoSuchEntryException;
315    
316            /**
317            * Returns the last bookmarks entry in the ordered set where uuid = &#63;.
318            *
319            * @param uuid the uuid
320            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
321            * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
322            * @throws SystemException if a system exception occurred
323            */
324            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUuid_Last(
325                    java.lang.String uuid,
326                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
327                    throws com.liferay.portal.kernel.exception.SystemException;
328    
329            /**
330            * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where uuid = &#63;.
331            *
332            * @param entryId the primary key of the current bookmarks entry
333            * @param uuid the uuid
334            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
335            * @return the previous, current, and next bookmarks entry
336            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
337            * @throws SystemException if a system exception occurred
338            */
339            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByUuid_PrevAndNext(
340                    long entryId, java.lang.String uuid,
341                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
342                    throws com.liferay.portal.kernel.exception.SystemException,
343                            com.liferay.portlet.bookmarks.NoSuchEntryException;
344    
345            /**
346            * Returns the bookmarks entry where uuid = &#63; and groupId = &#63; or throws a {@link com.liferay.portlet.bookmarks.NoSuchEntryException} if it could not be found.
347            *
348            * @param uuid the uuid
349            * @param groupId the group ID
350            * @return the matching bookmarks entry
351            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
352            * @throws SystemException if a system exception occurred
353            */
354            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUUID_G(
355                    java.lang.String uuid, long groupId)
356                    throws com.liferay.portal.kernel.exception.SystemException,
357                            com.liferay.portlet.bookmarks.NoSuchEntryException;
358    
359            /**
360            * Returns the bookmarks entry where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
361            *
362            * @param uuid the uuid
363            * @param groupId the group ID
364            * @return the matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
365            * @throws SystemException if a system exception occurred
366            */
367            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUUID_G(
368                    java.lang.String uuid, long groupId)
369                    throws com.liferay.portal.kernel.exception.SystemException;
370    
371            /**
372            * Returns the bookmarks entry where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
373            *
374            * @param uuid the uuid
375            * @param groupId the group ID
376            * @param retrieveFromCache whether to use the finder cache
377            * @return the matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
378            * @throws SystemException if a system exception occurred
379            */
380            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUUID_G(
381                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
382                    throws com.liferay.portal.kernel.exception.SystemException;
383    
384            /**
385            * Returns all the bookmarks entries where groupId = &#63;.
386            *
387            * @param groupId the group ID
388            * @return the matching bookmarks entries
389            * @throws SystemException if a system exception occurred
390            */
391            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByGroupId(
392                    long groupId)
393                    throws com.liferay.portal.kernel.exception.SystemException;
394    
395            /**
396            * Returns a range of all the bookmarks entries where groupId = &#63;.
397            *
398            * <p>
399            * 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.
400            * </p>
401            *
402            * @param groupId the group ID
403            * @param start the lower bound of the range of bookmarks entries
404            * @param end the upper bound of the range of bookmarks entries (not inclusive)
405            * @return the range of matching bookmarks entries
406            * @throws SystemException if a system exception occurred
407            */
408            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByGroupId(
409                    long groupId, int start, int end)
410                    throws com.liferay.portal.kernel.exception.SystemException;
411    
412            /**
413            * Returns an ordered range of all the bookmarks entries where groupId = &#63;.
414            *
415            * <p>
416            * 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.
417            * </p>
418            *
419            * @param groupId the group ID
420            * @param start the lower bound of the range of bookmarks entries
421            * @param end the upper bound of the range of bookmarks entries (not inclusive)
422            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
423            * @return the ordered range of matching bookmarks entries
424            * @throws SystemException if a system exception occurred
425            */
426            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByGroupId(
427                    long groupId, int start, int end,
428                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
429                    throws com.liferay.portal.kernel.exception.SystemException;
430    
431            /**
432            * Returns the first bookmarks entry in the ordered set where groupId = &#63;.
433            *
434            * @param groupId the group ID
435            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
436            * @return the first matching bookmarks entry
437            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
438            * @throws SystemException if a system exception occurred
439            */
440            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByGroupId_First(
441                    long groupId,
442                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
443                    throws com.liferay.portal.kernel.exception.SystemException,
444                            com.liferay.portlet.bookmarks.NoSuchEntryException;
445    
446            /**
447            * Returns the first bookmarks entry in the ordered set where groupId = &#63;.
448            *
449            * @param groupId the group ID
450            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
451            * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
452            * @throws SystemException if a system exception occurred
453            */
454            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByGroupId_First(
455                    long groupId,
456                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
457                    throws com.liferay.portal.kernel.exception.SystemException;
458    
459            /**
460            * Returns the last bookmarks entry in the ordered set where groupId = &#63;.
461            *
462            * @param groupId the group ID
463            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
464            * @return the last matching bookmarks entry
465            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
466            * @throws SystemException if a system exception occurred
467            */
468            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByGroupId_Last(
469                    long groupId,
470                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
471                    throws com.liferay.portal.kernel.exception.SystemException,
472                            com.liferay.portlet.bookmarks.NoSuchEntryException;
473    
474            /**
475            * Returns the last bookmarks entry in the ordered set where groupId = &#63;.
476            *
477            * @param groupId the group ID
478            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
479            * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
480            * @throws SystemException if a system exception occurred
481            */
482            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByGroupId_Last(
483                    long groupId,
484                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
485                    throws com.liferay.portal.kernel.exception.SystemException;
486    
487            /**
488            * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = &#63;.
489            *
490            * @param entryId the primary key of the current bookmarks entry
491            * @param groupId the group ID
492            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
493            * @return the previous, current, and next bookmarks entry
494            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
495            * @throws SystemException if a system exception occurred
496            */
497            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByGroupId_PrevAndNext(
498                    long entryId, long groupId,
499                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
500                    throws com.liferay.portal.kernel.exception.SystemException,
501                            com.liferay.portlet.bookmarks.NoSuchEntryException;
502    
503            /**
504            * Returns all the bookmarks entries that the user has permission to view where groupId = &#63;.
505            *
506            * @param groupId the group ID
507            * @return the matching bookmarks entries that the user has permission to view
508            * @throws SystemException if a system exception occurred
509            */
510            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByGroupId(
511                    long groupId)
512                    throws com.liferay.portal.kernel.exception.SystemException;
513    
514            /**
515            * Returns a range of all the bookmarks entries that the user has permission to view where groupId = &#63;.
516            *
517            * <p>
518            * 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.
519            * </p>
520            *
521            * @param groupId the group ID
522            * @param start the lower bound of the range of bookmarks entries
523            * @param end the upper bound of the range of bookmarks entries (not inclusive)
524            * @return the range of matching bookmarks entries that the user has permission to view
525            * @throws SystemException if a system exception occurred
526            */
527            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByGroupId(
528                    long groupId, int start, int end)
529                    throws com.liferay.portal.kernel.exception.SystemException;
530    
531            /**
532            * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = &#63;.
533            *
534            * <p>
535            * 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.
536            * </p>
537            *
538            * @param groupId the group ID
539            * @param start the lower bound of the range of bookmarks entries
540            * @param end the upper bound of the range of bookmarks entries (not inclusive)
541            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
542            * @return the ordered range of matching bookmarks entries that the user has permission to view
543            * @throws SystemException if a system exception occurred
544            */
545            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByGroupId(
546                    long groupId, int start, int end,
547                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
548                    throws com.liferay.portal.kernel.exception.SystemException;
549    
550            /**
551            * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = &#63;.
552            *
553            * @param entryId the primary key of the current bookmarks entry
554            * @param groupId the group ID
555            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
556            * @return the previous, current, and next bookmarks entry
557            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
558            * @throws SystemException if a system exception occurred
559            */
560            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByGroupId_PrevAndNext(
561                    long entryId, long groupId,
562                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
563                    throws com.liferay.portal.kernel.exception.SystemException,
564                            com.liferay.portlet.bookmarks.NoSuchEntryException;
565    
566            /**
567            * Returns all the bookmarks entries where groupId = &#63; and userId = &#63;.
568            *
569            * @param groupId the group ID
570            * @param userId the user ID
571            * @return the matching bookmarks entries
572            * @throws SystemException if a system exception occurred
573            */
574            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U(
575                    long groupId, long userId)
576                    throws com.liferay.portal.kernel.exception.SystemException;
577    
578            /**
579            * Returns a range of all the bookmarks entries where groupId = &#63; and userId = &#63;.
580            *
581            * <p>
582            * 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.
583            * </p>
584            *
585            * @param groupId the group ID
586            * @param userId the user ID
587            * @param start the lower bound of the range of bookmarks entries
588            * @param end the upper bound of the range of bookmarks entries (not inclusive)
589            * @return the range of matching bookmarks entries
590            * @throws SystemException if a system exception occurred
591            */
592            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U(
593                    long groupId, long userId, int start, int end)
594                    throws com.liferay.portal.kernel.exception.SystemException;
595    
596            /**
597            * Returns an ordered range of all the bookmarks entries where groupId = &#63; and userId = &#63;.
598            *
599            * <p>
600            * 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.
601            * </p>
602            *
603            * @param groupId the group ID
604            * @param userId the user ID
605            * @param start the lower bound of the range of bookmarks entries
606            * @param end the upper bound of the range of bookmarks entries (not inclusive)
607            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
608            * @return the ordered range of matching bookmarks entries
609            * @throws SystemException if a system exception occurred
610            */
611            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U(
612                    long groupId, long userId, int start, int end,
613                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
614                    throws com.liferay.portal.kernel.exception.SystemException;
615    
616            /**
617            * Returns the first bookmarks entry in the ordered set where groupId = &#63; and userId = &#63;.
618            *
619            * @param groupId the group ID
620            * @param userId the user ID
621            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
622            * @return the first matching bookmarks entry
623            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
624            * @throws SystemException if a system exception occurred
625            */
626            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_First(
627                    long groupId, long userId,
628                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
629                    throws com.liferay.portal.kernel.exception.SystemException,
630                            com.liferay.portlet.bookmarks.NoSuchEntryException;
631    
632            /**
633            * Returns the first bookmarks entry in the ordered set where groupId = &#63; and userId = &#63;.
634            *
635            * @param groupId the group ID
636            * @param userId the user ID
637            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
638            * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
639            * @throws SystemException if a system exception occurred
640            */
641            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_U_First(
642                    long groupId, long userId,
643                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
644                    throws com.liferay.portal.kernel.exception.SystemException;
645    
646            /**
647            * Returns the last bookmarks entry in the ordered set where groupId = &#63; and userId = &#63;.
648            *
649            * @param groupId the group ID
650            * @param userId the user ID
651            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
652            * @return the last matching bookmarks entry
653            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
654            * @throws SystemException if a system exception occurred
655            */
656            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_Last(
657                    long groupId, long userId,
658                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
659                    throws com.liferay.portal.kernel.exception.SystemException,
660                            com.liferay.portlet.bookmarks.NoSuchEntryException;
661    
662            /**
663            * Returns the last bookmarks entry in the ordered set where groupId = &#63; and userId = &#63;.
664            *
665            * @param groupId the group ID
666            * @param userId the user ID
667            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
668            * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
669            * @throws SystemException if a system exception occurred
670            */
671            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_U_Last(
672                    long groupId, long userId,
673                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
674                    throws com.liferay.portal.kernel.exception.SystemException;
675    
676            /**
677            * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = &#63; and userId = &#63;.
678            *
679            * @param entryId the primary key of the current bookmarks entry
680            * @param groupId the group ID
681            * @param userId the user ID
682            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
683            * @return the previous, current, and next bookmarks entry
684            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
685            * @throws SystemException if a system exception occurred
686            */
687            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_U_PrevAndNext(
688                    long entryId, long groupId, long userId,
689                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
690                    throws com.liferay.portal.kernel.exception.SystemException,
691                            com.liferay.portlet.bookmarks.NoSuchEntryException;
692    
693            /**
694            * Returns all the bookmarks entries that the user has permission to view where groupId = &#63; and userId = &#63;.
695            *
696            * @param groupId the group ID
697            * @param userId the user ID
698            * @return the matching bookmarks entries that the user has permission to view
699            * @throws SystemException if a system exception occurred
700            */
701            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U(
702                    long groupId, long userId)
703                    throws com.liferay.portal.kernel.exception.SystemException;
704    
705            /**
706            * Returns a range of all the bookmarks entries that the user has permission to view where groupId = &#63; and userId = &#63;.
707            *
708            * <p>
709            * 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.
710            * </p>
711            *
712            * @param groupId the group ID
713            * @param userId the user ID
714            * @param start the lower bound of the range of bookmarks entries
715            * @param end the upper bound of the range of bookmarks entries (not inclusive)
716            * @return the range of matching bookmarks entries that the user has permission to view
717            * @throws SystemException if a system exception occurred
718            */
719            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U(
720                    long groupId, long userId, int start, int end)
721                    throws com.liferay.portal.kernel.exception.SystemException;
722    
723            /**
724            * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = &#63; and userId = &#63;.
725            *
726            * <p>
727            * 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.
728            * </p>
729            *
730            * @param groupId the group ID
731            * @param userId the user ID
732            * @param start the lower bound of the range of bookmarks entries
733            * @param end the upper bound of the range of bookmarks entries (not inclusive)
734            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
735            * @return the ordered range of matching bookmarks entries that the user has permission to view
736            * @throws SystemException if a system exception occurred
737            */
738            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U(
739                    long groupId, long userId, int start, int end,
740                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
741                    throws com.liferay.portal.kernel.exception.SystemException;
742    
743            /**
744            * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = &#63; and userId = &#63;.
745            *
746            * @param entryId the primary key of the current bookmarks entry
747            * @param groupId the group ID
748            * @param userId the user ID
749            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
750            * @return the previous, current, and next bookmarks entry
751            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
752            * @throws SystemException if a system exception occurred
753            */
754            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_U_PrevAndNext(
755                    long entryId, long groupId, long userId,
756                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
757                    throws com.liferay.portal.kernel.exception.SystemException,
758                            com.liferay.portlet.bookmarks.NoSuchEntryException;
759    
760            /**
761            * Returns all the bookmarks entries where groupId = &#63; and folderId = &#63;.
762            *
763            * @param groupId the group ID
764            * @param folderId the folder ID
765            * @return the matching bookmarks entries
766            * @throws SystemException if a system exception occurred
767            */
768            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
769                    long groupId, long folderId)
770                    throws com.liferay.portal.kernel.exception.SystemException;
771    
772            /**
773            * Returns a range of all the bookmarks entries where groupId = &#63; and folderId = &#63;.
774            *
775            * <p>
776            * 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.
777            * </p>
778            *
779            * @param groupId the group ID
780            * @param folderId the folder ID
781            * @param start the lower bound of the range of bookmarks entries
782            * @param end the upper bound of the range of bookmarks entries (not inclusive)
783            * @return the range of matching bookmarks entries
784            * @throws SystemException if a system exception occurred
785            */
786            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
787                    long groupId, long folderId, int start, int end)
788                    throws com.liferay.portal.kernel.exception.SystemException;
789    
790            /**
791            * Returns an ordered range of all the bookmarks entries where groupId = &#63; and folderId = &#63;.
792            *
793            * <p>
794            * 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.
795            * </p>
796            *
797            * @param groupId the group ID
798            * @param folderId the folder ID
799            * @param start the lower bound of the range of bookmarks entries
800            * @param end the upper bound of the range of bookmarks entries (not inclusive)
801            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
802            * @return the ordered range of matching bookmarks entries
803            * @throws SystemException if a system exception occurred
804            */
805            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
806                    long groupId, long folderId, int start, int end,
807                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
808                    throws com.liferay.portal.kernel.exception.SystemException;
809    
810            /**
811            * Returns the first bookmarks entry in the ordered set where groupId = &#63; and folderId = &#63;.
812            *
813            * @param groupId the group ID
814            * @param folderId the folder ID
815            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
816            * @return the first matching bookmarks entry
817            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
818            * @throws SystemException if a system exception occurred
819            */
820            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_First(
821                    long groupId, long folderId,
822                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
823                    throws com.liferay.portal.kernel.exception.SystemException,
824                            com.liferay.portlet.bookmarks.NoSuchEntryException;
825    
826            /**
827            * Returns the first bookmarks entry in the ordered set where groupId = &#63; and folderId = &#63;.
828            *
829            * @param groupId the group ID
830            * @param folderId the folder ID
831            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
832            * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
833            * @throws SystemException if a system exception occurred
834            */
835            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_F_First(
836                    long groupId, long folderId,
837                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
838                    throws com.liferay.portal.kernel.exception.SystemException;
839    
840            /**
841            * Returns the last bookmarks entry in the ordered set where groupId = &#63; and folderId = &#63;.
842            *
843            * @param groupId the group ID
844            * @param folderId the folder ID
845            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
846            * @return the last matching bookmarks entry
847            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
848            * @throws SystemException if a system exception occurred
849            */
850            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_Last(
851                    long groupId, long folderId,
852                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
853                    throws com.liferay.portal.kernel.exception.SystemException,
854                            com.liferay.portlet.bookmarks.NoSuchEntryException;
855    
856            /**
857            * Returns the last bookmarks entry in the ordered set where groupId = &#63; and folderId = &#63;.
858            *
859            * @param groupId the group ID
860            * @param folderId the folder ID
861            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
862            * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
863            * @throws SystemException if a system exception occurred
864            */
865            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_F_Last(
866                    long groupId, long folderId,
867                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
868                    throws com.liferay.portal.kernel.exception.SystemException;
869    
870            /**
871            * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = &#63; and folderId = &#63;.
872            *
873            * @param entryId the primary key of the current bookmarks entry
874            * @param groupId the group ID
875            * @param folderId the folder ID
876            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
877            * @return the previous, current, and next bookmarks entry
878            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
879            * @throws SystemException if a system exception occurred
880            */
881            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_F_PrevAndNext(
882                    long entryId, long groupId, long folderId,
883                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
884                    throws com.liferay.portal.kernel.exception.SystemException,
885                            com.liferay.portlet.bookmarks.NoSuchEntryException;
886    
887            /**
888            * Returns all the bookmarks entries where groupId = &#63; and folderId = any &#63;.
889            *
890            * <p>
891            * 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.
892            * </p>
893            *
894            * @param groupId the group ID
895            * @param folderIds the folder IDs
896            * @return the matching bookmarks entries
897            * @throws SystemException if a system exception occurred
898            */
899            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
900                    long groupId, long[] folderIds)
901                    throws com.liferay.portal.kernel.exception.SystemException;
902    
903            /**
904            * Returns a range of all the bookmarks entries where groupId = &#63; and folderId = any &#63;.
905            *
906            * <p>
907            * 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.
908            * </p>
909            *
910            * @param groupId the group ID
911            * @param folderIds the folder IDs
912            * @param start the lower bound of the range of bookmarks entries
913            * @param end the upper bound of the range of bookmarks entries (not inclusive)
914            * @return the range of matching bookmarks entries
915            * @throws SystemException if a system exception occurred
916            */
917            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
918                    long groupId, long[] folderIds, int start, int end)
919                    throws com.liferay.portal.kernel.exception.SystemException;
920    
921            /**
922            * Returns an ordered range of all the bookmarks entries where groupId = &#63; and folderId = any &#63;.
923            *
924            * <p>
925            * 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.
926            * </p>
927            *
928            * @param groupId the group ID
929            * @param folderIds the folder IDs
930            * @param start the lower bound of the range of bookmarks entries
931            * @param end the upper bound of the range of bookmarks entries (not inclusive)
932            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
933            * @return the ordered range of matching bookmarks entries
934            * @throws SystemException if a system exception occurred
935            */
936            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
937                    long groupId, long[] folderIds, int start, int end,
938                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
939                    throws com.liferay.portal.kernel.exception.SystemException;
940    
941            /**
942            * Returns all the bookmarks entries that the user has permission to view where groupId = &#63; and folderId = &#63;.
943            *
944            * @param groupId the group ID
945            * @param folderId the folder ID
946            * @return the matching bookmarks entries that the user has permission to view
947            * @throws SystemException if a system exception occurred
948            */
949            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
950                    long groupId, long folderId)
951                    throws com.liferay.portal.kernel.exception.SystemException;
952    
953            /**
954            * Returns a range of all the bookmarks entries that the user has permission to view where groupId = &#63; and folderId = &#63;.
955            *
956            * <p>
957            * 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.
958            * </p>
959            *
960            * @param groupId the group ID
961            * @param folderId the folder ID
962            * @param start the lower bound of the range of bookmarks entries
963            * @param end the upper bound of the range of bookmarks entries (not inclusive)
964            * @return the range of matching bookmarks entries that the user has permission to view
965            * @throws SystemException if a system exception occurred
966            */
967            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
968                    long groupId, long folderId, int start, int end)
969                    throws com.liferay.portal.kernel.exception.SystemException;
970    
971            /**
972            * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = &#63; and folderId = &#63;.
973            *
974            * <p>
975            * 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.
976            * </p>
977            *
978            * @param groupId the group ID
979            * @param folderId the folder ID
980            * @param start the lower bound of the range of bookmarks entries
981            * @param end the upper bound of the range of bookmarks entries (not inclusive)
982            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
983            * @return the ordered range of matching bookmarks entries that the user has permission to view
984            * @throws SystemException if a system exception occurred
985            */
986            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
987                    long groupId, long folderId, int start, int end,
988                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
989                    throws com.liferay.portal.kernel.exception.SystemException;
990    
991            /**
992            * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = &#63; and folderId = &#63;.
993            *
994            * @param entryId the primary key of the current bookmarks entry
995            * @param groupId the group ID
996            * @param folderId the folder ID
997            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
998            * @return the previous, current, and next bookmarks entry
999            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
1000            * @throws SystemException if a system exception occurred
1001            */
1002            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_F_PrevAndNext(
1003                    long entryId, long groupId, long folderId,
1004                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1005                    throws com.liferay.portal.kernel.exception.SystemException,
1006                            com.liferay.portlet.bookmarks.NoSuchEntryException;
1007    
1008            /**
1009            * Returns all the bookmarks entries that the user has permission to view where groupId = &#63; and folderId = any &#63;.
1010            *
1011            * @param groupId the group ID
1012            * @param folderIds the folder IDs
1013            * @return the matching bookmarks entries that the user has permission to view
1014            * @throws SystemException if a system exception occurred
1015            */
1016            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
1017                    long groupId, long[] folderIds)
1018                    throws com.liferay.portal.kernel.exception.SystemException;
1019    
1020            /**
1021            * Returns a range of all the bookmarks entries that the user has permission to view where groupId = &#63; and folderId = any &#63;.
1022            *
1023            * <p>
1024            * 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.
1025            * </p>
1026            *
1027            * @param groupId the group ID
1028            * @param folderIds the folder IDs
1029            * @param start the lower bound of the range of bookmarks entries
1030            * @param end the upper bound of the range of bookmarks entries (not inclusive)
1031            * @return the range of matching bookmarks entries that the user has permission to view
1032            * @throws SystemException if a system exception occurred
1033            */
1034            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
1035                    long groupId, long[] folderIds, int start, int end)
1036                    throws com.liferay.portal.kernel.exception.SystemException;
1037    
1038            /**
1039            * Returns an ordered range of all the bookmarks entries that the user has permission to view where groupId = &#63; and folderId = any &#63;.
1040            *
1041            * <p>
1042            * 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.
1043            * </p>
1044            *
1045            * @param groupId the group ID
1046            * @param folderIds the folder IDs
1047            * @param start the lower bound of the range of bookmarks entries
1048            * @param end the upper bound of the range of bookmarks entries (not inclusive)
1049            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1050            * @return the ordered range of matching bookmarks entries that the user has permission to view
1051            * @throws SystemException if a system exception occurred
1052            */
1053            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
1054                    long groupId, long[] folderIds, int start, int end,
1055                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1056                    throws com.liferay.portal.kernel.exception.SystemException;
1057    
1058            /**
1059            * Returns all the bookmarks entries.
1060            *
1061            * @return the bookmarks entries
1062            * @throws SystemException if a system exception occurred
1063            */
1064            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll()
1065                    throws com.liferay.portal.kernel.exception.SystemException;
1066    
1067            /**
1068            * Returns a range of all the bookmarks entries.
1069            *
1070            * <p>
1071            * 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.
1072            * </p>
1073            *
1074            * @param start the lower bound of the range of bookmarks entries
1075            * @param end the upper bound of the range of bookmarks entries (not inclusive)
1076            * @return the range of bookmarks entries
1077            * @throws SystemException if a system exception occurred
1078            */
1079            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll(
1080                    int start, int end)
1081                    throws com.liferay.portal.kernel.exception.SystemException;
1082    
1083            /**
1084            * Returns an ordered range of all the bookmarks entries.
1085            *
1086            * <p>
1087            * 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.
1088            * </p>
1089            *
1090            * @param start the lower bound of the range of bookmarks entries
1091            * @param end the upper bound of the range of bookmarks entries (not inclusive)
1092            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1093            * @return the ordered range of bookmarks entries
1094            * @throws SystemException if a system exception occurred
1095            */
1096            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll(
1097                    int start, int end,
1098                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1099                    throws com.liferay.portal.kernel.exception.SystemException;
1100    
1101            /**
1102            * Removes all the bookmarks entries where resourceBlockId = &#63; from the database.
1103            *
1104            * @param resourceBlockId the resource block ID
1105            * @throws SystemException if a system exception occurred
1106            */
1107            public void removeByResourceBlockId(long resourceBlockId)
1108                    throws com.liferay.portal.kernel.exception.SystemException;
1109    
1110            /**
1111            * Removes all the bookmarks entries where uuid = &#63; from the database.
1112            *
1113            * @param uuid the uuid
1114            * @throws SystemException if a system exception occurred
1115            */
1116            public void removeByUuid(java.lang.String uuid)
1117                    throws com.liferay.portal.kernel.exception.SystemException;
1118    
1119            /**
1120            * Removes the bookmarks entry where uuid = &#63; and groupId = &#63; from the database.
1121            *
1122            * @param uuid the uuid
1123            * @param groupId the group ID
1124            * @return the bookmarks entry that was removed
1125            * @throws SystemException if a system exception occurred
1126            */
1127            public com.liferay.portlet.bookmarks.model.BookmarksEntry removeByUUID_G(
1128                    java.lang.String uuid, long groupId)
1129                    throws com.liferay.portal.kernel.exception.SystemException,
1130                            com.liferay.portlet.bookmarks.NoSuchEntryException;
1131    
1132            /**
1133            * Removes all the bookmarks entries where groupId = &#63; from the database.
1134            *
1135            * @param groupId the group ID
1136            * @throws SystemException if a system exception occurred
1137            */
1138            public void removeByGroupId(long groupId)
1139                    throws com.liferay.portal.kernel.exception.SystemException;
1140    
1141            /**
1142            * Removes all the bookmarks entries where groupId = &#63; and userId = &#63; from the database.
1143            *
1144            * @param groupId the group ID
1145            * @param userId the user ID
1146            * @throws SystemException if a system exception occurred
1147            */
1148            public void removeByG_U(long groupId, long userId)
1149                    throws com.liferay.portal.kernel.exception.SystemException;
1150    
1151            /**
1152            * Removes all the bookmarks entries where groupId = &#63; and folderId = &#63; from the database.
1153            *
1154            * @param groupId the group ID
1155            * @param folderId the folder ID
1156            * @throws SystemException if a system exception occurred
1157            */
1158            public void removeByG_F(long groupId, long folderId)
1159                    throws com.liferay.portal.kernel.exception.SystemException;
1160    
1161            /**
1162            * Removes all the bookmarks entries from the database.
1163            *
1164            * @throws SystemException if a system exception occurred
1165            */
1166            public void removeAll()
1167                    throws com.liferay.portal.kernel.exception.SystemException;
1168    
1169            /**
1170            * Returns the number of bookmarks entries where resourceBlockId = &#63;.
1171            *
1172            * @param resourceBlockId the resource block ID
1173            * @return the number of matching bookmarks entries
1174            * @throws SystemException if a system exception occurred
1175            */
1176            public int countByResourceBlockId(long resourceBlockId)
1177                    throws com.liferay.portal.kernel.exception.SystemException;
1178    
1179            /**
1180            * Returns the number of bookmarks entries where uuid = &#63;.
1181            *
1182            * @param uuid the uuid
1183            * @return the number of matching bookmarks entries
1184            * @throws SystemException if a system exception occurred
1185            */
1186            public int countByUuid(java.lang.String uuid)
1187                    throws com.liferay.portal.kernel.exception.SystemException;
1188    
1189            /**
1190            * Returns the number of bookmarks entries where uuid = &#63; and groupId = &#63;.
1191            *
1192            * @param uuid the uuid
1193            * @param groupId the group ID
1194            * @return the number of matching bookmarks entries
1195            * @throws SystemException if a system exception occurred
1196            */
1197            public int countByUUID_G(java.lang.String uuid, long groupId)
1198                    throws com.liferay.portal.kernel.exception.SystemException;
1199    
1200            /**
1201            * Returns the number of bookmarks entries where groupId = &#63;.
1202            *
1203            * @param groupId the group ID
1204            * @return the number of matching bookmarks entries
1205            * @throws SystemException if a system exception occurred
1206            */
1207            public int countByGroupId(long groupId)
1208                    throws com.liferay.portal.kernel.exception.SystemException;
1209    
1210            /**
1211            * Returns the number of bookmarks entries that the user has permission to view where groupId = &#63;.
1212            *
1213            * @param groupId the group ID
1214            * @return the number of matching bookmarks entries that the user has permission to view
1215            * @throws SystemException if a system exception occurred
1216            */
1217            public int filterCountByGroupId(long groupId)
1218                    throws com.liferay.portal.kernel.exception.SystemException;
1219    
1220            /**
1221            * Returns the number of bookmarks entries where groupId = &#63; and userId = &#63;.
1222            *
1223            * @param groupId the group ID
1224            * @param userId the user ID
1225            * @return the number of matching bookmarks entries
1226            * @throws SystemException if a system exception occurred
1227            */
1228            public int countByG_U(long groupId, long userId)
1229                    throws com.liferay.portal.kernel.exception.SystemException;
1230    
1231            /**
1232            * Returns the number of bookmarks entries that the user has permission to view where groupId = &#63; and userId = &#63;.
1233            *
1234            * @param groupId the group ID
1235            * @param userId the user ID
1236            * @return the number of matching bookmarks entries that the user has permission to view
1237            * @throws SystemException if a system exception occurred
1238            */
1239            public int filterCountByG_U(long groupId, long userId)
1240                    throws com.liferay.portal.kernel.exception.SystemException;
1241    
1242            /**
1243            * Returns the number of bookmarks entries where groupId = &#63; and folderId = &#63;.
1244            *
1245            * @param groupId the group ID
1246            * @param folderId the folder ID
1247            * @return the number of matching bookmarks entries
1248            * @throws SystemException if a system exception occurred
1249            */
1250            public int countByG_F(long groupId, long folderId)
1251                    throws com.liferay.portal.kernel.exception.SystemException;
1252    
1253            /**
1254            * Returns the number of bookmarks entries where groupId = &#63; and folderId = any &#63;.
1255            *
1256            * @param groupId the group ID
1257            * @param folderIds the folder IDs
1258            * @return the number of matching bookmarks entries
1259            * @throws SystemException if a system exception occurred
1260            */
1261            public int countByG_F(long groupId, long[] folderIds)
1262                    throws com.liferay.portal.kernel.exception.SystemException;
1263    
1264            /**
1265            * Returns the number of bookmarks entries that the user has permission to view where groupId = &#63; and folderId = &#63;.
1266            *
1267            * @param groupId the group ID
1268            * @param folderId the folder ID
1269            * @return the number of matching bookmarks entries that the user has permission to view
1270            * @throws SystemException if a system exception occurred
1271            */
1272            public int filterCountByG_F(long groupId, long folderId)
1273                    throws com.liferay.portal.kernel.exception.SystemException;
1274    
1275            /**
1276            * Returns the number of bookmarks entries that the user has permission to view where groupId = &#63; and folderId = any &#63;.
1277            *
1278            * @param groupId the group ID
1279            * @param folderIds the folder IDs
1280            * @return the number of matching bookmarks entries that the user has permission to view
1281            * @throws SystemException if a system exception occurred
1282            */
1283            public int filterCountByG_F(long groupId, long[] folderIds)
1284                    throws com.liferay.portal.kernel.exception.SystemException;
1285    
1286            /**
1287            * Returns the number of bookmarks entries.
1288            *
1289            * @return the number of bookmarks entries
1290            * @throws SystemException if a system exception occurred
1291            */
1292            public int countAll()
1293                    throws com.liferay.portal.kernel.exception.SystemException;
1294    }