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