001    /**
002     * Copyright (c) 2000-2012 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            * <p>
158            * 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.
159            * </p>
160            *
161            * @param resourceBlockId the resource block ID
162            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
163            * @return the first matching bookmarks entry
164            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
165            * @throws SystemException if a system exception occurred
166            */
167            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByResourceBlockId_First(
168                    long resourceBlockId,
169                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
170                    throws com.liferay.portal.kernel.exception.SystemException,
171                            com.liferay.portlet.bookmarks.NoSuchEntryException;
172    
173            /**
174            * Returns the last bookmarks entry in the ordered set where resourceBlockId = &#63;.
175            *
176            * <p>
177            * 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.
178            * </p>
179            *
180            * @param resourceBlockId the resource block ID
181            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
182            * @return the last matching bookmarks entry
183            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
184            * @throws SystemException if a system exception occurred
185            */
186            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByResourceBlockId_Last(
187                    long resourceBlockId,
188                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
189                    throws com.liferay.portal.kernel.exception.SystemException,
190                            com.liferay.portlet.bookmarks.NoSuchEntryException;
191    
192            /**
193            * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where resourceBlockId = &#63;.
194            *
195            * <p>
196            * 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.
197            * </p>
198            *
199            * @param entryId the primary key of the current bookmarks entry
200            * @param resourceBlockId the resource block ID
201            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
202            * @return the previous, current, and next bookmarks entry
203            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
204            * @throws SystemException if a system exception occurred
205            */
206            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByResourceBlockId_PrevAndNext(
207                    long entryId, long resourceBlockId,
208                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
209                    throws com.liferay.portal.kernel.exception.SystemException,
210                            com.liferay.portlet.bookmarks.NoSuchEntryException;
211    
212            /**
213            * Returns all the bookmarks entries where uuid = &#63;.
214            *
215            * @param uuid the uuid
216            * @return the matching bookmarks entries
217            * @throws SystemException if a system exception occurred
218            */
219            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid(
220                    java.lang.String uuid)
221                    throws com.liferay.portal.kernel.exception.SystemException;
222    
223            /**
224            * Returns a range of all the bookmarks entries where uuid = &#63;.
225            *
226            * <p>
227            * 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.
228            * </p>
229            *
230            * @param uuid the uuid
231            * @param start the lower bound of the range of bookmarks entries
232            * @param end the upper bound of the range of bookmarks entries (not inclusive)
233            * @return the range of matching bookmarks entries
234            * @throws SystemException if a system exception occurred
235            */
236            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid(
237                    java.lang.String uuid, int start, int end)
238                    throws com.liferay.portal.kernel.exception.SystemException;
239    
240            /**
241            * Returns an ordered range of all the bookmarks entries where uuid = &#63;.
242            *
243            * <p>
244            * 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.
245            * </p>
246            *
247            * @param uuid the uuid
248            * @param start the lower bound of the range of bookmarks entries
249            * @param end the upper bound of the range of bookmarks entries (not inclusive)
250            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
251            * @return the ordered range of matching bookmarks entries
252            * @throws SystemException if a system exception occurred
253            */
254            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid(
255                    java.lang.String uuid, int start, int end,
256                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
257                    throws com.liferay.portal.kernel.exception.SystemException;
258    
259            /**
260            * Returns the first bookmarks entry in the ordered set where uuid = &#63;.
261            *
262            * <p>
263            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
264            * </p>
265            *
266            * @param uuid the uuid
267            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
268            * @return the first matching bookmarks entry
269            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
270            * @throws SystemException if a system exception occurred
271            */
272            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_First(
273                    java.lang.String uuid,
274                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
275                    throws com.liferay.portal.kernel.exception.SystemException,
276                            com.liferay.portlet.bookmarks.NoSuchEntryException;
277    
278            /**
279            * Returns the last bookmarks entry in the ordered set where uuid = &#63;.
280            *
281            * <p>
282            * 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.
283            * </p>
284            *
285            * @param uuid the uuid
286            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
287            * @return the last matching bookmarks entry
288            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
289            * @throws SystemException if a system exception occurred
290            */
291            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_Last(
292                    java.lang.String uuid,
293                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
294                    throws com.liferay.portal.kernel.exception.SystemException,
295                            com.liferay.portlet.bookmarks.NoSuchEntryException;
296    
297            /**
298            * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where uuid = &#63;.
299            *
300            * <p>
301            * 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.
302            * </p>
303            *
304            * @param entryId the primary key of the current bookmarks entry
305            * @param uuid the uuid
306            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
307            * @return the previous, current, and next bookmarks entry
308            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
309            * @throws SystemException if a system exception occurred
310            */
311            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByUuid_PrevAndNext(
312                    long entryId, java.lang.String uuid,
313                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
314                    throws com.liferay.portal.kernel.exception.SystemException,
315                            com.liferay.portlet.bookmarks.NoSuchEntryException;
316    
317            /**
318            * 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.
319            *
320            * @param uuid the uuid
321            * @param groupId the group ID
322            * @return the matching bookmarks entry
323            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
324            * @throws SystemException if a system exception occurred
325            */
326            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUUID_G(
327                    java.lang.String uuid, long groupId)
328                    throws com.liferay.portal.kernel.exception.SystemException,
329                            com.liferay.portlet.bookmarks.NoSuchEntryException;
330    
331            /**
332            * 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.
333            *
334            * @param uuid the uuid
335            * @param groupId the group ID
336            * @return the matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
337            * @throws SystemException if a system exception occurred
338            */
339            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUUID_G(
340                    java.lang.String uuid, long groupId)
341                    throws com.liferay.portal.kernel.exception.SystemException;
342    
343            /**
344            * 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.
345            *
346            * @param uuid the uuid
347            * @param groupId the group ID
348            * @param retrieveFromCache whether to use the finder cache
349            * @return the matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
350            * @throws SystemException if a system exception occurred
351            */
352            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUUID_G(
353                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
354                    throws com.liferay.portal.kernel.exception.SystemException;
355    
356            /**
357            * Returns all the bookmarks entries where groupId = &#63;.
358            *
359            * @param groupId the group ID
360            * @return the matching bookmarks entries
361            * @throws SystemException if a system exception occurred
362            */
363            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByGroupId(
364                    long groupId)
365                    throws com.liferay.portal.kernel.exception.SystemException;
366    
367            /**
368            * Returns a range of all the bookmarks entries where groupId = &#63;.
369            *
370            * <p>
371            * 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.
372            * </p>
373            *
374            * @param groupId the group ID
375            * @param start the lower bound of the range of bookmarks entries
376            * @param end the upper bound of the range of bookmarks entries (not inclusive)
377            * @return the range of matching bookmarks entries
378            * @throws SystemException if a system exception occurred
379            */
380            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByGroupId(
381                    long groupId, int start, int end)
382                    throws com.liferay.portal.kernel.exception.SystemException;
383    
384            /**
385            * Returns an ordered range of all the bookmarks entries where groupId = &#63;.
386            *
387            * <p>
388            * 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.
389            * </p>
390            *
391            * @param groupId the group ID
392            * @param start the lower bound of the range of bookmarks entries
393            * @param end the upper bound of the range of bookmarks entries (not inclusive)
394            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
395            * @return the ordered range of matching bookmarks entries
396            * @throws SystemException if a system exception occurred
397            */
398            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByGroupId(
399                    long groupId, int start, int end,
400                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
401                    throws com.liferay.portal.kernel.exception.SystemException;
402    
403            /**
404            * Returns the first bookmarks entry in the ordered set where groupId = &#63;.
405            *
406            * <p>
407            * 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.
408            * </p>
409            *
410            * @param groupId the group ID
411            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
412            * @return the first matching bookmarks entry
413            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
414            * @throws SystemException if a system exception occurred
415            */
416            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByGroupId_First(
417                    long groupId,
418                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
419                    throws com.liferay.portal.kernel.exception.SystemException,
420                            com.liferay.portlet.bookmarks.NoSuchEntryException;
421    
422            /**
423            * Returns the last bookmarks entry in the ordered set where groupId = &#63;.
424            *
425            * <p>
426            * 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.
427            * </p>
428            *
429            * @param groupId the group ID
430            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
431            * @return the last matching bookmarks entry
432            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
433            * @throws SystemException if a system exception occurred
434            */
435            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByGroupId_Last(
436                    long groupId,
437                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
438                    throws com.liferay.portal.kernel.exception.SystemException,
439                            com.liferay.portlet.bookmarks.NoSuchEntryException;
440    
441            /**
442            * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = &#63;.
443            *
444            * <p>
445            * 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.
446            * </p>
447            *
448            * @param entryId the primary key of the current bookmarks entry
449            * @param groupId the group ID
450            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
451            * @return the previous, current, and next bookmarks entry
452            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
453            * @throws SystemException if a system exception occurred
454            */
455            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByGroupId_PrevAndNext(
456                    long entryId, long groupId,
457                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
458                    throws com.liferay.portal.kernel.exception.SystemException,
459                            com.liferay.portlet.bookmarks.NoSuchEntryException;
460    
461            /**
462            * Returns all the bookmarks entries that the user has permission to view where groupId = &#63;.
463            *
464            * @param groupId the group ID
465            * @return the matching bookmarks entries that the user has permission to view
466            * @throws SystemException if a system exception occurred
467            */
468            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByGroupId(
469                    long groupId)
470                    throws com.liferay.portal.kernel.exception.SystemException;
471    
472            /**
473            * Returns a range of all the bookmarks entries that the user has permission to view where groupId = &#63;.
474            *
475            * <p>
476            * 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.
477            * </p>
478            *
479            * @param groupId the group ID
480            * @param start the lower bound of the range of bookmarks entries
481            * @param end the upper bound of the range of bookmarks entries (not inclusive)
482            * @return the range of matching bookmarks entries that the user has permission to view
483            * @throws SystemException if a system exception occurred
484            */
485            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByGroupId(
486                    long groupId, int start, int end)
487                    throws com.liferay.portal.kernel.exception.SystemException;
488    
489            /**
490            * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = &#63;.
491            *
492            * <p>
493            * 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.
494            * </p>
495            *
496            * @param groupId the group ID
497            * @param start the lower bound of the range of bookmarks entries
498            * @param end the upper bound of the range of bookmarks entries (not inclusive)
499            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
500            * @return the ordered range of matching bookmarks entries that the user has permission to view
501            * @throws SystemException if a system exception occurred
502            */
503            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByGroupId(
504                    long groupId, int start, int end,
505                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
506                    throws com.liferay.portal.kernel.exception.SystemException;
507    
508            /**
509            * 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;.
510            *
511            * @param entryId the primary key of the current bookmarks entry
512            * @param groupId the group ID
513            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
514            * @return the previous, current, and next bookmarks entry
515            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
516            * @throws SystemException if a system exception occurred
517            */
518            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByGroupId_PrevAndNext(
519                    long entryId, long groupId,
520                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
521                    throws com.liferay.portal.kernel.exception.SystemException,
522                            com.liferay.portlet.bookmarks.NoSuchEntryException;
523    
524            /**
525            * Returns all the bookmarks entries where groupId = &#63; and userId = &#63;.
526            *
527            * @param groupId the group ID
528            * @param userId the user ID
529            * @return the matching bookmarks entries
530            * @throws SystemException if a system exception occurred
531            */
532            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U(
533                    long groupId, long userId)
534                    throws com.liferay.portal.kernel.exception.SystemException;
535    
536            /**
537            * Returns a range of all the bookmarks entries where groupId = &#63; and userId = &#63;.
538            *
539            * <p>
540            * 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.
541            * </p>
542            *
543            * @param groupId the group ID
544            * @param userId the user ID
545            * @param start the lower bound of the range of bookmarks entries
546            * @param end the upper bound of the range of bookmarks entries (not inclusive)
547            * @return the range of matching bookmarks entries
548            * @throws SystemException if a system exception occurred
549            */
550            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U(
551                    long groupId, long userId, int start, int end)
552                    throws com.liferay.portal.kernel.exception.SystemException;
553    
554            /**
555            * Returns an ordered range of all the bookmarks entries where groupId = &#63; and userId = &#63;.
556            *
557            * <p>
558            * 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.
559            * </p>
560            *
561            * @param groupId the group ID
562            * @param userId the user ID
563            * @param start the lower bound of the range of bookmarks entries
564            * @param end the upper bound of the range of bookmarks entries (not inclusive)
565            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
566            * @return the ordered range of matching bookmarks entries
567            * @throws SystemException if a system exception occurred
568            */
569            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U(
570                    long groupId, long userId, int start, int end,
571                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
572                    throws com.liferay.portal.kernel.exception.SystemException;
573    
574            /**
575            * Returns the first bookmarks entry in the ordered set where groupId = &#63; and userId = &#63;.
576            *
577            * <p>
578            * 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.
579            * </p>
580            *
581            * @param groupId the group ID
582            * @param userId the user ID
583            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
584            * @return the first matching bookmarks entry
585            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
586            * @throws SystemException if a system exception occurred
587            */
588            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_First(
589                    long groupId, long userId,
590                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
591                    throws com.liferay.portal.kernel.exception.SystemException,
592                            com.liferay.portlet.bookmarks.NoSuchEntryException;
593    
594            /**
595            * Returns the last bookmarks entry in the ordered set where groupId = &#63; and userId = &#63;.
596            *
597            * <p>
598            * 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.
599            * </p>
600            *
601            * @param groupId the group ID
602            * @param userId the user ID
603            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
604            * @return the last matching bookmarks entry
605            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
606            * @throws SystemException if a system exception occurred
607            */
608            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_Last(
609                    long groupId, long userId,
610                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
611                    throws com.liferay.portal.kernel.exception.SystemException,
612                            com.liferay.portlet.bookmarks.NoSuchEntryException;
613    
614            /**
615            * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = &#63; and userId = &#63;.
616            *
617            * <p>
618            * 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.
619            * </p>
620            *
621            * @param entryId the primary key of the current bookmarks entry
622            * @param groupId the group ID
623            * @param userId the user ID
624            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
625            * @return the previous, current, and next bookmarks entry
626            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
627            * @throws SystemException if a system exception occurred
628            */
629            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_U_PrevAndNext(
630                    long entryId, long groupId, long userId,
631                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
632                    throws com.liferay.portal.kernel.exception.SystemException,
633                            com.liferay.portlet.bookmarks.NoSuchEntryException;
634    
635            /**
636            * Returns all the bookmarks entries that the user has permission to view where groupId = &#63; and userId = &#63;.
637            *
638            * @param groupId the group ID
639            * @param userId the user ID
640            * @return the matching bookmarks entries that the user has permission to view
641            * @throws SystemException if a system exception occurred
642            */
643            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U(
644                    long groupId, long userId)
645                    throws com.liferay.portal.kernel.exception.SystemException;
646    
647            /**
648            * Returns a range of all the bookmarks entries that the user has permission to view where groupId = &#63; and userId = &#63;.
649            *
650            * <p>
651            * 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.
652            * </p>
653            *
654            * @param groupId the group ID
655            * @param userId the user ID
656            * @param start the lower bound of the range of bookmarks entries
657            * @param end the upper bound of the range of bookmarks entries (not inclusive)
658            * @return the range of matching bookmarks entries that the user has permission to view
659            * @throws SystemException if a system exception occurred
660            */
661            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U(
662                    long groupId, long userId, int start, int end)
663                    throws com.liferay.portal.kernel.exception.SystemException;
664    
665            /**
666            * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = &#63; and userId = &#63;.
667            *
668            * <p>
669            * 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.
670            * </p>
671            *
672            * @param groupId the group ID
673            * @param userId the user ID
674            * @param start the lower bound of the range of bookmarks entries
675            * @param end the upper bound of the range of bookmarks entries (not inclusive)
676            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
677            * @return the ordered range of matching bookmarks entries that the user has permission to view
678            * @throws SystemException if a system exception occurred
679            */
680            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U(
681                    long groupId, long userId, int start, int end,
682                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
683                    throws com.liferay.portal.kernel.exception.SystemException;
684    
685            /**
686            * 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;.
687            *
688            * @param entryId the primary key of the current bookmarks entry
689            * @param groupId the group ID
690            * @param userId the user ID
691            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
692            * @return the previous, current, and next bookmarks entry
693            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
694            * @throws SystemException if a system exception occurred
695            */
696            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_U_PrevAndNext(
697                    long entryId, long groupId, long userId,
698                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
699                    throws com.liferay.portal.kernel.exception.SystemException,
700                            com.liferay.portlet.bookmarks.NoSuchEntryException;
701    
702            /**
703            * Returns all the bookmarks entries where groupId = &#63; and folderId = &#63;.
704            *
705            * @param groupId the group ID
706            * @param folderId the folder ID
707            * @return the matching bookmarks entries
708            * @throws SystemException if a system exception occurred
709            */
710            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
711                    long groupId, long folderId)
712                    throws com.liferay.portal.kernel.exception.SystemException;
713    
714            /**
715            * Returns a range of all the bookmarks entries where groupId = &#63; and folderId = &#63;.
716            *
717            * <p>
718            * 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.
719            * </p>
720            *
721            * @param groupId the group ID
722            * @param folderId the folder ID
723            * @param start the lower bound of the range of bookmarks entries
724            * @param end the upper bound of the range of bookmarks entries (not inclusive)
725            * @return the range of matching bookmarks entries
726            * @throws SystemException if a system exception occurred
727            */
728            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
729                    long groupId, long folderId, int start, int end)
730                    throws com.liferay.portal.kernel.exception.SystemException;
731    
732            /**
733            * Returns an ordered range of all the bookmarks entries where groupId = &#63; and folderId = &#63;.
734            *
735            * <p>
736            * 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.
737            * </p>
738            *
739            * @param groupId the group ID
740            * @param folderId the folder ID
741            * @param start the lower bound of the range of bookmarks entries
742            * @param end the upper bound of the range of bookmarks entries (not inclusive)
743            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
744            * @return the ordered range of matching bookmarks entries
745            * @throws SystemException if a system exception occurred
746            */
747            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
748                    long groupId, long folderId, int start, int end,
749                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
750                    throws com.liferay.portal.kernel.exception.SystemException;
751    
752            /**
753            * Returns the first bookmarks entry in the ordered set where groupId = &#63; and folderId = &#63;.
754            *
755            * <p>
756            * 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.
757            * </p>
758            *
759            * @param groupId the group ID
760            * @param folderId the folder ID
761            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
762            * @return the first matching bookmarks entry
763            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
764            * @throws SystemException if a system exception occurred
765            */
766            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_First(
767                    long groupId, long folderId,
768                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
769                    throws com.liferay.portal.kernel.exception.SystemException,
770                            com.liferay.portlet.bookmarks.NoSuchEntryException;
771    
772            /**
773            * Returns the last bookmarks entry in the ordered set 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 orderByComparator the comparator to order the set by (optionally <code>null</code>)
782            * @return the last matching bookmarks entry
783            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
784            * @throws SystemException if a system exception occurred
785            */
786            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_Last(
787                    long groupId, long folderId,
788                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
789                    throws com.liferay.portal.kernel.exception.SystemException,
790                            com.liferay.portlet.bookmarks.NoSuchEntryException;
791    
792            /**
793            * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = &#63; and folderId = &#63;.
794            *
795            * <p>
796            * 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.
797            * </p>
798            *
799            * @param entryId the primary key of the current bookmarks entry
800            * @param groupId the group ID
801            * @param folderId the folder ID
802            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
803            * @return the previous, current, and next bookmarks entry
804            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
805            * @throws SystemException if a system exception occurred
806            */
807            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_F_PrevAndNext(
808                    long entryId, long groupId, long folderId,
809                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
810                    throws com.liferay.portal.kernel.exception.SystemException,
811                            com.liferay.portlet.bookmarks.NoSuchEntryException;
812    
813            /**
814            * Returns all the bookmarks entries where groupId = &#63; and folderId = any &#63;.
815            *
816            * <p>
817            * 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.
818            * </p>
819            *
820            * @param groupId the group ID
821            * @param folderIds the folder IDs
822            * @return the matching bookmarks entries
823            * @throws SystemException if a system exception occurred
824            */
825            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
826                    long groupId, long[] folderIds)
827                    throws com.liferay.portal.kernel.exception.SystemException;
828    
829            /**
830            * Returns a range of all the bookmarks entries where groupId = &#63; and folderId = any &#63;.
831            *
832            * <p>
833            * 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.
834            * </p>
835            *
836            * @param groupId the group ID
837            * @param folderIds the folder IDs
838            * @param start the lower bound of the range of bookmarks entries
839            * @param end the upper bound of the range of bookmarks entries (not inclusive)
840            * @return the range of matching bookmarks entries
841            * @throws SystemException if a system exception occurred
842            */
843            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
844                    long groupId, long[] folderIds, int start, int end)
845                    throws com.liferay.portal.kernel.exception.SystemException;
846    
847            /**
848            * Returns an ordered range of all the bookmarks entries where groupId = &#63; and folderId = any &#63;.
849            *
850            * <p>
851            * 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.
852            * </p>
853            *
854            * @param groupId the group ID
855            * @param folderIds the folder IDs
856            * @param start the lower bound of the range of bookmarks entries
857            * @param end the upper bound of the range of bookmarks entries (not inclusive)
858            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
859            * @return the ordered range of matching bookmarks entries
860            * @throws SystemException if a system exception occurred
861            */
862            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
863                    long groupId, long[] folderIds, int start, int end,
864                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
865                    throws com.liferay.portal.kernel.exception.SystemException;
866    
867            /**
868            * Returns all the bookmarks entries that the user has permission to view where groupId = &#63; and folderId = &#63;.
869            *
870            * @param groupId the group ID
871            * @param folderId the folder ID
872            * @return the matching bookmarks entries that the user has permission to view
873            * @throws SystemException if a system exception occurred
874            */
875            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
876                    long groupId, long folderId)
877                    throws com.liferay.portal.kernel.exception.SystemException;
878    
879            /**
880            * Returns a range of all the bookmarks entries that the user has permission to view where groupId = &#63; and folderId = &#63;.
881            *
882            * <p>
883            * 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.
884            * </p>
885            *
886            * @param groupId the group ID
887            * @param folderId the folder ID
888            * @param start the lower bound of the range of bookmarks entries
889            * @param end the upper bound of the range of bookmarks entries (not inclusive)
890            * @return the range of matching bookmarks entries that the user has permission to view
891            * @throws SystemException if a system exception occurred
892            */
893            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
894                    long groupId, long folderId, int start, int end)
895                    throws com.liferay.portal.kernel.exception.SystemException;
896    
897            /**
898            * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = &#63; and folderId = &#63;.
899            *
900            * <p>
901            * 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.
902            * </p>
903            *
904            * @param groupId the group ID
905            * @param folderId the folder ID
906            * @param start the lower bound of the range of bookmarks entries
907            * @param end the upper bound of the range of bookmarks entries (not inclusive)
908            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
909            * @return the ordered range of matching bookmarks entries that the user has permission to view
910            * @throws SystemException if a system exception occurred
911            */
912            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
913                    long groupId, long folderId, int start, int end,
914                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
915                    throws com.liferay.portal.kernel.exception.SystemException;
916    
917            /**
918            * 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;.
919            *
920            * @param entryId the primary key of the current bookmarks entry
921            * @param groupId the group ID
922            * @param folderId the folder ID
923            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
924            * @return the previous, current, and next bookmarks entry
925            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
926            * @throws SystemException if a system exception occurred
927            */
928            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_F_PrevAndNext(
929                    long entryId, long groupId, long folderId,
930                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
931                    throws com.liferay.portal.kernel.exception.SystemException,
932                            com.liferay.portlet.bookmarks.NoSuchEntryException;
933    
934            /**
935            * Returns all the bookmarks entries that the user has permission to view where groupId = &#63; and folderId = any &#63;.
936            *
937            * @param groupId the group ID
938            * @param folderIds the folder IDs
939            * @return the matching bookmarks entries that the user has permission to view
940            * @throws SystemException if a system exception occurred
941            */
942            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
943                    long groupId, long[] folderIds)
944                    throws com.liferay.portal.kernel.exception.SystemException;
945    
946            /**
947            * Returns a range of all the bookmarks entries that the user has permission to view where groupId = &#63; and folderId = any &#63;.
948            *
949            * <p>
950            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
951            * </p>
952            *
953            * @param groupId the group ID
954            * @param folderIds the folder IDs
955            * @param start the lower bound of the range of bookmarks entries
956            * @param end the upper bound of the range of bookmarks entries (not inclusive)
957            * @return the range of matching bookmarks entries that the user has permission to view
958            * @throws SystemException if a system exception occurred
959            */
960            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
961                    long groupId, long[] folderIds, int start, int end)
962                    throws com.liferay.portal.kernel.exception.SystemException;
963    
964            /**
965            * Returns an ordered range of all the bookmarks entries that the user has permission to view where groupId = &#63; and folderId = any &#63;.
966            *
967            * <p>
968            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
969            * </p>
970            *
971            * @param groupId the group ID
972            * @param folderIds the folder IDs
973            * @param start the lower bound of the range of bookmarks entries
974            * @param end the upper bound of the range of bookmarks entries (not inclusive)
975            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
976            * @return the ordered range of matching bookmarks entries that the user has permission to view
977            * @throws SystemException if a system exception occurred
978            */
979            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
980                    long groupId, long[] folderIds, int start, int end,
981                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
982                    throws com.liferay.portal.kernel.exception.SystemException;
983    
984            /**
985            * Returns all the bookmarks entries.
986            *
987            * @return the bookmarks entries
988            * @throws SystemException if a system exception occurred
989            */
990            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll()
991                    throws com.liferay.portal.kernel.exception.SystemException;
992    
993            /**
994            * Returns a range of all the bookmarks entries.
995            *
996            * <p>
997            * 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.
998            * </p>
999            *
1000            * @param start the lower bound of the range of bookmarks entries
1001            * @param end the upper bound of the range of bookmarks entries (not inclusive)
1002            * @return the range of bookmarks entries
1003            * @throws SystemException if a system exception occurred
1004            */
1005            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll(
1006                    int start, int end)
1007                    throws com.liferay.portal.kernel.exception.SystemException;
1008    
1009            /**
1010            * Returns an ordered range of all the bookmarks entries.
1011            *
1012            * <p>
1013            * 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.
1014            * </p>
1015            *
1016            * @param start the lower bound of the range of bookmarks entries
1017            * @param end the upper bound of the range of bookmarks entries (not inclusive)
1018            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1019            * @return the ordered range of bookmarks entries
1020            * @throws SystemException if a system exception occurred
1021            */
1022            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll(
1023                    int start, int end,
1024                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1025                    throws com.liferay.portal.kernel.exception.SystemException;
1026    
1027            /**
1028            * Removes all the bookmarks entries where resourceBlockId = &#63; from the database.
1029            *
1030            * @param resourceBlockId the resource block ID
1031            * @throws SystemException if a system exception occurred
1032            */
1033            public void removeByResourceBlockId(long resourceBlockId)
1034                    throws com.liferay.portal.kernel.exception.SystemException;
1035    
1036            /**
1037            * Removes all the bookmarks entries where uuid = &#63; from the database.
1038            *
1039            * @param uuid the uuid
1040            * @throws SystemException if a system exception occurred
1041            */
1042            public void removeByUuid(java.lang.String uuid)
1043                    throws com.liferay.portal.kernel.exception.SystemException;
1044    
1045            /**
1046            * Removes the bookmarks entry where uuid = &#63; and groupId = &#63; from the database.
1047            *
1048            * @param uuid the uuid
1049            * @param groupId the group ID
1050            * @throws SystemException if a system exception occurred
1051            */
1052            public void removeByUUID_G(java.lang.String uuid, long groupId)
1053                    throws com.liferay.portal.kernel.exception.SystemException,
1054                            com.liferay.portlet.bookmarks.NoSuchEntryException;
1055    
1056            /**
1057            * Removes all the bookmarks entries where groupId = &#63; from the database.
1058            *
1059            * @param groupId the group ID
1060            * @throws SystemException if a system exception occurred
1061            */
1062            public void removeByGroupId(long groupId)
1063                    throws com.liferay.portal.kernel.exception.SystemException;
1064    
1065            /**
1066            * Removes all the bookmarks entries where groupId = &#63; and userId = &#63; from the database.
1067            *
1068            * @param groupId the group ID
1069            * @param userId the user ID
1070            * @throws SystemException if a system exception occurred
1071            */
1072            public void removeByG_U(long groupId, long userId)
1073                    throws com.liferay.portal.kernel.exception.SystemException;
1074    
1075            /**
1076            * Removes all the bookmarks entries where groupId = &#63; and folderId = &#63; from the database.
1077            *
1078            * @param groupId the group ID
1079            * @param folderId the folder ID
1080            * @throws SystemException if a system exception occurred
1081            */
1082            public void removeByG_F(long groupId, long folderId)
1083                    throws com.liferay.portal.kernel.exception.SystemException;
1084    
1085            /**
1086            * Removes all the bookmarks entries from the database.
1087            *
1088            * @throws SystemException if a system exception occurred
1089            */
1090            public void removeAll()
1091                    throws com.liferay.portal.kernel.exception.SystemException;
1092    
1093            /**
1094            * Returns the number of bookmarks entries where resourceBlockId = &#63;.
1095            *
1096            * @param resourceBlockId the resource block ID
1097            * @return the number of matching bookmarks entries
1098            * @throws SystemException if a system exception occurred
1099            */
1100            public int countByResourceBlockId(long resourceBlockId)
1101                    throws com.liferay.portal.kernel.exception.SystemException;
1102    
1103            /**
1104            * Returns the number of bookmarks entries where uuid = &#63;.
1105            *
1106            * @param uuid the uuid
1107            * @return the number of matching bookmarks entries
1108            * @throws SystemException if a system exception occurred
1109            */
1110            public int countByUuid(java.lang.String uuid)
1111                    throws com.liferay.portal.kernel.exception.SystemException;
1112    
1113            /**
1114            * Returns the number of bookmarks entries where uuid = &#63; and groupId = &#63;.
1115            *
1116            * @param uuid the uuid
1117            * @param groupId the group ID
1118            * @return the number of matching bookmarks entries
1119            * @throws SystemException if a system exception occurred
1120            */
1121            public int countByUUID_G(java.lang.String uuid, long groupId)
1122                    throws com.liferay.portal.kernel.exception.SystemException;
1123    
1124            /**
1125            * Returns the number of bookmarks entries where groupId = &#63;.
1126            *
1127            * @param groupId the group ID
1128            * @return the number of matching bookmarks entries
1129            * @throws SystemException if a system exception occurred
1130            */
1131            public int countByGroupId(long groupId)
1132                    throws com.liferay.portal.kernel.exception.SystemException;
1133    
1134            /**
1135            * Returns the number of bookmarks entries that the user has permission to view where groupId = &#63;.
1136            *
1137            * @param groupId the group ID
1138            * @return the number of matching bookmarks entries that the user has permission to view
1139            * @throws SystemException if a system exception occurred
1140            */
1141            public int filterCountByGroupId(long groupId)
1142                    throws com.liferay.portal.kernel.exception.SystemException;
1143    
1144            /**
1145            * Returns the number of bookmarks entries where groupId = &#63; and userId = &#63;.
1146            *
1147            * @param groupId the group ID
1148            * @param userId the user ID
1149            * @return the number of matching bookmarks entries
1150            * @throws SystemException if a system exception occurred
1151            */
1152            public int countByG_U(long groupId, long userId)
1153                    throws com.liferay.portal.kernel.exception.SystemException;
1154    
1155            /**
1156            * Returns the number of bookmarks entries that the user has permission to view where groupId = &#63; and userId = &#63;.
1157            *
1158            * @param groupId the group ID
1159            * @param userId the user ID
1160            * @return the number of matching bookmarks entries that the user has permission to view
1161            * @throws SystemException if a system exception occurred
1162            */
1163            public int filterCountByG_U(long groupId, long userId)
1164                    throws com.liferay.portal.kernel.exception.SystemException;
1165    
1166            /**
1167            * Returns the number of bookmarks entries where groupId = &#63; and folderId = &#63;.
1168            *
1169            * @param groupId the group ID
1170            * @param folderId the folder ID
1171            * @return the number of matching bookmarks entries
1172            * @throws SystemException if a system exception occurred
1173            */
1174            public int countByG_F(long groupId, long folderId)
1175                    throws com.liferay.portal.kernel.exception.SystemException;
1176    
1177            /**
1178            * Returns the number of bookmarks entries where groupId = &#63; and folderId = any &#63;.
1179            *
1180            * @param groupId the group ID
1181            * @param folderIds the folder IDs
1182            * @return the number of matching bookmarks entries
1183            * @throws SystemException if a system exception occurred
1184            */
1185            public int countByG_F(long groupId, long[] folderIds)
1186                    throws com.liferay.portal.kernel.exception.SystemException;
1187    
1188            /**
1189            * Returns the number of bookmarks entries that the user has permission to view where groupId = &#63; and folderId = &#63;.
1190            *
1191            * @param groupId the group ID
1192            * @param folderId the folder ID
1193            * @return the number of matching bookmarks entries that the user has permission to view
1194            * @throws SystemException if a system exception occurred
1195            */
1196            public int filterCountByG_F(long groupId, long folderId)
1197                    throws com.liferay.portal.kernel.exception.SystemException;
1198    
1199            /**
1200            * Returns the number of bookmarks entries that the user has permission to view where groupId = &#63; and folderId = any &#63;.
1201            *
1202            * @param groupId the group ID
1203            * @param folderIds the folder IDs
1204            * @return the number of matching bookmarks entries that the user has permission to view
1205            * @throws SystemException if a system exception occurred
1206            */
1207            public int filterCountByG_F(long groupId, long[] folderIds)
1208                    throws com.liferay.portal.kernel.exception.SystemException;
1209    
1210            /**
1211            * Returns the number of bookmarks entries.
1212            *
1213            * @return the number of bookmarks entries
1214            * @throws SystemException if a system exception occurred
1215            */
1216            public int countAll()
1217                    throws com.liferay.portal.kernel.exception.SystemException;
1218    }