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