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