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