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