001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.bookmarks.service.persistence;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.persistence.BasePersistence;
020    
021    import com.liferay.portlet.bookmarks.model.BookmarksEntry;
022    
023    /**
024     * The persistence interface for the bookmarks entry service.
025     *
026     * <p>
027     * Caching information and settings can be found in <code>portal.properties</code>
028     * </p>
029     *
030     * @author Brian Wing Shun Chan
031     * @see BookmarksEntryPersistenceImpl
032     * @see BookmarksEntryUtil
033     * @generated
034     */
035    @ProviderType
036    public interface BookmarksEntryPersistence extends BasePersistence<BookmarksEntry> {
037            /*
038             * NOTE FOR DEVELOPERS:
039             *
040             * 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.
041             */
042    
043            /**
044            * Returns all the bookmarks entries where resourceBlockId = &#63;.
045            *
046            * @param resourceBlockId the resource block ID
047            * @return the matching bookmarks entries
048            * @throws SystemException if a system exception occurred
049            */
050            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByResourceBlockId(
051                    long resourceBlockId)
052                    throws com.liferay.portal.kernel.exception.SystemException;
053    
054            /**
055            * Returns a range of all the bookmarks entries where resourceBlockId = &#63;.
056            *
057            * <p>
058            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
059            * </p>
060            *
061            * @param resourceBlockId the resource block ID
062            * @param start the lower bound of the range of bookmarks entries
063            * @param end the upper bound of the range of bookmarks entries (not inclusive)
064            * @return the range of matching bookmarks entries
065            * @throws SystemException if a system exception occurred
066            */
067            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByResourceBlockId(
068                    long resourceBlockId, int start, int end)
069                    throws com.liferay.portal.kernel.exception.SystemException;
070    
071            /**
072            * Returns an ordered range of all the bookmarks entries where resourceBlockId = &#63;.
073            *
074            * <p>
075            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
076            * </p>
077            *
078            * @param resourceBlockId the resource block ID
079            * @param start the lower bound of the range of bookmarks entries
080            * @param end the upper bound of the range of bookmarks entries (not inclusive)
081            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
082            * @return the ordered range of matching bookmarks entries
083            * @throws SystemException if a system exception occurred
084            */
085            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByResourceBlockId(
086                    long resourceBlockId, int start, int end,
087                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
088                    throws com.liferay.portal.kernel.exception.SystemException;
089    
090            /**
091            * Returns the first bookmarks entry in the ordered set where resourceBlockId = &#63;.
092            *
093            * @param resourceBlockId the resource block ID
094            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
095            * @return the first matching bookmarks entry
096            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
097            * @throws SystemException if a system exception occurred
098            */
099            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByResourceBlockId_First(
100                    long resourceBlockId,
101                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
102                    throws com.liferay.portal.kernel.exception.SystemException,
103                            com.liferay.portlet.bookmarks.NoSuchEntryException;
104    
105            /**
106            * Returns the first bookmarks entry in the ordered set where resourceBlockId = &#63;.
107            *
108            * @param resourceBlockId the resource block ID
109            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
110            * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
111            * @throws SystemException if a system exception occurred
112            */
113            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByResourceBlockId_First(
114                    long resourceBlockId,
115                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
116                    throws com.liferay.portal.kernel.exception.SystemException;
117    
118            /**
119            * Returns the last bookmarks entry in the ordered set where resourceBlockId = &#63;.
120            *
121            * @param resourceBlockId the resource block ID
122            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
123            * @return the last matching bookmarks entry
124            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
125            * @throws SystemException if a system exception occurred
126            */
127            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByResourceBlockId_Last(
128                    long resourceBlockId,
129                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
130                    throws com.liferay.portal.kernel.exception.SystemException,
131                            com.liferay.portlet.bookmarks.NoSuchEntryException;
132    
133            /**
134            * Returns the last bookmarks entry in the ordered set where resourceBlockId = &#63;.
135            *
136            * @param resourceBlockId the resource block ID
137            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
138            * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
139            * @throws SystemException if a system exception occurred
140            */
141            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByResourceBlockId_Last(
142                    long resourceBlockId,
143                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
144                    throws com.liferay.portal.kernel.exception.SystemException;
145    
146            /**
147            * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where resourceBlockId = &#63;.
148            *
149            * @param entryId the primary key of the current bookmarks entry
150            * @param resourceBlockId the resource block ID
151            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
152            * @return the previous, current, and next bookmarks entry
153            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
154            * @throws SystemException if a system exception occurred
155            */
156            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByResourceBlockId_PrevAndNext(
157                    long entryId, long resourceBlockId,
158                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
159                    throws com.liferay.portal.kernel.exception.SystemException,
160                            com.liferay.portlet.bookmarks.NoSuchEntryException;
161    
162            /**
163            * Removes all the bookmarks entries where resourceBlockId = &#63; from the database.
164            *
165            * @param resourceBlockId the resource block ID
166            * @throws SystemException if a system exception occurred
167            */
168            public void removeByResourceBlockId(long resourceBlockId)
169                    throws com.liferay.portal.kernel.exception.SystemException;
170    
171            /**
172            * Returns the number of bookmarks entries where resourceBlockId = &#63;.
173            *
174            * @param resourceBlockId the resource block ID
175            * @return the number of matching bookmarks entries
176            * @throws SystemException if a system exception occurred
177            */
178            public int countByResourceBlockId(long resourceBlockId)
179                    throws com.liferay.portal.kernel.exception.SystemException;
180    
181            /**
182            * Returns all the bookmarks entries where uuid = &#63;.
183            *
184            * @param uuid the uuid
185            * @return the matching bookmarks entries
186            * @throws SystemException if a system exception occurred
187            */
188            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid(
189                    java.lang.String uuid)
190                    throws com.liferay.portal.kernel.exception.SystemException;
191    
192            /**
193            * Returns a range of all the bookmarks entries where uuid = &#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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
197            * </p>
198            *
199            * @param uuid the uuid
200            * @param start the lower bound of the range of bookmarks entries
201            * @param end the upper bound of the range of bookmarks entries (not inclusive)
202            * @return the range of matching bookmarks entries
203            * @throws SystemException if a system exception occurred
204            */
205            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid(
206                    java.lang.String uuid, int start, int end)
207                    throws com.liferay.portal.kernel.exception.SystemException;
208    
209            /**
210            * Returns an ordered range of all the bookmarks entries where uuid = &#63;.
211            *
212            * <p>
213            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
214            * </p>
215            *
216            * @param uuid the uuid
217            * @param start the lower bound of the range of bookmarks entries
218            * @param end the upper bound of the range of bookmarks entries (not inclusive)
219            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
220            * @return the ordered range of matching bookmarks entries
221            * @throws SystemException if a system exception occurred
222            */
223            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid(
224                    java.lang.String uuid, int start, int end,
225                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
226                    throws com.liferay.portal.kernel.exception.SystemException;
227    
228            /**
229            * Returns the first bookmarks entry in the ordered set where uuid = &#63;.
230            *
231            * @param uuid the uuid
232            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
233            * @return the first matching bookmarks entry
234            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
235            * @throws SystemException if a system exception occurred
236            */
237            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_First(
238                    java.lang.String uuid,
239                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
240                    throws com.liferay.portal.kernel.exception.SystemException,
241                            com.liferay.portlet.bookmarks.NoSuchEntryException;
242    
243            /**
244            * Returns the first bookmarks entry in the ordered set where uuid = &#63;.
245            *
246            * @param uuid the uuid
247            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
248            * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
249            * @throws SystemException if a system exception occurred
250            */
251            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUuid_First(
252                    java.lang.String uuid,
253                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
254                    throws com.liferay.portal.kernel.exception.SystemException;
255    
256            /**
257            * Returns the last bookmarks entry in the ordered set where uuid = &#63;.
258            *
259            * @param uuid the uuid
260            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
261            * @return the last matching bookmarks entry
262            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
263            * @throws SystemException if a system exception occurred
264            */
265            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_Last(
266                    java.lang.String uuid,
267                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
268                    throws com.liferay.portal.kernel.exception.SystemException,
269                            com.liferay.portlet.bookmarks.NoSuchEntryException;
270    
271            /**
272            * Returns the last bookmarks entry in the ordered set where uuid = &#63;.
273            *
274            * @param uuid the uuid
275            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
276            * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
277            * @throws SystemException if a system exception occurred
278            */
279            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUuid_Last(
280                    java.lang.String uuid,
281                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
282                    throws com.liferay.portal.kernel.exception.SystemException;
283    
284            /**
285            * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where uuid = &#63;.
286            *
287            * @param entryId the primary key of the current bookmarks entry
288            * @param uuid the uuid
289            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
290            * @return the previous, current, and next bookmarks entry
291            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
292            * @throws SystemException if a system exception occurred
293            */
294            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByUuid_PrevAndNext(
295                    long entryId, java.lang.String uuid,
296                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
297                    throws com.liferay.portal.kernel.exception.SystemException,
298                            com.liferay.portlet.bookmarks.NoSuchEntryException;
299    
300            /**
301            * Removes all the bookmarks entries where uuid = &#63; from the database.
302            *
303            * @param uuid the uuid
304            * @throws SystemException if a system exception occurred
305            */
306            public void removeByUuid(java.lang.String uuid)
307                    throws com.liferay.portal.kernel.exception.SystemException;
308    
309            /**
310            * Returns the number of bookmarks entries where uuid = &#63;.
311            *
312            * @param uuid the uuid
313            * @return the number of matching bookmarks entries
314            * @throws SystemException if a system exception occurred
315            */
316            public int countByUuid(java.lang.String uuid)
317                    throws com.liferay.portal.kernel.exception.SystemException;
318    
319            /**
320            * 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.
321            *
322            * @param uuid the uuid
323            * @param groupId the group ID
324            * @return the matching bookmarks entry
325            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
326            * @throws SystemException if a system exception occurred
327            */
328            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUUID_G(
329                    java.lang.String uuid, long groupId)
330                    throws com.liferay.portal.kernel.exception.SystemException,
331                            com.liferay.portlet.bookmarks.NoSuchEntryException;
332    
333            /**
334            * 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.
335            *
336            * @param uuid the uuid
337            * @param groupId the group ID
338            * @return the matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
339            * @throws SystemException if a system exception occurred
340            */
341            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUUID_G(
342                    java.lang.String uuid, long groupId)
343                    throws com.liferay.portal.kernel.exception.SystemException;
344    
345            /**
346            * 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.
347            *
348            * @param uuid the uuid
349            * @param groupId the group ID
350            * @param retrieveFromCache whether to use the finder cache
351            * @return the matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
352            * @throws SystemException if a system exception occurred
353            */
354            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUUID_G(
355                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
356                    throws com.liferay.portal.kernel.exception.SystemException;
357    
358            /**
359            * Removes the bookmarks entry where uuid = &#63; and groupId = &#63; from the database.
360            *
361            * @param uuid the uuid
362            * @param groupId the group ID
363            * @return the bookmarks entry that was removed
364            * @throws SystemException if a system exception occurred
365            */
366            public com.liferay.portlet.bookmarks.model.BookmarksEntry removeByUUID_G(
367                    java.lang.String uuid, long groupId)
368                    throws com.liferay.portal.kernel.exception.SystemException,
369                            com.liferay.portlet.bookmarks.NoSuchEntryException;
370    
371            /**
372            * Returns the number of bookmarks entries where uuid = &#63; and groupId = &#63;.
373            *
374            * @param uuid the uuid
375            * @param groupId the group ID
376            * @return the number of matching bookmarks entries
377            * @throws SystemException if a system exception occurred
378            */
379            public int countByUUID_G(java.lang.String uuid, long groupId)
380                    throws com.liferay.portal.kernel.exception.SystemException;
381    
382            /**
383            * Returns all the bookmarks entries where uuid = &#63; and companyId = &#63;.
384            *
385            * @param uuid the uuid
386            * @param companyId the company ID
387            * @return the matching bookmarks entries
388            * @throws SystemException if a system exception occurred
389            */
390            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid_C(
391                    java.lang.String uuid, long companyId)
392                    throws com.liferay.portal.kernel.exception.SystemException;
393    
394            /**
395            * Returns a range of all the bookmarks entries where uuid = &#63; and companyId = &#63;.
396            *
397            * <p>
398            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
399            * </p>
400            *
401            * @param uuid the uuid
402            * @param companyId the company ID
403            * @param start the lower bound of the range of bookmarks entries
404            * @param end the upper bound of the range of bookmarks entries (not inclusive)
405            * @return the range of matching bookmarks entries
406            * @throws SystemException if a system exception occurred
407            */
408            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid_C(
409                    java.lang.String uuid, long companyId, int start, int end)
410                    throws com.liferay.portal.kernel.exception.SystemException;
411    
412            /**
413            * Returns an ordered range of all the bookmarks entries where uuid = &#63; and companyId = &#63;.
414            *
415            * <p>
416            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
417            * </p>
418            *
419            * @param uuid the uuid
420            * @param companyId the company ID
421            * @param start the lower bound of the range of bookmarks entries
422            * @param end the upper bound of the range of bookmarks entries (not inclusive)
423            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
424            * @return the ordered range of matching bookmarks entries
425            * @throws SystemException if a system exception occurred
426            */
427            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid_C(
428                    java.lang.String uuid, long companyId, int start, int end,
429                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
430                    throws com.liferay.portal.kernel.exception.SystemException;
431    
432            /**
433            * Returns the first bookmarks entry in the ordered set where uuid = &#63; and companyId = &#63;.
434            *
435            * @param uuid the uuid
436            * @param companyId the company ID
437            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
438            * @return the first matching bookmarks entry
439            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
440            * @throws SystemException if a system exception occurred
441            */
442            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_C_First(
443                    java.lang.String uuid, long companyId,
444                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
445                    throws com.liferay.portal.kernel.exception.SystemException,
446                            com.liferay.portlet.bookmarks.NoSuchEntryException;
447    
448            /**
449            * Returns the first bookmarks entry in the ordered set where uuid = &#63; and companyId = &#63;.
450            *
451            * @param uuid the uuid
452            * @param companyId the company ID
453            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
454            * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
455            * @throws SystemException if a system exception occurred
456            */
457            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUuid_C_First(
458                    java.lang.String uuid, long companyId,
459                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
460                    throws com.liferay.portal.kernel.exception.SystemException;
461    
462            /**
463            * Returns the last bookmarks entry in the ordered set where uuid = &#63; and companyId = &#63;.
464            *
465            * @param uuid the uuid
466            * @param companyId the company ID
467            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
468            * @return the last matching bookmarks entry
469            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
470            * @throws SystemException if a system exception occurred
471            */
472            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_C_Last(
473                    java.lang.String uuid, long companyId,
474                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
475                    throws com.liferay.portal.kernel.exception.SystemException,
476                            com.liferay.portlet.bookmarks.NoSuchEntryException;
477    
478            /**
479            * Returns the last bookmarks entry in the ordered set where uuid = &#63; and companyId = &#63;.
480            *
481            * @param uuid the uuid
482            * @param companyId the company ID
483            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
484            * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
485            * @throws SystemException if a system exception occurred
486            */
487            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUuid_C_Last(
488                    java.lang.String uuid, long companyId,
489                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
490                    throws com.liferay.portal.kernel.exception.SystemException;
491    
492            /**
493            * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where uuid = &#63; and companyId = &#63;.
494            *
495            * @param entryId the primary key of the current bookmarks entry
496            * @param uuid the uuid
497            * @param companyId the company ID
498            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
499            * @return the previous, current, and next bookmarks entry
500            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
501            * @throws SystemException if a system exception occurred
502            */
503            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByUuid_C_PrevAndNext(
504                    long entryId, java.lang.String uuid, long companyId,
505                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
506                    throws com.liferay.portal.kernel.exception.SystemException,
507                            com.liferay.portlet.bookmarks.NoSuchEntryException;
508    
509            /**
510            * Removes all the bookmarks entries where uuid = &#63; and companyId = &#63; from the database.
511            *
512            * @param uuid the uuid
513            * @param companyId the company ID
514            * @throws SystemException if a system exception occurred
515            */
516            public void removeByUuid_C(java.lang.String uuid, long companyId)
517                    throws com.liferay.portal.kernel.exception.SystemException;
518    
519            /**
520            * Returns the number of bookmarks entries where uuid = &#63; and companyId = &#63;.
521            *
522            * @param uuid the uuid
523            * @param companyId the company ID
524            * @return the number of matching bookmarks entries
525            * @throws SystemException if a system exception occurred
526            */
527            public int countByUuid_C(java.lang.String uuid, long companyId)
528                    throws com.liferay.portal.kernel.exception.SystemException;
529    
530            /**
531            * Returns all the bookmarks entries where companyId = &#63;.
532            *
533            * @param companyId the company ID
534            * @return the matching bookmarks entries
535            * @throws SystemException if a system exception occurred
536            */
537            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByCompanyId(
538                    long companyId)
539                    throws com.liferay.portal.kernel.exception.SystemException;
540    
541            /**
542            * Returns a range of all the bookmarks entries where companyId = &#63;.
543            *
544            * <p>
545            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
546            * </p>
547            *
548            * @param companyId the company ID
549            * @param start the lower bound of the range of bookmarks entries
550            * @param end the upper bound of the range of bookmarks entries (not inclusive)
551            * @return the range of matching bookmarks entries
552            * @throws SystemException if a system exception occurred
553            */
554            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByCompanyId(
555                    long companyId, int start, int end)
556                    throws com.liferay.portal.kernel.exception.SystemException;
557    
558            /**
559            * Returns an ordered range of all the bookmarks entries where companyId = &#63;.
560            *
561            * <p>
562            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
563            * </p>
564            *
565            * @param companyId the company ID
566            * @param start the lower bound of the range of bookmarks entries
567            * @param end the upper bound of the range of bookmarks entries (not inclusive)
568            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
569            * @return the ordered range of matching bookmarks entries
570            * @throws SystemException if a system exception occurred
571            */
572            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByCompanyId(
573                    long companyId, int start, int end,
574                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
575                    throws com.liferay.portal.kernel.exception.SystemException;
576    
577            /**
578            * Returns the first bookmarks entry in the ordered set where companyId = &#63;.
579            *
580            * @param companyId the company ID
581            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
582            * @return the first matching bookmarks entry
583            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
584            * @throws SystemException if a system exception occurred
585            */
586            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByCompanyId_First(
587                    long companyId,
588                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
589                    throws com.liferay.portal.kernel.exception.SystemException,
590                            com.liferay.portlet.bookmarks.NoSuchEntryException;
591    
592            /**
593            * Returns the first bookmarks entry in the ordered set where companyId = &#63;.
594            *
595            * @param companyId the company ID
596            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
597            * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
598            * @throws SystemException if a system exception occurred
599            */
600            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByCompanyId_First(
601                    long companyId,
602                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
603                    throws com.liferay.portal.kernel.exception.SystemException;
604    
605            /**
606            * Returns the last bookmarks entry in the ordered set where companyId = &#63;.
607            *
608            * @param companyId the company ID
609            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
610            * @return the last matching bookmarks entry
611            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
612            * @throws SystemException if a system exception occurred
613            */
614            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByCompanyId_Last(
615                    long companyId,
616                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
617                    throws com.liferay.portal.kernel.exception.SystemException,
618                            com.liferay.portlet.bookmarks.NoSuchEntryException;
619    
620            /**
621            * Returns the last bookmarks entry in the ordered set where companyId = &#63;.
622            *
623            * @param companyId the company ID
624            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
625            * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
626            * @throws SystemException if a system exception occurred
627            */
628            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByCompanyId_Last(
629                    long companyId,
630                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
631                    throws com.liferay.portal.kernel.exception.SystemException;
632    
633            /**
634            * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where companyId = &#63;.
635            *
636            * @param entryId the primary key of the current bookmarks entry
637            * @param companyId the company ID
638            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
639            * @return the previous, current, and next bookmarks entry
640            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
641            * @throws SystemException if a system exception occurred
642            */
643            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByCompanyId_PrevAndNext(
644                    long entryId, long companyId,
645                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
646                    throws com.liferay.portal.kernel.exception.SystemException,
647                            com.liferay.portlet.bookmarks.NoSuchEntryException;
648    
649            /**
650            * Removes all the bookmarks entries where companyId = &#63; from the database.
651            *
652            * @param companyId the company ID
653            * @throws SystemException if a system exception occurred
654            */
655            public void removeByCompanyId(long companyId)
656                    throws com.liferay.portal.kernel.exception.SystemException;
657    
658            /**
659            * Returns the number of bookmarks entries where companyId = &#63;.
660            *
661            * @param companyId the company ID
662            * @return the number of matching bookmarks entries
663            * @throws SystemException if a system exception occurred
664            */
665            public int countByCompanyId(long companyId)
666                    throws com.liferay.portal.kernel.exception.SystemException;
667    
668            /**
669            * Returns all the bookmarks entries where groupId = &#63; and folderId = &#63;.
670            *
671            * @param groupId the group ID
672            * @param folderId the folder ID
673            * @return the matching bookmarks entries
674            * @throws SystemException if a system exception occurred
675            */
676            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
677                    long groupId, long folderId)
678                    throws com.liferay.portal.kernel.exception.SystemException;
679    
680            /**
681            * Returns a range of all the bookmarks entries where groupId = &#63; and folderId = &#63;.
682            *
683            * <p>
684            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
685            * </p>
686            *
687            * @param groupId the group ID
688            * @param folderId the folder ID
689            * @param start the lower bound of the range of bookmarks entries
690            * @param end the upper bound of the range of bookmarks entries (not inclusive)
691            * @return the range of matching bookmarks entries
692            * @throws SystemException if a system exception occurred
693            */
694            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
695                    long groupId, long folderId, int start, int end)
696                    throws com.liferay.portal.kernel.exception.SystemException;
697    
698            /**
699            * Returns an ordered range of all the bookmarks entries where groupId = &#63; and folderId = &#63;.
700            *
701            * <p>
702            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
703            * </p>
704            *
705            * @param groupId the group ID
706            * @param folderId the folder ID
707            * @param start the lower bound of the range of bookmarks entries
708            * @param end the upper bound of the range of bookmarks entries (not inclusive)
709            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
710            * @return the ordered range of matching bookmarks entries
711            * @throws SystemException if a system exception occurred
712            */
713            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
714                    long groupId, long folderId, int start, int end,
715                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
716                    throws com.liferay.portal.kernel.exception.SystemException;
717    
718            /**
719            * Returns the first bookmarks entry in the ordered set where groupId = &#63; and folderId = &#63;.
720            *
721            * @param groupId the group ID
722            * @param folderId the folder ID
723            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
724            * @return the first matching bookmarks entry
725            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
726            * @throws SystemException if a system exception occurred
727            */
728            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_First(
729                    long groupId, long folderId,
730                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
731                    throws com.liferay.portal.kernel.exception.SystemException,
732                            com.liferay.portlet.bookmarks.NoSuchEntryException;
733    
734            /**
735            * Returns the first bookmarks entry in the ordered set where groupId = &#63; and folderId = &#63;.
736            *
737            * @param groupId the group ID
738            * @param folderId the folder ID
739            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
740            * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
741            * @throws SystemException if a system exception occurred
742            */
743            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_F_First(
744                    long groupId, long folderId,
745                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
746                    throws com.liferay.portal.kernel.exception.SystemException;
747    
748            /**
749            * Returns the last bookmarks entry in the ordered set where groupId = &#63; and folderId = &#63;.
750            *
751            * @param groupId the group ID
752            * @param folderId the folder ID
753            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
754            * @return the last matching bookmarks entry
755            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
756            * @throws SystemException if a system exception occurred
757            */
758            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_Last(
759                    long groupId, long folderId,
760                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
761                    throws com.liferay.portal.kernel.exception.SystemException,
762                            com.liferay.portlet.bookmarks.NoSuchEntryException;
763    
764            /**
765            * Returns the last bookmarks entry in the ordered set where groupId = &#63; and folderId = &#63;.
766            *
767            * @param groupId the group ID
768            * @param folderId the folder ID
769            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
770            * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
771            * @throws SystemException if a system exception occurred
772            */
773            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_F_Last(
774                    long groupId, long folderId,
775                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
776                    throws com.liferay.portal.kernel.exception.SystemException;
777    
778            /**
779            * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = &#63; and folderId = &#63;.
780            *
781            * @param entryId the primary key of the current bookmarks entry
782            * @param groupId the group ID
783            * @param folderId the folder ID
784            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
785            * @return the previous, current, and next bookmarks entry
786            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
787            * @throws SystemException if a system exception occurred
788            */
789            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_F_PrevAndNext(
790                    long entryId, long groupId, long folderId,
791                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
792                    throws com.liferay.portal.kernel.exception.SystemException,
793                            com.liferay.portlet.bookmarks.NoSuchEntryException;
794    
795            /**
796            * Returns all the bookmarks entries that the user has permission to view where groupId = &#63; and folderId = &#63;.
797            *
798            * @param groupId the group ID
799            * @param folderId the folder ID
800            * @return the matching bookmarks entries that the user has permission to view
801            * @throws SystemException if a system exception occurred
802            */
803            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
804                    long groupId, long folderId)
805                    throws com.liferay.portal.kernel.exception.SystemException;
806    
807            /**
808            * Returns a range of all the bookmarks entries that the user has permission to view where groupId = &#63; and folderId = &#63;.
809            *
810            * <p>
811            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
812            * </p>
813            *
814            * @param groupId the group ID
815            * @param folderId the folder ID
816            * @param start the lower bound of the range of bookmarks entries
817            * @param end the upper bound of the range of bookmarks entries (not inclusive)
818            * @return the range of matching bookmarks entries that the user has permission to view
819            * @throws SystemException if a system exception occurred
820            */
821            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
822                    long groupId, long folderId, int start, int end)
823                    throws com.liferay.portal.kernel.exception.SystemException;
824    
825            /**
826            * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = &#63; and folderId = &#63;.
827            *
828            * <p>
829            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
830            * </p>
831            *
832            * @param groupId the group ID
833            * @param folderId the folder ID
834            * @param start the lower bound of the range of bookmarks entries
835            * @param end the upper bound of the range of bookmarks entries (not inclusive)
836            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
837            * @return the ordered range of matching bookmarks entries that the user has permission to view
838            * @throws SystemException if a system exception occurred
839            */
840            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
841                    long groupId, long folderId, int start, int end,
842                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
843                    throws com.liferay.portal.kernel.exception.SystemException;
844    
845            /**
846            * 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;.
847            *
848            * @param entryId the primary key of the current bookmarks entry
849            * @param groupId the group ID
850            * @param folderId the folder ID
851            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
852            * @return the previous, current, and next bookmarks entry
853            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
854            * @throws SystemException if a system exception occurred
855            */
856            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_F_PrevAndNext(
857                    long entryId, long groupId, long folderId,
858                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
859                    throws com.liferay.portal.kernel.exception.SystemException,
860                            com.liferay.portlet.bookmarks.NoSuchEntryException;
861    
862            /**
863            * Returns all the bookmarks entries that the user has permission to view where groupId = &#63; and folderId = any &#63;.
864            *
865            * @param groupId the group ID
866            * @param folderIds the folder IDs
867            * @return the matching bookmarks entries that the user has permission to view
868            * @throws SystemException if a system exception occurred
869            */
870            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
871                    long groupId, long[] folderIds)
872                    throws com.liferay.portal.kernel.exception.SystemException;
873    
874            /**
875            * Returns a range of all the bookmarks entries that the user has permission to view where groupId = &#63; and folderId = any &#63;.
876            *
877            * <p>
878            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
879            * </p>
880            *
881            * @param groupId the group ID
882            * @param folderIds the folder IDs
883            * @param start the lower bound of the range of bookmarks entries
884            * @param end the upper bound of the range of bookmarks entries (not inclusive)
885            * @return the range of matching bookmarks entries that the user has permission to view
886            * @throws SystemException if a system exception occurred
887            */
888            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
889                    long groupId, long[] folderIds, int start, int end)
890                    throws com.liferay.portal.kernel.exception.SystemException;
891    
892            /**
893            * Returns an ordered range of all the bookmarks entries that the user has permission to view where groupId = &#63; and folderId = any &#63;.
894            *
895            * <p>
896            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
897            * </p>
898            *
899            * @param groupId the group ID
900            * @param folderIds the folder IDs
901            * @param start the lower bound of the range of bookmarks entries
902            * @param end the upper bound of the range of bookmarks entries (not inclusive)
903            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
904            * @return the ordered range of matching bookmarks entries that the user has permission to view
905            * @throws SystemException if a system exception occurred
906            */
907            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
908                    long groupId, long[] folderIds, int start, int end,
909                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
910                    throws com.liferay.portal.kernel.exception.SystemException;
911    
912            /**
913            * Returns all the bookmarks entries where groupId = &#63; and folderId = any &#63;.
914            *
915            * <p>
916            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
917            * </p>
918            *
919            * @param groupId the group ID
920            * @param folderIds the folder IDs
921            * @return the matching bookmarks entries
922            * @throws SystemException if a system exception occurred
923            */
924            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
925                    long groupId, long[] folderIds)
926                    throws com.liferay.portal.kernel.exception.SystemException;
927    
928            /**
929            * Returns a range of all the bookmarks entries where groupId = &#63; and folderId = any &#63;.
930            *
931            * <p>
932            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
933            * </p>
934            *
935            * @param groupId the group ID
936            * @param folderIds the folder IDs
937            * @param start the lower bound of the range of bookmarks entries
938            * @param end the upper bound of the range of bookmarks entries (not inclusive)
939            * @return the range of matching bookmarks entries
940            * @throws SystemException if a system exception occurred
941            */
942            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
943                    long groupId, long[] folderIds, int start, int end)
944                    throws com.liferay.portal.kernel.exception.SystemException;
945    
946            /**
947            * Returns an ordered range of all the bookmarks entries 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
958            * @return the ordered range of matching bookmarks entries
959            * @throws SystemException if a system exception occurred
960            */
961            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
962                    long groupId, long[] folderIds, int start, int end,
963                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
964                    throws com.liferay.portal.kernel.exception.SystemException;
965    
966            /**
967            * Removes all the bookmarks entries where groupId = &#63; and folderId = &#63; from the database.
968            *
969            * @param groupId the group ID
970            * @param folderId the folder ID
971            * @throws SystemException if a system exception occurred
972            */
973            public void removeByG_F(long groupId, long folderId)
974                    throws com.liferay.portal.kernel.exception.SystemException;
975    
976            /**
977            * Returns the number of bookmarks entries where groupId = &#63; and folderId = &#63;.
978            *
979            * @param groupId the group ID
980            * @param folderId the folder ID
981            * @return the number of matching bookmarks entries
982            * @throws SystemException if a system exception occurred
983            */
984            public int countByG_F(long groupId, long folderId)
985                    throws com.liferay.portal.kernel.exception.SystemException;
986    
987            /**
988            * Returns the number of bookmarks entries where groupId = &#63; and folderId = any &#63;.
989            *
990            * @param groupId the group ID
991            * @param folderIds the folder IDs
992            * @return the number of matching bookmarks entries
993            * @throws SystemException if a system exception occurred
994            */
995            public int countByG_F(long groupId, long[] folderIds)
996                    throws com.liferay.portal.kernel.exception.SystemException;
997    
998            /**
999            * Returns the number of bookmarks entries that the user has permission to view where groupId = &#63; and folderId = &#63;.
1000            *
1001            * @param groupId the group ID
1002            * @param folderId the folder ID
1003            * @return the number of matching bookmarks entries that the user has permission to view
1004            * @throws SystemException if a system exception occurred
1005            */
1006            public int filterCountByG_F(long groupId, long folderId)
1007                    throws com.liferay.portal.kernel.exception.SystemException;
1008    
1009            /**
1010            * Returns the number of bookmarks entries that the user has permission to view where groupId = &#63; and folderId = any &#63;.
1011            *
1012            * @param groupId the group ID
1013            * @param folderIds the folder IDs
1014            * @return the number of matching bookmarks entries that the user has permission to view
1015            * @throws SystemException if a system exception occurred
1016            */
1017            public int filterCountByG_F(long groupId, long[] folderIds)
1018                    throws com.liferay.portal.kernel.exception.SystemException;
1019    
1020            /**
1021            * Returns all the bookmarks entries where groupId = &#63; and status = &#63;.
1022            *
1023            * @param groupId the group ID
1024            * @param status the status
1025            * @return the matching bookmarks entries
1026            * @throws SystemException if a system exception occurred
1027            */
1028            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_S(
1029                    long groupId, int status)
1030                    throws com.liferay.portal.kernel.exception.SystemException;
1031    
1032            /**
1033            * Returns a range of all the bookmarks entries where groupId = &#63; and status = &#63;.
1034            *
1035            * <p>
1036            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1037            * </p>
1038            *
1039            * @param groupId the group ID
1040            * @param status the status
1041            * @param start the lower bound of the range of bookmarks entries
1042            * @param end the upper bound of the range of bookmarks entries (not inclusive)
1043            * @return the range of matching bookmarks entries
1044            * @throws SystemException if a system exception occurred
1045            */
1046            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_S(
1047                    long groupId, int status, int start, int end)
1048                    throws com.liferay.portal.kernel.exception.SystemException;
1049    
1050            /**
1051            * Returns an ordered range of all the bookmarks entries where groupId = &#63; and status = &#63;.
1052            *
1053            * <p>
1054            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1055            * </p>
1056            *
1057            * @param groupId the group ID
1058            * @param status the status
1059            * @param start the lower bound of the range of bookmarks entries
1060            * @param end the upper bound of the range of bookmarks entries (not inclusive)
1061            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1062            * @return the ordered range of matching bookmarks entries
1063            * @throws SystemException if a system exception occurred
1064            */
1065            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_S(
1066                    long groupId, int status, int start, int end,
1067                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1068                    throws com.liferay.portal.kernel.exception.SystemException;
1069    
1070            /**
1071            * Returns the first bookmarks entry in the ordered set where groupId = &#63; and status = &#63;.
1072            *
1073            * @param groupId the group ID
1074            * @param status the status
1075            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1076            * @return the first matching bookmarks entry
1077            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
1078            * @throws SystemException if a system exception occurred
1079            */
1080            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_S_First(
1081                    long groupId, int status,
1082                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1083                    throws com.liferay.portal.kernel.exception.SystemException,
1084                            com.liferay.portlet.bookmarks.NoSuchEntryException;
1085    
1086            /**
1087            * Returns the first bookmarks entry in the ordered set where groupId = &#63; and status = &#63;.
1088            *
1089            * @param groupId the group ID
1090            * @param status the status
1091            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1092            * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
1093            * @throws SystemException if a system exception occurred
1094            */
1095            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_S_First(
1096                    long groupId, int status,
1097                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1098                    throws com.liferay.portal.kernel.exception.SystemException;
1099    
1100            /**
1101            * Returns the last bookmarks entry in the ordered set where groupId = &#63; and status = &#63;.
1102            *
1103            * @param groupId the group ID
1104            * @param status the status
1105            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1106            * @return the last matching bookmarks entry
1107            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
1108            * @throws SystemException if a system exception occurred
1109            */
1110            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_S_Last(
1111                    long groupId, int status,
1112                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1113                    throws com.liferay.portal.kernel.exception.SystemException,
1114                            com.liferay.portlet.bookmarks.NoSuchEntryException;
1115    
1116            /**
1117            * Returns the last bookmarks entry in the ordered set where groupId = &#63; and status = &#63;.
1118            *
1119            * @param groupId the group ID
1120            * @param status the status
1121            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1122            * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
1123            * @throws SystemException if a system exception occurred
1124            */
1125            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_S_Last(
1126                    long groupId, int status,
1127                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1128                    throws com.liferay.portal.kernel.exception.SystemException;
1129    
1130            /**
1131            * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = &#63; and status = &#63;.
1132            *
1133            * @param entryId the primary key of the current bookmarks entry
1134            * @param groupId the group ID
1135            * @param status the status
1136            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1137            * @return the previous, current, and next bookmarks entry
1138            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
1139            * @throws SystemException if a system exception occurred
1140            */
1141            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_S_PrevAndNext(
1142                    long entryId, long groupId, int status,
1143                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1144                    throws com.liferay.portal.kernel.exception.SystemException,
1145                            com.liferay.portlet.bookmarks.NoSuchEntryException;
1146    
1147            /**
1148            * Returns all the bookmarks entries that the user has permission to view where groupId = &#63; and status = &#63;.
1149            *
1150            * @param groupId the group ID
1151            * @param status the status
1152            * @return the matching bookmarks entries that the user has permission to view
1153            * @throws SystemException if a system exception occurred
1154            */
1155            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_S(
1156                    long groupId, int status)
1157                    throws com.liferay.portal.kernel.exception.SystemException;
1158    
1159            /**
1160            * Returns a range of all the bookmarks entries that the user has permission to view where groupId = &#63; and status = &#63;.
1161            *
1162            * <p>
1163            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1164            * </p>
1165            *
1166            * @param groupId the group ID
1167            * @param status the status
1168            * @param start the lower bound of the range of bookmarks entries
1169            * @param end the upper bound of the range of bookmarks entries (not inclusive)
1170            * @return the range of matching bookmarks entries that the user has permission to view
1171            * @throws SystemException if a system exception occurred
1172            */
1173            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_S(
1174                    long groupId, int status, int start, int end)
1175                    throws com.liferay.portal.kernel.exception.SystemException;
1176    
1177            /**
1178            * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = &#63; and status = &#63;.
1179            *
1180            * <p>
1181            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1182            * </p>
1183            *
1184            * @param groupId the group ID
1185            * @param status the status
1186            * @param start the lower bound of the range of bookmarks entries
1187            * @param end the upper bound of the range of bookmarks entries (not inclusive)
1188            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1189            * @return the ordered range of matching bookmarks entries that the user has permission to view
1190            * @throws SystemException if a system exception occurred
1191            */
1192            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_S(
1193                    long groupId, int status, int start, int end,
1194                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1195                    throws com.liferay.portal.kernel.exception.SystemException;
1196    
1197            /**
1198            * 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 status = &#63;.
1199            *
1200            * @param entryId the primary key of the current bookmarks entry
1201            * @param groupId the group ID
1202            * @param status the status
1203            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1204            * @return the previous, current, and next bookmarks entry
1205            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
1206            * @throws SystemException if a system exception occurred
1207            */
1208            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_S_PrevAndNext(
1209                    long entryId, long groupId, int status,
1210                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1211                    throws com.liferay.portal.kernel.exception.SystemException,
1212                            com.liferay.portlet.bookmarks.NoSuchEntryException;
1213    
1214            /**
1215            * Removes all the bookmarks entries where groupId = &#63; and status = &#63; from the database.
1216            *
1217            * @param groupId the group ID
1218            * @param status the status
1219            * @throws SystemException if a system exception occurred
1220            */
1221            public void removeByG_S(long groupId, int status)
1222                    throws com.liferay.portal.kernel.exception.SystemException;
1223    
1224            /**
1225            * Returns the number of bookmarks entries where groupId = &#63; and status = &#63;.
1226            *
1227            * @param groupId the group ID
1228            * @param status the status
1229            * @return the number of matching bookmarks entries
1230            * @throws SystemException if a system exception occurred
1231            */
1232            public int countByG_S(long groupId, int status)
1233                    throws com.liferay.portal.kernel.exception.SystemException;
1234    
1235            /**
1236            * Returns the number of bookmarks entries that the user has permission to view where groupId = &#63; and status = &#63;.
1237            *
1238            * @param groupId the group ID
1239            * @param status the status
1240            * @return the number of matching bookmarks entries that the user has permission to view
1241            * @throws SystemException if a system exception occurred
1242            */
1243            public int filterCountByG_S(long groupId, int status)
1244                    throws com.liferay.portal.kernel.exception.SystemException;
1245    
1246            /**
1247            * Returns all the bookmarks entries where groupId = &#63; and status &ne; &#63;.
1248            *
1249            * @param groupId the group ID
1250            * @param status the status
1251            * @return the matching bookmarks entries
1252            * @throws SystemException if a system exception occurred
1253            */
1254            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_NotS(
1255                    long groupId, int status)
1256                    throws com.liferay.portal.kernel.exception.SystemException;
1257    
1258            /**
1259            * Returns a range of all the bookmarks entries where groupId = &#63; and status &ne; &#63;.
1260            *
1261            * <p>
1262            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1263            * </p>
1264            *
1265            * @param groupId the group ID
1266            * @param status the status
1267            * @param start the lower bound of the range of bookmarks entries
1268            * @param end the upper bound of the range of bookmarks entries (not inclusive)
1269            * @return the range of matching bookmarks entries
1270            * @throws SystemException if a system exception occurred
1271            */
1272            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_NotS(
1273                    long groupId, int status, int start, int end)
1274                    throws com.liferay.portal.kernel.exception.SystemException;
1275    
1276            /**
1277            * Returns an ordered range of all the bookmarks entries where groupId = &#63; and status &ne; &#63;.
1278            *
1279            * <p>
1280            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1281            * </p>
1282            *
1283            * @param groupId the group ID
1284            * @param status the status
1285            * @param start the lower bound of the range of bookmarks entries
1286            * @param end the upper bound of the range of bookmarks entries (not inclusive)
1287            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1288            * @return the ordered range of matching bookmarks entries
1289            * @throws SystemException if a system exception occurred
1290            */
1291            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_NotS(
1292                    long groupId, int status, int start, int end,
1293                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1294                    throws com.liferay.portal.kernel.exception.SystemException;
1295    
1296            /**
1297            * Returns the first bookmarks entry in the ordered set where groupId = &#63; and status &ne; &#63;.
1298            *
1299            * @param groupId the group ID
1300            * @param status the status
1301            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1302            * @return the first matching bookmarks entry
1303            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
1304            * @throws SystemException if a system exception occurred
1305            */
1306            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_NotS_First(
1307                    long groupId, int status,
1308                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1309                    throws com.liferay.portal.kernel.exception.SystemException,
1310                            com.liferay.portlet.bookmarks.NoSuchEntryException;
1311    
1312            /**
1313            * Returns the first bookmarks entry in the ordered set where groupId = &#63; and status &ne; &#63;.
1314            *
1315            * @param groupId the group ID
1316            * @param status the status
1317            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1318            * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
1319            * @throws SystemException if a system exception occurred
1320            */
1321            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_NotS_First(
1322                    long groupId, int status,
1323                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1324                    throws com.liferay.portal.kernel.exception.SystemException;
1325    
1326            /**
1327            * Returns the last bookmarks entry in the ordered set where groupId = &#63; and status &ne; &#63;.
1328            *
1329            * @param groupId the group ID
1330            * @param status the status
1331            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1332            * @return the last matching bookmarks entry
1333            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
1334            * @throws SystemException if a system exception occurred
1335            */
1336            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_NotS_Last(
1337                    long groupId, int status,
1338                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1339                    throws com.liferay.portal.kernel.exception.SystemException,
1340                            com.liferay.portlet.bookmarks.NoSuchEntryException;
1341    
1342            /**
1343            * Returns the last bookmarks entry in the ordered set where groupId = &#63; and status &ne; &#63;.
1344            *
1345            * @param groupId the group ID
1346            * @param status the status
1347            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1348            * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
1349            * @throws SystemException if a system exception occurred
1350            */
1351            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_NotS_Last(
1352                    long groupId, int status,
1353                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1354                    throws com.liferay.portal.kernel.exception.SystemException;
1355    
1356            /**
1357            * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = &#63; and status &ne; &#63;.
1358            *
1359            * @param entryId the primary key of the current bookmarks entry
1360            * @param groupId the group ID
1361            * @param status the status
1362            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1363            * @return the previous, current, and next bookmarks entry
1364            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
1365            * @throws SystemException if a system exception occurred
1366            */
1367            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_NotS_PrevAndNext(
1368                    long entryId, long groupId, int status,
1369                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1370                    throws com.liferay.portal.kernel.exception.SystemException,
1371                            com.liferay.portlet.bookmarks.NoSuchEntryException;
1372    
1373            /**
1374            * Returns all the bookmarks entries that the user has permission to view where groupId = &#63; and status &ne; &#63;.
1375            *
1376            * @param groupId the group ID
1377            * @param status the status
1378            * @return the matching bookmarks entries that the user has permission to view
1379            * @throws SystemException if a system exception occurred
1380            */
1381            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_NotS(
1382                    long groupId, int status)
1383                    throws com.liferay.portal.kernel.exception.SystemException;
1384    
1385            /**
1386            * Returns a range of all the bookmarks entries that the user has permission to view where groupId = &#63; and status &ne; &#63;.
1387            *
1388            * <p>
1389            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1390            * </p>
1391            *
1392            * @param groupId the group ID
1393            * @param status the status
1394            * @param start the lower bound of the range of bookmarks entries
1395            * @param end the upper bound of the range of bookmarks entries (not inclusive)
1396            * @return the range of matching bookmarks entries that the user has permission to view
1397            * @throws SystemException if a system exception occurred
1398            */
1399            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_NotS(
1400                    long groupId, int status, int start, int end)
1401                    throws com.liferay.portal.kernel.exception.SystemException;
1402    
1403            /**
1404            * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = &#63; and status &ne; &#63;.
1405            *
1406            * <p>
1407            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1408            * </p>
1409            *
1410            * @param groupId the group ID
1411            * @param status the status
1412            * @param start the lower bound of the range of bookmarks entries
1413            * @param end the upper bound of the range of bookmarks entries (not inclusive)
1414            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1415            * @return the ordered range of matching bookmarks entries that the user has permission to view
1416            * @throws SystemException if a system exception occurred
1417            */
1418            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_NotS(
1419                    long groupId, int status, int start, int end,
1420                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1421                    throws com.liferay.portal.kernel.exception.SystemException;
1422    
1423            /**
1424            * 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 status &ne; &#63;.
1425            *
1426            * @param entryId the primary key of the current bookmarks entry
1427            * @param groupId the group ID
1428            * @param status the status
1429            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1430            * @return the previous, current, and next bookmarks entry
1431            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
1432            * @throws SystemException if a system exception occurred
1433            */
1434            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_NotS_PrevAndNext(
1435                    long entryId, long groupId, int status,
1436                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1437                    throws com.liferay.portal.kernel.exception.SystemException,
1438                            com.liferay.portlet.bookmarks.NoSuchEntryException;
1439    
1440            /**
1441            * Removes all the bookmarks entries where groupId = &#63; and status &ne; &#63; from the database.
1442            *
1443            * @param groupId the group ID
1444            * @param status the status
1445            * @throws SystemException if a system exception occurred
1446            */
1447            public void removeByG_NotS(long groupId, int status)
1448                    throws com.liferay.portal.kernel.exception.SystemException;
1449    
1450            /**
1451            * Returns the number of bookmarks entries where groupId = &#63; and status &ne; &#63;.
1452            *
1453            * @param groupId the group ID
1454            * @param status the status
1455            * @return the number of matching bookmarks entries
1456            * @throws SystemException if a system exception occurred
1457            */
1458            public int countByG_NotS(long groupId, int status)
1459                    throws com.liferay.portal.kernel.exception.SystemException;
1460    
1461            /**
1462            * Returns the number of bookmarks entries that the user has permission to view where groupId = &#63; and status &ne; &#63;.
1463            *
1464            * @param groupId the group ID
1465            * @param status the status
1466            * @return the number of matching bookmarks entries that the user has permission to view
1467            * @throws SystemException if a system exception occurred
1468            */
1469            public int filterCountByG_NotS(long groupId, int status)
1470                    throws com.liferay.portal.kernel.exception.SystemException;
1471    
1472            /**
1473            * Returns all the bookmarks entries where companyId = &#63; and status &ne; &#63;.
1474            *
1475            * @param companyId the company ID
1476            * @param status the status
1477            * @return the matching bookmarks entries
1478            * @throws SystemException if a system exception occurred
1479            */
1480            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByC_NotS(
1481                    long companyId, int status)
1482                    throws com.liferay.portal.kernel.exception.SystemException;
1483    
1484            /**
1485            * Returns a range of all the bookmarks entries where companyId = &#63; and status &ne; &#63;.
1486            *
1487            * <p>
1488            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1489            * </p>
1490            *
1491            * @param companyId the company ID
1492            * @param status the status
1493            * @param start the lower bound of the range of bookmarks entries
1494            * @param end the upper bound of the range of bookmarks entries (not inclusive)
1495            * @return the range of matching bookmarks entries
1496            * @throws SystemException if a system exception occurred
1497            */
1498            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByC_NotS(
1499                    long companyId, int status, int start, int end)
1500                    throws com.liferay.portal.kernel.exception.SystemException;
1501    
1502            /**
1503            * Returns an ordered range of all the bookmarks entries where companyId = &#63; and status &ne; &#63;.
1504            *
1505            * <p>
1506            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1507            * </p>
1508            *
1509            * @param companyId the company ID
1510            * @param status the status
1511            * @param start the lower bound of the range of bookmarks entries
1512            * @param end the upper bound of the range of bookmarks entries (not inclusive)
1513            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1514            * @return the ordered range of matching bookmarks entries
1515            * @throws SystemException if a system exception occurred
1516            */
1517            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByC_NotS(
1518                    long companyId, int status, int start, int end,
1519                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1520                    throws com.liferay.portal.kernel.exception.SystemException;
1521    
1522            /**
1523            * Returns the first bookmarks entry in the ordered set where companyId = &#63; and status &ne; &#63;.
1524            *
1525            * @param companyId the company ID
1526            * @param status the status
1527            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1528            * @return the first matching bookmarks entry
1529            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
1530            * @throws SystemException if a system exception occurred
1531            */
1532            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByC_NotS_First(
1533                    long companyId, int status,
1534                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1535                    throws com.liferay.portal.kernel.exception.SystemException,
1536                            com.liferay.portlet.bookmarks.NoSuchEntryException;
1537    
1538            /**
1539            * Returns the first bookmarks entry in the ordered set where companyId = &#63; and status &ne; &#63;.
1540            *
1541            * @param companyId the company ID
1542            * @param status the status
1543            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1544            * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
1545            * @throws SystemException if a system exception occurred
1546            */
1547            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByC_NotS_First(
1548                    long companyId, int status,
1549                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1550                    throws com.liferay.portal.kernel.exception.SystemException;
1551    
1552            /**
1553            * Returns the last bookmarks entry in the ordered set where companyId = &#63; and status &ne; &#63;.
1554            *
1555            * @param companyId the company ID
1556            * @param status the status
1557            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1558            * @return the last matching bookmarks entry
1559            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
1560            * @throws SystemException if a system exception occurred
1561            */
1562            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByC_NotS_Last(
1563                    long companyId, int status,
1564                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1565                    throws com.liferay.portal.kernel.exception.SystemException,
1566                            com.liferay.portlet.bookmarks.NoSuchEntryException;
1567    
1568            /**
1569            * Returns the last bookmarks entry in the ordered set where companyId = &#63; and status &ne; &#63;.
1570            *
1571            * @param companyId the company ID
1572            * @param status the status
1573            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1574            * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
1575            * @throws SystemException if a system exception occurred
1576            */
1577            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByC_NotS_Last(
1578                    long companyId, int status,
1579                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1580                    throws com.liferay.portal.kernel.exception.SystemException;
1581    
1582            /**
1583            * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where companyId = &#63; and status &ne; &#63;.
1584            *
1585            * @param entryId the primary key of the current bookmarks entry
1586            * @param companyId the company ID
1587            * @param status the status
1588            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1589            * @return the previous, current, and next bookmarks entry
1590            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
1591            * @throws SystemException if a system exception occurred
1592            */
1593            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByC_NotS_PrevAndNext(
1594                    long entryId, long companyId, int status,
1595                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1596                    throws com.liferay.portal.kernel.exception.SystemException,
1597                            com.liferay.portlet.bookmarks.NoSuchEntryException;
1598    
1599            /**
1600            * Removes all the bookmarks entries where companyId = &#63; and status &ne; &#63; from the database.
1601            *
1602            * @param companyId the company ID
1603            * @param status the status
1604            * @throws SystemException if a system exception occurred
1605            */
1606            public void removeByC_NotS(long companyId, int status)
1607                    throws com.liferay.portal.kernel.exception.SystemException;
1608    
1609            /**
1610            * Returns the number of bookmarks entries where companyId = &#63; and status &ne; &#63;.
1611            *
1612            * @param companyId the company ID
1613            * @param status the status
1614            * @return the number of matching bookmarks entries
1615            * @throws SystemException if a system exception occurred
1616            */
1617            public int countByC_NotS(long companyId, int status)
1618                    throws com.liferay.portal.kernel.exception.SystemException;
1619    
1620            /**
1621            * Returns all the bookmarks entries where groupId = &#63; and userId = &#63; and status = &#63;.
1622            *
1623            * @param groupId the group ID
1624            * @param userId the user ID
1625            * @param status the status
1626            * @return the matching bookmarks entries
1627            * @throws SystemException if a system exception occurred
1628            */
1629            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_S(
1630                    long groupId, long userId, int status)
1631                    throws com.liferay.portal.kernel.exception.SystemException;
1632    
1633            /**
1634            * Returns a range of all the bookmarks entries where groupId = &#63; and userId = &#63; and status = &#63;.
1635            *
1636            * <p>
1637            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1638            * </p>
1639            *
1640            * @param groupId the group ID
1641            * @param userId the user ID
1642            * @param status the status
1643            * @param start the lower bound of the range of bookmarks entries
1644            * @param end the upper bound of the range of bookmarks entries (not inclusive)
1645            * @return the range of matching bookmarks entries
1646            * @throws SystemException if a system exception occurred
1647            */
1648            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_S(
1649                    long groupId, long userId, int status, int start, int end)
1650                    throws com.liferay.portal.kernel.exception.SystemException;
1651    
1652            /**
1653            * Returns an ordered range of all the bookmarks entries where groupId = &#63; and userId = &#63; and status = &#63;.
1654            *
1655            * <p>
1656            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1657            * </p>
1658            *
1659            * @param groupId the group ID
1660            * @param userId the user ID
1661            * @param status the status
1662            * @param start the lower bound of the range of bookmarks entries
1663            * @param end the upper bound of the range of bookmarks entries (not inclusive)
1664            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1665            * @return the ordered range of matching bookmarks entries
1666            * @throws SystemException if a system exception occurred
1667            */
1668            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_S(
1669                    long groupId, long userId, int status, int start, int end,
1670                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1671                    throws com.liferay.portal.kernel.exception.SystemException;
1672    
1673            /**
1674            * Returns the first bookmarks entry in the ordered set where groupId = &#63; and userId = &#63; and status = &#63;.
1675            *
1676            * @param groupId the group ID
1677            * @param userId the user ID
1678            * @param status the status
1679            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1680            * @return the first matching bookmarks entry
1681            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
1682            * @throws SystemException if a system exception occurred
1683            */
1684            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_S_First(
1685                    long groupId, long userId, int status,
1686                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1687                    throws com.liferay.portal.kernel.exception.SystemException,
1688                            com.liferay.portlet.bookmarks.NoSuchEntryException;
1689    
1690            /**
1691            * Returns the first bookmarks entry in the ordered set where groupId = &#63; and userId = &#63; and status = &#63;.
1692            *
1693            * @param groupId the group ID
1694            * @param userId the user ID
1695            * @param status the status
1696            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1697            * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
1698            * @throws SystemException if a system exception occurred
1699            */
1700            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_U_S_First(
1701                    long groupId, long userId, int status,
1702                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1703                    throws com.liferay.portal.kernel.exception.SystemException;
1704    
1705            /**
1706            * Returns the last bookmarks entry in the ordered set where groupId = &#63; and userId = &#63; and status = &#63;.
1707            *
1708            * @param groupId the group ID
1709            * @param userId the user ID
1710            * @param status the status
1711            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1712            * @return the last matching bookmarks entry
1713            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
1714            * @throws SystemException if a system exception occurred
1715            */
1716            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_S_Last(
1717                    long groupId, long userId, int status,
1718                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1719                    throws com.liferay.portal.kernel.exception.SystemException,
1720                            com.liferay.portlet.bookmarks.NoSuchEntryException;
1721    
1722            /**
1723            * Returns the last bookmarks entry in the ordered set where groupId = &#63; and userId = &#63; and status = &#63;.
1724            *
1725            * @param groupId the group ID
1726            * @param userId the user ID
1727            * @param status the status
1728            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1729            * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
1730            * @throws SystemException if a system exception occurred
1731            */
1732            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_U_S_Last(
1733                    long groupId, long userId, int status,
1734                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1735                    throws com.liferay.portal.kernel.exception.SystemException;
1736    
1737            /**
1738            * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = &#63; and userId = &#63; and status = &#63;.
1739            *
1740            * @param entryId the primary key of the current bookmarks entry
1741            * @param groupId the group ID
1742            * @param userId the user ID
1743            * @param status the status
1744            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1745            * @return the previous, current, and next bookmarks entry
1746            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
1747            * @throws SystemException if a system exception occurred
1748            */
1749            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_U_S_PrevAndNext(
1750                    long entryId, long groupId, long userId, int status,
1751                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1752                    throws com.liferay.portal.kernel.exception.SystemException,
1753                            com.liferay.portlet.bookmarks.NoSuchEntryException;
1754    
1755            /**
1756            * Returns all the bookmarks entries that the user has permission to view where groupId = &#63; and userId = &#63; and status = &#63;.
1757            *
1758            * @param groupId the group ID
1759            * @param userId the user ID
1760            * @param status the status
1761            * @return the matching bookmarks entries that the user has permission to view
1762            * @throws SystemException if a system exception occurred
1763            */
1764            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_S(
1765                    long groupId, long userId, int status)
1766                    throws com.liferay.portal.kernel.exception.SystemException;
1767    
1768            /**
1769            * Returns a range of all the bookmarks entries that the user has permission to view where groupId = &#63; and userId = &#63; and status = &#63;.
1770            *
1771            * <p>
1772            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1773            * </p>
1774            *
1775            * @param groupId the group ID
1776            * @param userId the user ID
1777            * @param status the status
1778            * @param start the lower bound of the range of bookmarks entries
1779            * @param end the upper bound of the range of bookmarks entries (not inclusive)
1780            * @return the range of matching bookmarks entries that the user has permission to view
1781            * @throws SystemException if a system exception occurred
1782            */
1783            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_S(
1784                    long groupId, long userId, int status, int start, int end)
1785                    throws com.liferay.portal.kernel.exception.SystemException;
1786    
1787            /**
1788            * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = &#63; and userId = &#63; and status = &#63;.
1789            *
1790            * <p>
1791            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1792            * </p>
1793            *
1794            * @param groupId the group ID
1795            * @param userId the user ID
1796            * @param status the status
1797            * @param start the lower bound of the range of bookmarks entries
1798            * @param end the upper bound of the range of bookmarks entries (not inclusive)
1799            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1800            * @return the ordered range of matching bookmarks entries that the user has permission to view
1801            * @throws SystemException if a system exception occurred
1802            */
1803            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_S(
1804                    long groupId, long userId, int status, int start, int end,
1805                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1806                    throws com.liferay.portal.kernel.exception.SystemException;
1807    
1808            /**
1809            * 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; and status = &#63;.
1810            *
1811            * @param entryId the primary key of the current bookmarks entry
1812            * @param groupId the group ID
1813            * @param userId the user ID
1814            * @param status the status
1815            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1816            * @return the previous, current, and next bookmarks entry
1817            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
1818            * @throws SystemException if a system exception occurred
1819            */
1820            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_U_S_PrevAndNext(
1821                    long entryId, long groupId, long userId, int status,
1822                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1823                    throws com.liferay.portal.kernel.exception.SystemException,
1824                            com.liferay.portlet.bookmarks.NoSuchEntryException;
1825    
1826            /**
1827            * Removes all the bookmarks entries where groupId = &#63; and userId = &#63; and status = &#63; from the database.
1828            *
1829            * @param groupId the group ID
1830            * @param userId the user ID
1831            * @param status the status
1832            * @throws SystemException if a system exception occurred
1833            */
1834            public void removeByG_U_S(long groupId, long userId, int status)
1835                    throws com.liferay.portal.kernel.exception.SystemException;
1836    
1837            /**
1838            * Returns the number of bookmarks entries where groupId = &#63; and userId = &#63; and status = &#63;.
1839            *
1840            * @param groupId the group ID
1841            * @param userId the user ID
1842            * @param status the status
1843            * @return the number of matching bookmarks entries
1844            * @throws SystemException if a system exception occurred
1845            */
1846            public int countByG_U_S(long groupId, long userId, int status)
1847                    throws com.liferay.portal.kernel.exception.SystemException;
1848    
1849            /**
1850            * Returns the number of bookmarks entries that the user has permission to view where groupId = &#63; and userId = &#63; and status = &#63;.
1851            *
1852            * @param groupId the group ID
1853            * @param userId the user ID
1854            * @param status the status
1855            * @return the number of matching bookmarks entries that the user has permission to view
1856            * @throws SystemException if a system exception occurred
1857            */
1858            public int filterCountByG_U_S(long groupId, long userId, int status)
1859                    throws com.liferay.portal.kernel.exception.SystemException;
1860    
1861            /**
1862            * Returns all the bookmarks entries where groupId = &#63; and userId = &#63; and status &ne; &#63;.
1863            *
1864            * @param groupId the group ID
1865            * @param userId the user ID
1866            * @param status the status
1867            * @return the matching bookmarks entries
1868            * @throws SystemException if a system exception occurred
1869            */
1870            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_NotS(
1871                    long groupId, long userId, int status)
1872                    throws com.liferay.portal.kernel.exception.SystemException;
1873    
1874            /**
1875            * Returns a range of all the bookmarks entries where groupId = &#63; and userId = &#63; and status &ne; &#63;.
1876            *
1877            * <p>
1878            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1879            * </p>
1880            *
1881            * @param groupId the group ID
1882            * @param userId the user ID
1883            * @param status the status
1884            * @param start the lower bound of the range of bookmarks entries
1885            * @param end the upper bound of the range of bookmarks entries (not inclusive)
1886            * @return the range of matching bookmarks entries
1887            * @throws SystemException if a system exception occurred
1888            */
1889            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_NotS(
1890                    long groupId, long userId, int status, int start, int end)
1891                    throws com.liferay.portal.kernel.exception.SystemException;
1892    
1893            /**
1894            * Returns an ordered range of all the bookmarks entries where groupId = &#63; and userId = &#63; and status &ne; &#63;.
1895            *
1896            * <p>
1897            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1898            * </p>
1899            *
1900            * @param groupId the group ID
1901            * @param userId the user ID
1902            * @param status the status
1903            * @param start the lower bound of the range of bookmarks entries
1904            * @param end the upper bound of the range of bookmarks entries (not inclusive)
1905            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1906            * @return the ordered range of matching bookmarks entries
1907            * @throws SystemException if a system exception occurred
1908            */
1909            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_NotS(
1910                    long groupId, long userId, int status, int start, int end,
1911                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1912                    throws com.liferay.portal.kernel.exception.SystemException;
1913    
1914            /**
1915            * Returns the first bookmarks entry in the ordered set where groupId = &#63; and userId = &#63; and status &ne; &#63;.
1916            *
1917            * @param groupId the group ID
1918            * @param userId the user ID
1919            * @param status the status
1920            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1921            * @return the first matching bookmarks entry
1922            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
1923            * @throws SystemException if a system exception occurred
1924            */
1925            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_NotS_First(
1926                    long groupId, long userId, int status,
1927                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1928                    throws com.liferay.portal.kernel.exception.SystemException,
1929                            com.liferay.portlet.bookmarks.NoSuchEntryException;
1930    
1931            /**
1932            * Returns the first bookmarks entry in the ordered set where groupId = &#63; and userId = &#63; and status &ne; &#63;.
1933            *
1934            * @param groupId the group ID
1935            * @param userId the user ID
1936            * @param status the status
1937            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1938            * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
1939            * @throws SystemException if a system exception occurred
1940            */
1941            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_U_NotS_First(
1942                    long groupId, long userId, int status,
1943                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1944                    throws com.liferay.portal.kernel.exception.SystemException;
1945    
1946            /**
1947            * Returns the last bookmarks entry in the ordered set where groupId = &#63; and userId = &#63; and status &ne; &#63;.
1948            *
1949            * @param groupId the group ID
1950            * @param userId the user ID
1951            * @param status the status
1952            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1953            * @return the last matching bookmarks entry
1954            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
1955            * @throws SystemException if a system exception occurred
1956            */
1957            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_NotS_Last(
1958                    long groupId, long userId, int status,
1959                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1960                    throws com.liferay.portal.kernel.exception.SystemException,
1961                            com.liferay.portlet.bookmarks.NoSuchEntryException;
1962    
1963            /**
1964            * Returns the last bookmarks entry in the ordered set where groupId = &#63; and userId = &#63; and status &ne; &#63;.
1965            *
1966            * @param groupId the group ID
1967            * @param userId the user ID
1968            * @param status the status
1969            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1970            * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
1971            * @throws SystemException if a system exception occurred
1972            */
1973            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_U_NotS_Last(
1974                    long groupId, long userId, int status,
1975                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1976                    throws com.liferay.portal.kernel.exception.SystemException;
1977    
1978            /**
1979            * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = &#63; and userId = &#63; and status &ne; &#63;.
1980            *
1981            * @param entryId the primary key of the current bookmarks entry
1982            * @param groupId the group ID
1983            * @param userId the user ID
1984            * @param status the status
1985            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1986            * @return the previous, current, and next bookmarks entry
1987            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
1988            * @throws SystemException if a system exception occurred
1989            */
1990            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_U_NotS_PrevAndNext(
1991                    long entryId, long groupId, long userId, int status,
1992                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1993                    throws com.liferay.portal.kernel.exception.SystemException,
1994                            com.liferay.portlet.bookmarks.NoSuchEntryException;
1995    
1996            /**
1997            * Returns all the bookmarks entries that the user has permission to view where groupId = &#63; and userId = &#63; and status &ne; &#63;.
1998            *
1999            * @param groupId the group ID
2000            * @param userId the user ID
2001            * @param status the status
2002            * @return the matching bookmarks entries that the user has permission to view
2003            * @throws SystemException if a system exception occurred
2004            */
2005            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_NotS(
2006                    long groupId, long userId, int status)
2007                    throws com.liferay.portal.kernel.exception.SystemException;
2008    
2009            /**
2010            * Returns a range of all the bookmarks entries that the user has permission to view where groupId = &#63; and userId = &#63; and status &ne; &#63;.
2011            *
2012            * <p>
2013            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2014            * </p>
2015            *
2016            * @param groupId the group ID
2017            * @param userId the user ID
2018            * @param status the status
2019            * @param start the lower bound of the range of bookmarks entries
2020            * @param end the upper bound of the range of bookmarks entries (not inclusive)
2021            * @return the range of matching bookmarks entries that the user has permission to view
2022            * @throws SystemException if a system exception occurred
2023            */
2024            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_NotS(
2025                    long groupId, long userId, int status, int start, int end)
2026                    throws com.liferay.portal.kernel.exception.SystemException;
2027    
2028            /**
2029            * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = &#63; and userId = &#63; and status &ne; &#63;.
2030            *
2031            * <p>
2032            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2033            * </p>
2034            *
2035            * @param groupId the group ID
2036            * @param userId the user ID
2037            * @param status the status
2038            * @param start the lower bound of the range of bookmarks entries
2039            * @param end the upper bound of the range of bookmarks entries (not inclusive)
2040            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2041            * @return the ordered range of matching bookmarks entries that the user has permission to view
2042            * @throws SystemException if a system exception occurred
2043            */
2044            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_NotS(
2045                    long groupId, long userId, int status, int start, int end,
2046                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2047                    throws com.liferay.portal.kernel.exception.SystemException;
2048    
2049            /**
2050            * 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; and status &ne; &#63;.
2051            *
2052            * @param entryId the primary key of the current bookmarks entry
2053            * @param groupId the group ID
2054            * @param userId the user ID
2055            * @param status the status
2056            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2057            * @return the previous, current, and next bookmarks entry
2058            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
2059            * @throws SystemException if a system exception occurred
2060            */
2061            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_U_NotS_PrevAndNext(
2062                    long entryId, long groupId, long userId, int status,
2063                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2064                    throws com.liferay.portal.kernel.exception.SystemException,
2065                            com.liferay.portlet.bookmarks.NoSuchEntryException;
2066    
2067            /**
2068            * Removes all the bookmarks entries where groupId = &#63; and userId = &#63; and status &ne; &#63; from the database.
2069            *
2070            * @param groupId the group ID
2071            * @param userId the user ID
2072            * @param status the status
2073            * @throws SystemException if a system exception occurred
2074            */
2075            public void removeByG_U_NotS(long groupId, long userId, int status)
2076                    throws com.liferay.portal.kernel.exception.SystemException;
2077    
2078            /**
2079            * Returns the number of bookmarks entries where groupId = &#63; and userId = &#63; and status &ne; &#63;.
2080            *
2081            * @param groupId the group ID
2082            * @param userId the user ID
2083            * @param status the status
2084            * @return the number of matching bookmarks entries
2085            * @throws SystemException if a system exception occurred
2086            */
2087            public int countByG_U_NotS(long groupId, long userId, int status)
2088                    throws com.liferay.portal.kernel.exception.SystemException;
2089    
2090            /**
2091            * Returns the number of bookmarks entries that the user has permission to view where groupId = &#63; and userId = &#63; and status &ne; &#63;.
2092            *
2093            * @param groupId the group ID
2094            * @param userId the user ID
2095            * @param status the status
2096            * @return the number of matching bookmarks entries that the user has permission to view
2097            * @throws SystemException if a system exception occurred
2098            */
2099            public int filterCountByG_U_NotS(long groupId, long userId, int status)
2100                    throws com.liferay.portal.kernel.exception.SystemException;
2101    
2102            /**
2103            * Returns all the bookmarks entries where groupId = &#63; and folderId = &#63; and status = &#63;.
2104            *
2105            * @param groupId the group ID
2106            * @param folderId the folder ID
2107            * @param status the status
2108            * @return the matching bookmarks entries
2109            * @throws SystemException if a system exception occurred
2110            */
2111            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_S(
2112                    long groupId, long folderId, int status)
2113                    throws com.liferay.portal.kernel.exception.SystemException;
2114    
2115            /**
2116            * Returns a range of all the bookmarks entries where groupId = &#63; and folderId = &#63; and status = &#63;.
2117            *
2118            * <p>
2119            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2120            * </p>
2121            *
2122            * @param groupId the group ID
2123            * @param folderId the folder ID
2124            * @param status the status
2125            * @param start the lower bound of the range of bookmarks entries
2126            * @param end the upper bound of the range of bookmarks entries (not inclusive)
2127            * @return the range of matching bookmarks entries
2128            * @throws SystemException if a system exception occurred
2129            */
2130            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_S(
2131                    long groupId, long folderId, int status, int start, int end)
2132                    throws com.liferay.portal.kernel.exception.SystemException;
2133    
2134            /**
2135            * Returns an ordered range of all the bookmarks entries where groupId = &#63; and folderId = &#63; and status = &#63;.
2136            *
2137            * <p>
2138            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2139            * </p>
2140            *
2141            * @param groupId the group ID
2142            * @param folderId the folder ID
2143            * @param status the status
2144            * @param start the lower bound of the range of bookmarks entries
2145            * @param end the upper bound of the range of bookmarks entries (not inclusive)
2146            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2147            * @return the ordered range of matching bookmarks entries
2148            * @throws SystemException if a system exception occurred
2149            */
2150            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_S(
2151                    long groupId, long folderId, int status, int start, int end,
2152                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2153                    throws com.liferay.portal.kernel.exception.SystemException;
2154    
2155            /**
2156            * Returns the first bookmarks entry in the ordered set where groupId = &#63; and folderId = &#63; and status = &#63;.
2157            *
2158            * @param groupId the group ID
2159            * @param folderId the folder ID
2160            * @param status the status
2161            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2162            * @return the first matching bookmarks entry
2163            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
2164            * @throws SystemException if a system exception occurred
2165            */
2166            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_S_First(
2167                    long groupId, long folderId, int status,
2168                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2169                    throws com.liferay.portal.kernel.exception.SystemException,
2170                            com.liferay.portlet.bookmarks.NoSuchEntryException;
2171    
2172            /**
2173            * Returns the first bookmarks entry in the ordered set where groupId = &#63; and folderId = &#63; and status = &#63;.
2174            *
2175            * @param groupId the group ID
2176            * @param folderId the folder ID
2177            * @param status the status
2178            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2179            * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
2180            * @throws SystemException if a system exception occurred
2181            */
2182            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_F_S_First(
2183                    long groupId, long folderId, int status,
2184                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2185                    throws com.liferay.portal.kernel.exception.SystemException;
2186    
2187            /**
2188            * Returns the last bookmarks entry in the ordered set where groupId = &#63; and folderId = &#63; and status = &#63;.
2189            *
2190            * @param groupId the group ID
2191            * @param folderId the folder ID
2192            * @param status the status
2193            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2194            * @return the last matching bookmarks entry
2195            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
2196            * @throws SystemException if a system exception occurred
2197            */
2198            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_S_Last(
2199                    long groupId, long folderId, int status,
2200                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2201                    throws com.liferay.portal.kernel.exception.SystemException,
2202                            com.liferay.portlet.bookmarks.NoSuchEntryException;
2203    
2204            /**
2205            * Returns the last bookmarks entry in the ordered set where groupId = &#63; and folderId = &#63; and status = &#63;.
2206            *
2207            * @param groupId the group ID
2208            * @param folderId the folder ID
2209            * @param status the status
2210            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2211            * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
2212            * @throws SystemException if a system exception occurred
2213            */
2214            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_F_S_Last(
2215                    long groupId, long folderId, int status,
2216                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2217                    throws com.liferay.portal.kernel.exception.SystemException;
2218    
2219            /**
2220            * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = &#63; and folderId = &#63; and status = &#63;.
2221            *
2222            * @param entryId the primary key of the current bookmarks entry
2223            * @param groupId the group ID
2224            * @param folderId the folder ID
2225            * @param status the status
2226            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2227            * @return the previous, current, and next bookmarks entry
2228            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
2229            * @throws SystemException if a system exception occurred
2230            */
2231            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_F_S_PrevAndNext(
2232                    long entryId, long groupId, long folderId, int status,
2233                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2234                    throws com.liferay.portal.kernel.exception.SystemException,
2235                            com.liferay.portlet.bookmarks.NoSuchEntryException;
2236    
2237            /**
2238            * Returns all the bookmarks entries that the user has permission to view where groupId = &#63; and folderId = &#63; and status = &#63;.
2239            *
2240            * @param groupId the group ID
2241            * @param folderId the folder ID
2242            * @param status the status
2243            * @return the matching bookmarks entries that the user has permission to view
2244            * @throws SystemException if a system exception occurred
2245            */
2246            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_S(
2247                    long groupId, long folderId, int status)
2248                    throws com.liferay.portal.kernel.exception.SystemException;
2249    
2250            /**
2251            * Returns a range of all the bookmarks entries that the user has permission to view where groupId = &#63; and folderId = &#63; and status = &#63;.
2252            *
2253            * <p>
2254            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2255            * </p>
2256            *
2257            * @param groupId the group ID
2258            * @param folderId the folder ID
2259            * @param status the status
2260            * @param start the lower bound of the range of bookmarks entries
2261            * @param end the upper bound of the range of bookmarks entries (not inclusive)
2262            * @return the range of matching bookmarks entries that the user has permission to view
2263            * @throws SystemException if a system exception occurred
2264            */
2265            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_S(
2266                    long groupId, long folderId, int status, int start, int end)
2267                    throws com.liferay.portal.kernel.exception.SystemException;
2268    
2269            /**
2270            * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = &#63; and folderId = &#63; and status = &#63;.
2271            *
2272            * <p>
2273            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2274            * </p>
2275            *
2276            * @param groupId the group ID
2277            * @param folderId the folder ID
2278            * @param status the status
2279            * @param start the lower bound of the range of bookmarks entries
2280            * @param end the upper bound of the range of bookmarks entries (not inclusive)
2281            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2282            * @return the ordered range of matching bookmarks entries that the user has permission to view
2283            * @throws SystemException if a system exception occurred
2284            */
2285            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_S(
2286                    long groupId, long folderId, int status, int start, int end,
2287                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2288                    throws com.liferay.portal.kernel.exception.SystemException;
2289    
2290            /**
2291            * 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; and status = &#63;.
2292            *
2293            * @param entryId the primary key of the current bookmarks entry
2294            * @param groupId the group ID
2295            * @param folderId the folder ID
2296            * @param status the status
2297            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2298            * @return the previous, current, and next bookmarks entry
2299            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
2300            * @throws SystemException if a system exception occurred
2301            */
2302            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_F_S_PrevAndNext(
2303                    long entryId, long groupId, long folderId, int status,
2304                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2305                    throws com.liferay.portal.kernel.exception.SystemException,
2306                            com.liferay.portlet.bookmarks.NoSuchEntryException;
2307    
2308            /**
2309            * Returns all the bookmarks entries that the user has permission to view where groupId = &#63; and folderId = any &#63; and status = &#63;.
2310            *
2311            * @param groupId the group ID
2312            * @param folderIds the folder IDs
2313            * @param status the status
2314            * @return the matching bookmarks entries that the user has permission to view
2315            * @throws SystemException if a system exception occurred
2316            */
2317            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_S(
2318                    long groupId, long[] folderIds, int status)
2319                    throws com.liferay.portal.kernel.exception.SystemException;
2320    
2321            /**
2322            * Returns a range of all the bookmarks entries that the user has permission to view where groupId = &#63; and folderId = any &#63; and status = &#63;.
2323            *
2324            * <p>
2325            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2326            * </p>
2327            *
2328            * @param groupId the group ID
2329            * @param folderIds the folder IDs
2330            * @param status the status
2331            * @param start the lower bound of the range of bookmarks entries
2332            * @param end the upper bound of the range of bookmarks entries (not inclusive)
2333            * @return the range of matching bookmarks entries that the user has permission to view
2334            * @throws SystemException if a system exception occurred
2335            */
2336            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_S(
2337                    long groupId, long[] folderIds, int status, int start, int end)
2338                    throws com.liferay.portal.kernel.exception.SystemException;
2339    
2340            /**
2341            * Returns an ordered range of all the bookmarks entries that the user has permission to view where groupId = &#63; and folderId = any &#63; and status = &#63;.
2342            *
2343            * <p>
2344            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2345            * </p>
2346            *
2347            * @param groupId the group ID
2348            * @param folderIds the folder IDs
2349            * @param status the status
2350            * @param start the lower bound of the range of bookmarks entries
2351            * @param end the upper bound of the range of bookmarks entries (not inclusive)
2352            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2353            * @return the ordered range of matching bookmarks entries that the user has permission to view
2354            * @throws SystemException if a system exception occurred
2355            */
2356            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_S(
2357                    long groupId, long[] folderIds, int status, int start, int end,
2358                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2359                    throws com.liferay.portal.kernel.exception.SystemException;
2360    
2361            /**
2362            * Returns all the bookmarks entries where groupId = &#63; and folderId = any &#63; and status = &#63;.
2363            *
2364            * <p>
2365            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2366            * </p>
2367            *
2368            * @param groupId the group ID
2369            * @param folderIds the folder IDs
2370            * @param status the status
2371            * @return the matching bookmarks entries
2372            * @throws SystemException if a system exception occurred
2373            */
2374            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_S(
2375                    long groupId, long[] folderIds, int status)
2376                    throws com.liferay.portal.kernel.exception.SystemException;
2377    
2378            /**
2379            * Returns a range of all the bookmarks entries where groupId = &#63; and folderId = any &#63; and status = &#63;.
2380            *
2381            * <p>
2382            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2383            * </p>
2384            *
2385            * @param groupId the group ID
2386            * @param folderIds the folder IDs
2387            * @param status the status
2388            * @param start the lower bound of the range of bookmarks entries
2389            * @param end the upper bound of the range of bookmarks entries (not inclusive)
2390            * @return the range of matching bookmarks entries
2391            * @throws SystemException if a system exception occurred
2392            */
2393            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_S(
2394                    long groupId, long[] folderIds, int status, int start, int end)
2395                    throws com.liferay.portal.kernel.exception.SystemException;
2396    
2397            /**
2398            * Returns an ordered range of all the bookmarks entries where groupId = &#63; and folderId = any &#63; and status = &#63;.
2399            *
2400            * <p>
2401            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2402            * </p>
2403            *
2404            * @param groupId the group ID
2405            * @param folderIds the folder IDs
2406            * @param status the status
2407            * @param start the lower bound of the range of bookmarks entries
2408            * @param end the upper bound of the range of bookmarks entries (not inclusive)
2409            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2410            * @return the ordered range of matching bookmarks entries
2411            * @throws SystemException if a system exception occurred
2412            */
2413            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_S(
2414                    long groupId, long[] folderIds, int status, int start, int end,
2415                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2416                    throws com.liferay.portal.kernel.exception.SystemException;
2417    
2418            /**
2419            * Removes all the bookmarks entries where groupId = &#63; and folderId = &#63; and status = &#63; from the database.
2420            *
2421            * @param groupId the group ID
2422            * @param folderId the folder ID
2423            * @param status the status
2424            * @throws SystemException if a system exception occurred
2425            */
2426            public void removeByG_F_S(long groupId, long folderId, int status)
2427                    throws com.liferay.portal.kernel.exception.SystemException;
2428    
2429            /**
2430            * Returns the number of bookmarks entries where groupId = &#63; and folderId = &#63; and status = &#63;.
2431            *
2432            * @param groupId the group ID
2433            * @param folderId the folder ID
2434            * @param status the status
2435            * @return the number of matching bookmarks entries
2436            * @throws SystemException if a system exception occurred
2437            */
2438            public int countByG_F_S(long groupId, long folderId, int status)
2439                    throws com.liferay.portal.kernel.exception.SystemException;
2440    
2441            /**
2442            * Returns the number of bookmarks entries where groupId = &#63; and folderId = any &#63; and status = &#63;.
2443            *
2444            * @param groupId the group ID
2445            * @param folderIds the folder IDs
2446            * @param status the status
2447            * @return the number of matching bookmarks entries
2448            * @throws SystemException if a system exception occurred
2449            */
2450            public int countByG_F_S(long groupId, long[] folderIds, int status)
2451                    throws com.liferay.portal.kernel.exception.SystemException;
2452    
2453            /**
2454            * Returns the number of bookmarks entries that the user has permission to view where groupId = &#63; and folderId = &#63; and status = &#63;.
2455            *
2456            * @param groupId the group ID
2457            * @param folderId the folder ID
2458            * @param status the status
2459            * @return the number of matching bookmarks entries that the user has permission to view
2460            * @throws SystemException if a system exception occurred
2461            */
2462            public int filterCountByG_F_S(long groupId, long folderId, int status)
2463                    throws com.liferay.portal.kernel.exception.SystemException;
2464    
2465            /**
2466            * Returns the number of bookmarks entries that the user has permission to view where groupId = &#63; and folderId = any &#63; and status = &#63;.
2467            *
2468            * @param groupId the group ID
2469            * @param folderIds the folder IDs
2470            * @param status the status
2471            * @return the number of matching bookmarks entries that the user has permission to view
2472            * @throws SystemException if a system exception occurred
2473            */
2474            public int filterCountByG_F_S(long groupId, long[] folderIds, int status)
2475                    throws com.liferay.portal.kernel.exception.SystemException;
2476    
2477            /**
2478            * Returns all the bookmarks entries where groupId = &#63; and folderId = &#63; and status &ne; &#63;.
2479            *
2480            * @param groupId the group ID
2481            * @param folderId the folder ID
2482            * @param status the status
2483            * @return the matching bookmarks entries
2484            * @throws SystemException if a system exception occurred
2485            */
2486            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_NotS(
2487                    long groupId, long folderId, int status)
2488                    throws com.liferay.portal.kernel.exception.SystemException;
2489    
2490            /**
2491            * Returns a range of all the bookmarks entries where groupId = &#63; and folderId = &#63; and status &ne; &#63;.
2492            *
2493            * <p>
2494            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2495            * </p>
2496            *
2497            * @param groupId the group ID
2498            * @param folderId the folder ID
2499            * @param status the status
2500            * @param start the lower bound of the range of bookmarks entries
2501            * @param end the upper bound of the range of bookmarks entries (not inclusive)
2502            * @return the range of matching bookmarks entries
2503            * @throws SystemException if a system exception occurred
2504            */
2505            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_NotS(
2506                    long groupId, long folderId, int status, int start, int end)
2507                    throws com.liferay.portal.kernel.exception.SystemException;
2508    
2509            /**
2510            * Returns an ordered range of all the bookmarks entries where groupId = &#63; and folderId = &#63; and status &ne; &#63;.
2511            *
2512            * <p>
2513            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2514            * </p>
2515            *
2516            * @param groupId the group ID
2517            * @param folderId the folder ID
2518            * @param status the status
2519            * @param start the lower bound of the range of bookmarks entries
2520            * @param end the upper bound of the range of bookmarks entries (not inclusive)
2521            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2522            * @return the ordered range of matching bookmarks entries
2523            * @throws SystemException if a system exception occurred
2524            */
2525            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_NotS(
2526                    long groupId, long folderId, int status, int start, int end,
2527                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2528                    throws com.liferay.portal.kernel.exception.SystemException;
2529    
2530            /**
2531            * Returns the first bookmarks entry in the ordered set where groupId = &#63; and folderId = &#63; and status &ne; &#63;.
2532            *
2533            * @param groupId the group ID
2534            * @param folderId the folder ID
2535            * @param status the status
2536            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2537            * @return the first matching bookmarks entry
2538            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
2539            * @throws SystemException if a system exception occurred
2540            */
2541            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_NotS_First(
2542                    long groupId, long folderId, int status,
2543                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2544                    throws com.liferay.portal.kernel.exception.SystemException,
2545                            com.liferay.portlet.bookmarks.NoSuchEntryException;
2546    
2547            /**
2548            * Returns the first bookmarks entry in the ordered set where groupId = &#63; and folderId = &#63; and status &ne; &#63;.
2549            *
2550            * @param groupId the group ID
2551            * @param folderId the folder ID
2552            * @param status the status
2553            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2554            * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
2555            * @throws SystemException if a system exception occurred
2556            */
2557            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_F_NotS_First(
2558                    long groupId, long folderId, int status,
2559                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2560                    throws com.liferay.portal.kernel.exception.SystemException;
2561    
2562            /**
2563            * Returns the last bookmarks entry in the ordered set where groupId = &#63; and folderId = &#63; and status &ne; &#63;.
2564            *
2565            * @param groupId the group ID
2566            * @param folderId the folder ID
2567            * @param status the status
2568            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2569            * @return the last matching bookmarks entry
2570            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
2571            * @throws SystemException if a system exception occurred
2572            */
2573            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_NotS_Last(
2574                    long groupId, long folderId, int status,
2575                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2576                    throws com.liferay.portal.kernel.exception.SystemException,
2577                            com.liferay.portlet.bookmarks.NoSuchEntryException;
2578    
2579            /**
2580            * Returns the last bookmarks entry in the ordered set where groupId = &#63; and folderId = &#63; and status &ne; &#63;.
2581            *
2582            * @param groupId the group ID
2583            * @param folderId the folder ID
2584            * @param status the status
2585            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2586            * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
2587            * @throws SystemException if a system exception occurred
2588            */
2589            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_F_NotS_Last(
2590                    long groupId, long folderId, int status,
2591                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2592                    throws com.liferay.portal.kernel.exception.SystemException;
2593    
2594            /**
2595            * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = &#63; and folderId = &#63; and status &ne; &#63;.
2596            *
2597            * @param entryId the primary key of the current bookmarks entry
2598            * @param groupId the group ID
2599            * @param folderId the folder ID
2600            * @param status the status
2601            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2602            * @return the previous, current, and next bookmarks entry
2603            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
2604            * @throws SystemException if a system exception occurred
2605            */
2606            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_F_NotS_PrevAndNext(
2607                    long entryId, long groupId, long folderId, int status,
2608                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2609                    throws com.liferay.portal.kernel.exception.SystemException,
2610                            com.liferay.portlet.bookmarks.NoSuchEntryException;
2611    
2612            /**
2613            * Returns all the bookmarks entries that the user has permission to view where groupId = &#63; and folderId = &#63; and status &ne; &#63;.
2614            *
2615            * @param groupId the group ID
2616            * @param folderId the folder ID
2617            * @param status the status
2618            * @return the matching bookmarks entries that the user has permission to view
2619            * @throws SystemException if a system exception occurred
2620            */
2621            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_NotS(
2622                    long groupId, long folderId, int status)
2623                    throws com.liferay.portal.kernel.exception.SystemException;
2624    
2625            /**
2626            * Returns a range of all the bookmarks entries that the user has permission to view where groupId = &#63; and folderId = &#63; and status &ne; &#63;.
2627            *
2628            * <p>
2629            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2630            * </p>
2631            *
2632            * @param groupId the group ID
2633            * @param folderId the folder ID
2634            * @param status the status
2635            * @param start the lower bound of the range of bookmarks entries
2636            * @param end the upper bound of the range of bookmarks entries (not inclusive)
2637            * @return the range of matching bookmarks entries that the user has permission to view
2638            * @throws SystemException if a system exception occurred
2639            */
2640            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_NotS(
2641                    long groupId, long folderId, int status, int start, int end)
2642                    throws com.liferay.portal.kernel.exception.SystemException;
2643    
2644            /**
2645            * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = &#63; and folderId = &#63; and status &ne; &#63;.
2646            *
2647            * <p>
2648            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2649            * </p>
2650            *
2651            * @param groupId the group ID
2652            * @param folderId the folder ID
2653            * @param status the status
2654            * @param start the lower bound of the range of bookmarks entries
2655            * @param end the upper bound of the range of bookmarks entries (not inclusive)
2656            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2657            * @return the ordered range of matching bookmarks entries that the user has permission to view
2658            * @throws SystemException if a system exception occurred
2659            */
2660            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_NotS(
2661                    long groupId, long folderId, int status, int start, int end,
2662                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2663                    throws com.liferay.portal.kernel.exception.SystemException;
2664    
2665            /**
2666            * 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; and status &ne; &#63;.
2667            *
2668            * @param entryId the primary key of the current bookmarks entry
2669            * @param groupId the group ID
2670            * @param folderId the folder ID
2671            * @param status the status
2672            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2673            * @return the previous, current, and next bookmarks entry
2674            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
2675            * @throws SystemException if a system exception occurred
2676            */
2677            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_F_NotS_PrevAndNext(
2678                    long entryId, long groupId, long folderId, int status,
2679                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2680                    throws com.liferay.portal.kernel.exception.SystemException,
2681                            com.liferay.portlet.bookmarks.NoSuchEntryException;
2682    
2683            /**
2684            * Returns all the bookmarks entries that the user has permission to view where groupId = &#63; and folderId = any &#63; and status &ne; &#63;.
2685            *
2686            * @param groupId the group ID
2687            * @param folderIds the folder IDs
2688            * @param status the status
2689            * @return the matching bookmarks entries that the user has permission to view
2690            * @throws SystemException if a system exception occurred
2691            */
2692            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_NotS(
2693                    long groupId, long[] folderIds, int status)
2694                    throws com.liferay.portal.kernel.exception.SystemException;
2695    
2696            /**
2697            * Returns a range of all the bookmarks entries that the user has permission to view where groupId = &#63; and folderId = any &#63; and status &ne; &#63;.
2698            *
2699            * <p>
2700            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2701            * </p>
2702            *
2703            * @param groupId the group ID
2704            * @param folderIds the folder IDs
2705            * @param status the status
2706            * @param start the lower bound of the range of bookmarks entries
2707            * @param end the upper bound of the range of bookmarks entries (not inclusive)
2708            * @return the range of matching bookmarks entries that the user has permission to view
2709            * @throws SystemException if a system exception occurred
2710            */
2711            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_NotS(
2712                    long groupId, long[] folderIds, int status, int start, int end)
2713                    throws com.liferay.portal.kernel.exception.SystemException;
2714    
2715            /**
2716            * Returns an ordered range of all the bookmarks entries that the user has permission to view where groupId = &#63; and folderId = any &#63; and status &ne; &#63;.
2717            *
2718            * <p>
2719            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2720            * </p>
2721            *
2722            * @param groupId the group ID
2723            * @param folderIds the folder IDs
2724            * @param status the status
2725            * @param start the lower bound of the range of bookmarks entries
2726            * @param end the upper bound of the range of bookmarks entries (not inclusive)
2727            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2728            * @return the ordered range of matching bookmarks entries that the user has permission to view
2729            * @throws SystemException if a system exception occurred
2730            */
2731            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_NotS(
2732                    long groupId, long[] folderIds, int status, int start, int end,
2733                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2734                    throws com.liferay.portal.kernel.exception.SystemException;
2735    
2736            /**
2737            * Returns all the bookmarks entries where groupId = &#63; and folderId = any &#63; and status &ne; &#63;.
2738            *
2739            * <p>
2740            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2741            * </p>
2742            *
2743            * @param groupId the group ID
2744            * @param folderIds the folder IDs
2745            * @param status the status
2746            * @return the matching bookmarks entries
2747            * @throws SystemException if a system exception occurred
2748            */
2749            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_NotS(
2750                    long groupId, long[] folderIds, int status)
2751                    throws com.liferay.portal.kernel.exception.SystemException;
2752    
2753            /**
2754            * Returns a range of all the bookmarks entries where groupId = &#63; and folderId = any &#63; and status &ne; &#63;.
2755            *
2756            * <p>
2757            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2758            * </p>
2759            *
2760            * @param groupId the group ID
2761            * @param folderIds the folder IDs
2762            * @param status the status
2763            * @param start the lower bound of the range of bookmarks entries
2764            * @param end the upper bound of the range of bookmarks entries (not inclusive)
2765            * @return the range of matching bookmarks entries
2766            * @throws SystemException if a system exception occurred
2767            */
2768            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_NotS(
2769                    long groupId, long[] folderIds, int status, int start, int end)
2770                    throws com.liferay.portal.kernel.exception.SystemException;
2771    
2772            /**
2773            * Returns an ordered range of all the bookmarks entries where groupId = &#63; and folderId = any &#63; and status &ne; &#63;.
2774            *
2775            * <p>
2776            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2777            * </p>
2778            *
2779            * @param groupId the group ID
2780            * @param folderIds the folder IDs
2781            * @param status the status
2782            * @param start the lower bound of the range of bookmarks entries
2783            * @param end the upper bound of the range of bookmarks entries (not inclusive)
2784            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2785            * @return the ordered range of matching bookmarks entries
2786            * @throws SystemException if a system exception occurred
2787            */
2788            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_NotS(
2789                    long groupId, long[] folderIds, int status, int start, int end,
2790                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2791                    throws com.liferay.portal.kernel.exception.SystemException;
2792    
2793            /**
2794            * Removes all the bookmarks entries where groupId = &#63; and folderId = &#63; and status &ne; &#63; from the database.
2795            *
2796            * @param groupId the group ID
2797            * @param folderId the folder ID
2798            * @param status the status
2799            * @throws SystemException if a system exception occurred
2800            */
2801            public void removeByG_F_NotS(long groupId, long folderId, int status)
2802                    throws com.liferay.portal.kernel.exception.SystemException;
2803    
2804            /**
2805            * Returns the number of bookmarks entries where groupId = &#63; and folderId = &#63; and status &ne; &#63;.
2806            *
2807            * @param groupId the group ID
2808            * @param folderId the folder ID
2809            * @param status the status
2810            * @return the number of matching bookmarks entries
2811            * @throws SystemException if a system exception occurred
2812            */
2813            public int countByG_F_NotS(long groupId, long folderId, int status)
2814                    throws com.liferay.portal.kernel.exception.SystemException;
2815    
2816            /**
2817            * Returns the number of bookmarks entries where groupId = &#63; and folderId = any &#63; and status &ne; &#63;.
2818            *
2819            * @param groupId the group ID
2820            * @param folderIds the folder IDs
2821            * @param status the status
2822            * @return the number of matching bookmarks entries
2823            * @throws SystemException if a system exception occurred
2824            */
2825            public int countByG_F_NotS(long groupId, long[] folderIds, int status)
2826                    throws com.liferay.portal.kernel.exception.SystemException;
2827    
2828            /**
2829            * Returns the number of bookmarks entries that the user has permission to view where groupId = &#63; and folderId = &#63; and status &ne; &#63;.
2830            *
2831            * @param groupId the group ID
2832            * @param folderId the folder ID
2833            * @param status the status
2834            * @return the number of matching bookmarks entries that the user has permission to view
2835            * @throws SystemException if a system exception occurred
2836            */
2837            public int filterCountByG_F_NotS(long groupId, long folderId, int status)
2838                    throws com.liferay.portal.kernel.exception.SystemException;
2839    
2840            /**
2841            * Returns the number of bookmarks entries that the user has permission to view where groupId = &#63; and folderId = any &#63; and status &ne; &#63;.
2842            *
2843            * @param groupId the group ID
2844            * @param folderIds the folder IDs
2845            * @param status the status
2846            * @return the number of matching bookmarks entries that the user has permission to view
2847            * @throws SystemException if a system exception occurred
2848            */
2849            public int filterCountByG_F_NotS(long groupId, long[] folderIds, int status)
2850                    throws com.liferay.portal.kernel.exception.SystemException;
2851    
2852            /**
2853            * Returns all the bookmarks entries where groupId = &#63; and userId = &#63; and folderId = &#63; and status = &#63;.
2854            *
2855            * @param groupId the group ID
2856            * @param userId the user ID
2857            * @param folderId the folder ID
2858            * @param status the status
2859            * @return the matching bookmarks entries
2860            * @throws SystemException if a system exception occurred
2861            */
2862            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_F_S(
2863                    long groupId, long userId, long folderId, int status)
2864                    throws com.liferay.portal.kernel.exception.SystemException;
2865    
2866            /**
2867            * Returns a range of all the bookmarks entries where groupId = &#63; and userId = &#63; and folderId = &#63; and status = &#63;.
2868            *
2869            * <p>
2870            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2871            * </p>
2872            *
2873            * @param groupId the group ID
2874            * @param userId the user ID
2875            * @param folderId the folder ID
2876            * @param status the status
2877            * @param start the lower bound of the range of bookmarks entries
2878            * @param end the upper bound of the range of bookmarks entries (not inclusive)
2879            * @return the range of matching bookmarks entries
2880            * @throws SystemException if a system exception occurred
2881            */
2882            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_F_S(
2883                    long groupId, long userId, long folderId, int status, int start, int end)
2884                    throws com.liferay.portal.kernel.exception.SystemException;
2885    
2886            /**
2887            * Returns an ordered range of all the bookmarks entries where groupId = &#63; and userId = &#63; and folderId = &#63; and status = &#63;.
2888            *
2889            * <p>
2890            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2891            * </p>
2892            *
2893            * @param groupId the group ID
2894            * @param userId the user ID
2895            * @param folderId the folder ID
2896            * @param status the status
2897            * @param start the lower bound of the range of bookmarks entries
2898            * @param end the upper bound of the range of bookmarks entries (not inclusive)
2899            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2900            * @return the ordered range of matching bookmarks entries
2901            * @throws SystemException if a system exception occurred
2902            */
2903            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_F_S(
2904                    long groupId, long userId, long folderId, int status, int start,
2905                    int end,
2906                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2907                    throws com.liferay.portal.kernel.exception.SystemException;
2908    
2909            /**
2910            * Returns the first bookmarks entry in the ordered set where groupId = &#63; and userId = &#63; and folderId = &#63; and status = &#63;.
2911            *
2912            * @param groupId the group ID
2913            * @param userId the user ID
2914            * @param folderId the folder ID
2915            * @param status the status
2916            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2917            * @return the first matching bookmarks entry
2918            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
2919            * @throws SystemException if a system exception occurred
2920            */
2921            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_F_S_First(
2922                    long groupId, long userId, long folderId, int status,
2923                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2924                    throws com.liferay.portal.kernel.exception.SystemException,
2925                            com.liferay.portlet.bookmarks.NoSuchEntryException;
2926    
2927            /**
2928            * Returns the first bookmarks entry in the ordered set where groupId = &#63; and userId = &#63; and folderId = &#63; and status = &#63;.
2929            *
2930            * @param groupId the group ID
2931            * @param userId the user ID
2932            * @param folderId the folder ID
2933            * @param status the status
2934            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2935            * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
2936            * @throws SystemException if a system exception occurred
2937            */
2938            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_U_F_S_First(
2939                    long groupId, long userId, long folderId, int status,
2940                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2941                    throws com.liferay.portal.kernel.exception.SystemException;
2942    
2943            /**
2944            * Returns the last bookmarks entry in the ordered set where groupId = &#63; and userId = &#63; and folderId = &#63; and status = &#63;.
2945            *
2946            * @param groupId the group ID
2947            * @param userId the user ID
2948            * @param folderId the folder ID
2949            * @param status the status
2950            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2951            * @return the last matching bookmarks entry
2952            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found
2953            * @throws SystemException if a system exception occurred
2954            */
2955            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_F_S_Last(
2956                    long groupId, long userId, long folderId, int status,
2957                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2958                    throws com.liferay.portal.kernel.exception.SystemException,
2959                            com.liferay.portlet.bookmarks.NoSuchEntryException;
2960    
2961            /**
2962            * Returns the last bookmarks entry in the ordered set where groupId = &#63; and userId = &#63; and folderId = &#63; and status = &#63;.
2963            *
2964            * @param groupId the group ID
2965            * @param userId the user ID
2966            * @param folderId the folder ID
2967            * @param status the status
2968            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2969            * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
2970            * @throws SystemException if a system exception occurred
2971            */
2972            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_U_F_S_Last(
2973                    long groupId, long userId, long folderId, int status,
2974                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2975                    throws com.liferay.portal.kernel.exception.SystemException;
2976    
2977            /**
2978            * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = &#63; and userId = &#63; and folderId = &#63; and status = &#63;.
2979            *
2980            * @param entryId the primary key of the current bookmarks entry
2981            * @param groupId the group ID
2982            * @param userId the user ID
2983            * @param folderId the folder ID
2984            * @param status the status
2985            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2986            * @return the previous, current, and next bookmarks entry
2987            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
2988            * @throws SystemException if a system exception occurred
2989            */
2990            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_U_F_S_PrevAndNext(
2991                    long entryId, long groupId, long userId, long folderId, int status,
2992                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2993                    throws com.liferay.portal.kernel.exception.SystemException,
2994                            com.liferay.portlet.bookmarks.NoSuchEntryException;
2995    
2996            /**
2997            * Returns all the bookmarks entries that the user has permission to view where groupId = &#63; and userId = &#63; and folderId = &#63; and status = &#63;.
2998            *
2999            * @param groupId the group ID
3000            * @param userId the user ID
3001            * @param folderId the folder ID
3002            * @param status the status
3003            * @return the matching bookmarks entries that the user has permission to view
3004            * @throws SystemException if a system exception occurred
3005            */
3006            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_F_S(
3007                    long groupId, long userId, long folderId, int status)
3008                    throws com.liferay.portal.kernel.exception.SystemException;
3009    
3010            /**
3011            * Returns a range of all the bookmarks entries that the user has permission to view where groupId = &#63; and userId = &#63; and folderId = &#63; and status = &#63;.
3012            *
3013            * <p>
3014            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3015            * </p>
3016            *
3017            * @param groupId the group ID
3018            * @param userId the user ID
3019            * @param folderId the folder ID
3020            * @param status the status
3021            * @param start the lower bound of the range of bookmarks entries
3022            * @param end the upper bound of the range of bookmarks entries (not inclusive)
3023            * @return the range of matching bookmarks entries that the user has permission to view
3024            * @throws SystemException if a system exception occurred
3025            */
3026            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_F_S(
3027                    long groupId, long userId, long folderId, int status, int start, int end)
3028                    throws com.liferay.portal.kernel.exception.SystemException;
3029    
3030            /**
3031            * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = &#63; and userId = &#63; and folderId = &#63; and status = &#63;.
3032            *
3033            * <p>
3034            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3035            * </p>
3036            *
3037            * @param groupId the group ID
3038            * @param userId the user ID
3039            * @param folderId the folder ID
3040            * @param status the status
3041            * @param start the lower bound of the range of bookmarks entries
3042            * @param end the upper bound of the range of bookmarks entries (not inclusive)
3043            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3044            * @return the ordered range of matching bookmarks entries that the user has permission to view
3045            * @throws SystemException if a system exception occurred
3046            */
3047            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_F_S(
3048                    long groupId, long userId, long folderId, int status, int start,
3049                    int end,
3050                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3051                    throws com.liferay.portal.kernel.exception.SystemException;
3052    
3053            /**
3054            * 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; and folderId = &#63; and status = &#63;.
3055            *
3056            * @param entryId the primary key of the current bookmarks entry
3057            * @param groupId the group ID
3058            * @param userId the user ID
3059            * @param folderId the folder ID
3060            * @param status the status
3061            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3062            * @return the previous, current, and next bookmarks entry
3063            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
3064            * @throws SystemException if a system exception occurred
3065            */
3066            public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_U_F_S_PrevAndNext(
3067                    long entryId, long groupId, long userId, long folderId, int status,
3068                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3069                    throws com.liferay.portal.kernel.exception.SystemException,
3070                            com.liferay.portlet.bookmarks.NoSuchEntryException;
3071    
3072            /**
3073            * Returns all the bookmarks entries that the user has permission to view where groupId = &#63; and userId = &#63; and folderId = any &#63; and status = &#63;.
3074            *
3075            * @param groupId the group ID
3076            * @param userId the user ID
3077            * @param folderIds the folder IDs
3078            * @param status the status
3079            * @return the matching bookmarks entries that the user has permission to view
3080            * @throws SystemException if a system exception occurred
3081            */
3082            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_F_S(
3083                    long groupId, long userId, long[] folderIds, int status)
3084                    throws com.liferay.portal.kernel.exception.SystemException;
3085    
3086            /**
3087            * Returns a range of all the bookmarks entries that the user has permission to view where groupId = &#63; and userId = &#63; and folderId = any &#63; and status = &#63;.
3088            *
3089            * <p>
3090            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3091            * </p>
3092            *
3093            * @param groupId the group ID
3094            * @param userId the user ID
3095            * @param folderIds the folder IDs
3096            * @param status the status
3097            * @param start the lower bound of the range of bookmarks entries
3098            * @param end the upper bound of the range of bookmarks entries (not inclusive)
3099            * @return the range of matching bookmarks entries that the user has permission to view
3100            * @throws SystemException if a system exception occurred
3101            */
3102            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_F_S(
3103                    long groupId, long userId, long[] folderIds, int status, int start,
3104                    int end) throws com.liferay.portal.kernel.exception.SystemException;
3105    
3106            /**
3107            * Returns an ordered range of all the bookmarks entries that the user has permission to view where groupId = &#63; and userId = &#63; and folderId = any &#63; and status = &#63;.
3108            *
3109            * <p>
3110            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3111            * </p>
3112            *
3113            * @param groupId the group ID
3114            * @param userId the user ID
3115            * @param folderIds the folder IDs
3116            * @param status the status
3117            * @param start the lower bound of the range of bookmarks entries
3118            * @param end the upper bound of the range of bookmarks entries (not inclusive)
3119            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3120            * @return the ordered range of matching bookmarks entries that the user has permission to view
3121            * @throws SystemException if a system exception occurred
3122            */
3123            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_F_S(
3124                    long groupId, long userId, long[] folderIds, int status, int start,
3125                    int end,
3126                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3127                    throws com.liferay.portal.kernel.exception.SystemException;
3128    
3129            /**
3130            * Returns all the bookmarks entries where groupId = &#63; and userId = &#63; and folderId = any &#63; and status = &#63;.
3131            *
3132            * <p>
3133            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3134            * </p>
3135            *
3136            * @param groupId the group ID
3137            * @param userId the user ID
3138            * @param folderIds the folder IDs
3139            * @param status the status
3140            * @return the matching bookmarks entries
3141            * @throws SystemException if a system exception occurred
3142            */
3143            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_F_S(
3144                    long groupId, long userId, long[] folderIds, int status)
3145                    throws com.liferay.portal.kernel.exception.SystemException;
3146    
3147            /**
3148            * Returns a range of all the bookmarks entries where groupId = &#63; and userId = &#63; and folderId = any &#63; and status = &#63;.
3149            *
3150            * <p>
3151            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3152            * </p>
3153            *
3154            * @param groupId the group ID
3155            * @param userId the user ID
3156            * @param folderIds the folder IDs
3157            * @param status the status
3158            * @param start the lower bound of the range of bookmarks entries
3159            * @param end the upper bound of the range of bookmarks entries (not inclusive)
3160            * @return the range of matching bookmarks entries
3161            * @throws SystemException if a system exception occurred
3162            */
3163            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_F_S(
3164                    long groupId, long userId, long[] folderIds, int status, int start,
3165                    int end) throws com.liferay.portal.kernel.exception.SystemException;
3166    
3167            /**
3168            * Returns an ordered range of all the bookmarks entries where groupId = &#63; and userId = &#63; and folderId = any &#63; and status = &#63;.
3169            *
3170            * <p>
3171            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3172            * </p>
3173            *
3174            * @param groupId the group ID
3175            * @param userId the user ID
3176            * @param folderIds the folder IDs
3177            * @param status the status
3178            * @param start the lower bound of the range of bookmarks entries
3179            * @param end the upper bound of the range of bookmarks entries (not inclusive)
3180            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3181            * @return the ordered range of matching bookmarks entries
3182            * @throws SystemException if a system exception occurred
3183            */
3184            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_F_S(
3185                    long groupId, long userId, long[] folderIds, int status, int start,
3186                    int end,
3187                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3188                    throws com.liferay.portal.kernel.exception.SystemException;
3189    
3190            /**
3191            * Removes all the bookmarks entries where groupId = &#63; and userId = &#63; and folderId = &#63; and status = &#63; from the database.
3192            *
3193            * @param groupId the group ID
3194            * @param userId the user ID
3195            * @param folderId the folder ID
3196            * @param status the status
3197            * @throws SystemException if a system exception occurred
3198            */
3199            public void removeByG_U_F_S(long groupId, long userId, long folderId,
3200                    int status) throws com.liferay.portal.kernel.exception.SystemException;
3201    
3202            /**
3203            * Returns the number of bookmarks entries where groupId = &#63; and userId = &#63; and folderId = &#63; and status = &#63;.
3204            *
3205            * @param groupId the group ID
3206            * @param userId the user ID
3207            * @param folderId the folder ID
3208            * @param status the status
3209            * @return the number of matching bookmarks entries
3210            * @throws SystemException if a system exception occurred
3211            */
3212            public int countByG_U_F_S(long groupId, long userId, long folderId,
3213                    int status) throws com.liferay.portal.kernel.exception.SystemException;
3214    
3215            /**
3216            * Returns the number of bookmarks entries where groupId = &#63; and userId = &#63; and folderId = any &#63; and status = &#63;.
3217            *
3218            * @param groupId the group ID
3219            * @param userId the user ID
3220            * @param folderIds the folder IDs
3221            * @param status the status
3222            * @return the number of matching bookmarks entries
3223            * @throws SystemException if a system exception occurred
3224            */
3225            public int countByG_U_F_S(long groupId, long userId, long[] folderIds,
3226                    int status) throws com.liferay.portal.kernel.exception.SystemException;
3227    
3228            /**
3229            * Returns the number of bookmarks entries that the user has permission to view where groupId = &#63; and userId = &#63; and folderId = &#63; and status = &#63;.
3230            *
3231            * @param groupId the group ID
3232            * @param userId the user ID
3233            * @param folderId the folder ID
3234            * @param status the status
3235            * @return the number of matching bookmarks entries that the user has permission to view
3236            * @throws SystemException if a system exception occurred
3237            */
3238            public int filterCountByG_U_F_S(long groupId, long userId, long folderId,
3239                    int status) throws com.liferay.portal.kernel.exception.SystemException;
3240    
3241            /**
3242            * Returns the number of bookmarks entries that the user has permission to view where groupId = &#63; and userId = &#63; and folderId = any &#63; and status = &#63;.
3243            *
3244            * @param groupId the group ID
3245            * @param userId the user ID
3246            * @param folderIds the folder IDs
3247            * @param status the status
3248            * @return the number of matching bookmarks entries that the user has permission to view
3249            * @throws SystemException if a system exception occurred
3250            */
3251            public int filterCountByG_U_F_S(long groupId, long userId,
3252                    long[] folderIds, int status)
3253                    throws com.liferay.portal.kernel.exception.SystemException;
3254    
3255            /**
3256            * Caches the bookmarks entry in the entity cache if it is enabled.
3257            *
3258            * @param bookmarksEntry the bookmarks entry
3259            */
3260            public void cacheResult(
3261                    com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry);
3262    
3263            /**
3264            * Caches the bookmarks entries in the entity cache if it is enabled.
3265            *
3266            * @param bookmarksEntries the bookmarks entries
3267            */
3268            public void cacheResult(
3269                    java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> bookmarksEntries);
3270    
3271            /**
3272            * Creates a new bookmarks entry with the primary key. Does not add the bookmarks entry to the database.
3273            *
3274            * @param entryId the primary key for the new bookmarks entry
3275            * @return the new bookmarks entry
3276            */
3277            public com.liferay.portlet.bookmarks.model.BookmarksEntry create(
3278                    long entryId);
3279    
3280            /**
3281            * Removes the bookmarks entry with the primary key from the database. Also notifies the appropriate model listeners.
3282            *
3283            * @param entryId the primary key of the bookmarks entry
3284            * @return the bookmarks entry that was removed
3285            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
3286            * @throws SystemException if a system exception occurred
3287            */
3288            public com.liferay.portlet.bookmarks.model.BookmarksEntry remove(
3289                    long entryId)
3290                    throws com.liferay.portal.kernel.exception.SystemException,
3291                            com.liferay.portlet.bookmarks.NoSuchEntryException;
3292    
3293            public com.liferay.portlet.bookmarks.model.BookmarksEntry updateImpl(
3294                    com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
3295                    throws com.liferay.portal.kernel.exception.SystemException;
3296    
3297            /**
3298            * Returns the bookmarks entry with the primary key or throws a {@link com.liferay.portlet.bookmarks.NoSuchEntryException} if it could not be found.
3299            *
3300            * @param entryId the primary key of the bookmarks entry
3301            * @return the bookmarks entry
3302            * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found
3303            * @throws SystemException if a system exception occurred
3304            */
3305            public com.liferay.portlet.bookmarks.model.BookmarksEntry findByPrimaryKey(
3306                    long entryId)
3307                    throws com.liferay.portal.kernel.exception.SystemException,
3308                            com.liferay.portlet.bookmarks.NoSuchEntryException;
3309    
3310            /**
3311            * Returns the bookmarks entry with the primary key or returns <code>null</code> if it could not be found.
3312            *
3313            * @param entryId the primary key of the bookmarks entry
3314            * @return the bookmarks entry, or <code>null</code> if a bookmarks entry with the primary key could not be found
3315            * @throws SystemException if a system exception occurred
3316            */
3317            public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByPrimaryKey(
3318                    long entryId)
3319                    throws com.liferay.portal.kernel.exception.SystemException;
3320    
3321            /**
3322            * Returns all the bookmarks entries.
3323            *
3324            * @return the bookmarks entries
3325            * @throws SystemException if a system exception occurred
3326            */
3327            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll()
3328                    throws com.liferay.portal.kernel.exception.SystemException;
3329    
3330            /**
3331            * Returns a range of all the bookmarks entries.
3332            *
3333            * <p>
3334            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3335            * </p>
3336            *
3337            * @param start the lower bound of the range of bookmarks entries
3338            * @param end the upper bound of the range of bookmarks entries (not inclusive)
3339            * @return the range of bookmarks entries
3340            * @throws SystemException if a system exception occurred
3341            */
3342            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll(
3343                    int start, int end)
3344                    throws com.liferay.portal.kernel.exception.SystemException;
3345    
3346            /**
3347            * Returns an ordered range of all the bookmarks entries.
3348            *
3349            * <p>
3350            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3351            * </p>
3352            *
3353            * @param start the lower bound of the range of bookmarks entries
3354            * @param end the upper bound of the range of bookmarks entries (not inclusive)
3355            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3356            * @return the ordered range of bookmarks entries
3357            * @throws SystemException if a system exception occurred
3358            */
3359            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll(
3360                    int start, int end,
3361                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3362                    throws com.liferay.portal.kernel.exception.SystemException;
3363    
3364            /**
3365            * Removes all the bookmarks entries from the database.
3366            *
3367            * @throws SystemException if a system exception occurred
3368            */
3369            public void removeAll()
3370                    throws com.liferay.portal.kernel.exception.SystemException;
3371    
3372            /**
3373            * Returns the number of bookmarks entries.
3374            *
3375            * @return the number of bookmarks entries
3376            * @throws SystemException if a system exception occurred
3377            */
3378            public int countAll()
3379                    throws com.liferay.portal.kernel.exception.SystemException;
3380    }