001    /**
002     * Copyright (c) 2000-present 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.documentlibrary.service.persistence;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.persistence.BasePersistence;
020    
021    import com.liferay.portlet.documentlibrary.model.DLFileEntry;
022    
023    /**
024     * The persistence interface for the document library file 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 DLFileEntryPersistenceImpl
032     * @see DLFileEntryUtil
033     * @generated
034     */
035    @ProviderType
036    public interface DLFileEntryPersistence extends BasePersistence<DLFileEntry> {
037            /*
038             * NOTE FOR DEVELOPERS:
039             *
040             * Never modify or reference this interface directly. Always use {@link DLFileEntryUtil} to access the document library file entry persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
041             */
042    
043            /**
044            * Returns all the document library file entries where uuid = &#63;.
045            *
046            * @param uuid the uuid
047            * @return the matching document library file entries
048            */
049            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid(
050                    java.lang.String uuid);
051    
052            /**
053            * Returns a range of all the document library file entries where uuid = &#63;.
054            *
055            * <p>
056            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
057            * </p>
058            *
059            * @param uuid the uuid
060            * @param start the lower bound of the range of document library file entries
061            * @param end the upper bound of the range of document library file entries (not inclusive)
062            * @return the range of matching document library file entries
063            */
064            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid(
065                    java.lang.String uuid, int start, int end);
066    
067            /**
068            * Returns an ordered range of all the document library file entries where uuid = &#63;.
069            *
070            * <p>
071            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
072            * </p>
073            *
074            * @param uuid the uuid
075            * @param start the lower bound of the range of document library file entries
076            * @param end the upper bound of the range of document library file entries (not inclusive)
077            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
078            * @return the ordered range of matching document library file entries
079            */
080            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid(
081                    java.lang.String uuid, int start, int end,
082                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
083    
084            /**
085            * Returns the first document library file entry in the ordered set where uuid = &#63;.
086            *
087            * @param uuid the uuid
088            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
089            * @return the first matching document library file entry
090            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
091            */
092            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByUuid_First(
093                    java.lang.String uuid,
094                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
095                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
096    
097            /**
098            * Returns the first document library file entry in the ordered set where uuid = &#63;.
099            *
100            * @param uuid the uuid
101            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
102            * @return the first matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
103            */
104            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByUuid_First(
105                    java.lang.String uuid,
106                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
107    
108            /**
109            * Returns the last document library file entry in the ordered set where uuid = &#63;.
110            *
111            * @param uuid the uuid
112            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
113            * @return the last matching document library file entry
114            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
115            */
116            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByUuid_Last(
117                    java.lang.String uuid,
118                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
119                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
120    
121            /**
122            * Returns the last document library file entry in the ordered set where uuid = &#63;.
123            *
124            * @param uuid the uuid
125            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
126            * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
127            */
128            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByUuid_Last(
129                    java.lang.String uuid,
130                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
131    
132            /**
133            * Returns the document library file entries before and after the current document library file entry in the ordered set where uuid = &#63;.
134            *
135            * @param fileEntryId the primary key of the current document library file entry
136            * @param uuid the uuid
137            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
138            * @return the previous, current, and next document library file entry
139            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a document library file entry with the primary key could not be found
140            */
141            public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByUuid_PrevAndNext(
142                    long fileEntryId, java.lang.String uuid,
143                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
144                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
145    
146            /**
147            * Removes all the document library file entries where uuid = &#63; from the database.
148            *
149            * @param uuid the uuid
150            */
151            public void removeByUuid(java.lang.String uuid);
152    
153            /**
154            * Returns the number of document library file entries where uuid = &#63;.
155            *
156            * @param uuid the uuid
157            * @return the number of matching document library file entries
158            */
159            public int countByUuid(java.lang.String uuid);
160    
161            /**
162            * Returns the document library file entry where uuid = &#63; and groupId = &#63; or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFileEntryException} if it could not be found.
163            *
164            * @param uuid the uuid
165            * @param groupId the group ID
166            * @return the matching document library file entry
167            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
168            */
169            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByUUID_G(
170                    java.lang.String uuid, long groupId)
171                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
172    
173            /**
174            * Returns the document library file entry where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
175            *
176            * @param uuid the uuid
177            * @param groupId the group ID
178            * @return the matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
179            */
180            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByUUID_G(
181                    java.lang.String uuid, long groupId);
182    
183            /**
184            * Returns the document library file entry where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
185            *
186            * @param uuid the uuid
187            * @param groupId the group ID
188            * @param retrieveFromCache whether to use the finder cache
189            * @return the matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
190            */
191            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByUUID_G(
192                    java.lang.String uuid, long groupId, boolean retrieveFromCache);
193    
194            /**
195            * Removes the document library file entry where uuid = &#63; and groupId = &#63; from the database.
196            *
197            * @param uuid the uuid
198            * @param groupId the group ID
199            * @return the document library file entry that was removed
200            */
201            public com.liferay.portlet.documentlibrary.model.DLFileEntry removeByUUID_G(
202                    java.lang.String uuid, long groupId)
203                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
204    
205            /**
206            * Returns the number of document library file entries where uuid = &#63; and groupId = &#63;.
207            *
208            * @param uuid the uuid
209            * @param groupId the group ID
210            * @return the number of matching document library file entries
211            */
212            public int countByUUID_G(java.lang.String uuid, long groupId);
213    
214            /**
215            * Returns all the document library file entries where uuid = &#63; and companyId = &#63;.
216            *
217            * @param uuid the uuid
218            * @param companyId the company ID
219            * @return the matching document library file entries
220            */
221            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid_C(
222                    java.lang.String uuid, long companyId);
223    
224            /**
225            * Returns a range of all the document library file entries where uuid = &#63; and companyId = &#63;.
226            *
227            * <p>
228            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
229            * </p>
230            *
231            * @param uuid the uuid
232            * @param companyId the company ID
233            * @param start the lower bound of the range of document library file entries
234            * @param end the upper bound of the range of document library file entries (not inclusive)
235            * @return the range of matching document library file entries
236            */
237            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid_C(
238                    java.lang.String uuid, long companyId, int start, int end);
239    
240            /**
241            * Returns an ordered range of all the document library file entries where uuid = &#63; and companyId = &#63;.
242            *
243            * <p>
244            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
245            * </p>
246            *
247            * @param uuid the uuid
248            * @param companyId the company ID
249            * @param start the lower bound of the range of document library file entries
250            * @param end the upper bound of the range of document library file entries (not inclusive)
251            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
252            * @return the ordered range of matching document library file entries
253            */
254            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid_C(
255                    java.lang.String uuid, long companyId, int start, int end,
256                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
257    
258            /**
259            * Returns the first document library file entry in the ordered set where uuid = &#63; and companyId = &#63;.
260            *
261            * @param uuid the uuid
262            * @param companyId the company ID
263            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
264            * @return the first matching document library file entry
265            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
266            */
267            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByUuid_C_First(
268                    java.lang.String uuid, long companyId,
269                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
270                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
271    
272            /**
273            * Returns the first document library file entry in the ordered set where uuid = &#63; and companyId = &#63;.
274            *
275            * @param uuid the uuid
276            * @param companyId the company ID
277            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
278            * @return the first matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
279            */
280            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByUuid_C_First(
281                    java.lang.String uuid, long companyId,
282                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
283    
284            /**
285            * Returns the last document library file entry in the ordered set where uuid = &#63; and companyId = &#63;.
286            *
287            * @param uuid the uuid
288            * @param companyId the company ID
289            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
290            * @return the last matching document library file entry
291            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
292            */
293            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByUuid_C_Last(
294                    java.lang.String uuid, long companyId,
295                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
296                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
297    
298            /**
299            * Returns the last document library file entry in the ordered set where uuid = &#63; and companyId = &#63;.
300            *
301            * @param uuid the uuid
302            * @param companyId the company ID
303            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
304            * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
305            */
306            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByUuid_C_Last(
307                    java.lang.String uuid, long companyId,
308                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
309    
310            /**
311            * Returns the document library file entries before and after the current document library file entry in the ordered set where uuid = &#63; and companyId = &#63;.
312            *
313            * @param fileEntryId the primary key of the current document library file entry
314            * @param uuid the uuid
315            * @param companyId the company ID
316            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
317            * @return the previous, current, and next document library file entry
318            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a document library file entry with the primary key could not be found
319            */
320            public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByUuid_C_PrevAndNext(
321                    long fileEntryId, java.lang.String uuid, long companyId,
322                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
323                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
324    
325            /**
326            * Removes all the document library file entries where uuid = &#63; and companyId = &#63; from the database.
327            *
328            * @param uuid the uuid
329            * @param companyId the company ID
330            */
331            public void removeByUuid_C(java.lang.String uuid, long companyId);
332    
333            /**
334            * Returns the number of document library file entries where uuid = &#63; and companyId = &#63;.
335            *
336            * @param uuid the uuid
337            * @param companyId the company ID
338            * @return the number of matching document library file entries
339            */
340            public int countByUuid_C(java.lang.String uuid, long companyId);
341    
342            /**
343            * Returns all the document library file entries where groupId = &#63;.
344            *
345            * @param groupId the group ID
346            * @return the matching document library file entries
347            */
348            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByGroupId(
349                    long groupId);
350    
351            /**
352            * Returns a range of all the document library file entries where groupId = &#63;.
353            *
354            * <p>
355            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
356            * </p>
357            *
358            * @param groupId the group ID
359            * @param start the lower bound of the range of document library file entries
360            * @param end the upper bound of the range of document library file entries (not inclusive)
361            * @return the range of matching document library file entries
362            */
363            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByGroupId(
364                    long groupId, int start, int end);
365    
366            /**
367            * Returns an ordered range of all the document library file entries where groupId = &#63;.
368            *
369            * <p>
370            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
371            * </p>
372            *
373            * @param groupId the group ID
374            * @param start the lower bound of the range of document library file entries
375            * @param end the upper bound of the range of document library file entries (not inclusive)
376            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
377            * @return the ordered range of matching document library file entries
378            */
379            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByGroupId(
380                    long groupId, int start, int end,
381                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
382    
383            /**
384            * Returns the first document library file entry in the ordered set where groupId = &#63;.
385            *
386            * @param groupId the group ID
387            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
388            * @return the first matching document library file entry
389            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
390            */
391            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByGroupId_First(
392                    long groupId,
393                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
394                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
395    
396            /**
397            * Returns the first document library file entry in the ordered set where groupId = &#63;.
398            *
399            * @param groupId the group ID
400            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
401            * @return the first matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
402            */
403            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByGroupId_First(
404                    long groupId,
405                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
406    
407            /**
408            * Returns the last document library file entry in the ordered set where groupId = &#63;.
409            *
410            * @param groupId the group ID
411            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
412            * @return the last matching document library file entry
413            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
414            */
415            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByGroupId_Last(
416                    long groupId,
417                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
418                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
419    
420            /**
421            * Returns the last document library file entry in the ordered set where groupId = &#63;.
422            *
423            * @param groupId the group ID
424            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
425            * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
426            */
427            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByGroupId_Last(
428                    long groupId,
429                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
430    
431            /**
432            * Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = &#63;.
433            *
434            * @param fileEntryId the primary key of the current document library file entry
435            * @param groupId the group ID
436            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
437            * @return the previous, current, and next document library file entry
438            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a document library file entry with the primary key could not be found
439            */
440            public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByGroupId_PrevAndNext(
441                    long fileEntryId, long groupId,
442                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
443                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
444    
445            /**
446            * Returns all the document library file entries that the user has permission to view where groupId = &#63;.
447            *
448            * @param groupId the group ID
449            * @return the matching document library file entries that the user has permission to view
450            */
451            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByGroupId(
452                    long groupId);
453    
454            /**
455            * Returns a range of all the document library file entries that the user has permission to view where groupId = &#63;.
456            *
457            * <p>
458            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
459            * </p>
460            *
461            * @param groupId the group ID
462            * @param start the lower bound of the range of document library file entries
463            * @param end the upper bound of the range of document library file entries (not inclusive)
464            * @return the range of matching document library file entries that the user has permission to view
465            */
466            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByGroupId(
467                    long groupId, int start, int end);
468    
469            /**
470            * Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = &#63;.
471            *
472            * <p>
473            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
474            * </p>
475            *
476            * @param groupId the group ID
477            * @param start the lower bound of the range of document library file entries
478            * @param end the upper bound of the range of document library file entries (not inclusive)
479            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
480            * @return the ordered range of matching document library file entries that the user has permission to view
481            */
482            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByGroupId(
483                    long groupId, int start, int end,
484                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
485    
486            /**
487            * Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = &#63;.
488            *
489            * @param fileEntryId the primary key of the current document library file entry
490            * @param groupId the group ID
491            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
492            * @return the previous, current, and next document library file entry
493            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a document library file entry with the primary key could not be found
494            */
495            public com.liferay.portlet.documentlibrary.model.DLFileEntry[] filterFindByGroupId_PrevAndNext(
496                    long fileEntryId, long groupId,
497                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
498                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
499    
500            /**
501            * Removes all the document library file entries where groupId = &#63; from the database.
502            *
503            * @param groupId the group ID
504            */
505            public void removeByGroupId(long groupId);
506    
507            /**
508            * Returns the number of document library file entries where groupId = &#63;.
509            *
510            * @param groupId the group ID
511            * @return the number of matching document library file entries
512            */
513            public int countByGroupId(long groupId);
514    
515            /**
516            * Returns the number of document library file entries that the user has permission to view where groupId = &#63;.
517            *
518            * @param groupId the group ID
519            * @return the number of matching document library file entries that the user has permission to view
520            */
521            public int filterCountByGroupId(long groupId);
522    
523            /**
524            * Returns all the document library file entries where companyId = &#63;.
525            *
526            * @param companyId the company ID
527            * @return the matching document library file entries
528            */
529            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByCompanyId(
530                    long companyId);
531    
532            /**
533            * Returns a range of all the document library file entries where companyId = &#63;.
534            *
535            * <p>
536            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
537            * </p>
538            *
539            * @param companyId the company ID
540            * @param start the lower bound of the range of document library file entries
541            * @param end the upper bound of the range of document library file entries (not inclusive)
542            * @return the range of matching document library file entries
543            */
544            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByCompanyId(
545                    long companyId, int start, int end);
546    
547            /**
548            * Returns an ordered range of all the document library file entries where companyId = &#63;.
549            *
550            * <p>
551            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
552            * </p>
553            *
554            * @param companyId the company ID
555            * @param start the lower bound of the range of document library file entries
556            * @param end the upper bound of the range of document library file entries (not inclusive)
557            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
558            * @return the ordered range of matching document library file entries
559            */
560            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByCompanyId(
561                    long companyId, int start, int end,
562                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
563    
564            /**
565            * Returns the first document library file entry in the ordered set where companyId = &#63;.
566            *
567            * @param companyId the company ID
568            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
569            * @return the first matching document library file entry
570            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
571            */
572            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByCompanyId_First(
573                    long companyId,
574                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
575                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
576    
577            /**
578            * Returns the first document library file 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 document library file entry, or <code>null</code> if a matching document library file entry could not be found
583            */
584            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByCompanyId_First(
585                    long companyId,
586                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
587    
588            /**
589            * Returns the last document library file entry in the ordered set where companyId = &#63;.
590            *
591            * @param companyId the company ID
592            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
593            * @return the last matching document library file entry
594            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
595            */
596            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByCompanyId_Last(
597                    long companyId,
598                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
599                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
600    
601            /**
602            * Returns the last document library file entry in the ordered set where companyId = &#63;.
603            *
604            * @param companyId the company ID
605            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
606            * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
607            */
608            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByCompanyId_Last(
609                    long companyId,
610                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
611    
612            /**
613            * Returns the document library file entries before and after the current document library file entry in the ordered set where companyId = &#63;.
614            *
615            * @param fileEntryId the primary key of the current document library file entry
616            * @param companyId the company ID
617            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
618            * @return the previous, current, and next document library file entry
619            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a document library file entry with the primary key could not be found
620            */
621            public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByCompanyId_PrevAndNext(
622                    long fileEntryId, long companyId,
623                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
624                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
625    
626            /**
627            * Removes all the document library file entries where companyId = &#63; from the database.
628            *
629            * @param companyId the company ID
630            */
631            public void removeByCompanyId(long companyId);
632    
633            /**
634            * Returns the number of document library file entries where companyId = &#63;.
635            *
636            * @param companyId the company ID
637            * @return the number of matching document library file entries
638            */
639            public int countByCompanyId(long companyId);
640    
641            /**
642            * Returns all the document library file entries where repositoryId = &#63;.
643            *
644            * @param repositoryId the repository ID
645            * @return the matching document library file entries
646            */
647            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByRepositoryId(
648                    long repositoryId);
649    
650            /**
651            * Returns a range of all the document library file entries where repositoryId = &#63;.
652            *
653            * <p>
654            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
655            * </p>
656            *
657            * @param repositoryId the repository ID
658            * @param start the lower bound of the range of document library file entries
659            * @param end the upper bound of the range of document library file entries (not inclusive)
660            * @return the range of matching document library file entries
661            */
662            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByRepositoryId(
663                    long repositoryId, int start, int end);
664    
665            /**
666            * Returns an ordered range of all the document library file entries where repositoryId = &#63;.
667            *
668            * <p>
669            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
670            * </p>
671            *
672            * @param repositoryId the repository ID
673            * @param start the lower bound of the range of document library file entries
674            * @param end the upper bound of the range of document library file entries (not inclusive)
675            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
676            * @return the ordered range of matching document library file entries
677            */
678            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByRepositoryId(
679                    long repositoryId, int start, int end,
680                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
681    
682            /**
683            * Returns the first document library file entry in the ordered set where repositoryId = &#63;.
684            *
685            * @param repositoryId the repository ID
686            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
687            * @return the first matching document library file entry
688            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
689            */
690            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByRepositoryId_First(
691                    long repositoryId,
692                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
693                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
694    
695            /**
696            * Returns the first document library file entry in the ordered set where repositoryId = &#63;.
697            *
698            * @param repositoryId the repository ID
699            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
700            * @return the first matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
701            */
702            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByRepositoryId_First(
703                    long repositoryId,
704                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
705    
706            /**
707            * Returns the last document library file entry in the ordered set where repositoryId = &#63;.
708            *
709            * @param repositoryId the repository ID
710            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
711            * @return the last matching document library file entry
712            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
713            */
714            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByRepositoryId_Last(
715                    long repositoryId,
716                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
717                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
718    
719            /**
720            * Returns the last document library file entry in the ordered set where repositoryId = &#63;.
721            *
722            * @param repositoryId the repository ID
723            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
724            * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
725            */
726            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByRepositoryId_Last(
727                    long repositoryId,
728                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
729    
730            /**
731            * Returns the document library file entries before and after the current document library file entry in the ordered set where repositoryId = &#63;.
732            *
733            * @param fileEntryId the primary key of the current document library file entry
734            * @param repositoryId the repository ID
735            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
736            * @return the previous, current, and next document library file entry
737            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a document library file entry with the primary key could not be found
738            */
739            public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByRepositoryId_PrevAndNext(
740                    long fileEntryId, long repositoryId,
741                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
742                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
743    
744            /**
745            * Removes all the document library file entries where repositoryId = &#63; from the database.
746            *
747            * @param repositoryId the repository ID
748            */
749            public void removeByRepositoryId(long repositoryId);
750    
751            /**
752            * Returns the number of document library file entries where repositoryId = &#63;.
753            *
754            * @param repositoryId the repository ID
755            * @return the number of matching document library file entries
756            */
757            public int countByRepositoryId(long repositoryId);
758    
759            /**
760            * Returns all the document library file entries where mimeType = &#63;.
761            *
762            * @param mimeType the mime type
763            * @return the matching document library file entries
764            */
765            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByMimeType(
766                    java.lang.String mimeType);
767    
768            /**
769            * Returns a range of all the document library file entries where mimeType = &#63;.
770            *
771            * <p>
772            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
773            * </p>
774            *
775            * @param mimeType the mime type
776            * @param start the lower bound of the range of document library file entries
777            * @param end the upper bound of the range of document library file entries (not inclusive)
778            * @return the range of matching document library file entries
779            */
780            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByMimeType(
781                    java.lang.String mimeType, int start, int end);
782    
783            /**
784            * Returns an ordered range of all the document library file entries where mimeType = &#63;.
785            *
786            * <p>
787            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
788            * </p>
789            *
790            * @param mimeType the mime type
791            * @param start the lower bound of the range of document library file entries
792            * @param end the upper bound of the range of document library file entries (not inclusive)
793            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
794            * @return the ordered range of matching document library file entries
795            */
796            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByMimeType(
797                    java.lang.String mimeType, int start, int end,
798                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
799    
800            /**
801            * Returns the first document library file entry in the ordered set where mimeType = &#63;.
802            *
803            * @param mimeType the mime type
804            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
805            * @return the first matching document library file entry
806            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
807            */
808            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByMimeType_First(
809                    java.lang.String mimeType,
810                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
811                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
812    
813            /**
814            * Returns the first document library file entry in the ordered set where mimeType = &#63;.
815            *
816            * @param mimeType the mime type
817            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
818            * @return the first matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
819            */
820            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByMimeType_First(
821                    java.lang.String mimeType,
822                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
823    
824            /**
825            * Returns the last document library file entry in the ordered set where mimeType = &#63;.
826            *
827            * @param mimeType the mime type
828            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
829            * @return the last matching document library file entry
830            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
831            */
832            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByMimeType_Last(
833                    java.lang.String mimeType,
834                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
835                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
836    
837            /**
838            * Returns the last document library file entry in the ordered set where mimeType = &#63;.
839            *
840            * @param mimeType the mime type
841            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
842            * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
843            */
844            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByMimeType_Last(
845                    java.lang.String mimeType,
846                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
847    
848            /**
849            * Returns the document library file entries before and after the current document library file entry in the ordered set where mimeType = &#63;.
850            *
851            * @param fileEntryId the primary key of the current document library file entry
852            * @param mimeType the mime type
853            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
854            * @return the previous, current, and next document library file entry
855            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a document library file entry with the primary key could not be found
856            */
857            public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByMimeType_PrevAndNext(
858                    long fileEntryId, java.lang.String mimeType,
859                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
860                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
861    
862            /**
863            * Removes all the document library file entries where mimeType = &#63; from the database.
864            *
865            * @param mimeType the mime type
866            */
867            public void removeByMimeType(java.lang.String mimeType);
868    
869            /**
870            * Returns the number of document library file entries where mimeType = &#63;.
871            *
872            * @param mimeType the mime type
873            * @return the number of matching document library file entries
874            */
875            public int countByMimeType(java.lang.String mimeType);
876    
877            /**
878            * Returns all the document library file entries where fileEntryTypeId = &#63;.
879            *
880            * @param fileEntryTypeId the file entry type ID
881            * @return the matching document library file entries
882            */
883            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByFileEntryTypeId(
884                    long fileEntryTypeId);
885    
886            /**
887            * Returns a range of all the document library file entries where fileEntryTypeId = &#63;.
888            *
889            * <p>
890            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
891            * </p>
892            *
893            * @param fileEntryTypeId the file entry type ID
894            * @param start the lower bound of the range of document library file entries
895            * @param end the upper bound of the range of document library file entries (not inclusive)
896            * @return the range of matching document library file entries
897            */
898            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByFileEntryTypeId(
899                    long fileEntryTypeId, int start, int end);
900    
901            /**
902            * Returns an ordered range of all the document library file entries where fileEntryTypeId = &#63;.
903            *
904            * <p>
905            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
906            * </p>
907            *
908            * @param fileEntryTypeId the file entry type ID
909            * @param start the lower bound of the range of document library file entries
910            * @param end the upper bound of the range of document library file entries (not inclusive)
911            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
912            * @return the ordered range of matching document library file entries
913            */
914            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByFileEntryTypeId(
915                    long fileEntryTypeId, int start, int end,
916                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
917    
918            /**
919            * Returns the first document library file entry in the ordered set where fileEntryTypeId = &#63;.
920            *
921            * @param fileEntryTypeId the file entry type ID
922            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
923            * @return the first matching document library file entry
924            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
925            */
926            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByFileEntryTypeId_First(
927                    long fileEntryTypeId,
928                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
929                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
930    
931            /**
932            * Returns the first document library file entry in the ordered set where fileEntryTypeId = &#63;.
933            *
934            * @param fileEntryTypeId the file entry type ID
935            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
936            * @return the first matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
937            */
938            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByFileEntryTypeId_First(
939                    long fileEntryTypeId,
940                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
941    
942            /**
943            * Returns the last document library file entry in the ordered set where fileEntryTypeId = &#63;.
944            *
945            * @param fileEntryTypeId the file entry type ID
946            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
947            * @return the last matching document library file entry
948            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
949            */
950            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByFileEntryTypeId_Last(
951                    long fileEntryTypeId,
952                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
953                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
954    
955            /**
956            * Returns the last document library file entry in the ordered set where fileEntryTypeId = &#63;.
957            *
958            * @param fileEntryTypeId the file entry type ID
959            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
960            * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
961            */
962            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByFileEntryTypeId_Last(
963                    long fileEntryTypeId,
964                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
965    
966            /**
967            * Returns the document library file entries before and after the current document library file entry in the ordered set where fileEntryTypeId = &#63;.
968            *
969            * @param fileEntryId the primary key of the current document library file entry
970            * @param fileEntryTypeId the file entry type ID
971            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
972            * @return the previous, current, and next document library file entry
973            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a document library file entry with the primary key could not be found
974            */
975            public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByFileEntryTypeId_PrevAndNext(
976                    long fileEntryId, long fileEntryTypeId,
977                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
978                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
979    
980            /**
981            * Removes all the document library file entries where fileEntryTypeId = &#63; from the database.
982            *
983            * @param fileEntryTypeId the file entry type ID
984            */
985            public void removeByFileEntryTypeId(long fileEntryTypeId);
986    
987            /**
988            * Returns the number of document library file entries where fileEntryTypeId = &#63;.
989            *
990            * @param fileEntryTypeId the file entry type ID
991            * @return the number of matching document library file entries
992            */
993            public int countByFileEntryTypeId(long fileEntryTypeId);
994    
995            /**
996            * Returns all the document library file entries where groupId = &#63; and userId = &#63;.
997            *
998            * @param groupId the group ID
999            * @param userId the user ID
1000            * @return the matching document library file entries
1001            */
1002            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U(
1003                    long groupId, long userId);
1004    
1005            /**
1006            * Returns a range of all the document library file entries where groupId = &#63; and userId = &#63;.
1007            *
1008            * <p>
1009            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
1010            * </p>
1011            *
1012            * @param groupId the group ID
1013            * @param userId the user ID
1014            * @param start the lower bound of the range of document library file entries
1015            * @param end the upper bound of the range of document library file entries (not inclusive)
1016            * @return the range of matching document library file entries
1017            */
1018            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U(
1019                    long groupId, long userId, int start, int end);
1020    
1021            /**
1022            * Returns an ordered range of all the document library file entries where groupId = &#63; and userId = &#63;.
1023            *
1024            * <p>
1025            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
1026            * </p>
1027            *
1028            * @param groupId the group ID
1029            * @param userId the user ID
1030            * @param start the lower bound of the range of document library file entries
1031            * @param end the upper bound of the range of document library file entries (not inclusive)
1032            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1033            * @return the ordered range of matching document library file entries
1034            */
1035            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U(
1036                    long groupId, long userId, int start, int end,
1037                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
1038    
1039            /**
1040            * Returns the first document library file entry in the ordered set where groupId = &#63; and userId = &#63;.
1041            *
1042            * @param groupId the group ID
1043            * @param userId the user ID
1044            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1045            * @return the first matching document library file entry
1046            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
1047            */
1048            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_U_First(
1049                    long groupId, long userId,
1050                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
1051                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
1052    
1053            /**
1054            * Returns the first document library file entry in the ordered set where groupId = &#63; and userId = &#63;.
1055            *
1056            * @param groupId the group ID
1057            * @param userId the user ID
1058            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1059            * @return the first matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
1060            */
1061            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_U_First(
1062                    long groupId, long userId,
1063                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
1064    
1065            /**
1066            * Returns the last document library file entry in the ordered set where groupId = &#63; and userId = &#63;.
1067            *
1068            * @param groupId the group ID
1069            * @param userId the user ID
1070            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1071            * @return the last matching document library file entry
1072            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
1073            */
1074            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_U_Last(
1075                    long groupId, long userId,
1076                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
1077                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
1078    
1079            /**
1080            * Returns the last document library file entry in the ordered set where groupId = &#63; and userId = &#63;.
1081            *
1082            * @param groupId the group ID
1083            * @param userId the user ID
1084            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1085            * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
1086            */
1087            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_U_Last(
1088                    long groupId, long userId,
1089                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
1090    
1091            /**
1092            * Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = &#63; and userId = &#63;.
1093            *
1094            * @param fileEntryId the primary key of the current document library file entry
1095            * @param groupId the group ID
1096            * @param userId the user ID
1097            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1098            * @return the previous, current, and next document library file entry
1099            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a document library file entry with the primary key could not be found
1100            */
1101            public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByG_U_PrevAndNext(
1102                    long fileEntryId, long groupId, long userId,
1103                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
1104                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
1105    
1106            /**
1107            * Returns all the document library file entries that the user has permission to view where groupId = &#63; and userId = &#63;.
1108            *
1109            * @param groupId the group ID
1110            * @param userId the user ID
1111            * @return the matching document library file entries that the user has permission to view
1112            */
1113            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U(
1114                    long groupId, long userId);
1115    
1116            /**
1117            * Returns a range of all the document library file entries that the user has permission to view where groupId = &#63; and userId = &#63;.
1118            *
1119            * <p>
1120            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
1121            * </p>
1122            *
1123            * @param groupId the group ID
1124            * @param userId the user ID
1125            * @param start the lower bound of the range of document library file entries
1126            * @param end the upper bound of the range of document library file entries (not inclusive)
1127            * @return the range of matching document library file entries that the user has permission to view
1128            */
1129            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U(
1130                    long groupId, long userId, int start, int end);
1131    
1132            /**
1133            * Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = &#63; and userId = &#63;.
1134            *
1135            * <p>
1136            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
1137            * </p>
1138            *
1139            * @param groupId the group ID
1140            * @param userId the user ID
1141            * @param start the lower bound of the range of document library file entries
1142            * @param end the upper bound of the range of document library file entries (not inclusive)
1143            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1144            * @return the ordered range of matching document library file entries that the user has permission to view
1145            */
1146            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U(
1147                    long groupId, long userId, int start, int end,
1148                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
1149    
1150            /**
1151            * Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = &#63; and userId = &#63;.
1152            *
1153            * @param fileEntryId the primary key of the current document library file entry
1154            * @param groupId the group ID
1155            * @param userId the user ID
1156            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1157            * @return the previous, current, and next document library file entry
1158            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a document library file entry with the primary key could not be found
1159            */
1160            public com.liferay.portlet.documentlibrary.model.DLFileEntry[] filterFindByG_U_PrevAndNext(
1161                    long fileEntryId, long groupId, long userId,
1162                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
1163                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
1164    
1165            /**
1166            * Removes all the document library file entries where groupId = &#63; and userId = &#63; from the database.
1167            *
1168            * @param groupId the group ID
1169            * @param userId the user ID
1170            */
1171            public void removeByG_U(long groupId, long userId);
1172    
1173            /**
1174            * Returns the number of document library file entries where groupId = &#63; and userId = &#63;.
1175            *
1176            * @param groupId the group ID
1177            * @param userId the user ID
1178            * @return the number of matching document library file entries
1179            */
1180            public int countByG_U(long groupId, long userId);
1181    
1182            /**
1183            * Returns the number of document library file entries that the user has permission to view where groupId = &#63; and userId = &#63;.
1184            *
1185            * @param groupId the group ID
1186            * @param userId the user ID
1187            * @return the number of matching document library file entries that the user has permission to view
1188            */
1189            public int filterCountByG_U(long groupId, long userId);
1190    
1191            /**
1192            * Returns all the document library file entries where groupId = &#63; and folderId = &#63;.
1193            *
1194            * @param groupId the group ID
1195            * @param folderId the folder ID
1196            * @return the matching document library file entries
1197            */
1198            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F(
1199                    long groupId, long folderId);
1200    
1201            /**
1202            * Returns a range of all the document library file entries where groupId = &#63; and folderId = &#63;.
1203            *
1204            * <p>
1205            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
1206            * </p>
1207            *
1208            * @param groupId the group ID
1209            * @param folderId the folder ID
1210            * @param start the lower bound of the range of document library file entries
1211            * @param end the upper bound of the range of document library file entries (not inclusive)
1212            * @return the range of matching document library file entries
1213            */
1214            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F(
1215                    long groupId, long folderId, int start, int end);
1216    
1217            /**
1218            * Returns an ordered range of all the document library file entries where groupId = &#63; and folderId = &#63;.
1219            *
1220            * <p>
1221            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
1222            * </p>
1223            *
1224            * @param groupId the group ID
1225            * @param folderId the folder ID
1226            * @param start the lower bound of the range of document library file entries
1227            * @param end the upper bound of the range of document library file entries (not inclusive)
1228            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1229            * @return the ordered range of matching document library file entries
1230            */
1231            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F(
1232                    long groupId, long folderId, int start, int end,
1233                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
1234    
1235            /**
1236            * Returns the first document library file entry in the ordered set where groupId = &#63; and folderId = &#63;.
1237            *
1238            * @param groupId the group ID
1239            * @param folderId the folder ID
1240            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1241            * @return the first matching document library file entry
1242            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
1243            */
1244            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_First(
1245                    long groupId, long folderId,
1246                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
1247                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
1248    
1249            /**
1250            * Returns the first document library file entry in the ordered set where groupId = &#63; and folderId = &#63;.
1251            *
1252            * @param groupId the group ID
1253            * @param folderId the folder ID
1254            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1255            * @return the first matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
1256            */
1257            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_First(
1258                    long groupId, long folderId,
1259                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
1260    
1261            /**
1262            * Returns the last document library file entry in the ordered set where groupId = &#63; and folderId = &#63;.
1263            *
1264            * @param groupId the group ID
1265            * @param folderId the folder ID
1266            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1267            * @return the last matching document library file entry
1268            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
1269            */
1270            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_Last(
1271                    long groupId, long folderId,
1272                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
1273                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
1274    
1275            /**
1276            * Returns the last document library file entry in the ordered set where groupId = &#63; and folderId = &#63;.
1277            *
1278            * @param groupId the group ID
1279            * @param folderId the folder ID
1280            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1281            * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
1282            */
1283            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_Last(
1284                    long groupId, long folderId,
1285                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
1286    
1287            /**
1288            * Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = &#63; and folderId = &#63;.
1289            *
1290            * @param fileEntryId the primary key of the current document library file entry
1291            * @param groupId the group ID
1292            * @param folderId the folder ID
1293            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1294            * @return the previous, current, and next document library file entry
1295            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a document library file entry with the primary key could not be found
1296            */
1297            public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByG_F_PrevAndNext(
1298                    long fileEntryId, long groupId, long folderId,
1299                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
1300                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
1301    
1302            /**
1303            * Returns all the document library file entries that the user has permission to view where groupId = &#63; and folderId = &#63;.
1304            *
1305            * @param groupId the group ID
1306            * @param folderId the folder ID
1307            * @return the matching document library file entries that the user has permission to view
1308            */
1309            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F(
1310                    long groupId, long folderId);
1311    
1312            /**
1313            * Returns a range of all the document library file entries that the user has permission to view where groupId = &#63; and folderId = &#63;.
1314            *
1315            * <p>
1316            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
1317            * </p>
1318            *
1319            * @param groupId the group ID
1320            * @param folderId the folder ID
1321            * @param start the lower bound of the range of document library file entries
1322            * @param end the upper bound of the range of document library file entries (not inclusive)
1323            * @return the range of matching document library file entries that the user has permission to view
1324            */
1325            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F(
1326                    long groupId, long folderId, int start, int end);
1327    
1328            /**
1329            * Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = &#63; and folderId = &#63;.
1330            *
1331            * <p>
1332            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
1333            * </p>
1334            *
1335            * @param groupId the group ID
1336            * @param folderId the folder ID
1337            * @param start the lower bound of the range of document library file entries
1338            * @param end the upper bound of the range of document library file entries (not inclusive)
1339            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1340            * @return the ordered range of matching document library file entries that the user has permission to view
1341            */
1342            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F(
1343                    long groupId, long folderId, int start, int end,
1344                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
1345    
1346            /**
1347            * Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = &#63; and folderId = &#63;.
1348            *
1349            * @param fileEntryId the primary key of the current document library file entry
1350            * @param groupId the group ID
1351            * @param folderId the folder ID
1352            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1353            * @return the previous, current, and next document library file entry
1354            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a document library file entry with the primary key could not be found
1355            */
1356            public com.liferay.portlet.documentlibrary.model.DLFileEntry[] filterFindByG_F_PrevAndNext(
1357                    long fileEntryId, long groupId, long folderId,
1358                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
1359                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
1360    
1361            /**
1362            * Returns all the document library file entries that the user has permission to view where groupId = &#63; and folderId = any &#63;.
1363            *
1364            * @param groupId the group ID
1365            * @param folderIds the folder IDs
1366            * @return the matching document library file entries that the user has permission to view
1367            */
1368            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F(
1369                    long groupId, long[] folderIds);
1370    
1371            /**
1372            * Returns a range of all the document library file entries that the user has permission to view where groupId = &#63; and folderId = any &#63;.
1373            *
1374            * <p>
1375            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
1376            * </p>
1377            *
1378            * @param groupId the group ID
1379            * @param folderIds the folder IDs
1380            * @param start the lower bound of the range of document library file entries
1381            * @param end the upper bound of the range of document library file entries (not inclusive)
1382            * @return the range of matching document library file entries that the user has permission to view
1383            */
1384            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F(
1385                    long groupId, long[] folderIds, int start, int end);
1386    
1387            /**
1388            * Returns an ordered range of all the document library file entries that the user has permission to view where groupId = &#63; and folderId = any &#63;.
1389            *
1390            * <p>
1391            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
1392            * </p>
1393            *
1394            * @param groupId the group ID
1395            * @param folderIds the folder IDs
1396            * @param start the lower bound of the range of document library file entries
1397            * @param end the upper bound of the range of document library file entries (not inclusive)
1398            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1399            * @return the ordered range of matching document library file entries that the user has permission to view
1400            */
1401            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F(
1402                    long groupId, long[] folderIds, int start, int end,
1403                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
1404    
1405            /**
1406            * Returns all the document library file entries where groupId = &#63; and folderId = any &#63;.
1407            *
1408            * <p>
1409            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
1410            * </p>
1411            *
1412            * @param groupId the group ID
1413            * @param folderIds the folder IDs
1414            * @return the matching document library file entries
1415            */
1416            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F(
1417                    long groupId, long[] folderIds);
1418    
1419            /**
1420            * Returns a range of all the document library file entries where groupId = &#63; and folderId = any &#63;.
1421            *
1422            * <p>
1423            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
1424            * </p>
1425            *
1426            * @param groupId the group ID
1427            * @param folderIds the folder IDs
1428            * @param start the lower bound of the range of document library file entries
1429            * @param end the upper bound of the range of document library file entries (not inclusive)
1430            * @return the range of matching document library file entries
1431            */
1432            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F(
1433                    long groupId, long[] folderIds, int start, int end);
1434    
1435            /**
1436            * Returns an ordered range of all the document library file entries where groupId = &#63; and folderId = any &#63;.
1437            *
1438            * <p>
1439            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
1440            * </p>
1441            *
1442            * @param groupId the group ID
1443            * @param folderIds the folder IDs
1444            * @param start the lower bound of the range of document library file entries
1445            * @param end the upper bound of the range of document library file entries (not inclusive)
1446            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1447            * @return the ordered range of matching document library file entries
1448            */
1449            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F(
1450                    long groupId, long[] folderIds, int start, int end,
1451                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
1452    
1453            /**
1454            * Removes all the document library file entries where groupId = &#63; and folderId = &#63; from the database.
1455            *
1456            * @param groupId the group ID
1457            * @param folderId the folder ID
1458            */
1459            public void removeByG_F(long groupId, long folderId);
1460    
1461            /**
1462            * Returns the number of document library file entries where groupId = &#63; and folderId = &#63;.
1463            *
1464            * @param groupId the group ID
1465            * @param folderId the folder ID
1466            * @return the number of matching document library file entries
1467            */
1468            public int countByG_F(long groupId, long folderId);
1469    
1470            /**
1471            * Returns the number of document library file entries where groupId = &#63; and folderId = any &#63;.
1472            *
1473            * @param groupId the group ID
1474            * @param folderIds the folder IDs
1475            * @return the number of matching document library file entries
1476            */
1477            public int countByG_F(long groupId, long[] folderIds);
1478    
1479            /**
1480            * Returns the number of document library file entries that the user has permission to view where groupId = &#63; and folderId = &#63;.
1481            *
1482            * @param groupId the group ID
1483            * @param folderId the folder ID
1484            * @return the number of matching document library file entries that the user has permission to view
1485            */
1486            public int filterCountByG_F(long groupId, long folderId);
1487    
1488            /**
1489            * Returns the number of document library file entries that the user has permission to view where groupId = &#63; and folderId = any &#63;.
1490            *
1491            * @param groupId the group ID
1492            * @param folderIds the folder IDs
1493            * @return the number of matching document library file entries that the user has permission to view
1494            */
1495            public int filterCountByG_F(long groupId, long[] folderIds);
1496    
1497            /**
1498            * Returns all the document library file entries where repositoryId = &#63; and folderId = &#63;.
1499            *
1500            * @param repositoryId the repository ID
1501            * @param folderId the folder ID
1502            * @return the matching document library file entries
1503            */
1504            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByR_F(
1505                    long repositoryId, long folderId);
1506    
1507            /**
1508            * Returns a range of all the document library file entries where repositoryId = &#63; and folderId = &#63;.
1509            *
1510            * <p>
1511            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
1512            * </p>
1513            *
1514            * @param repositoryId the repository ID
1515            * @param folderId the folder ID
1516            * @param start the lower bound of the range of document library file entries
1517            * @param end the upper bound of the range of document library file entries (not inclusive)
1518            * @return the range of matching document library file entries
1519            */
1520            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByR_F(
1521                    long repositoryId, long folderId, int start, int end);
1522    
1523            /**
1524            * Returns an ordered range of all the document library file entries where repositoryId = &#63; and folderId = &#63;.
1525            *
1526            * <p>
1527            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
1528            * </p>
1529            *
1530            * @param repositoryId the repository ID
1531            * @param folderId the folder ID
1532            * @param start the lower bound of the range of document library file entries
1533            * @param end the upper bound of the range of document library file entries (not inclusive)
1534            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1535            * @return the ordered range of matching document library file entries
1536            */
1537            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByR_F(
1538                    long repositoryId, long folderId, int start, int end,
1539                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
1540    
1541            /**
1542            * Returns the first document library file entry in the ordered set where repositoryId = &#63; and folderId = &#63;.
1543            *
1544            * @param repositoryId the repository ID
1545            * @param folderId the folder ID
1546            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1547            * @return the first matching document library file entry
1548            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
1549            */
1550            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByR_F_First(
1551                    long repositoryId, long folderId,
1552                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
1553                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
1554    
1555            /**
1556            * Returns the first document library file entry in the ordered set where repositoryId = &#63; and folderId = &#63;.
1557            *
1558            * @param repositoryId the repository ID
1559            * @param folderId the folder ID
1560            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1561            * @return the first matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
1562            */
1563            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByR_F_First(
1564                    long repositoryId, long folderId,
1565                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
1566    
1567            /**
1568            * Returns the last document library file entry in the ordered set where repositoryId = &#63; and folderId = &#63;.
1569            *
1570            * @param repositoryId the repository ID
1571            * @param folderId the folder ID
1572            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1573            * @return the last matching document library file entry
1574            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
1575            */
1576            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByR_F_Last(
1577                    long repositoryId, long folderId,
1578                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
1579                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
1580    
1581            /**
1582            * Returns the last document library file entry in the ordered set where repositoryId = &#63; and folderId = &#63;.
1583            *
1584            * @param repositoryId the repository ID
1585            * @param folderId the folder ID
1586            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1587            * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
1588            */
1589            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByR_F_Last(
1590                    long repositoryId, long folderId,
1591                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
1592    
1593            /**
1594            * Returns the document library file entries before and after the current document library file entry in the ordered set where repositoryId = &#63; and folderId = &#63;.
1595            *
1596            * @param fileEntryId the primary key of the current document library file entry
1597            * @param repositoryId the repository ID
1598            * @param folderId the folder ID
1599            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1600            * @return the previous, current, and next document library file entry
1601            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a document library file entry with the primary key could not be found
1602            */
1603            public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByR_F_PrevAndNext(
1604                    long fileEntryId, long repositoryId, long folderId,
1605                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
1606                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
1607    
1608            /**
1609            * Removes all the document library file entries where repositoryId = &#63; and folderId = &#63; from the database.
1610            *
1611            * @param repositoryId the repository ID
1612            * @param folderId the folder ID
1613            */
1614            public void removeByR_F(long repositoryId, long folderId);
1615    
1616            /**
1617            * Returns the number of document library file entries where repositoryId = &#63; and folderId = &#63;.
1618            *
1619            * @param repositoryId the repository ID
1620            * @param folderId the folder ID
1621            * @return the number of matching document library file entries
1622            */
1623            public int countByR_F(long repositoryId, long folderId);
1624    
1625            /**
1626            * Returns all the document library file entries where folderId = &#63; and name = &#63;.
1627            *
1628            * @param folderId the folder ID
1629            * @param name the name
1630            * @return the matching document library file entries
1631            */
1632            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByF_N(
1633                    long folderId, java.lang.String name);
1634    
1635            /**
1636            * Returns a range of all the document library file entries where folderId = &#63; and name = &#63;.
1637            *
1638            * <p>
1639            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
1640            * </p>
1641            *
1642            * @param folderId the folder ID
1643            * @param name the name
1644            * @param start the lower bound of the range of document library file entries
1645            * @param end the upper bound of the range of document library file entries (not inclusive)
1646            * @return the range of matching document library file entries
1647            */
1648            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByF_N(
1649                    long folderId, java.lang.String name, int start, int end);
1650    
1651            /**
1652            * Returns an ordered range of all the document library file entries where folderId = &#63; and name = &#63;.
1653            *
1654            * <p>
1655            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
1656            * </p>
1657            *
1658            * @param folderId the folder ID
1659            * @param name the name
1660            * @param start the lower bound of the range of document library file entries
1661            * @param end the upper bound of the range of document library file entries (not inclusive)
1662            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1663            * @return the ordered range of matching document library file entries
1664            */
1665            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByF_N(
1666                    long folderId, java.lang.String name, int start, int end,
1667                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
1668    
1669            /**
1670            * Returns the first document library file entry in the ordered set where folderId = &#63; and name = &#63;.
1671            *
1672            * @param folderId the folder ID
1673            * @param name the name
1674            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1675            * @return the first matching document library file entry
1676            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
1677            */
1678            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByF_N_First(
1679                    long folderId, java.lang.String name,
1680                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
1681                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
1682    
1683            /**
1684            * Returns the first document library file entry in the ordered set where folderId = &#63; and name = &#63;.
1685            *
1686            * @param folderId the folder ID
1687            * @param name the name
1688            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1689            * @return the first matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
1690            */
1691            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByF_N_First(
1692                    long folderId, java.lang.String name,
1693                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
1694    
1695            /**
1696            * Returns the last document library file entry in the ordered set where folderId = &#63; and name = &#63;.
1697            *
1698            * @param folderId the folder ID
1699            * @param name the name
1700            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1701            * @return the last matching document library file entry
1702            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
1703            */
1704            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByF_N_Last(
1705                    long folderId, java.lang.String name,
1706                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
1707                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
1708    
1709            /**
1710            * Returns the last document library file entry in the ordered set where folderId = &#63; and name = &#63;.
1711            *
1712            * @param folderId the folder ID
1713            * @param name the name
1714            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1715            * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
1716            */
1717            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByF_N_Last(
1718                    long folderId, java.lang.String name,
1719                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
1720    
1721            /**
1722            * Returns the document library file entries before and after the current document library file entry in the ordered set where folderId = &#63; and name = &#63;.
1723            *
1724            * @param fileEntryId the primary key of the current document library file entry
1725            * @param folderId the folder ID
1726            * @param name the name
1727            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1728            * @return the previous, current, and next document library file entry
1729            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a document library file entry with the primary key could not be found
1730            */
1731            public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByF_N_PrevAndNext(
1732                    long fileEntryId, long folderId, java.lang.String name,
1733                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
1734                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
1735    
1736            /**
1737            * Removes all the document library file entries where folderId = &#63; and name = &#63; from the database.
1738            *
1739            * @param folderId the folder ID
1740            * @param name the name
1741            */
1742            public void removeByF_N(long folderId, java.lang.String name);
1743    
1744            /**
1745            * Returns the number of document library file entries where folderId = &#63; and name = &#63;.
1746            *
1747            * @param folderId the folder ID
1748            * @param name the name
1749            * @return the number of matching document library file entries
1750            */
1751            public int countByF_N(long folderId, java.lang.String name);
1752    
1753            /**
1754            * Returns all the document library file entries where groupId = &#63; and userId = &#63; and folderId = &#63;.
1755            *
1756            * @param groupId the group ID
1757            * @param userId the user ID
1758            * @param folderId the folder ID
1759            * @return the matching document library file entries
1760            */
1761            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F(
1762                    long groupId, long userId, long folderId);
1763    
1764            /**
1765            * Returns a range of all the document library file entries where groupId = &#63; and userId = &#63; and folderId = &#63;.
1766            *
1767            * <p>
1768            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
1769            * </p>
1770            *
1771            * @param groupId the group ID
1772            * @param userId the user ID
1773            * @param folderId the folder ID
1774            * @param start the lower bound of the range of document library file entries
1775            * @param end the upper bound of the range of document library file entries (not inclusive)
1776            * @return the range of matching document library file entries
1777            */
1778            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F(
1779                    long groupId, long userId, long folderId, int start, int end);
1780    
1781            /**
1782            * Returns an ordered range of all the document library file entries where groupId = &#63; and userId = &#63; and folderId = &#63;.
1783            *
1784            * <p>
1785            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
1786            * </p>
1787            *
1788            * @param groupId the group ID
1789            * @param userId the user ID
1790            * @param folderId the folder ID
1791            * @param start the lower bound of the range of document library file entries
1792            * @param end the upper bound of the range of document library file entries (not inclusive)
1793            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1794            * @return the ordered range of matching document library file entries
1795            */
1796            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F(
1797                    long groupId, long userId, long folderId, int start, int end,
1798                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
1799    
1800            /**
1801            * Returns the first document library file entry in the ordered set where groupId = &#63; and userId = &#63; and folderId = &#63;.
1802            *
1803            * @param groupId the group ID
1804            * @param userId the user ID
1805            * @param folderId the folder ID
1806            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1807            * @return the first matching document library file entry
1808            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
1809            */
1810            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_U_F_First(
1811                    long groupId, long userId, long folderId,
1812                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
1813                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
1814    
1815            /**
1816            * Returns the first document library file entry in the ordered set where groupId = &#63; and userId = &#63; and folderId = &#63;.
1817            *
1818            * @param groupId the group ID
1819            * @param userId the user ID
1820            * @param folderId the folder ID
1821            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1822            * @return the first matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
1823            */
1824            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_U_F_First(
1825                    long groupId, long userId, long folderId,
1826                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
1827    
1828            /**
1829            * Returns the last document library file entry in the ordered set where groupId = &#63; and userId = &#63; and folderId = &#63;.
1830            *
1831            * @param groupId the group ID
1832            * @param userId the user ID
1833            * @param folderId the folder ID
1834            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1835            * @return the last matching document library file entry
1836            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
1837            */
1838            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_U_F_Last(
1839                    long groupId, long userId, long folderId,
1840                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
1841                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
1842    
1843            /**
1844            * Returns the last document library file entry in the ordered set where groupId = &#63; and userId = &#63; and folderId = &#63;.
1845            *
1846            * @param groupId the group ID
1847            * @param userId the user ID
1848            * @param folderId the folder ID
1849            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1850            * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
1851            */
1852            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_U_F_Last(
1853                    long groupId, long userId, long folderId,
1854                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
1855    
1856            /**
1857            * Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = &#63; and userId = &#63; and folderId = &#63;.
1858            *
1859            * @param fileEntryId the primary key of the current document library file entry
1860            * @param groupId the group ID
1861            * @param userId the user ID
1862            * @param folderId the folder ID
1863            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1864            * @return the previous, current, and next document library file entry
1865            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a document library file entry with the primary key could not be found
1866            */
1867            public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByG_U_F_PrevAndNext(
1868                    long fileEntryId, long groupId, long userId, long folderId,
1869                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
1870                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
1871    
1872            /**
1873            * Returns all the document library file entries that the user has permission to view where groupId = &#63; and userId = &#63; and folderId = &#63;.
1874            *
1875            * @param groupId the group ID
1876            * @param userId the user ID
1877            * @param folderId the folder ID
1878            * @return the matching document library file entries that the user has permission to view
1879            */
1880            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F(
1881                    long groupId, long userId, long folderId);
1882    
1883            /**
1884            * Returns a range of all the document library file entries that the user has permission to view where groupId = &#63; and userId = &#63; and folderId = &#63;.
1885            *
1886            * <p>
1887            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
1888            * </p>
1889            *
1890            * @param groupId the group ID
1891            * @param userId the user ID
1892            * @param folderId the folder ID
1893            * @param start the lower bound of the range of document library file entries
1894            * @param end the upper bound of the range of document library file entries (not inclusive)
1895            * @return the range of matching document library file entries that the user has permission to view
1896            */
1897            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F(
1898                    long groupId, long userId, long folderId, int start, int end);
1899    
1900            /**
1901            * Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = &#63; and userId = &#63; and folderId = &#63;.
1902            *
1903            * <p>
1904            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
1905            * </p>
1906            *
1907            * @param groupId the group ID
1908            * @param userId the user ID
1909            * @param folderId the folder ID
1910            * @param start the lower bound of the range of document library file entries
1911            * @param end the upper bound of the range of document library file entries (not inclusive)
1912            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1913            * @return the ordered range of matching document library file entries that the user has permission to view
1914            */
1915            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F(
1916                    long groupId, long userId, long folderId, int start, int end,
1917                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
1918    
1919            /**
1920            * Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = &#63; and userId = &#63; and folderId = &#63;.
1921            *
1922            * @param fileEntryId the primary key of the current document library file entry
1923            * @param groupId the group ID
1924            * @param userId the user ID
1925            * @param folderId the folder ID
1926            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1927            * @return the previous, current, and next document library file entry
1928            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a document library file entry with the primary key could not be found
1929            */
1930            public com.liferay.portlet.documentlibrary.model.DLFileEntry[] filterFindByG_U_F_PrevAndNext(
1931                    long fileEntryId, long groupId, long userId, long folderId,
1932                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
1933                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
1934    
1935            /**
1936            * Returns all the document library file entries that the user has permission to view where groupId = &#63; and userId = &#63; and folderId = any &#63;.
1937            *
1938            * @param groupId the group ID
1939            * @param userId the user ID
1940            * @param folderIds the folder IDs
1941            * @return the matching document library file entries that the user has permission to view
1942            */
1943            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F(
1944                    long groupId, long userId, long[] folderIds);
1945    
1946            /**
1947            * Returns a range of all the document library file entries that the user has permission to view where groupId = &#63; and userId = &#63; and folderId = any &#63;.
1948            *
1949            * <p>
1950            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
1951            * </p>
1952            *
1953            * @param groupId the group ID
1954            * @param userId the user ID
1955            * @param folderIds the folder IDs
1956            * @param start the lower bound of the range of document library file entries
1957            * @param end the upper bound of the range of document library file entries (not inclusive)
1958            * @return the range of matching document library file entries that the user has permission to view
1959            */
1960            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F(
1961                    long groupId, long userId, long[] folderIds, int start, int end);
1962    
1963            /**
1964            * Returns an ordered range of all the document library file entries that the user has permission to view where groupId = &#63; and userId = &#63; and folderId = any &#63;.
1965            *
1966            * <p>
1967            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
1968            * </p>
1969            *
1970            * @param groupId the group ID
1971            * @param userId the user ID
1972            * @param folderIds the folder IDs
1973            * @param start the lower bound of the range of document library file entries
1974            * @param end the upper bound of the range of document library file entries (not inclusive)
1975            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1976            * @return the ordered range of matching document library file entries that the user has permission to view
1977            */
1978            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F(
1979                    long groupId, long userId, long[] folderIds, int start, int end,
1980                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
1981    
1982            /**
1983            * Returns all the document library file entries where groupId = &#63; and userId = &#63; and folderId = any &#63;.
1984            *
1985            * <p>
1986            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
1987            * </p>
1988            *
1989            * @param groupId the group ID
1990            * @param userId the user ID
1991            * @param folderIds the folder IDs
1992            * @return the matching document library file entries
1993            */
1994            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F(
1995                    long groupId, long userId, long[] folderIds);
1996    
1997            /**
1998            * Returns a range of all the document library file entries where groupId = &#63; and userId = &#63; and folderId = any &#63;.
1999            *
2000            * <p>
2001            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
2002            * </p>
2003            *
2004            * @param groupId the group ID
2005            * @param userId the user ID
2006            * @param folderIds the folder IDs
2007            * @param start the lower bound of the range of document library file entries
2008            * @param end the upper bound of the range of document library file entries (not inclusive)
2009            * @return the range of matching document library file entries
2010            */
2011            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F(
2012                    long groupId, long userId, long[] folderIds, int start, int end);
2013    
2014            /**
2015            * Returns an ordered range of all the document library file entries where groupId = &#63; and userId = &#63; and folderId = any &#63;.
2016            *
2017            * <p>
2018            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
2019            * </p>
2020            *
2021            * @param groupId the group ID
2022            * @param userId the user ID
2023            * @param folderIds the folder IDs
2024            * @param start the lower bound of the range of document library file entries
2025            * @param end the upper bound of the range of document library file entries (not inclusive)
2026            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2027            * @return the ordered range of matching document library file entries
2028            */
2029            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F(
2030                    long groupId, long userId, long[] folderIds, int start, int end,
2031                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
2032    
2033            /**
2034            * Removes all the document library file entries where groupId = &#63; and userId = &#63; and folderId = &#63; from the database.
2035            *
2036            * @param groupId the group ID
2037            * @param userId the user ID
2038            * @param folderId the folder ID
2039            */
2040            public void removeByG_U_F(long groupId, long userId, long folderId);
2041    
2042            /**
2043            * Returns the number of document library file entries where groupId = &#63; and userId = &#63; and folderId = &#63;.
2044            *
2045            * @param groupId the group ID
2046            * @param userId the user ID
2047            * @param folderId the folder ID
2048            * @return the number of matching document library file entries
2049            */
2050            public int countByG_U_F(long groupId, long userId, long folderId);
2051    
2052            /**
2053            * Returns the number of document library file entries where groupId = &#63; and userId = &#63; and folderId = any &#63;.
2054            *
2055            * @param groupId the group ID
2056            * @param userId the user ID
2057            * @param folderIds the folder IDs
2058            * @return the number of matching document library file entries
2059            */
2060            public int countByG_U_F(long groupId, long userId, long[] folderIds);
2061    
2062            /**
2063            * Returns the number of document library file entries that the user has permission to view where groupId = &#63; and userId = &#63; and folderId = &#63;.
2064            *
2065            * @param groupId the group ID
2066            * @param userId the user ID
2067            * @param folderId the folder ID
2068            * @return the number of matching document library file entries that the user has permission to view
2069            */
2070            public int filterCountByG_U_F(long groupId, long userId, long folderId);
2071    
2072            /**
2073            * Returns the number of document library file entries that the user has permission to view where groupId = &#63; and userId = &#63; and folderId = any &#63;.
2074            *
2075            * @param groupId the group ID
2076            * @param userId the user ID
2077            * @param folderIds the folder IDs
2078            * @return the number of matching document library file entries that the user has permission to view
2079            */
2080            public int filterCountByG_U_F(long groupId, long userId, long[] folderIds);
2081    
2082            /**
2083            * Returns the document library file entry where groupId = &#63; and folderId = &#63; and name = &#63; or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFileEntryException} if it could not be found.
2084            *
2085            * @param groupId the group ID
2086            * @param folderId the folder ID
2087            * @param name the name
2088            * @return the matching document library file entry
2089            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
2090            */
2091            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_N(
2092                    long groupId, long folderId, java.lang.String name)
2093                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
2094    
2095            /**
2096            * Returns the document library file entry where groupId = &#63; and folderId = &#63; and name = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
2097            *
2098            * @param groupId the group ID
2099            * @param folderId the folder ID
2100            * @param name the name
2101            * @return the matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
2102            */
2103            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_N(
2104                    long groupId, long folderId, java.lang.String name);
2105    
2106            /**
2107            * Returns the document library file entry where groupId = &#63; and folderId = &#63; and name = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
2108            *
2109            * @param groupId the group ID
2110            * @param folderId the folder ID
2111            * @param name the name
2112            * @param retrieveFromCache whether to use the finder cache
2113            * @return the matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
2114            */
2115            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_N(
2116                    long groupId, long folderId, java.lang.String name,
2117                    boolean retrieveFromCache);
2118    
2119            /**
2120            * Removes the document library file entry where groupId = &#63; and folderId = &#63; and name = &#63; from the database.
2121            *
2122            * @param groupId the group ID
2123            * @param folderId the folder ID
2124            * @param name the name
2125            * @return the document library file entry that was removed
2126            */
2127            public com.liferay.portlet.documentlibrary.model.DLFileEntry removeByG_F_N(
2128                    long groupId, long folderId, java.lang.String name)
2129                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
2130    
2131            /**
2132            * Returns the number of document library file entries where groupId = &#63; and folderId = &#63; and name = &#63;.
2133            *
2134            * @param groupId the group ID
2135            * @param folderId the folder ID
2136            * @param name the name
2137            * @return the number of matching document library file entries
2138            */
2139            public int countByG_F_N(long groupId, long folderId, java.lang.String name);
2140    
2141            /**
2142            * Returns the document library file entry where groupId = &#63; and folderId = &#63; and fileName = &#63; or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFileEntryException} if it could not be found.
2143            *
2144            * @param groupId the group ID
2145            * @param folderId the folder ID
2146            * @param fileName the file name
2147            * @return the matching document library file entry
2148            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
2149            */
2150            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_FN(
2151                    long groupId, long folderId, java.lang.String fileName)
2152                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
2153    
2154            /**
2155            * Returns the document library file entry where groupId = &#63; and folderId = &#63; and fileName = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
2156            *
2157            * @param groupId the group ID
2158            * @param folderId the folder ID
2159            * @param fileName the file name
2160            * @return the matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
2161            */
2162            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_FN(
2163                    long groupId, long folderId, java.lang.String fileName);
2164    
2165            /**
2166            * Returns the document library file entry where groupId = &#63; and folderId = &#63; and fileName = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
2167            *
2168            * @param groupId the group ID
2169            * @param folderId the folder ID
2170            * @param fileName the file name
2171            * @param retrieveFromCache whether to use the finder cache
2172            * @return the matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
2173            */
2174            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_FN(
2175                    long groupId, long folderId, java.lang.String fileName,
2176                    boolean retrieveFromCache);
2177    
2178            /**
2179            * Removes the document library file entry where groupId = &#63; and folderId = &#63; and fileName = &#63; from the database.
2180            *
2181            * @param groupId the group ID
2182            * @param folderId the folder ID
2183            * @param fileName the file name
2184            * @return the document library file entry that was removed
2185            */
2186            public com.liferay.portlet.documentlibrary.model.DLFileEntry removeByG_F_FN(
2187                    long groupId, long folderId, java.lang.String fileName)
2188                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
2189    
2190            /**
2191            * Returns the number of document library file entries where groupId = &#63; and folderId = &#63; and fileName = &#63;.
2192            *
2193            * @param groupId the group ID
2194            * @param folderId the folder ID
2195            * @param fileName the file name
2196            * @return the number of matching document library file entries
2197            */
2198            public int countByG_F_FN(long groupId, long folderId,
2199                    java.lang.String fileName);
2200    
2201            /**
2202            * Returns the document library file entry where groupId = &#63; and folderId = &#63; and title = &#63; or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFileEntryException} if it could not be found.
2203            *
2204            * @param groupId the group ID
2205            * @param folderId the folder ID
2206            * @param title the title
2207            * @return the matching document library file entry
2208            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
2209            */
2210            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_T(
2211                    long groupId, long folderId, java.lang.String title)
2212                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
2213    
2214            /**
2215            * Returns the document library file entry where groupId = &#63; and folderId = &#63; and title = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
2216            *
2217            * @param groupId the group ID
2218            * @param folderId the folder ID
2219            * @param title the title
2220            * @return the matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
2221            */
2222            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_T(
2223                    long groupId, long folderId, java.lang.String title);
2224    
2225            /**
2226            * Returns the document library file entry where groupId = &#63; and folderId = &#63; and title = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
2227            *
2228            * @param groupId the group ID
2229            * @param folderId the folder ID
2230            * @param title the title
2231            * @param retrieveFromCache whether to use the finder cache
2232            * @return the matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
2233            */
2234            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_T(
2235                    long groupId, long folderId, java.lang.String title,
2236                    boolean retrieveFromCache);
2237    
2238            /**
2239            * Removes the document library file entry where groupId = &#63; and folderId = &#63; and title = &#63; from the database.
2240            *
2241            * @param groupId the group ID
2242            * @param folderId the folder ID
2243            * @param title the title
2244            * @return the document library file entry that was removed
2245            */
2246            public com.liferay.portlet.documentlibrary.model.DLFileEntry removeByG_F_T(
2247                    long groupId, long folderId, java.lang.String title)
2248                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
2249    
2250            /**
2251            * Returns the number of document library file entries where groupId = &#63; and folderId = &#63; and title = &#63;.
2252            *
2253            * @param groupId the group ID
2254            * @param folderId the folder ID
2255            * @param title the title
2256            * @return the number of matching document library file entries
2257            */
2258            public int countByG_F_T(long groupId, long folderId, java.lang.String title);
2259    
2260            /**
2261            * Returns all the document library file entries where groupId = &#63; and folderId = &#63; and fileEntryTypeId = &#63;.
2262            *
2263            * @param groupId the group ID
2264            * @param folderId the folder ID
2265            * @param fileEntryTypeId the file entry type ID
2266            * @return the matching document library file entries
2267            */
2268            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F_F(
2269                    long groupId, long folderId, long fileEntryTypeId);
2270    
2271            /**
2272            * Returns a range of all the document library file entries where groupId = &#63; and folderId = &#63; and fileEntryTypeId = &#63;.
2273            *
2274            * <p>
2275            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
2276            * </p>
2277            *
2278            * @param groupId the group ID
2279            * @param folderId the folder ID
2280            * @param fileEntryTypeId the file entry type ID
2281            * @param start the lower bound of the range of document library file entries
2282            * @param end the upper bound of the range of document library file entries (not inclusive)
2283            * @return the range of matching document library file entries
2284            */
2285            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F_F(
2286                    long groupId, long folderId, long fileEntryTypeId, int start, int end);
2287    
2288            /**
2289            * Returns an ordered range of all the document library file entries where groupId = &#63; and folderId = &#63; and fileEntryTypeId = &#63;.
2290            *
2291            * <p>
2292            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
2293            * </p>
2294            *
2295            * @param groupId the group ID
2296            * @param folderId the folder ID
2297            * @param fileEntryTypeId the file entry type ID
2298            * @param start the lower bound of the range of document library file entries
2299            * @param end the upper bound of the range of document library file entries (not inclusive)
2300            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2301            * @return the ordered range of matching document library file entries
2302            */
2303            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F_F(
2304                    long groupId, long folderId, long fileEntryTypeId, int start, int end,
2305                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
2306    
2307            /**
2308            * Returns the first document library file entry in the ordered set where groupId = &#63; and folderId = &#63; and fileEntryTypeId = &#63;.
2309            *
2310            * @param groupId the group ID
2311            * @param folderId the folder ID
2312            * @param fileEntryTypeId the file entry type ID
2313            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2314            * @return the first matching document library file entry
2315            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
2316            */
2317            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_F_First(
2318                    long groupId, long folderId, long fileEntryTypeId,
2319                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
2320                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
2321    
2322            /**
2323            * Returns the first document library file entry in the ordered set where groupId = &#63; and folderId = &#63; and fileEntryTypeId = &#63;.
2324            *
2325            * @param groupId the group ID
2326            * @param folderId the folder ID
2327            * @param fileEntryTypeId the file entry type ID
2328            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2329            * @return the first matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
2330            */
2331            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_F_First(
2332                    long groupId, long folderId, long fileEntryTypeId,
2333                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
2334    
2335            /**
2336            * Returns the last document library file entry in the ordered set where groupId = &#63; and folderId = &#63; and fileEntryTypeId = &#63;.
2337            *
2338            * @param groupId the group ID
2339            * @param folderId the folder ID
2340            * @param fileEntryTypeId the file entry type ID
2341            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2342            * @return the last matching document library file entry
2343            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
2344            */
2345            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_F_Last(
2346                    long groupId, long folderId, long fileEntryTypeId,
2347                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
2348                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
2349    
2350            /**
2351            * Returns the last document library file entry in the ordered set where groupId = &#63; and folderId = &#63; and fileEntryTypeId = &#63;.
2352            *
2353            * @param groupId the group ID
2354            * @param folderId the folder ID
2355            * @param fileEntryTypeId the file entry type ID
2356            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2357            * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
2358            */
2359            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_F_Last(
2360                    long groupId, long folderId, long fileEntryTypeId,
2361                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
2362    
2363            /**
2364            * Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = &#63; and folderId = &#63; and fileEntryTypeId = &#63;.
2365            *
2366            * @param fileEntryId the primary key of the current document library file entry
2367            * @param groupId the group ID
2368            * @param folderId the folder ID
2369            * @param fileEntryTypeId the file entry type ID
2370            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2371            * @return the previous, current, and next document library file entry
2372            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a document library file entry with the primary key could not be found
2373            */
2374            public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByG_F_F_PrevAndNext(
2375                    long fileEntryId, long groupId, long folderId, long fileEntryTypeId,
2376                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
2377                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
2378    
2379            /**
2380            * Returns all the document library file entries that the user has permission to view where groupId = &#63; and folderId = &#63; and fileEntryTypeId = &#63;.
2381            *
2382            * @param groupId the group ID
2383            * @param folderId the folder ID
2384            * @param fileEntryTypeId the file entry type ID
2385            * @return the matching document library file entries that the user has permission to view
2386            */
2387            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F_F(
2388                    long groupId, long folderId, long fileEntryTypeId);
2389    
2390            /**
2391            * Returns a range of all the document library file entries that the user has permission to view where groupId = &#63; and folderId = &#63; and fileEntryTypeId = &#63;.
2392            *
2393            * <p>
2394            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
2395            * </p>
2396            *
2397            * @param groupId the group ID
2398            * @param folderId the folder ID
2399            * @param fileEntryTypeId the file entry type ID
2400            * @param start the lower bound of the range of document library file entries
2401            * @param end the upper bound of the range of document library file entries (not inclusive)
2402            * @return the range of matching document library file entries that the user has permission to view
2403            */
2404            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F_F(
2405                    long groupId, long folderId, long fileEntryTypeId, int start, int end);
2406    
2407            /**
2408            * Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = &#63; and folderId = &#63; and fileEntryTypeId = &#63;.
2409            *
2410            * <p>
2411            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
2412            * </p>
2413            *
2414            * @param groupId the group ID
2415            * @param folderId the folder ID
2416            * @param fileEntryTypeId the file entry type ID
2417            * @param start the lower bound of the range of document library file entries
2418            * @param end the upper bound of the range of document library file entries (not inclusive)
2419            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2420            * @return the ordered range of matching document library file entries that the user has permission to view
2421            */
2422            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F_F(
2423                    long groupId, long folderId, long fileEntryTypeId, int start, int end,
2424                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
2425    
2426            /**
2427            * Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = &#63; and folderId = &#63; and fileEntryTypeId = &#63;.
2428            *
2429            * @param fileEntryId the primary key of the current document library file entry
2430            * @param groupId the group ID
2431            * @param folderId the folder ID
2432            * @param fileEntryTypeId the file entry type ID
2433            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2434            * @return the previous, current, and next document library file entry
2435            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a document library file entry with the primary key could not be found
2436            */
2437            public com.liferay.portlet.documentlibrary.model.DLFileEntry[] filterFindByG_F_F_PrevAndNext(
2438                    long fileEntryId, long groupId, long folderId, long fileEntryTypeId,
2439                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
2440                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
2441    
2442            /**
2443            * Returns all the document library file entries that the user has permission to view where groupId = &#63; and folderId = any &#63; and fileEntryTypeId = &#63;.
2444            *
2445            * @param groupId the group ID
2446            * @param folderIds the folder IDs
2447            * @param fileEntryTypeId the file entry type ID
2448            * @return the matching document library file entries that the user has permission to view
2449            */
2450            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F_F(
2451                    long groupId, long[] folderIds, long fileEntryTypeId);
2452    
2453            /**
2454            * Returns a range of all the document library file entries that the user has permission to view where groupId = &#63; and folderId = any &#63; and fileEntryTypeId = &#63;.
2455            *
2456            * <p>
2457            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
2458            * </p>
2459            *
2460            * @param groupId the group ID
2461            * @param folderIds the folder IDs
2462            * @param fileEntryTypeId the file entry type ID
2463            * @param start the lower bound of the range of document library file entries
2464            * @param end the upper bound of the range of document library file entries (not inclusive)
2465            * @return the range of matching document library file entries that the user has permission to view
2466            */
2467            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F_F(
2468                    long groupId, long[] folderIds, long fileEntryTypeId, int start, int end);
2469    
2470            /**
2471            * Returns an ordered range of all the document library file entries that the user has permission to view where groupId = &#63; and folderId = any &#63; and fileEntryTypeId = &#63;.
2472            *
2473            * <p>
2474            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
2475            * </p>
2476            *
2477            * @param groupId the group ID
2478            * @param folderIds the folder IDs
2479            * @param fileEntryTypeId the file entry type ID
2480            * @param start the lower bound of the range of document library file entries
2481            * @param end the upper bound of the range of document library file entries (not inclusive)
2482            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2483            * @return the ordered range of matching document library file entries that the user has permission to view
2484            */
2485            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F_F(
2486                    long groupId, long[] folderIds, long fileEntryTypeId, int start,
2487                    int end,
2488                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
2489    
2490            /**
2491            * Returns all the document library file entries where groupId = &#63; and folderId = any &#63; and fileEntryTypeId = &#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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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 folderIds the folder IDs
2499            * @param fileEntryTypeId the file entry type ID
2500            * @return the matching document library file entries
2501            */
2502            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F_F(
2503                    long groupId, long[] folderIds, long fileEntryTypeId);
2504    
2505            /**
2506            * Returns a range of all the document library file entries where groupId = &#63; and folderId = any &#63; and fileEntryTypeId = &#63;.
2507            *
2508            * <p>
2509            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
2510            * </p>
2511            *
2512            * @param groupId the group ID
2513            * @param folderIds the folder IDs
2514            * @param fileEntryTypeId the file entry type ID
2515            * @param start the lower bound of the range of document library file entries
2516            * @param end the upper bound of the range of document library file entries (not inclusive)
2517            * @return the range of matching document library file entries
2518            */
2519            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F_F(
2520                    long groupId, long[] folderIds, long fileEntryTypeId, int start, int end);
2521    
2522            /**
2523            * Returns an ordered range of all the document library file entries where groupId = &#63; and folderId = any &#63; and fileEntryTypeId = &#63;.
2524            *
2525            * <p>
2526            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
2527            * </p>
2528            *
2529            * @param groupId the group ID
2530            * @param folderIds the folder IDs
2531            * @param fileEntryTypeId the file entry type ID
2532            * @param start the lower bound of the range of document library file entries
2533            * @param end the upper bound of the range of document library file entries (not inclusive)
2534            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2535            * @return the ordered range of matching document library file entries
2536            */
2537            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F_F(
2538                    long groupId, long[] folderIds, long fileEntryTypeId, int start,
2539                    int end,
2540                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
2541    
2542            /**
2543            * Removes all the document library file entries where groupId = &#63; and folderId = &#63; and fileEntryTypeId = &#63; from the database.
2544            *
2545            * @param groupId the group ID
2546            * @param folderId the folder ID
2547            * @param fileEntryTypeId the file entry type ID
2548            */
2549            public void removeByG_F_F(long groupId, long folderId, long fileEntryTypeId);
2550    
2551            /**
2552            * Returns the number of document library file entries where groupId = &#63; and folderId = &#63; and fileEntryTypeId = &#63;.
2553            *
2554            * @param groupId the group ID
2555            * @param folderId the folder ID
2556            * @param fileEntryTypeId the file entry type ID
2557            * @return the number of matching document library file entries
2558            */
2559            public int countByG_F_F(long groupId, long folderId, long fileEntryTypeId);
2560    
2561            /**
2562            * Returns the number of document library file entries where groupId = &#63; and folderId = any &#63; and fileEntryTypeId = &#63;.
2563            *
2564            * @param groupId the group ID
2565            * @param folderIds the folder IDs
2566            * @param fileEntryTypeId the file entry type ID
2567            * @return the number of matching document library file entries
2568            */
2569            public int countByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId);
2570    
2571            /**
2572            * Returns the number of document library file entries that the user has permission to view where groupId = &#63; and folderId = &#63; and fileEntryTypeId = &#63;.
2573            *
2574            * @param groupId the group ID
2575            * @param folderId the folder ID
2576            * @param fileEntryTypeId the file entry type ID
2577            * @return the number of matching document library file entries that the user has permission to view
2578            */
2579            public int filterCountByG_F_F(long groupId, long folderId,
2580                    long fileEntryTypeId);
2581    
2582            /**
2583            * Returns the number of document library file entries that the user has permission to view where groupId = &#63; and folderId = any &#63; and fileEntryTypeId = &#63;.
2584            *
2585            * @param groupId the group ID
2586            * @param folderIds the folder IDs
2587            * @param fileEntryTypeId the file entry type ID
2588            * @return the number of matching document library file entries that the user has permission to view
2589            */
2590            public int filterCountByG_F_F(long groupId, long[] folderIds,
2591                    long fileEntryTypeId);
2592    
2593            /**
2594            * Caches the document library file entry in the entity cache if it is enabled.
2595            *
2596            * @param dlFileEntry the document library file entry
2597            */
2598            public void cacheResult(
2599                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry);
2600    
2601            /**
2602            * Caches the document library file entries in the entity cache if it is enabled.
2603            *
2604            * @param dlFileEntries the document library file entries
2605            */
2606            public void cacheResult(
2607                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> dlFileEntries);
2608    
2609            /**
2610            * Creates a new document library file entry with the primary key. Does not add the document library file entry to the database.
2611            *
2612            * @param fileEntryId the primary key for the new document library file entry
2613            * @return the new document library file entry
2614            */
2615            public com.liferay.portlet.documentlibrary.model.DLFileEntry create(
2616                    long fileEntryId);
2617    
2618            /**
2619            * Removes the document library file entry with the primary key from the database. Also notifies the appropriate model listeners.
2620            *
2621            * @param fileEntryId the primary key of the document library file entry
2622            * @return the document library file entry that was removed
2623            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a document library file entry with the primary key could not be found
2624            */
2625            public com.liferay.portlet.documentlibrary.model.DLFileEntry remove(
2626                    long fileEntryId)
2627                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
2628    
2629            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateImpl(
2630                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry);
2631    
2632            /**
2633            * Returns the document library file entry with the primary key or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFileEntryException} if it could not be found.
2634            *
2635            * @param fileEntryId the primary key of the document library file entry
2636            * @return the document library file entry
2637            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a document library file entry with the primary key could not be found
2638            */
2639            public com.liferay.portlet.documentlibrary.model.DLFileEntry findByPrimaryKey(
2640                    long fileEntryId)
2641                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
2642    
2643            /**
2644            * Returns the document library file entry with the primary key or returns <code>null</code> if it could not be found.
2645            *
2646            * @param fileEntryId the primary key of the document library file entry
2647            * @return the document library file entry, or <code>null</code> if a document library file entry with the primary key could not be found
2648            */
2649            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByPrimaryKey(
2650                    long fileEntryId);
2651    
2652            @Override
2653            public java.util.Map<java.io.Serializable, com.liferay.portlet.documentlibrary.model.DLFileEntry> fetchByPrimaryKeys(
2654                    java.util.Set<java.io.Serializable> primaryKeys);
2655    
2656            /**
2657            * Returns all the document library file entries.
2658            *
2659            * @return the document library file entries
2660            */
2661            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll();
2662    
2663            /**
2664            * Returns a range of all the document library file entries.
2665            *
2666            * <p>
2667            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
2668            * </p>
2669            *
2670            * @param start the lower bound of the range of document library file entries
2671            * @param end the upper bound of the range of document library file entries (not inclusive)
2672            * @return the range of document library file entries
2673            */
2674            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll(
2675                    int start, int end);
2676    
2677            /**
2678            * Returns an ordered range of all the document library file entries.
2679            *
2680            * <p>
2681            * 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.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
2682            * </p>
2683            *
2684            * @param start the lower bound of the range of document library file entries
2685            * @param end the upper bound of the range of document library file entries (not inclusive)
2686            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2687            * @return the ordered range of document library file entries
2688            */
2689            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll(
2690                    int start, int end,
2691                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
2692    
2693            /**
2694            * Removes all the document library file entries from the database.
2695            */
2696            public void removeAll();
2697    
2698            /**
2699            * Returns the number of document library file entries.
2700            *
2701            * @return the number of document library file entries
2702            */
2703            public int countAll();
2704    }