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