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 folderId = &#63; and name = &#63;.
1875            *
1876            * @param folderId the folder ID
1877            * @param name the name
1878            * @return the matching document library file entries
1879            */
1880            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByF_N(
1881                    long folderId, java.lang.String name) {
1882                    return getPersistence().findByF_N(folderId, name);
1883            }
1884    
1885            /**
1886            * Returns a range of all the document library file entries where folderId = &#63; and name = &#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 folderId the folder ID
1893            * @param name the name
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> findByF_N(
1899                    long folderId, java.lang.String name, int start, int end) {
1900                    return getPersistence().findByF_N(folderId, name, start, end);
1901            }
1902    
1903            /**
1904            * Returns an ordered range of all the document library file entries where folderId = &#63; and name = &#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 folderId the folder ID
1911            * @param name the name
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> findByF_N(
1918                    long folderId, java.lang.String name, int start, int end,
1919                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator) {
1920                    return getPersistence()
1921                                       .findByF_N(folderId, name, start, end, orderByComparator);
1922            }
1923    
1924            /**
1925            * Returns the first document library file entry in the ordered set where folderId = &#63; and name = &#63;.
1926            *
1927            * @param folderId the folder ID
1928            * @param name the name
1929            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1930            * @return the first matching document library file entry
1931            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
1932            */
1933            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByF_N_First(
1934                    long folderId, java.lang.String name,
1935                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
1936                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
1937                    return getPersistence()
1938                                       .findByF_N_First(folderId, name, orderByComparator);
1939            }
1940    
1941            /**
1942            * Returns the first document library file entry in the ordered set where folderId = &#63; and name = &#63;.
1943            *
1944            * @param folderId the folder ID
1945            * @param name the name
1946            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1947            * @return the first matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
1948            */
1949            public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByF_N_First(
1950                    long folderId, java.lang.String name,
1951                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator) {
1952                    return getPersistence()
1953                                       .fetchByF_N_First(folderId, name, orderByComparator);
1954            }
1955    
1956            /**
1957            * Returns the last document library file entry in the ordered set where folderId = &#63; and name = &#63;.
1958            *
1959            * @param folderId the folder ID
1960            * @param name the name
1961            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1962            * @return the last matching document library file entry
1963            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
1964            */
1965            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByF_N_Last(
1966                    long folderId, java.lang.String name,
1967                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
1968                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
1969                    return getPersistence().findByF_N_Last(folderId, name, orderByComparator);
1970            }
1971    
1972            /**
1973            * Returns the last document library file entry in the ordered set where folderId = &#63; and name = &#63;.
1974            *
1975            * @param folderId the folder ID
1976            * @param name the name
1977            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1978            * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
1979            */
1980            public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByF_N_Last(
1981                    long folderId, java.lang.String name,
1982                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator) {
1983                    return getPersistence()
1984                                       .fetchByF_N_Last(folderId, name, orderByComparator);
1985            }
1986    
1987            /**
1988            * 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;.
1989            *
1990            * @param fileEntryId the primary key of the current document library file entry
1991            * @param folderId the folder ID
1992            * @param name the name
1993            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1994            * @return the previous, current, and next document library file entry
1995            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a document library file entry with the primary key could not be found
1996            */
1997            public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByF_N_PrevAndNext(
1998                    long fileEntryId, long folderId, java.lang.String name,
1999                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
2000                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
2001                    return getPersistence()
2002                                       .findByF_N_PrevAndNext(fileEntryId, folderId, name,
2003                            orderByComparator);
2004            }
2005    
2006            /**
2007            * Removes all the document library file entries where folderId = &#63; and name = &#63; from the database.
2008            *
2009            * @param folderId the folder ID
2010            * @param name the name
2011            */
2012            public static void removeByF_N(long folderId, java.lang.String name) {
2013                    getPersistence().removeByF_N(folderId, name);
2014            }
2015    
2016            /**
2017            * Returns the number of document library file entries where folderId = &#63; and name = &#63;.
2018            *
2019            * @param folderId the folder ID
2020            * @param name the name
2021            * @return the number of matching document library file entries
2022            */
2023            public static int countByF_N(long folderId, java.lang.String name) {
2024                    return getPersistence().countByF_N(folderId, name);
2025            }
2026    
2027            /**
2028            * Returns all the document library file entries where groupId = &#63; and userId = &#63; and folderId = &#63;.
2029            *
2030            * @param groupId the group ID
2031            * @param userId the user ID
2032            * @param folderId the folder ID
2033            * @return the matching document library file entries
2034            */
2035            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F(
2036                    long groupId, long userId, long folderId) {
2037                    return getPersistence().findByG_U_F(groupId, userId, folderId);
2038            }
2039    
2040            /**
2041            * Returns a range of all the document library file entries where groupId = &#63; and userId = &#63; and folderId = &#63;.
2042            *
2043            * <p>
2044            * 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.
2045            * </p>
2046            *
2047            * @param groupId the group ID
2048            * @param userId the user ID
2049            * @param folderId the folder ID
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> findByG_U_F(
2055                    long groupId, long userId, long folderId, int start, int end) {
2056                    return getPersistence()
2057                                       .findByG_U_F(groupId, userId, folderId, start, end);
2058            }
2059    
2060            /**
2061            * Returns an ordered range of all the document library file entries where groupId = &#63; and userId = &#63; and folderId = &#63;.
2062            *
2063            * <p>
2064            * 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.
2065            * </p>
2066            *
2067            * @param groupId the group ID
2068            * @param userId the user ID
2069            * @param folderId the folder ID
2070            * @param start the lower bound of the range of document library file entries
2071            * @param end the upper bound of the range of document library file entries (not inclusive)
2072            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2073            * @return the ordered range of matching document library file entries
2074            */
2075            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F(
2076                    long groupId, long userId, long folderId, int start, int end,
2077                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator) {
2078                    return getPersistence()
2079                                       .findByG_U_F(groupId, userId, folderId, start, end,
2080                            orderByComparator);
2081            }
2082    
2083            /**
2084            * Returns the first document library file entry in the ordered set where groupId = &#63; and userId = &#63; and folderId = &#63;.
2085            *
2086            * @param groupId the group ID
2087            * @param userId the user ID
2088            * @param folderId the folder ID
2089            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2090            * @return the first matching document library file entry
2091            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
2092            */
2093            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_U_F_First(
2094                    long groupId, long userId, long folderId,
2095                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
2096                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
2097                    return getPersistence()
2098                                       .findByG_U_F_First(groupId, userId, folderId,
2099                            orderByComparator);
2100            }
2101    
2102            /**
2103            * Returns the first document library file entry in the ordered set where groupId = &#63; and userId = &#63; and folderId = &#63;.
2104            *
2105            * @param groupId the group ID
2106            * @param userId the user ID
2107            * @param folderId the folder ID
2108            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2109            * @return the first matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
2110            */
2111            public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_U_F_First(
2112                    long groupId, long userId, long folderId,
2113                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator) {
2114                    return getPersistence()
2115                                       .fetchByG_U_F_First(groupId, userId, folderId,
2116                            orderByComparator);
2117            }
2118    
2119            /**
2120            * Returns the last document library file entry in the ordered set where groupId = &#63; and userId = &#63; and folderId = &#63;.
2121            *
2122            * @param groupId the group ID
2123            * @param userId the user ID
2124            * @param folderId the folder ID
2125            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2126            * @return the last matching document library file entry
2127            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
2128            */
2129            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_U_F_Last(
2130                    long groupId, long userId, long folderId,
2131                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
2132                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
2133                    return getPersistence()
2134                                       .findByG_U_F_Last(groupId, userId, folderId,
2135                            orderByComparator);
2136            }
2137    
2138            /**
2139            * Returns the last document library file entry in the ordered set where groupId = &#63; and userId = &#63; and folderId = &#63;.
2140            *
2141            * @param groupId the group ID
2142            * @param userId the user ID
2143            * @param folderId the folder ID
2144            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2145            * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
2146            */
2147            public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_U_F_Last(
2148                    long groupId, long userId, long folderId,
2149                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator) {
2150                    return getPersistence()
2151                                       .fetchByG_U_F_Last(groupId, userId, folderId,
2152                            orderByComparator);
2153            }
2154    
2155            /**
2156            * 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;.
2157            *
2158            * @param fileEntryId the primary key of the current document library file entry
2159            * @param groupId the group ID
2160            * @param userId the user ID
2161            * @param folderId the folder ID
2162            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2163            * @return the previous, current, and next document library file entry
2164            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a document library file entry with the primary key could not be found
2165            */
2166            public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByG_U_F_PrevAndNext(
2167                    long fileEntryId, long groupId, long userId, long folderId,
2168                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
2169                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
2170                    return getPersistence()
2171                                       .findByG_U_F_PrevAndNext(fileEntryId, groupId, userId,
2172                            folderId, orderByComparator);
2173            }
2174    
2175            /**
2176            * Returns all the document library file entries that the user has permission to view where groupId = &#63; and userId = &#63; and folderId = &#63;.
2177            *
2178            * @param groupId the group ID
2179            * @param userId the user ID
2180            * @param folderId the folder ID
2181            * @return the matching document library file entries that the user has permission to view
2182            */
2183            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F(
2184                    long groupId, long userId, long folderId) {
2185                    return getPersistence().filterFindByG_U_F(groupId, userId, folderId);
2186            }
2187    
2188            /**
2189            * 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;.
2190            *
2191            * <p>
2192            * 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.
2193            * </p>
2194            *
2195            * @param groupId the group ID
2196            * @param userId the user ID
2197            * @param folderId the folder ID
2198            * @param start the lower bound of the range of document library file entries
2199            * @param end the upper bound of the range of document library file entries (not inclusive)
2200            * @return the range of matching document library file entries that the user has permission to view
2201            */
2202            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F(
2203                    long groupId, long userId, long folderId, int start, int end) {
2204                    return getPersistence()
2205                                       .filterFindByG_U_F(groupId, userId, folderId, start, end);
2206            }
2207    
2208            /**
2209            * 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;.
2210            *
2211            * <p>
2212            * 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.
2213            * </p>
2214            *
2215            * @param groupId the group ID
2216            * @param userId the user ID
2217            * @param folderId the folder ID
2218            * @param start the lower bound of the range of document library file entries
2219            * @param end the upper bound of the range of document library file entries (not inclusive)
2220            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2221            * @return the ordered range of matching document library file entries that the user has permission to view
2222            */
2223            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F(
2224                    long groupId, long userId, long folderId, int start, int end,
2225                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator) {
2226                    return getPersistence()
2227                                       .filterFindByG_U_F(groupId, userId, folderId, start, end,
2228                            orderByComparator);
2229            }
2230    
2231            /**
2232            * 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;.
2233            *
2234            * @param fileEntryId the primary key of the current document library file entry
2235            * @param groupId the group ID
2236            * @param userId the user ID
2237            * @param folderId the folder ID
2238            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2239            * @return the previous, current, and next document library file entry
2240            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a document library file entry with the primary key could not be found
2241            */
2242            public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] filterFindByG_U_F_PrevAndNext(
2243                    long fileEntryId, long groupId, long userId, long folderId,
2244                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
2245                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
2246                    return getPersistence()
2247                                       .filterFindByG_U_F_PrevAndNext(fileEntryId, groupId, userId,
2248                            folderId, orderByComparator);
2249            }
2250    
2251            /**
2252            * Returns all the document library file entries that the user has permission to view where groupId = &#63; and userId = &#63; and folderId = any &#63;.
2253            *
2254            * @param groupId the group ID
2255            * @param userId the user ID
2256            * @param folderIds the folder IDs
2257            * @return the matching document library file entries that the user has permission to view
2258            */
2259            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F(
2260                    long groupId, long userId, long[] folderIds) {
2261                    return getPersistence().filterFindByG_U_F(groupId, userId, folderIds);
2262            }
2263    
2264            /**
2265            * 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;.
2266            *
2267            * <p>
2268            * 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.
2269            * </p>
2270            *
2271            * @param groupId the group ID
2272            * @param userId the user ID
2273            * @param folderIds the folder IDs
2274            * @param start the lower bound of the range of document library file entries
2275            * @param end the upper bound of the range of document library file entries (not inclusive)
2276            * @return the range of matching document library file entries that the user has permission to view
2277            */
2278            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F(
2279                    long groupId, long userId, long[] folderIds, int start, int end) {
2280                    return getPersistence()
2281                                       .filterFindByG_U_F(groupId, userId, folderIds, start, end);
2282            }
2283    
2284            /**
2285            * 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;.
2286            *
2287            * <p>
2288            * 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.
2289            * </p>
2290            *
2291            * @param groupId the group ID
2292            * @param userId the user ID
2293            * @param folderIds the folder IDs
2294            * @param start the lower bound of the range of document library file entries
2295            * @param end the upper bound of the range of document library file entries (not inclusive)
2296            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2297            * @return the ordered range of matching document library file entries that the user has permission to view
2298            */
2299            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F(
2300                    long groupId, long userId, long[] folderIds, int start, int end,
2301                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator) {
2302                    return getPersistence()
2303                                       .filterFindByG_U_F(groupId, userId, folderIds, start, end,
2304                            orderByComparator);
2305            }
2306    
2307            /**
2308            * Returns all the document library file entries where groupId = &#63; and userId = &#63; and folderId = any &#63;.
2309            *
2310            * <p>
2311            * 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.
2312            * </p>
2313            *
2314            * @param groupId the group ID
2315            * @param userId the user ID
2316            * @param folderIds the folder IDs
2317            * @return the matching document library file entries
2318            */
2319            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F(
2320                    long groupId, long userId, long[] folderIds) {
2321                    return getPersistence().findByG_U_F(groupId, userId, folderIds);
2322            }
2323    
2324            /**
2325            * Returns a range of all the document library file entries where groupId = &#63; and userId = &#63; and folderId = any &#63;.
2326            *
2327            * <p>
2328            * 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.
2329            * </p>
2330            *
2331            * @param groupId the group ID
2332            * @param userId the user ID
2333            * @param folderIds the folder IDs
2334            * @param start the lower bound of the range of document library file entries
2335            * @param end the upper bound of the range of document library file entries (not inclusive)
2336            * @return the range of matching document library file entries
2337            */
2338            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F(
2339                    long groupId, long userId, long[] folderIds, int start, int end) {
2340                    return getPersistence()
2341                                       .findByG_U_F(groupId, userId, folderIds, start, end);
2342            }
2343    
2344            /**
2345            * Returns an ordered range of all the document library file entries where groupId = &#63; and userId = &#63; and folderId = any &#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 folderIds the folder IDs
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            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2357            * @return the ordered range of matching document library file entries
2358            */
2359            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F(
2360                    long groupId, long userId, long[] folderIds, int start, int end,
2361                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator) {
2362                    return getPersistence()
2363                                       .findByG_U_F(groupId, userId, folderIds, start, end,
2364                            orderByComparator);
2365            }
2366    
2367            /**
2368            * Removes all the document library file entries where groupId = &#63; and userId = &#63; and folderId = &#63; from the database.
2369            *
2370            * @param groupId the group ID
2371            * @param userId the user ID
2372            * @param folderId the folder ID
2373            */
2374            public static void removeByG_U_F(long groupId, long userId, long folderId) {
2375                    getPersistence().removeByG_U_F(groupId, userId, folderId);
2376            }
2377    
2378            /**
2379            * Returns the number of document library file entries where groupId = &#63; and userId = &#63; and folderId = &#63;.
2380            *
2381            * @param groupId the group ID
2382            * @param userId the user ID
2383            * @param folderId the folder ID
2384            * @return the number of matching document library file entries
2385            */
2386            public static int countByG_U_F(long groupId, long userId, long folderId) {
2387                    return getPersistence().countByG_U_F(groupId, userId, folderId);
2388            }
2389    
2390            /**
2391            * Returns the number of document library file entries where groupId = &#63; and userId = &#63; and folderId = any &#63;.
2392            *
2393            * @param groupId the group ID
2394            * @param userId the user ID
2395            * @param folderIds the folder IDs
2396            * @return the number of matching document library file entries
2397            */
2398            public static int countByG_U_F(long groupId, long userId, long[] folderIds) {
2399                    return getPersistence().countByG_U_F(groupId, userId, folderIds);
2400            }
2401    
2402            /**
2403            * Returns the number of document library file entries that the user has permission to view where groupId = &#63; and userId = &#63; and folderId = &#63;.
2404            *
2405            * @param groupId the group ID
2406            * @param userId the user ID
2407            * @param folderId the folder ID
2408            * @return the number of matching document library file entries that the user has permission to view
2409            */
2410            public static int filterCountByG_U_F(long groupId, long userId,
2411                    long folderId) {
2412                    return getPersistence().filterCountByG_U_F(groupId, userId, folderId);
2413            }
2414    
2415            /**
2416            * 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;.
2417            *
2418            * @param groupId the group ID
2419            * @param userId the user ID
2420            * @param folderIds the folder IDs
2421            * @return the number of matching document library file entries that the user has permission to view
2422            */
2423            public static int filterCountByG_U_F(long groupId, long userId,
2424                    long[] folderIds) {
2425                    return getPersistence().filterCountByG_U_F(groupId, userId, folderIds);
2426            }
2427    
2428            /**
2429            * 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.
2430            *
2431            * @param groupId the group ID
2432            * @param folderId the folder ID
2433            * @param name the name
2434            * @return the matching document library file entry
2435            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
2436            */
2437            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_N(
2438                    long groupId, long folderId, java.lang.String name)
2439                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
2440                    return getPersistence().findByG_F_N(groupId, folderId, name);
2441            }
2442    
2443            /**
2444            * 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.
2445            *
2446            * @param groupId the group ID
2447            * @param folderId the folder ID
2448            * @param name the name
2449            * @return the matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
2450            */
2451            public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_N(
2452                    long groupId, long folderId, java.lang.String name) {
2453                    return getPersistence().fetchByG_F_N(groupId, folderId, name);
2454            }
2455    
2456            /**
2457            * 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.
2458            *
2459            * @param groupId the group ID
2460            * @param folderId the folder ID
2461            * @param name the name
2462            * @param retrieveFromCache whether to use the finder cache
2463            * @return the matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
2464            */
2465            public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_N(
2466                    long groupId, long folderId, java.lang.String name,
2467                    boolean retrieveFromCache) {
2468                    return getPersistence()
2469                                       .fetchByG_F_N(groupId, folderId, name, retrieveFromCache);
2470            }
2471    
2472            /**
2473            * Removes the document library file entry where groupId = &#63; and folderId = &#63; and name = &#63; from the database.
2474            *
2475            * @param groupId the group ID
2476            * @param folderId the folder ID
2477            * @param name the name
2478            * @return the document library file entry that was removed
2479            */
2480            public static com.liferay.portlet.documentlibrary.model.DLFileEntry removeByG_F_N(
2481                    long groupId, long folderId, java.lang.String name)
2482                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
2483                    return getPersistence().removeByG_F_N(groupId, folderId, name);
2484            }
2485    
2486            /**
2487            * Returns the number of document library file entries where groupId = &#63; and folderId = &#63; and name = &#63;.
2488            *
2489            * @param groupId the group ID
2490            * @param folderId the folder ID
2491            * @param name the name
2492            * @return the number of matching document library file entries
2493            */
2494            public static int countByG_F_N(long groupId, long folderId,
2495                    java.lang.String name) {
2496                    return getPersistence().countByG_F_N(groupId, folderId, name);
2497            }
2498    
2499            /**
2500            * 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.
2501            *
2502            * @param groupId the group ID
2503            * @param folderId the folder ID
2504            * @param fileName the file name
2505            * @return the matching document library file entry
2506            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
2507            */
2508            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_FN(
2509                    long groupId, long folderId, java.lang.String fileName)
2510                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
2511                    return getPersistence().findByG_F_FN(groupId, folderId, fileName);
2512            }
2513    
2514            /**
2515            * 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.
2516            *
2517            * @param groupId the group ID
2518            * @param folderId the folder ID
2519            * @param fileName the file name
2520            * @return the matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
2521            */
2522            public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_FN(
2523                    long groupId, long folderId, java.lang.String fileName) {
2524                    return getPersistence().fetchByG_F_FN(groupId, folderId, fileName);
2525            }
2526    
2527            /**
2528            * 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.
2529            *
2530            * @param groupId the group ID
2531            * @param folderId the folder ID
2532            * @param fileName the file name
2533            * @param retrieveFromCache whether to use the finder cache
2534            * @return the matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
2535            */
2536            public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_FN(
2537                    long groupId, long folderId, java.lang.String fileName,
2538                    boolean retrieveFromCache) {
2539                    return getPersistence()
2540                                       .fetchByG_F_FN(groupId, folderId, fileName, retrieveFromCache);
2541            }
2542    
2543            /**
2544            * Removes the document library file entry where groupId = &#63; and folderId = &#63; and fileName = &#63; from the database.
2545            *
2546            * @param groupId the group ID
2547            * @param folderId the folder ID
2548            * @param fileName the file name
2549            * @return the document library file entry that was removed
2550            */
2551            public static com.liferay.portlet.documentlibrary.model.DLFileEntry removeByG_F_FN(
2552                    long groupId, long folderId, java.lang.String fileName)
2553                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
2554                    return getPersistence().removeByG_F_FN(groupId, folderId, fileName);
2555            }
2556    
2557            /**
2558            * Returns the number of document library file entries where groupId = &#63; and folderId = &#63; and fileName = &#63;.
2559            *
2560            * @param groupId the group ID
2561            * @param folderId the folder ID
2562            * @param fileName the file name
2563            * @return the number of matching document library file entries
2564            */
2565            public static int countByG_F_FN(long groupId, long folderId,
2566                    java.lang.String fileName) {
2567                    return getPersistence().countByG_F_FN(groupId, folderId, fileName);
2568            }
2569    
2570            /**
2571            * 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.
2572            *
2573            * @param groupId the group ID
2574            * @param folderId the folder ID
2575            * @param title the title
2576            * @return the matching document library file entry
2577            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
2578            */
2579            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_T(
2580                    long groupId, long folderId, java.lang.String title)
2581                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
2582                    return getPersistence().findByG_F_T(groupId, folderId, title);
2583            }
2584    
2585            /**
2586            * 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.
2587            *
2588            * @param groupId the group ID
2589            * @param folderId the folder ID
2590            * @param title the title
2591            * @return the matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
2592            */
2593            public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_T(
2594                    long groupId, long folderId, java.lang.String title) {
2595                    return getPersistence().fetchByG_F_T(groupId, folderId, title);
2596            }
2597    
2598            /**
2599            * 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.
2600            *
2601            * @param groupId the group ID
2602            * @param folderId the folder ID
2603            * @param title the title
2604            * @param retrieveFromCache whether to use the finder cache
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_T(
2608                    long groupId, long folderId, java.lang.String title,
2609                    boolean retrieveFromCache) {
2610                    return getPersistence()
2611                                       .fetchByG_F_T(groupId, folderId, title, retrieveFromCache);
2612            }
2613    
2614            /**
2615            * Removes the document library file entry where groupId = &#63; and folderId = &#63; and title = &#63; from the database.
2616            *
2617            * @param groupId the group ID
2618            * @param folderId the folder ID
2619            * @param title the title
2620            * @return the document library file entry that was removed
2621            */
2622            public static com.liferay.portlet.documentlibrary.model.DLFileEntry removeByG_F_T(
2623                    long groupId, long folderId, java.lang.String title)
2624                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
2625                    return getPersistence().removeByG_F_T(groupId, folderId, title);
2626            }
2627    
2628            /**
2629            * Returns the number of document library file entries where groupId = &#63; and folderId = &#63; and title = &#63;.
2630            *
2631            * @param groupId the group ID
2632            * @param folderId the folder ID
2633            * @param title the title
2634            * @return the number of matching document library file entries
2635            */
2636            public static int countByG_F_T(long groupId, long folderId,
2637                    java.lang.String title) {
2638                    return getPersistence().countByG_F_T(groupId, folderId, title);
2639            }
2640    
2641            /**
2642            * Returns all the document library file entries where groupId = &#63; and folderId = &#63; and fileEntryTypeId = &#63;.
2643            *
2644            * @param groupId the group ID
2645            * @param folderId the folder ID
2646            * @param fileEntryTypeId the file entry type ID
2647            * @return the matching document library file entries
2648            */
2649            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F_F(
2650                    long groupId, long folderId, long fileEntryTypeId) {
2651                    return getPersistence().findByG_F_F(groupId, folderId, fileEntryTypeId);
2652            }
2653    
2654            /**
2655            * Returns a range of all the document library file entries where groupId = &#63; and folderId = &#63; and fileEntryTypeId = &#63;.
2656            *
2657            * <p>
2658            * 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.
2659            * </p>
2660            *
2661            * @param groupId the group ID
2662            * @param folderId the folder ID
2663            * @param fileEntryTypeId the file entry type ID
2664            * @param start the lower bound of the range of document library file entries
2665            * @param end the upper bound of the range of document library file entries (not inclusive)
2666            * @return the range of matching document library file entries
2667            */
2668            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F_F(
2669                    long groupId, long folderId, long fileEntryTypeId, int start, int end) {
2670                    return getPersistence()
2671                                       .findByG_F_F(groupId, folderId, fileEntryTypeId, start, end);
2672            }
2673    
2674            /**
2675            * Returns an ordered range of all the document library file entries where groupId = &#63; and folderId = &#63; and fileEntryTypeId = &#63;.
2676            *
2677            * <p>
2678            * 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.
2679            * </p>
2680            *
2681            * @param groupId the group ID
2682            * @param folderId the folder ID
2683            * @param fileEntryTypeId the file entry type ID
2684            * @param start the lower bound of the range of document library file entries
2685            * @param end the upper bound of the range of document library file entries (not inclusive)
2686            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2687            * @return the ordered range of matching document library file entries
2688            */
2689            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F_F(
2690                    long groupId, long folderId, long fileEntryTypeId, int start, int end,
2691                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator) {
2692                    return getPersistence()
2693                                       .findByG_F_F(groupId, folderId, fileEntryTypeId, start, end,
2694                            orderByComparator);
2695            }
2696    
2697            /**
2698            * Returns the first document library file entry in the ordered set where groupId = &#63; and folderId = &#63; and fileEntryTypeId = &#63;.
2699            *
2700            * @param groupId the group ID
2701            * @param folderId the folder ID
2702            * @param fileEntryTypeId the file entry type ID
2703            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2704            * @return the first matching document library file entry
2705            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
2706            */
2707            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_F_First(
2708                    long groupId, long folderId, long fileEntryTypeId,
2709                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
2710                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
2711                    return getPersistence()
2712                                       .findByG_F_F_First(groupId, folderId, fileEntryTypeId,
2713                            orderByComparator);
2714            }
2715    
2716            /**
2717            * Returns the first document library file entry in the ordered set where groupId = &#63; and folderId = &#63; and fileEntryTypeId = &#63;.
2718            *
2719            * @param groupId the group ID
2720            * @param folderId the folder ID
2721            * @param fileEntryTypeId the file entry type ID
2722            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2723            * @return the first matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
2724            */
2725            public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_F_First(
2726                    long groupId, long folderId, long fileEntryTypeId,
2727                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator) {
2728                    return getPersistence()
2729                                       .fetchByG_F_F_First(groupId, folderId, fileEntryTypeId,
2730                            orderByComparator);
2731            }
2732    
2733            /**
2734            * Returns the last document library file entry in the ordered set where groupId = &#63; and folderId = &#63; and fileEntryTypeId = &#63;.
2735            *
2736            * @param groupId the group ID
2737            * @param folderId the folder ID
2738            * @param fileEntryTypeId the file entry type ID
2739            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2740            * @return the last matching document library file entry
2741            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching document library file entry could not be found
2742            */
2743            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_F_Last(
2744                    long groupId, long folderId, long fileEntryTypeId,
2745                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
2746                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
2747                    return getPersistence()
2748                                       .findByG_F_F_Last(groupId, folderId, fileEntryTypeId,
2749                            orderByComparator);
2750            }
2751    
2752            /**
2753            * Returns the last document library file entry in the ordered set where groupId = &#63; and folderId = &#63; and fileEntryTypeId = &#63;.
2754            *
2755            * @param groupId the group ID
2756            * @param folderId the folder ID
2757            * @param fileEntryTypeId the file entry type ID
2758            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2759            * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
2760            */
2761            public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_F_Last(
2762                    long groupId, long folderId, long fileEntryTypeId,
2763                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator) {
2764                    return getPersistence()
2765                                       .fetchByG_F_F_Last(groupId, folderId, fileEntryTypeId,
2766                            orderByComparator);
2767            }
2768    
2769            /**
2770            * 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;.
2771            *
2772            * @param fileEntryId the primary key of the current document library file entry
2773            * @param groupId the group ID
2774            * @param folderId the folder ID
2775            * @param fileEntryTypeId the file entry type ID
2776            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2777            * @return the previous, current, and next document library file entry
2778            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a document library file entry with the primary key could not be found
2779            */
2780            public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByG_F_F_PrevAndNext(
2781                    long fileEntryId, long groupId, long folderId, long fileEntryTypeId,
2782                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
2783                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
2784                    return getPersistence()
2785                                       .findByG_F_F_PrevAndNext(fileEntryId, groupId, folderId,
2786                            fileEntryTypeId, orderByComparator);
2787            }
2788    
2789            /**
2790            * Returns all the document library file entries that the user has permission to view where groupId = &#63; and folderId = &#63; and fileEntryTypeId = &#63;.
2791            *
2792            * @param groupId the group ID
2793            * @param folderId the folder ID
2794            * @param fileEntryTypeId the file entry type ID
2795            * @return the matching document library file entries that the user has permission to view
2796            */
2797            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F_F(
2798                    long groupId, long folderId, long fileEntryTypeId) {
2799                    return getPersistence()
2800                                       .filterFindByG_F_F(groupId, folderId, fileEntryTypeId);
2801            }
2802    
2803            /**
2804            * 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;.
2805            *
2806            * <p>
2807            * 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.
2808            * </p>
2809            *
2810            * @param groupId the group ID
2811            * @param folderId the folder ID
2812            * @param fileEntryTypeId the file entry type ID
2813            * @param start the lower bound of the range of document library file entries
2814            * @param end the upper bound of the range of document library file entries (not inclusive)
2815            * @return the range of matching document library file entries that the user has permission to view
2816            */
2817            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F_F(
2818                    long groupId, long folderId, long fileEntryTypeId, int start, int end) {
2819                    return getPersistence()
2820                                       .filterFindByG_F_F(groupId, folderId, fileEntryTypeId,
2821                            start, end);
2822            }
2823    
2824            /**
2825            * 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;.
2826            *
2827            * <p>
2828            * 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.
2829            * </p>
2830            *
2831            * @param groupId the group ID
2832            * @param folderId the folder ID
2833            * @param fileEntryTypeId the file entry type ID
2834            * @param start the lower bound of the range of document library file entries
2835            * @param end the upper bound of the range of document library file entries (not inclusive)
2836            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2837            * @return the ordered range of matching document library file entries that the user has permission to view
2838            */
2839            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F_F(
2840                    long groupId, long folderId, long fileEntryTypeId, int start, int end,
2841                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator) {
2842                    return getPersistence()
2843                                       .filterFindByG_F_F(groupId, folderId, fileEntryTypeId,
2844                            start, end, orderByComparator);
2845            }
2846    
2847            /**
2848            * 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;.
2849            *
2850            * @param fileEntryId the primary key of the current document library file entry
2851            * @param groupId the group ID
2852            * @param folderId the folder ID
2853            * @param fileEntryTypeId the file entry type ID
2854            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2855            * @return the previous, current, and next document library file entry
2856            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a document library file entry with the primary key could not be found
2857            */
2858            public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] filterFindByG_F_F_PrevAndNext(
2859                    long fileEntryId, long groupId, long folderId, long fileEntryTypeId,
2860                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator)
2861                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
2862                    return getPersistence()
2863                                       .filterFindByG_F_F_PrevAndNext(fileEntryId, groupId,
2864                            folderId, fileEntryTypeId, orderByComparator);
2865            }
2866    
2867            /**
2868            * Returns all the document library file entries that the user has permission to view where groupId = &#63; and folderId = any &#63; and fileEntryTypeId = &#63;.
2869            *
2870            * @param groupId the group ID
2871            * @param folderIds the folder IDs
2872            * @param fileEntryTypeId the file entry type ID
2873            * @return the matching document library file entries that the user has permission to view
2874            */
2875            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F_F(
2876                    long groupId, long[] folderIds, long fileEntryTypeId) {
2877                    return getPersistence()
2878                                       .filterFindByG_F_F(groupId, folderIds, fileEntryTypeId);
2879            }
2880    
2881            /**
2882            * 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;.
2883            *
2884            * <p>
2885            * 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.
2886            * </p>
2887            *
2888            * @param groupId the group ID
2889            * @param folderIds the folder IDs
2890            * @param fileEntryTypeId the file entry type ID
2891            * @param start the lower bound of the range of document library file entries
2892            * @param end the upper bound of the range of document library file entries (not inclusive)
2893            * @return the range of matching document library file entries that the user has permission to view
2894            */
2895            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F_F(
2896                    long groupId, long[] folderIds, long fileEntryTypeId, int start, int end) {
2897                    return getPersistence()
2898                                       .filterFindByG_F_F(groupId, folderIds, fileEntryTypeId,
2899                            start, end);
2900            }
2901    
2902            /**
2903            * 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;.
2904            *
2905            * <p>
2906            * 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.
2907            * </p>
2908            *
2909            * @param groupId the group ID
2910            * @param folderIds the folder IDs
2911            * @param fileEntryTypeId the file entry type ID
2912            * @param start the lower bound of the range of document library file entries
2913            * @param end the upper bound of the range of document library file entries (not inclusive)
2914            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2915            * @return the ordered range of matching document library file entries that the user has permission to view
2916            */
2917            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F_F(
2918                    long groupId, long[] folderIds, long fileEntryTypeId, int start,
2919                    int end,
2920                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator) {
2921                    return getPersistence()
2922                                       .filterFindByG_F_F(groupId, folderIds, fileEntryTypeId,
2923                            start, end, orderByComparator);
2924            }
2925    
2926            /**
2927            * Returns all the document library file entries where groupId = &#63; and folderId = any &#63; and fileEntryTypeId = &#63;.
2928            *
2929            * <p>
2930            * 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.
2931            * </p>
2932            *
2933            * @param groupId the group ID
2934            * @param folderIds the folder IDs
2935            * @param fileEntryTypeId the file entry type ID
2936            * @return the matching document library file entries
2937            */
2938            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F_F(
2939                    long groupId, long[] folderIds, long fileEntryTypeId) {
2940                    return getPersistence().findByG_F_F(groupId, folderIds, fileEntryTypeId);
2941            }
2942    
2943            /**
2944            * Returns a range of all the document library file entries where groupId = &#63; and folderId = any &#63; and fileEntryTypeId = &#63;.
2945            *
2946            * <p>
2947            * 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.
2948            * </p>
2949            *
2950            * @param groupId the group ID
2951            * @param folderIds the folder IDs
2952            * @param fileEntryTypeId the file entry type ID
2953            * @param start the lower bound of the range of document library file entries
2954            * @param end the upper bound of the range of document library file entries (not inclusive)
2955            * @return the range of matching document library file entries
2956            */
2957            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F_F(
2958                    long groupId, long[] folderIds, long fileEntryTypeId, int start, int end) {
2959                    return getPersistence()
2960                                       .findByG_F_F(groupId, folderIds, fileEntryTypeId, start, end);
2961            }
2962    
2963            /**
2964            * Returns an ordered range of all the document library file entries where groupId = &#63; and folderId = any &#63; and fileEntryTypeId = &#63;.
2965            *
2966            * <p>
2967            * 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.
2968            * </p>
2969            *
2970            * @param groupId the group ID
2971            * @param folderIds the folder IDs
2972            * @param fileEntryTypeId the file entry type ID
2973            * @param start the lower bound of the range of document library file entries
2974            * @param end the upper bound of the range of document library file entries (not inclusive)
2975            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2976            * @return the ordered range of matching document library file entries
2977            */
2978            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F_F(
2979                    long groupId, long[] folderIds, long fileEntryTypeId, int start,
2980                    int end,
2981                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator) {
2982                    return getPersistence()
2983                                       .findByG_F_F(groupId, folderIds, fileEntryTypeId, start,
2984                            end, orderByComparator);
2985            }
2986    
2987            /**
2988            * Removes all the document library file entries where groupId = &#63; and folderId = &#63; and fileEntryTypeId = &#63; from the database.
2989            *
2990            * @param groupId the group ID
2991            * @param folderId the folder ID
2992            * @param fileEntryTypeId the file entry type ID
2993            */
2994            public static void removeByG_F_F(long groupId, long folderId,
2995                    long fileEntryTypeId) {
2996                    getPersistence().removeByG_F_F(groupId, folderId, fileEntryTypeId);
2997            }
2998    
2999            /**
3000            * Returns the number of document library file entries where groupId = &#63; and folderId = &#63; and fileEntryTypeId = &#63;.
3001            *
3002            * @param groupId the group ID
3003            * @param folderId the folder ID
3004            * @param fileEntryTypeId the file entry type ID
3005            * @return the number of matching document library file entries
3006            */
3007            public static int countByG_F_F(long groupId, long folderId,
3008                    long fileEntryTypeId) {
3009                    return getPersistence().countByG_F_F(groupId, folderId, fileEntryTypeId);
3010            }
3011    
3012            /**
3013            * Returns the number of document library file entries where groupId = &#63; and folderId = any &#63; and fileEntryTypeId = &#63;.
3014            *
3015            * @param groupId the group ID
3016            * @param folderIds the folder IDs
3017            * @param fileEntryTypeId the file entry type ID
3018            * @return the number of matching document library file entries
3019            */
3020            public static int countByG_F_F(long groupId, long[] folderIds,
3021                    long fileEntryTypeId) {
3022                    return getPersistence().countByG_F_F(groupId, folderIds, fileEntryTypeId);
3023            }
3024    
3025            /**
3026            * Returns the number of document library file entries that the user has permission to view where groupId = &#63; and folderId = &#63; and fileEntryTypeId = &#63;.
3027            *
3028            * @param groupId the group ID
3029            * @param folderId the folder ID
3030            * @param fileEntryTypeId the file entry type ID
3031            * @return the number of matching document library file entries that the user has permission to view
3032            */
3033            public static int filterCountByG_F_F(long groupId, long folderId,
3034                    long fileEntryTypeId) {
3035                    return getPersistence()
3036                                       .filterCountByG_F_F(groupId, folderId, fileEntryTypeId);
3037            }
3038    
3039            /**
3040            * 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;.
3041            *
3042            * @param groupId the group ID
3043            * @param folderIds the folder IDs
3044            * @param fileEntryTypeId the file entry type ID
3045            * @return the number of matching document library file entries that the user has permission to view
3046            */
3047            public static int filterCountByG_F_F(long groupId, long[] folderIds,
3048                    long fileEntryTypeId) {
3049                    return getPersistence()
3050                                       .filterCountByG_F_F(groupId, folderIds, fileEntryTypeId);
3051            }
3052    
3053            /**
3054            * Caches the document library file entry in the entity cache if it is enabled.
3055            *
3056            * @param dlFileEntry the document library file entry
3057            */
3058            public static void cacheResult(
3059                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry) {
3060                    getPersistence().cacheResult(dlFileEntry);
3061            }
3062    
3063            /**
3064            * Caches the document library file entries in the entity cache if it is enabled.
3065            *
3066            * @param dlFileEntries the document library file entries
3067            */
3068            public static void cacheResult(
3069                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> dlFileEntries) {
3070                    getPersistence().cacheResult(dlFileEntries);
3071            }
3072    
3073            /**
3074            * Creates a new document library file entry with the primary key. Does not add the document library file entry to the database.
3075            *
3076            * @param fileEntryId the primary key for the new document library file entry
3077            * @return the new document library file entry
3078            */
3079            public static com.liferay.portlet.documentlibrary.model.DLFileEntry create(
3080                    long fileEntryId) {
3081                    return getPersistence().create(fileEntryId);
3082            }
3083    
3084            /**
3085            * Removes the document library file entry with the primary key from the database. Also notifies the appropriate model listeners.
3086            *
3087            * @param fileEntryId the primary key of the document library file entry
3088            * @return the document library file entry that was removed
3089            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a document library file entry with the primary key could not be found
3090            */
3091            public static com.liferay.portlet.documentlibrary.model.DLFileEntry remove(
3092                    long fileEntryId)
3093                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
3094                    return getPersistence().remove(fileEntryId);
3095            }
3096    
3097            public static com.liferay.portlet.documentlibrary.model.DLFileEntry updateImpl(
3098                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry) {
3099                    return getPersistence().updateImpl(dlFileEntry);
3100            }
3101    
3102            /**
3103            * 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.
3104            *
3105            * @param fileEntryId the primary key of the document library file entry
3106            * @return the document library file entry
3107            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a document library file entry with the primary key could not be found
3108            */
3109            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByPrimaryKey(
3110                    long fileEntryId)
3111                    throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
3112                    return getPersistence().findByPrimaryKey(fileEntryId);
3113            }
3114    
3115            /**
3116            * Returns the document library file entry with the primary key or returns <code>null</code> if it could not be found.
3117            *
3118            * @param fileEntryId the primary key of the document library file entry
3119            * @return the document library file entry, or <code>null</code> if a document library file entry with the primary key could not be found
3120            */
3121            public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByPrimaryKey(
3122                    long fileEntryId) {
3123                    return getPersistence().fetchByPrimaryKey(fileEntryId);
3124            }
3125    
3126            public static java.util.Map<java.io.Serializable, com.liferay.portlet.documentlibrary.model.DLFileEntry> fetchByPrimaryKeys(
3127                    java.util.Set<java.io.Serializable> primaryKeys) {
3128                    return getPersistence().fetchByPrimaryKeys(primaryKeys);
3129            }
3130    
3131            /**
3132            * Returns all the document library file entries.
3133            *
3134            * @return the document library file entries
3135            */
3136            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll() {
3137                    return getPersistence().findAll();
3138            }
3139    
3140            /**
3141            * Returns a range of all the document library file entries.
3142            *
3143            * <p>
3144            * 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.
3145            * </p>
3146            *
3147            * @param start the lower bound of the range of document library file entries
3148            * @param end the upper bound of the range of document library file entries (not inclusive)
3149            * @return the range of document library file entries
3150            */
3151            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll(
3152                    int start, int end) {
3153                    return getPersistence().findAll(start, end);
3154            }
3155    
3156            /**
3157            * Returns an ordered range of all the document library file entries.
3158            *
3159            * <p>
3160            * 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.
3161            * </p>
3162            *
3163            * @param start the lower bound of the range of document library file entries
3164            * @param end the upper bound of the range of document library file entries (not inclusive)
3165            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3166            * @return the ordered range of document library file entries
3167            */
3168            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll(
3169                    int start, int end,
3170                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator) {
3171                    return getPersistence().findAll(start, end, orderByComparator);
3172            }
3173    
3174            /**
3175            * Removes all the document library file entries from the database.
3176            */
3177            public static void removeAll() {
3178                    getPersistence().removeAll();
3179            }
3180    
3181            /**
3182            * Returns the number of document library file entries.
3183            *
3184            * @return the number of document library file entries
3185            */
3186            public static int countAll() {
3187                    return getPersistence().countAll();
3188            }
3189    
3190            public static DLFileEntryPersistence getPersistence() {
3191                    if (_persistence == null) {
3192                            _persistence = (DLFileEntryPersistence)PortalBeanLocatorUtil.locate(DLFileEntryPersistence.class.getName());
3193    
3194                            ReferenceRegistry.registerReference(DLFileEntryUtil.class,
3195                                    "_persistence");
3196                    }
3197    
3198                    return _persistence;
3199            }
3200    
3201            /**
3202             * @deprecated As of 6.2.0
3203             */
3204            @Deprecated
3205            public void setPersistence(DLFileEntryPersistence persistence) {
3206            }
3207    
3208            private static DLFileEntryPersistence _persistence;
3209    }