001    /**
002     * Copyright (c) 2000-2010 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.service.ServiceContext;
022    
023    import com.liferay.portlet.documentlibrary.model.DLFileEntry;
024    
025    import java.util.List;
026    
027    /**
028     * The persistence utility for the d l file entry service.
029     *
030     * <p>
031     * Never modify this class directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regnerate this class.
032     * </p>
033     *
034     * @author Brian Wing Shun Chan
035     * @see DLFileEntryPersistence
036     * @see DLFileEntryPersistenceImpl
037     * @generated
038     */
039    public class DLFileEntryUtil {
040            /**
041             * @see com.liferay.portal.service.persistence.BasePersistence#clearCache()
042             */
043            public static void clearCache() {
044                    getPersistence().clearCache();
045            }
046    
047            /**
048             * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel)
049             */
050            public static void clearCache(DLFileEntry dlFileEntry) {
051                    getPersistence().clearCache(dlFileEntry);
052            }
053    
054            /**
055             * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery)
056             */
057            public long countWithDynamicQuery(DynamicQuery dynamicQuery)
058                    throws SystemException {
059                    return getPersistence().countWithDynamicQuery(dynamicQuery);
060            }
061    
062            /**
063             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery)
064             */
065            public static List<DLFileEntry> findWithDynamicQuery(
066                    DynamicQuery dynamicQuery) throws SystemException {
067                    return getPersistence().findWithDynamicQuery(dynamicQuery);
068            }
069    
070            /**
071             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int)
072             */
073            public static List<DLFileEntry> findWithDynamicQuery(
074                    DynamicQuery dynamicQuery, int start, int end)
075                    throws SystemException {
076                    return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
077            }
078    
079            /**
080             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
081             */
082            public static List<DLFileEntry> findWithDynamicQuery(
083                    DynamicQuery dynamicQuery, int start, int end,
084                    OrderByComparator orderByComparator) throws SystemException {
085                    return getPersistence()
086                                       .findWithDynamicQuery(dynamicQuery, start, end,
087                            orderByComparator);
088            }
089    
090            /**
091             * @see com.liferay.portal.service.persistence.BasePersistence#remove(com.liferay.portal.model.BaseModel)
092             */
093            public static DLFileEntry remove(DLFileEntry dlFileEntry)
094                    throws SystemException {
095                    return getPersistence().remove(dlFileEntry);
096            }
097    
098            /**
099             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean)
100             */
101            public static DLFileEntry update(DLFileEntry dlFileEntry, boolean merge)
102                    throws SystemException {
103                    return getPersistence().update(dlFileEntry, merge);
104            }
105    
106            /**
107             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
108             */
109            public static DLFileEntry update(DLFileEntry dlFileEntry, boolean merge,
110                    ServiceContext serviceContext) throws SystemException {
111                    return getPersistence().update(dlFileEntry, merge, serviceContext);
112            }
113    
114            /**
115            * Caches the d l file entry in the entity cache if it is enabled.
116            *
117            * @param dlFileEntry the d l file entry to cache
118            */
119            public static void cacheResult(
120                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry) {
121                    getPersistence().cacheResult(dlFileEntry);
122            }
123    
124            /**
125            * Caches the d l file entries in the entity cache if it is enabled.
126            *
127            * @param dlFileEntries the d l file entries to cache
128            */
129            public static void cacheResult(
130                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> dlFileEntries) {
131                    getPersistence().cacheResult(dlFileEntries);
132            }
133    
134            /**
135            * Creates a new d l file entry with the primary key.
136            *
137            * @param fileEntryId the primary key for the new d l file entry
138            * @return the new d l file entry
139            */
140            public static com.liferay.portlet.documentlibrary.model.DLFileEntry create(
141                    long fileEntryId) {
142                    return getPersistence().create(fileEntryId);
143            }
144    
145            /**
146            * Removes the d l file entry with the primary key from the database. Also notifies the appropriate model listeners.
147            *
148            * @param fileEntryId the primary key of the d l file entry to remove
149            * @return the d l file entry that was removed
150            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a d l file entry with the primary key could not be found
151            * @throws SystemException if a system exception occurred
152            */
153            public static com.liferay.portlet.documentlibrary.model.DLFileEntry remove(
154                    long fileEntryId)
155                    throws com.liferay.portal.kernel.exception.SystemException,
156                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
157                    return getPersistence().remove(fileEntryId);
158            }
159    
160            public static com.liferay.portlet.documentlibrary.model.DLFileEntry updateImpl(
161                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
162                    boolean merge)
163                    throws com.liferay.portal.kernel.exception.SystemException {
164                    return getPersistence().updateImpl(dlFileEntry, merge);
165            }
166    
167            /**
168            * Finds the d l file entry with the primary key or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFileEntryException} if it could not be found.
169            *
170            * @param fileEntryId the primary key of the d l file entry to find
171            * @return the d l file entry
172            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a d l file entry with the primary key could not be found
173            * @throws SystemException if a system exception occurred
174            */
175            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByPrimaryKey(
176                    long fileEntryId)
177                    throws com.liferay.portal.kernel.exception.SystemException,
178                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
179                    return getPersistence().findByPrimaryKey(fileEntryId);
180            }
181    
182            /**
183            * Finds the d l file entry with the primary key or returns <code>null</code> if it could not be found.
184            *
185            * @param fileEntryId the primary key of the d l file entry to find
186            * @return the d l file entry, or <code>null</code> if a d l file entry with the primary key could not be found
187            * @throws SystemException if a system exception occurred
188            */
189            public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByPrimaryKey(
190                    long fileEntryId)
191                    throws com.liferay.portal.kernel.exception.SystemException {
192                    return getPersistence().fetchByPrimaryKey(fileEntryId);
193            }
194    
195            /**
196            * Finds all the d l file entries where uuid = &#63;.
197            *
198            * @param uuid the uuid to search with
199            * @return the matching d l file entries
200            * @throws SystemException if a system exception occurred
201            */
202            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid(
203                    java.lang.String uuid)
204                    throws com.liferay.portal.kernel.exception.SystemException {
205                    return getPersistence().findByUuid(uuid);
206            }
207    
208            /**
209            * Finds a range of all the d l file entries where uuid = &#63;.
210            *
211            * <p>
212            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
213            * </p>
214            *
215            * @param uuid the uuid to search with
216            * @param start the lower bound of the range of d l file entries to return
217            * @param end the upper bound of the range of d l file entries to return (not inclusive)
218            * @return the range of matching d l file entries
219            * @throws SystemException if a system exception occurred
220            */
221            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid(
222                    java.lang.String uuid, int start, int end)
223                    throws com.liferay.portal.kernel.exception.SystemException {
224                    return getPersistence().findByUuid(uuid, start, end);
225            }
226    
227            /**
228            * Finds an ordered range of all the d l file entries where uuid = &#63;.
229            *
230            * <p>
231            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
232            * </p>
233            *
234            * @param uuid the uuid to search with
235            * @param start the lower bound of the range of d l file entries to return
236            * @param end the upper bound of the range of d l file entries to return (not inclusive)
237            * @param orderByComparator the comparator to order the results by
238            * @return the ordered range of matching d l file entries
239            * @throws SystemException if a system exception occurred
240            */
241            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid(
242                    java.lang.String uuid, int start, int end,
243                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
244                    throws com.liferay.portal.kernel.exception.SystemException {
245                    return getPersistence().findByUuid(uuid, start, end, orderByComparator);
246            }
247    
248            /**
249            * Finds the first d l file entry in the ordered set where uuid = &#63;.
250            *
251            * <p>
252            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
253            * </p>
254            *
255            * @param uuid the uuid to search with
256            * @param orderByComparator the comparator to order the set by
257            * @return the first matching d l file entry
258            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l file entry could not be found
259            * @throws SystemException if a system exception occurred
260            */
261            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByUuid_First(
262                    java.lang.String uuid,
263                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
264                    throws com.liferay.portal.kernel.exception.SystemException,
265                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
266                    return getPersistence().findByUuid_First(uuid, orderByComparator);
267            }
268    
269            /**
270            * Finds the last d l file entry in the ordered set where uuid = &#63;.
271            *
272            * <p>
273            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
274            * </p>
275            *
276            * @param uuid the uuid to search with
277            * @param orderByComparator the comparator to order the set by
278            * @return the last matching d l file entry
279            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l file entry could not be found
280            * @throws SystemException if a system exception occurred
281            */
282            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByUuid_Last(
283                    java.lang.String uuid,
284                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
285                    throws com.liferay.portal.kernel.exception.SystemException,
286                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
287                    return getPersistence().findByUuid_Last(uuid, orderByComparator);
288            }
289    
290            /**
291            * Finds the d l file entries before and after the current d l file entry in the ordered set where uuid = &#63;.
292            *
293            * <p>
294            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
295            * </p>
296            *
297            * @param fileEntryId the primary key of the current d l file entry
298            * @param uuid the uuid to search with
299            * @param orderByComparator the comparator to order the set by
300            * @return the previous, current, and next d l file entry
301            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a d l file entry with the primary key could not be found
302            * @throws SystemException if a system exception occurred
303            */
304            public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByUuid_PrevAndNext(
305                    long fileEntryId, java.lang.String uuid,
306                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
307                    throws com.liferay.portal.kernel.exception.SystemException,
308                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
309                    return getPersistence()
310                                       .findByUuid_PrevAndNext(fileEntryId, uuid, orderByComparator);
311            }
312    
313            /**
314            * Finds the d l file entry where uuid = &#63; and groupId = &#63; or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFileEntryException} if it could not be found.
315            *
316            * @param uuid the uuid to search with
317            * @param groupId the group id to search with
318            * @return the matching d l file entry
319            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l file entry could not be found
320            * @throws SystemException if a system exception occurred
321            */
322            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByUUID_G(
323                    java.lang.String uuid, long groupId)
324                    throws com.liferay.portal.kernel.exception.SystemException,
325                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
326                    return getPersistence().findByUUID_G(uuid, groupId);
327            }
328    
329            /**
330            * Finds the d l file entry where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
331            *
332            * @param uuid the uuid to search with
333            * @param groupId the group id to search with
334            * @return the matching d l file entry, or <code>null</code> if a matching d l file entry could not be found
335            * @throws SystemException if a system exception occurred
336            */
337            public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByUUID_G(
338                    java.lang.String uuid, long groupId)
339                    throws com.liferay.portal.kernel.exception.SystemException {
340                    return getPersistence().fetchByUUID_G(uuid, groupId);
341            }
342    
343            /**
344            * Finds the d l file entry where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
345            *
346            * @param uuid the uuid to search with
347            * @param groupId the group id to search with
348            * @return the matching d l file entry, or <code>null</code> if a matching d l 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            * Finds all the d l file entries where groupId = &#63;.
359            *
360            * @param groupId the group id to search with
361            * @return the matching d l 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            * Finds a range of all the d l 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 to search with
378            * @param start the lower bound of the range of d l file entries to return
379            * @param end the upper bound of the range of d l file entries to return (not inclusive)
380            * @return the range of matching d l 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            * Finds an ordered range of all the d l 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 to search with
397            * @param start the lower bound of the range of d l file entries to return
398            * @param end the upper bound of the range of d l file entries to return (not inclusive)
399            * @param orderByComparator the comparator to order the results by
400            * @return the ordered range of matching d l 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            * Finds the first d l 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 to search with
419            * @param orderByComparator the comparator to order the set by
420            * @return the first matching d l file entry
421            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l 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            * Finds the last d l 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 to search with
440            * @param orderByComparator the comparator to order the set by
441            * @return the last matching d l file entry
442            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l 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            * Finds the d l file entries before and after the current d l 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 d l file entry
461            * @param groupId the group id to search with
462            * @param orderByComparator the comparator to order the set by
463            * @return the previous, current, and next d l file entry
464            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a d l 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            * Filters by the user's permissions and finds all the d l file entries where groupId = &#63;.
479            *
480            * @param groupId the group id to search with
481            * @return the matching d l 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            * Filters by the user's permissions and finds a range of all the d l file entries 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 to search with
498            * @param start the lower bound of the range of d l file entries to return
499            * @param end the upper bound of the range of d l file entries to return (not inclusive)
500            * @return the range of matching d l 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            * Filters by the user's permissions and finds an ordered range of all the d l file entries 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 to search with
517            * @param start the lower bound of the range of d l file entries to return
518            * @param end the upper bound of the range of d l file entries to return (not inclusive)
519            * @param orderByComparator the comparator to order the results by
520            * @return the ordered range of matching d l 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            * Finds all the d l file entries where companyId = &#63;.
533            *
534            * @param companyId the company id to search with
535            * @return the matching d l file entries
536            * @throws SystemException if a system exception occurred
537            */
538            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByCompanyId(
539                    long companyId)
540                    throws com.liferay.portal.kernel.exception.SystemException {
541                    return getPersistence().findByCompanyId(companyId);
542            }
543    
544            /**
545            * Finds a range of all the d l file entries where companyId = &#63;.
546            *
547            * <p>
548            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
549            * </p>
550            *
551            * @param companyId the company id to search with
552            * @param start the lower bound of the range of d l file entries to return
553            * @param end the upper bound of the range of d l file entries to return (not inclusive)
554            * @return the range of matching d l file entries
555            * @throws SystemException if a system exception occurred
556            */
557            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByCompanyId(
558                    long companyId, int start, int end)
559                    throws com.liferay.portal.kernel.exception.SystemException {
560                    return getPersistence().findByCompanyId(companyId, start, end);
561            }
562    
563            /**
564            * Finds an ordered range of all the d l file entries where companyId = &#63;.
565            *
566            * <p>
567            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
568            * </p>
569            *
570            * @param companyId the company id to search with
571            * @param start the lower bound of the range of d l file entries to return
572            * @param end the upper bound of the range of d l file entries to return (not inclusive)
573            * @param orderByComparator the comparator to order the results by
574            * @return the ordered range of matching d l 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                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
580                    throws com.liferay.portal.kernel.exception.SystemException {
581                    return getPersistence()
582                                       .findByCompanyId(companyId, start, end, orderByComparator);
583            }
584    
585            /**
586            * Finds the first d l file entry in the ordered set where companyId = &#63;.
587            *
588            * <p>
589            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
590            * </p>
591            *
592            * @param companyId the company id to search with
593            * @param orderByComparator the comparator to order the set by
594            * @return the first matching d l file entry
595            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l file entry could not be found
596            * @throws SystemException if a system exception occurred
597            */
598            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByCompanyId_First(
599                    long companyId,
600                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
601                    throws com.liferay.portal.kernel.exception.SystemException,
602                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
603                    return getPersistence()
604                                       .findByCompanyId_First(companyId, orderByComparator);
605            }
606    
607            /**
608            * Finds the last d l file entry in the ordered set where companyId = &#63;.
609            *
610            * <p>
611            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
612            * </p>
613            *
614            * @param companyId the company id to search with
615            * @param orderByComparator the comparator to order the set by
616            * @return the last matching d l file entry
617            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l file entry could not be found
618            * @throws SystemException if a system exception occurred
619            */
620            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByCompanyId_Last(
621                    long companyId,
622                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
623                    throws com.liferay.portal.kernel.exception.SystemException,
624                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
625                    return getPersistence()
626                                       .findByCompanyId_Last(companyId, orderByComparator);
627            }
628    
629            /**
630            * Finds the d l file entries before and after the current d l file entry in the ordered set where companyId = &#63;.
631            *
632            * <p>
633            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
634            * </p>
635            *
636            * @param fileEntryId the primary key of the current d l file entry
637            * @param companyId the company id to search with
638            * @param orderByComparator the comparator to order the set by
639            * @return the previous, current, and next d l file entry
640            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a d l file entry with the primary key could not be found
641            * @throws SystemException if a system exception occurred
642            */
643            public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByCompanyId_PrevAndNext(
644                    long fileEntryId, long companyId,
645                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
646                    throws com.liferay.portal.kernel.exception.SystemException,
647                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
648                    return getPersistence()
649                                       .findByCompanyId_PrevAndNext(fileEntryId, companyId,
650                            orderByComparator);
651            }
652    
653            /**
654            * Finds all the d l file entries where groupId = &#63; and userId = &#63;.
655            *
656            * @param groupId the group id to search with
657            * @param userId the user id to search with
658            * @return the matching d l file entries
659            * @throws SystemException if a system exception occurred
660            */
661            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U(
662                    long groupId, long userId)
663                    throws com.liferay.portal.kernel.exception.SystemException {
664                    return getPersistence().findByG_U(groupId, userId);
665            }
666    
667            /**
668            * Finds a range of all the d l file entries where groupId = &#63; and userId = &#63;.
669            *
670            * <p>
671            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
672            * </p>
673            *
674            * @param groupId the group id to search with
675            * @param userId the user id to search with
676            * @param start the lower bound of the range of d l file entries to return
677            * @param end the upper bound of the range of d l file entries to return (not inclusive)
678            * @return the range of matching d l 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, int start, int end)
683                    throws com.liferay.portal.kernel.exception.SystemException {
684                    return getPersistence().findByG_U(groupId, userId, start, end);
685            }
686    
687            /**
688            * Finds an ordered range of all the d l 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 to search with
695            * @param userId the user id to search with
696            * @param start the lower bound of the range of d l file entries to return
697            * @param end the upper bound of the range of d l file entries to return (not inclusive)
698            * @param orderByComparator the comparator to order the results by
699            * @return the ordered range of matching d l file entries
700            * @throws SystemException if a system exception occurred
701            */
702            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U(
703                    long groupId, long userId, int start, int end,
704                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
705                    throws com.liferay.portal.kernel.exception.SystemException {
706                    return getPersistence()
707                                       .findByG_U(groupId, userId, start, end, orderByComparator);
708            }
709    
710            /**
711            * Finds the first d l file entry in the ordered set where groupId = &#63; and userId = &#63;.
712            *
713            * <p>
714            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
715            * </p>
716            *
717            * @param groupId the group id to search with
718            * @param userId the user id to search with
719            * @param orderByComparator the comparator to order the set by
720            * @return the first matching d l file entry
721            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l file entry could not be found
722            * @throws SystemException if a system exception occurred
723            */
724            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_U_First(
725                    long groupId, long userId,
726                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
727                    throws com.liferay.portal.kernel.exception.SystemException,
728                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
729                    return getPersistence()
730                                       .findByG_U_First(groupId, userId, orderByComparator);
731            }
732    
733            /**
734            * Finds the last d l file entry in the ordered set where groupId = &#63; and userId = &#63;.
735            *
736            * <p>
737            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
738            * </p>
739            *
740            * @param groupId the group id to search with
741            * @param userId the user id to search with
742            * @param orderByComparator the comparator to order the set by
743            * @return the last matching d l file entry
744            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l file entry could not be found
745            * @throws SystemException if a system exception occurred
746            */
747            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_U_Last(
748                    long groupId, long userId,
749                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
750                    throws com.liferay.portal.kernel.exception.SystemException,
751                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
752                    return getPersistence()
753                                       .findByG_U_Last(groupId, userId, orderByComparator);
754            }
755    
756            /**
757            * Finds the d l file entries before and after the current d l file entry in the ordered set where groupId = &#63; and userId = &#63;.
758            *
759            * <p>
760            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
761            * </p>
762            *
763            * @param fileEntryId the primary key of the current d l file entry
764            * @param groupId the group id to search with
765            * @param userId the user id to search with
766            * @param orderByComparator the comparator to order the set by
767            * @return the previous, current, and next d l file entry
768            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a d l file entry with the primary key could not be found
769            * @throws SystemException if a system exception occurred
770            */
771            public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByG_U_PrevAndNext(
772                    long fileEntryId, long groupId, long userId,
773                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
774                    throws com.liferay.portal.kernel.exception.SystemException,
775                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
776                    return getPersistence()
777                                       .findByG_U_PrevAndNext(fileEntryId, groupId, userId,
778                            orderByComparator);
779            }
780    
781            /**
782            * Filters by the user's permissions and finds all the d l file entries where groupId = &#63; and userId = &#63;.
783            *
784            * @param groupId the group id to search with
785            * @param userId the user id to search with
786            * @return the matching d l file entries that the user has permission to view
787            * @throws SystemException if a system exception occurred
788            */
789            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U(
790                    long groupId, long userId)
791                    throws com.liferay.portal.kernel.exception.SystemException {
792                    return getPersistence().filterFindByG_U(groupId, userId);
793            }
794    
795            /**
796            * Filters by the user's permissions and finds a range of all the d l file entries where groupId = &#63; and userId = &#63;.
797            *
798            * <p>
799            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
800            * </p>
801            *
802            * @param groupId the group id to search with
803            * @param userId the user id to search with
804            * @param start the lower bound of the range of d l file entries to return
805            * @param end the upper bound of the range of d l file entries to return (not inclusive)
806            * @return the range of matching d l 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, int start, int end)
811                    throws com.liferay.portal.kernel.exception.SystemException {
812                    return getPersistence().filterFindByG_U(groupId, userId, start, end);
813            }
814    
815            /**
816            * Filters by the user's permissions and finds an ordered range of all the d l file entries 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 to search with
823            * @param userId the user id to search with
824            * @param start the lower bound of the range of d l file entries to return
825            * @param end the upper bound of the range of d l file entries to return (not inclusive)
826            * @param orderByComparator the comparator to order the results by
827            * @return the ordered range of matching d l file entries that the user has permission to view
828            * @throws SystemException if a system exception occurred
829            */
830            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U(
831                    long groupId, long userId, int start, int end,
832                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
833                    throws com.liferay.portal.kernel.exception.SystemException {
834                    return getPersistence()
835                                       .filterFindByG_U(groupId, userId, start, end,
836                            orderByComparator);
837            }
838    
839            /**
840            * Finds all the d l file entries where groupId = &#63; and folderId = &#63;.
841            *
842            * @param groupId the group id to search with
843            * @param folderId the folder id to search with
844            * @return the matching d l file entries
845            * @throws SystemException if a system exception occurred
846            */
847            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F(
848                    long groupId, long folderId)
849                    throws com.liferay.portal.kernel.exception.SystemException {
850                    return getPersistence().findByG_F(groupId, folderId);
851            }
852    
853            /**
854            * Finds a range of all the d l file entries where groupId = &#63; and folderId = &#63;.
855            *
856            * <p>
857            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
858            * </p>
859            *
860            * @param groupId the group id to search with
861            * @param folderId the folder id to search with
862            * @param start the lower bound of the range of d l file entries to return
863            * @param end the upper bound of the range of d l file entries to return (not inclusive)
864            * @return the range of matching d l file entries
865            * @throws SystemException if a system exception occurred
866            */
867            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F(
868                    long groupId, long folderId, int start, int end)
869                    throws com.liferay.portal.kernel.exception.SystemException {
870                    return getPersistence().findByG_F(groupId, folderId, start, end);
871            }
872    
873            /**
874            * Finds an ordered range of all the d l file entries where groupId = &#63; and folderId = &#63;.
875            *
876            * <p>
877            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
878            * </p>
879            *
880            * @param groupId the group id to search with
881            * @param folderId the folder id to search with
882            * @param start the lower bound of the range of d l file entries to return
883            * @param end the upper bound of the range of d l file entries to return (not inclusive)
884            * @param orderByComparator the comparator to order the results by
885            * @return the ordered range of matching d l 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, int start, int end,
890                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
891                    throws com.liferay.portal.kernel.exception.SystemException {
892                    return getPersistence()
893                                       .findByG_F(groupId, folderId, start, end, orderByComparator);
894            }
895    
896            /**
897            * Finds the first d l file entry in the ordered set where groupId = &#63; and folderId = &#63;.
898            *
899            * <p>
900            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
901            * </p>
902            *
903            * @param groupId the group id to search with
904            * @param folderId the folder id to search with
905            * @param orderByComparator the comparator to order the set by
906            * @return the first matching d l file entry
907            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l file entry could not be found
908            * @throws SystemException if a system exception occurred
909            */
910            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_First(
911                    long groupId, long folderId,
912                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
913                    throws com.liferay.portal.kernel.exception.SystemException,
914                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
915                    return getPersistence()
916                                       .findByG_F_First(groupId, folderId, orderByComparator);
917            }
918    
919            /**
920            * Finds the last d l file entry in the ordered set where groupId = &#63; and folderId = &#63;.
921            *
922            * <p>
923            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
924            * </p>
925            *
926            * @param groupId the group id to search with
927            * @param folderId the folder id to search with
928            * @param orderByComparator the comparator to order the set by
929            * @return the last matching d l file entry
930            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l file entry could not be found
931            * @throws SystemException if a system exception occurred
932            */
933            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_Last(
934                    long groupId, long folderId,
935                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
936                    throws com.liferay.portal.kernel.exception.SystemException,
937                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
938                    return getPersistence()
939                                       .findByG_F_Last(groupId, folderId, orderByComparator);
940            }
941    
942            /**
943            * Finds the d l file entries before and after the current d l file entry in the ordered set where groupId = &#63; and folderId = &#63;.
944            *
945            * <p>
946            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
947            * </p>
948            *
949            * @param fileEntryId the primary key of the current d l file entry
950            * @param groupId the group id to search with
951            * @param folderId the folder id to search with
952            * @param orderByComparator the comparator to order the set by
953            * @return the previous, current, and next d l file entry
954            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a d l file entry with the primary key could not be found
955            * @throws SystemException if a system exception occurred
956            */
957            public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByG_F_PrevAndNext(
958                    long fileEntryId, long groupId, long folderId,
959                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
960                    throws com.liferay.portal.kernel.exception.SystemException,
961                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
962                    return getPersistence()
963                                       .findByG_F_PrevAndNext(fileEntryId, groupId, folderId,
964                            orderByComparator);
965            }
966    
967            /**
968            * Finds all the d l file entries where groupId = &#63; and folderId = any &#63;.
969            *
970            * <p>
971            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
972            * </p>
973            *
974            * @param groupId the group id to search with
975            * @param folderIds the folder ids to search with
976            * @return the matching d l file entries
977            * @throws SystemException if a system exception occurred
978            */
979            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F(
980                    long groupId, long[] folderIds)
981                    throws com.liferay.portal.kernel.exception.SystemException {
982                    return getPersistence().findByG_F(groupId, folderIds);
983            }
984    
985            /**
986            * Finds a range of all the d l file entries where groupId = &#63; and folderId = any &#63;.
987            *
988            * <p>
989            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
990            * </p>
991            *
992            * @param groupId the group id to search with
993            * @param folderIds the folder ids to search with
994            * @param start the lower bound of the range of d l file entries to return
995            * @param end the upper bound of the range of d l file entries to return (not inclusive)
996            * @return the range of matching d l file entries
997            * @throws SystemException if a system exception occurred
998            */
999            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F(
1000                    long groupId, long[] folderIds, int start, int end)
1001                    throws com.liferay.portal.kernel.exception.SystemException {
1002                    return getPersistence().findByG_F(groupId, folderIds, start, end);
1003            }
1004    
1005            /**
1006            * Finds an ordered range of all the d l file entries where groupId = &#63; and folderId = any &#63;.
1007            *
1008            * <p>
1009            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1010            * </p>
1011            *
1012            * @param groupId the group id to search with
1013            * @param folderIds the folder ids to search with
1014            * @param start the lower bound of the range of d l file entries to return
1015            * @param end the upper bound of the range of d l file entries to return (not inclusive)
1016            * @param orderByComparator the comparator to order the results by
1017            * @return the ordered range of matching d l 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, int start, int end,
1022                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1023                    throws com.liferay.portal.kernel.exception.SystemException {
1024                    return getPersistence()
1025                                       .findByG_F(groupId, folderIds, start, end, orderByComparator);
1026            }
1027    
1028            /**
1029            * Filters by the user's permissions and finds all the d l file entries where groupId = &#63; and folderId = &#63;.
1030            *
1031            * @param groupId the group id to search with
1032            * @param folderId the folder id to search with
1033            * @return the matching d l file entries that the user has permission to view
1034            * @throws SystemException if a system exception occurred
1035            */
1036            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F(
1037                    long groupId, long folderId)
1038                    throws com.liferay.portal.kernel.exception.SystemException {
1039                    return getPersistence().filterFindByG_F(groupId, folderId);
1040            }
1041    
1042            /**
1043            * Filters by the user's permissions and finds a range of all the d l file entries where groupId = &#63; and folderId = &#63;.
1044            *
1045            * <p>
1046            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1047            * </p>
1048            *
1049            * @param groupId the group id to search with
1050            * @param folderId the folder id to search with
1051            * @param start the lower bound of the range of d l file entries to return
1052            * @param end the upper bound of the range of d l file entries to return (not inclusive)
1053            * @return the range of matching d l file entries that the user has permission to view
1054            * @throws SystemException if a system exception occurred
1055            */
1056            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F(
1057                    long groupId, long folderId, int start, int end)
1058                    throws com.liferay.portal.kernel.exception.SystemException {
1059                    return getPersistence().filterFindByG_F(groupId, folderId, start, end);
1060            }
1061    
1062            /**
1063            * Filters by the user's permissions and finds an ordered range of all the d l file entries where groupId = &#63; and folderId = &#63;.
1064            *
1065            * <p>
1066            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1067            * </p>
1068            *
1069            * @param groupId the group id to search with
1070            * @param folderId the folder id to search with
1071            * @param start the lower bound of the range of d l file entries to return
1072            * @param end the upper bound of the range of d l file entries to return (not inclusive)
1073            * @param orderByComparator the comparator to order the results by
1074            * @return the ordered range of matching d l 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, int start, int end,
1079                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1080                    throws com.liferay.portal.kernel.exception.SystemException {
1081                    return getPersistence()
1082                                       .filterFindByG_F(groupId, folderId, start, end,
1083                            orderByComparator);
1084            }
1085    
1086            /**
1087            * Filters by the user's permissions and finds all the d l file entries where groupId = &#63; and folderId = any &#63;.
1088            *
1089            * <p>
1090            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1091            * </p>
1092            *
1093            * @param groupId the group id to search with
1094            * @param folderIds the folder ids to search with
1095            * @return the matching d l file entries that the user has permission to view
1096            * @throws SystemException if a system exception occurred
1097            */
1098            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F(
1099                    long groupId, long[] folderIds)
1100                    throws com.liferay.portal.kernel.exception.SystemException {
1101                    return getPersistence().filterFindByG_F(groupId, folderIds);
1102            }
1103    
1104            /**
1105            * Filters by the user's permissions and finds a range of all the d l file entries where groupId = &#63; and folderId = any &#63;.
1106            *
1107            * <p>
1108            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1109            * </p>
1110            *
1111            * @param groupId the group id to search with
1112            * @param folderIds the folder ids to search with
1113            * @param start the lower bound of the range of d l file entries to return
1114            * @param end the upper bound of the range of d l file entries to return (not inclusive)
1115            * @return the range of matching d l 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[] folderIds, int start, int end)
1120                    throws com.liferay.portal.kernel.exception.SystemException {
1121                    return getPersistence().filterFindByG_F(groupId, folderIds, start, end);
1122            }
1123    
1124            /**
1125            * Filters by the user's permissions and finds an ordered range of all the d l file entries where groupId = &#63; and folderId = any &#63;.
1126            *
1127            * <p>
1128            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1129            * </p>
1130            *
1131            * @param groupId the group id to search with
1132            * @param folderIds the folder ids to search with
1133            * @param start the lower bound of the range of d l file entries to return
1134            * @param end the upper bound of the range of d l file entries to return (not inclusive)
1135            * @param orderByComparator the comparator to order the results by
1136            * @return the ordered range of matching d l file entries that the user has permission to view
1137            * @throws SystemException if a system exception occurred
1138            */
1139            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F(
1140                    long groupId, long[] folderIds, int start, int end,
1141                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1142                    throws com.liferay.portal.kernel.exception.SystemException {
1143                    return getPersistence()
1144                                       .filterFindByG_F(groupId, folderIds, start, end,
1145                            orderByComparator);
1146            }
1147    
1148            /**
1149            * Finds all the d l file entries where groupId = &#63; and userId = &#63; and folderId = &#63;.
1150            *
1151            * @param groupId the group id to search with
1152            * @param userId the user id to search with
1153            * @param folderId the folder id to search with
1154            * @return the matching d l file entries
1155            * @throws SystemException if a system exception occurred
1156            */
1157            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F(
1158                    long groupId, long userId, long folderId)
1159                    throws com.liferay.portal.kernel.exception.SystemException {
1160                    return getPersistence().findByG_U_F(groupId, userId, folderId);
1161            }
1162    
1163            /**
1164            * Finds a range of all the d l file entries where groupId = &#63; and userId = &#63; and folderId = &#63;.
1165            *
1166            * <p>
1167            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1168            * </p>
1169            *
1170            * @param groupId the group id to search with
1171            * @param userId the user id to search with
1172            * @param folderId the folder id to search with
1173            * @param start the lower bound of the range of d l file entries to return
1174            * @param end the upper bound of the range of d l file entries to return (not inclusive)
1175            * @return the range of matching d l file entries
1176            * @throws SystemException if a system exception occurred
1177            */
1178            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F(
1179                    long groupId, long userId, long folderId, int start, int end)
1180                    throws com.liferay.portal.kernel.exception.SystemException {
1181                    return getPersistence()
1182                                       .findByG_U_F(groupId, userId, folderId, start, end);
1183            }
1184    
1185            /**
1186            * Finds an ordered range of all the d l file entries where groupId = &#63; and userId = &#63; and folderId = &#63;.
1187            *
1188            * <p>
1189            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1190            * </p>
1191            *
1192            * @param groupId the group id to search with
1193            * @param userId the user id to search with
1194            * @param folderId the folder id to search with
1195            * @param start the lower bound of the range of d l file entries to return
1196            * @param end the upper bound of the range of d l file entries to return (not inclusive)
1197            * @param orderByComparator the comparator to order the results by
1198            * @return the ordered range of matching d l file entries
1199            * @throws SystemException if a system exception occurred
1200            */
1201            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F(
1202                    long groupId, long userId, long folderId, int start, int end,
1203                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1204                    throws com.liferay.portal.kernel.exception.SystemException {
1205                    return getPersistence()
1206                                       .findByG_U_F(groupId, userId, folderId, start, end,
1207                            orderByComparator);
1208            }
1209    
1210            /**
1211            * Finds the first d l file entry in the ordered set where groupId = &#63; and userId = &#63; and folderId = &#63;.
1212            *
1213            * <p>
1214            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1215            * </p>
1216            *
1217            * @param groupId the group id to search with
1218            * @param userId the user id to search with
1219            * @param folderId the folder id to search with
1220            * @param orderByComparator the comparator to order the set by
1221            * @return the first matching d l file entry
1222            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l file entry could not be found
1223            * @throws SystemException if a system exception occurred
1224            */
1225            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_U_F_First(
1226                    long groupId, long userId, long folderId,
1227                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1228                    throws com.liferay.portal.kernel.exception.SystemException,
1229                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
1230                    return getPersistence()
1231                                       .findByG_U_F_First(groupId, userId, folderId,
1232                            orderByComparator);
1233            }
1234    
1235            /**
1236            * Finds the last d l file entry in the ordered set where groupId = &#63; and userId = &#63; and folderId = &#63;.
1237            *
1238            * <p>
1239            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1240            * </p>
1241            *
1242            * @param groupId the group id to search with
1243            * @param userId the user id to search with
1244            * @param folderId the folder id to search with
1245            * @param orderByComparator the comparator to order the set by
1246            * @return the last matching d l file entry
1247            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l file entry could not be found
1248            * @throws SystemException if a system exception occurred
1249            */
1250            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_U_F_Last(
1251                    long groupId, long userId, long folderId,
1252                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1253                    throws com.liferay.portal.kernel.exception.SystemException,
1254                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
1255                    return getPersistence()
1256                                       .findByG_U_F_Last(groupId, userId, folderId,
1257                            orderByComparator);
1258            }
1259    
1260            /**
1261            * Finds the d l file entries before and after the current d l file entry in the ordered set where groupId = &#63; and userId = &#63; and folderId = &#63;.
1262            *
1263            * <p>
1264            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1265            * </p>
1266            *
1267            * @param fileEntryId the primary key of the current d l file entry
1268            * @param groupId the group id to search with
1269            * @param userId the user id to search with
1270            * @param folderId the folder id to search with
1271            * @param orderByComparator the comparator to order the set by
1272            * @return the previous, current, and next d l file entry
1273            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a d l file entry with the primary key could not be found
1274            * @throws SystemException if a system exception occurred
1275            */
1276            public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByG_U_F_PrevAndNext(
1277                    long fileEntryId, long groupId, long userId, long folderId,
1278                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1279                    throws com.liferay.portal.kernel.exception.SystemException,
1280                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
1281                    return getPersistence()
1282                                       .findByG_U_F_PrevAndNext(fileEntryId, groupId, userId,
1283                            folderId, orderByComparator);
1284            }
1285    
1286            /**
1287            * Finds all the d l file entries where groupId = &#63; and userId = &#63; and folderId = any &#63;.
1288            *
1289            * <p>
1290            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1291            * </p>
1292            *
1293            * @param groupId the group id to search with
1294            * @param userId the user id to search with
1295            * @param folderIds the folder ids to search with
1296            * @return the matching d l file entries
1297            * @throws SystemException if a system exception occurred
1298            */
1299            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F(
1300                    long groupId, long userId, long[] folderIds)
1301                    throws com.liferay.portal.kernel.exception.SystemException {
1302                    return getPersistence().findByG_U_F(groupId, userId, folderIds);
1303            }
1304    
1305            /**
1306            * Finds a range of all the d l file entries where groupId = &#63; and userId = &#63; and folderId = any &#63;.
1307            *
1308            * <p>
1309            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1310            * </p>
1311            *
1312            * @param groupId the group id to search with
1313            * @param userId the user id to search with
1314            * @param folderIds the folder ids to search with
1315            * @param start the lower bound of the range of d l file entries to return
1316            * @param end the upper bound of the range of d l file entries to return (not inclusive)
1317            * @return the range of matching d l file entries
1318            * @throws SystemException if a system exception occurred
1319            */
1320            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F(
1321                    long groupId, long userId, long[] folderIds, int start, int end)
1322                    throws com.liferay.portal.kernel.exception.SystemException {
1323                    return getPersistence()
1324                                       .findByG_U_F(groupId, userId, folderIds, start, end);
1325            }
1326    
1327            /**
1328            * Finds an ordered range of all the d l file entries where groupId = &#63; and userId = &#63; and folderId = any &#63;.
1329            *
1330            * <p>
1331            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1332            * </p>
1333            *
1334            * @param groupId the group id to search with
1335            * @param userId the user id to search with
1336            * @param folderIds the folder ids to search with
1337            * @param start the lower bound of the range of d l file entries to return
1338            * @param end the upper bound of the range of d l file entries to return (not inclusive)
1339            * @param orderByComparator the comparator to order the results by
1340            * @return the ordered range of matching d l file entries
1341            * @throws SystemException if a system exception occurred
1342            */
1343            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F(
1344                    long groupId, long userId, long[] folderIds, int start, int end,
1345                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1346                    throws com.liferay.portal.kernel.exception.SystemException {
1347                    return getPersistence()
1348                                       .findByG_U_F(groupId, userId, folderIds, start, end,
1349                            orderByComparator);
1350            }
1351    
1352            /**
1353            * Filters by the user's permissions and finds all the d l file entries where groupId = &#63; and userId = &#63; and folderId = &#63;.
1354            *
1355            * @param groupId the group id to search with
1356            * @param userId the user id to search with
1357            * @param folderId the folder id to search with
1358            * @return the matching d l file entries that the user has permission to view
1359            * @throws SystemException if a system exception occurred
1360            */
1361            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F(
1362                    long groupId, long userId, long folderId)
1363                    throws com.liferay.portal.kernel.exception.SystemException {
1364                    return getPersistence().filterFindByG_U_F(groupId, userId, folderId);
1365            }
1366    
1367            /**
1368            * Filters by the user's permissions and finds a range of all the d l file entries where groupId = &#63; and userId = &#63; and folderId = &#63;.
1369            *
1370            * <p>
1371            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1372            * </p>
1373            *
1374            * @param groupId the group id to search with
1375            * @param userId the user id to search with
1376            * @param folderId the folder id to search with
1377            * @param start the lower bound of the range of d l file entries to return
1378            * @param end the upper bound of the range of d l file entries to return (not inclusive)
1379            * @return the range of matching d l file entries that the user has permission to view
1380            * @throws SystemException if a system exception occurred
1381            */
1382            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F(
1383                    long groupId, long userId, long folderId, int start, int end)
1384                    throws com.liferay.portal.kernel.exception.SystemException {
1385                    return getPersistence()
1386                                       .filterFindByG_U_F(groupId, userId, folderId, start, end);
1387            }
1388    
1389            /**
1390            * Filters by the user's permissions and finds an ordered range of all the d l file entries where groupId = &#63; and userId = &#63; and folderId = &#63;.
1391            *
1392            * <p>
1393            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1394            * </p>
1395            *
1396            * @param groupId the group id to search with
1397            * @param userId the user id to search with
1398            * @param folderId the folder id to search with
1399            * @param start the lower bound of the range of d l file entries to return
1400            * @param end the upper bound of the range of d l file entries to return (not inclusive)
1401            * @param orderByComparator the comparator to order the results by
1402            * @return the ordered range of matching d l file entries that the user has permission to view
1403            * @throws SystemException if a system exception occurred
1404            */
1405            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F(
1406                    long groupId, long userId, long folderId, int start, int end,
1407                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1408                    throws com.liferay.portal.kernel.exception.SystemException {
1409                    return getPersistence()
1410                                       .filterFindByG_U_F(groupId, userId, folderId, start, end,
1411                            orderByComparator);
1412            }
1413    
1414            /**
1415            * Filters by the user's permissions and finds all the d l file entries where groupId = &#63; and userId = &#63; and folderId = any &#63;.
1416            *
1417            * <p>
1418            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1419            * </p>
1420            *
1421            * @param groupId the group id to search with
1422            * @param userId the user id to search with
1423            * @param folderIds the folder ids to search with
1424            * @return the matching d l file entries that the user has permission to view
1425            * @throws SystemException if a system exception occurred
1426            */
1427            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F(
1428                    long groupId, long userId, long[] folderIds)
1429                    throws com.liferay.portal.kernel.exception.SystemException {
1430                    return getPersistence().filterFindByG_U_F(groupId, userId, folderIds);
1431            }
1432    
1433            /**
1434            * Filters by the user's permissions and finds a range of all the d l file entries where groupId = &#63; and userId = &#63; and folderId = any &#63;.
1435            *
1436            * <p>
1437            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1438            * </p>
1439            *
1440            * @param groupId the group id to search with
1441            * @param userId the user id to search with
1442            * @param folderIds the folder ids to search with
1443            * @param start the lower bound of the range of d l file entries to return
1444            * @param end the upper bound of the range of d l file entries to return (not inclusive)
1445            * @return the range of matching d l file entries that the user has permission to view
1446            * @throws SystemException if a system exception occurred
1447            */
1448            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F(
1449                    long groupId, long userId, long[] folderIds, int start, int end)
1450                    throws com.liferay.portal.kernel.exception.SystemException {
1451                    return getPersistence()
1452                                       .filterFindByG_U_F(groupId, userId, folderIds, start, end);
1453            }
1454    
1455            /**
1456            * Filters by the user's permissions and finds an ordered range of all the d l file entries where groupId = &#63; and userId = &#63; and folderId = any &#63;.
1457            *
1458            * <p>
1459            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1460            * </p>
1461            *
1462            * @param groupId the group id to search with
1463            * @param userId the user id to search with
1464            * @param folderIds the folder ids to search with
1465            * @param start the lower bound of the range of d l file entries to return
1466            * @param end the upper bound of the range of d l file entries to return (not inclusive)
1467            * @param orderByComparator the comparator to order the results by
1468            * @return the ordered range of matching d l file entries that the user has permission to view
1469            * @throws SystemException if a system exception occurred
1470            */
1471            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F(
1472                    long groupId, long userId, long[] folderIds, int start, int end,
1473                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1474                    throws com.liferay.portal.kernel.exception.SystemException {
1475                    return getPersistence()
1476                                       .filterFindByG_U_F(groupId, userId, folderIds, start, end,
1477                            orderByComparator);
1478            }
1479    
1480            /**
1481            * Finds the d l 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.
1482            *
1483            * @param groupId the group id to search with
1484            * @param folderId the folder id to search with
1485            * @param name the name to search with
1486            * @return the matching d l file entry
1487            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l file entry could not be found
1488            * @throws SystemException if a system exception occurred
1489            */
1490            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_N(
1491                    long groupId, long folderId, java.lang.String name)
1492                    throws com.liferay.portal.kernel.exception.SystemException,
1493                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
1494                    return getPersistence().findByG_F_N(groupId, folderId, name);
1495            }
1496    
1497            /**
1498            * Finds the d l 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.
1499            *
1500            * @param groupId the group id to search with
1501            * @param folderId the folder id to search with
1502            * @param name the name to search with
1503            * @return the matching d l file entry, or <code>null</code> if a matching d l file entry could not be found
1504            * @throws SystemException if a system exception occurred
1505            */
1506            public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_N(
1507                    long groupId, long folderId, java.lang.String name)
1508                    throws com.liferay.portal.kernel.exception.SystemException {
1509                    return getPersistence().fetchByG_F_N(groupId, folderId, name);
1510            }
1511    
1512            /**
1513            * Finds the d l 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.
1514            *
1515            * @param groupId the group id to search with
1516            * @param folderId the folder id to search with
1517            * @param name the name to search with
1518            * @return the matching d l file entry, or <code>null</code> if a matching d l file entry could not be found
1519            * @throws SystemException if a system exception occurred
1520            */
1521            public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_N(
1522                    long groupId, long folderId, java.lang.String name,
1523                    boolean retrieveFromCache)
1524                    throws com.liferay.portal.kernel.exception.SystemException {
1525                    return getPersistence()
1526                                       .fetchByG_F_N(groupId, folderId, name, retrieveFromCache);
1527            }
1528    
1529            /**
1530            * Finds the d l 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.
1531            *
1532            * @param groupId the group id to search with
1533            * @param folderId the folder id to search with
1534            * @param title the title to search with
1535            * @return the matching d l file entry
1536            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l file entry could not be found
1537            * @throws SystemException if a system exception occurred
1538            */
1539            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_T(
1540                    long groupId, long folderId, java.lang.String title)
1541                    throws com.liferay.portal.kernel.exception.SystemException,
1542                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
1543                    return getPersistence().findByG_F_T(groupId, folderId, title);
1544            }
1545    
1546            /**
1547            * Finds the d l 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.
1548            *
1549            * @param groupId the group id to search with
1550            * @param folderId the folder id to search with
1551            * @param title the title to search with
1552            * @return the matching d l file entry, or <code>null</code> if a matching d l file entry could not be found
1553            * @throws SystemException if a system exception occurred
1554            */
1555            public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_T(
1556                    long groupId, long folderId, java.lang.String title)
1557                    throws com.liferay.portal.kernel.exception.SystemException {
1558                    return getPersistence().fetchByG_F_T(groupId, folderId, title);
1559            }
1560    
1561            /**
1562            * Finds the d l 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.
1563            *
1564            * @param groupId the group id to search with
1565            * @param folderId the folder id to search with
1566            * @param title the title to search with
1567            * @return the matching d l file entry, or <code>null</code> if a matching d l file entry could not be found
1568            * @throws SystemException if a system exception occurred
1569            */
1570            public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_T(
1571                    long groupId, long folderId, java.lang.String title,
1572                    boolean retrieveFromCache)
1573                    throws com.liferay.portal.kernel.exception.SystemException {
1574                    return getPersistence()
1575                                       .fetchByG_F_T(groupId, folderId, title, retrieveFromCache);
1576            }
1577    
1578            /**
1579            * Finds all the d l file entries.
1580            *
1581            * @return the d l file entries
1582            * @throws SystemException if a system exception occurred
1583            */
1584            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll()
1585                    throws com.liferay.portal.kernel.exception.SystemException {
1586                    return getPersistence().findAll();
1587            }
1588    
1589            /**
1590            * Finds a range of all the d l file entries.
1591            *
1592            * <p>
1593            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1594            * </p>
1595            *
1596            * @param start the lower bound of the range of d l file entries to return
1597            * @param end the upper bound of the range of d l file entries to return (not inclusive)
1598            * @return the range of d l file entries
1599            * @throws SystemException if a system exception occurred
1600            */
1601            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll(
1602                    int start, int end)
1603                    throws com.liferay.portal.kernel.exception.SystemException {
1604                    return getPersistence().findAll(start, end);
1605            }
1606    
1607            /**
1608            * Finds an ordered range of all the d l file entries.
1609            *
1610            * <p>
1611            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1612            * </p>
1613            *
1614            * @param start the lower bound of the range of d l file entries to return
1615            * @param end the upper bound of the range of d l file entries to return (not inclusive)
1616            * @param orderByComparator the comparator to order the results by
1617            * @return the ordered range of d l file entries
1618            * @throws SystemException if a system exception occurred
1619            */
1620            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll(
1621                    int start, int end,
1622                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1623                    throws com.liferay.portal.kernel.exception.SystemException {
1624                    return getPersistence().findAll(start, end, orderByComparator);
1625            }
1626    
1627            /**
1628            * Removes all the d l file entries where uuid = &#63; from the database.
1629            *
1630            * @param uuid the uuid to search with
1631            * @throws SystemException if a system exception occurred
1632            */
1633            public static void removeByUuid(java.lang.String uuid)
1634                    throws com.liferay.portal.kernel.exception.SystemException {
1635                    getPersistence().removeByUuid(uuid);
1636            }
1637    
1638            /**
1639            * Removes the d l file entry where uuid = &#63; and groupId = &#63; from the database.
1640            *
1641            * @param uuid the uuid to search with
1642            * @param groupId the group id to search with
1643            * @throws SystemException if a system exception occurred
1644            */
1645            public static void removeByUUID_G(java.lang.String uuid, long groupId)
1646                    throws com.liferay.portal.kernel.exception.SystemException,
1647                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
1648                    getPersistence().removeByUUID_G(uuid, groupId);
1649            }
1650    
1651            /**
1652            * Removes all the d l file entries where groupId = &#63; from the database.
1653            *
1654            * @param groupId the group id to search with
1655            * @throws SystemException if a system exception occurred
1656            */
1657            public static void removeByGroupId(long groupId)
1658                    throws com.liferay.portal.kernel.exception.SystemException {
1659                    getPersistence().removeByGroupId(groupId);
1660            }
1661    
1662            /**
1663            * Removes all the d l file entries where companyId = &#63; from the database.
1664            *
1665            * @param companyId the company id to search with
1666            * @throws SystemException if a system exception occurred
1667            */
1668            public static void removeByCompanyId(long companyId)
1669                    throws com.liferay.portal.kernel.exception.SystemException {
1670                    getPersistence().removeByCompanyId(companyId);
1671            }
1672    
1673            /**
1674            * Removes all the d l file entries where groupId = &#63; and userId = &#63; from the database.
1675            *
1676            * @param groupId the group id to search with
1677            * @param userId the user id to search with
1678            * @throws SystemException if a system exception occurred
1679            */
1680            public static void removeByG_U(long groupId, long userId)
1681                    throws com.liferay.portal.kernel.exception.SystemException {
1682                    getPersistence().removeByG_U(groupId, userId);
1683            }
1684    
1685            /**
1686            * Removes all the d l file entries where groupId = &#63; and folderId = &#63; from the database.
1687            *
1688            * @param groupId the group id to search with
1689            * @param folderId the folder id to search with
1690            * @throws SystemException if a system exception occurred
1691            */
1692            public static void removeByG_F(long groupId, long folderId)
1693                    throws com.liferay.portal.kernel.exception.SystemException {
1694                    getPersistence().removeByG_F(groupId, folderId);
1695            }
1696    
1697            /**
1698            * Removes all the d l file entries where groupId = &#63; and userId = &#63; and folderId = &#63; from the database.
1699            *
1700            * @param groupId the group id to search with
1701            * @param userId the user id to search with
1702            * @param folderId the folder id to search with
1703            * @throws SystemException if a system exception occurred
1704            */
1705            public static void removeByG_U_F(long groupId, long userId, long folderId)
1706                    throws com.liferay.portal.kernel.exception.SystemException {
1707                    getPersistence().removeByG_U_F(groupId, userId, folderId);
1708            }
1709    
1710            /**
1711            * Removes the d l file entry where groupId = &#63; and folderId = &#63; and name = &#63; from the database.
1712            *
1713            * @param groupId the group id to search with
1714            * @param folderId the folder id to search with
1715            * @param name the name to search with
1716            * @throws SystemException if a system exception occurred
1717            */
1718            public static void removeByG_F_N(long groupId, long folderId,
1719                    java.lang.String name)
1720                    throws com.liferay.portal.kernel.exception.SystemException,
1721                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
1722                    getPersistence().removeByG_F_N(groupId, folderId, name);
1723            }
1724    
1725            /**
1726            * Removes the d l file entry where groupId = &#63; and folderId = &#63; and title = &#63; from the database.
1727            *
1728            * @param groupId the group id to search with
1729            * @param folderId the folder id to search with
1730            * @param title the title to search with
1731            * @throws SystemException if a system exception occurred
1732            */
1733            public static void removeByG_F_T(long groupId, long folderId,
1734                    java.lang.String title)
1735                    throws com.liferay.portal.kernel.exception.SystemException,
1736                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
1737                    getPersistence().removeByG_F_T(groupId, folderId, title);
1738            }
1739    
1740            /**
1741            * Removes all the d l file entries from the database.
1742            *
1743            * @throws SystemException if a system exception occurred
1744            */
1745            public static void removeAll()
1746                    throws com.liferay.portal.kernel.exception.SystemException {
1747                    getPersistence().removeAll();
1748            }
1749    
1750            /**
1751            * Counts all the d l file entries where uuid = &#63;.
1752            *
1753            * @param uuid the uuid to search with
1754            * @return the number of matching d l file entries
1755            * @throws SystemException if a system exception occurred
1756            */
1757            public static int countByUuid(java.lang.String uuid)
1758                    throws com.liferay.portal.kernel.exception.SystemException {
1759                    return getPersistence().countByUuid(uuid);
1760            }
1761    
1762            /**
1763            * Counts all the d l file entries where uuid = &#63; and groupId = &#63;.
1764            *
1765            * @param uuid the uuid to search with
1766            * @param groupId the group id to search with
1767            * @return the number of matching d l file entries
1768            * @throws SystemException if a system exception occurred
1769            */
1770            public static int countByUUID_G(java.lang.String uuid, long groupId)
1771                    throws com.liferay.portal.kernel.exception.SystemException {
1772                    return getPersistence().countByUUID_G(uuid, groupId);
1773            }
1774    
1775            /**
1776            * Counts all the d l file entries where groupId = &#63;.
1777            *
1778            * @param groupId the group id to search with
1779            * @return the number of matching d l file entries
1780            * @throws SystemException if a system exception occurred
1781            */
1782            public static int countByGroupId(long groupId)
1783                    throws com.liferay.portal.kernel.exception.SystemException {
1784                    return getPersistence().countByGroupId(groupId);
1785            }
1786    
1787            /**
1788            * Filters by the user's permissions and counts all the d l file entries where groupId = &#63;.
1789            *
1790            * @param groupId the group id to search with
1791            * @return the number of matching d l file entries that the user has permission to view
1792            * @throws SystemException if a system exception occurred
1793            */
1794            public static int filterCountByGroupId(long groupId)
1795                    throws com.liferay.portal.kernel.exception.SystemException {
1796                    return getPersistence().filterCountByGroupId(groupId);
1797            }
1798    
1799            /**
1800            * Counts all the d l file entries where companyId = &#63;.
1801            *
1802            * @param companyId the company id to search with
1803            * @return the number of matching d l file entries
1804            * @throws SystemException if a system exception occurred
1805            */
1806            public static int countByCompanyId(long companyId)
1807                    throws com.liferay.portal.kernel.exception.SystemException {
1808                    return getPersistence().countByCompanyId(companyId);
1809            }
1810    
1811            /**
1812            * Counts all the d l file entries where groupId = &#63; and userId = &#63;.
1813            *
1814            * @param groupId the group id to search with
1815            * @param userId the user id to search with
1816            * @return the number of matching d l file entries
1817            * @throws SystemException if a system exception occurred
1818            */
1819            public static int countByG_U(long groupId, long userId)
1820                    throws com.liferay.portal.kernel.exception.SystemException {
1821                    return getPersistence().countByG_U(groupId, userId);
1822            }
1823    
1824            /**
1825            * Filters by the user's permissions and counts all the d l file entries where groupId = &#63; and userId = &#63;.
1826            *
1827            * @param groupId the group id to search with
1828            * @param userId the user id to search with
1829            * @return the number of matching d l file entries that the user has permission to view
1830            * @throws SystemException if a system exception occurred
1831            */
1832            public static int filterCountByG_U(long groupId, long userId)
1833                    throws com.liferay.portal.kernel.exception.SystemException {
1834                    return getPersistence().filterCountByG_U(groupId, userId);
1835            }
1836    
1837            /**
1838            * Counts all the d l file entries where groupId = &#63; and folderId = &#63;.
1839            *
1840            * @param groupId the group id to search with
1841            * @param folderId the folder id to search with
1842            * @return the number of matching d l file entries
1843            * @throws SystemException if a system exception occurred
1844            */
1845            public static int countByG_F(long groupId, long folderId)
1846                    throws com.liferay.portal.kernel.exception.SystemException {
1847                    return getPersistence().countByG_F(groupId, folderId);
1848            }
1849    
1850            /**
1851            * Counts all the d l file entries where groupId = &#63; and folderId = any &#63;.
1852            *
1853            * @param groupId the group id to search with
1854            * @param folderIds the folder ids to search with
1855            * @return the number of matching d l file entries
1856            * @throws SystemException if a system exception occurred
1857            */
1858            public static int countByG_F(long groupId, long[] folderIds)
1859                    throws com.liferay.portal.kernel.exception.SystemException {
1860                    return getPersistence().countByG_F(groupId, folderIds);
1861            }
1862    
1863            /**
1864            * Filters by the user's permissions and counts all the d l file entries where groupId = &#63; and folderId = &#63;.
1865            *
1866            * @param groupId the group id to search with
1867            * @param folderId the folder id to search with
1868            * @return the number of matching d l file entries that the user has permission to view
1869            * @throws SystemException if a system exception occurred
1870            */
1871            public static int filterCountByG_F(long groupId, long folderId)
1872                    throws com.liferay.portal.kernel.exception.SystemException {
1873                    return getPersistence().filterCountByG_F(groupId, folderId);
1874            }
1875    
1876            /**
1877            * Filters by the user's permissions and counts all the d l file entries where groupId = &#63; and folderId = any &#63;.
1878            *
1879            * @param groupId the group id to search with
1880            * @param folderIds the folder ids to search with
1881            * @return the number of matching d l file entries that the user has permission to view
1882            * @throws SystemException if a system exception occurred
1883            */
1884            public static int filterCountByG_F(long groupId, long[] folderIds)
1885                    throws com.liferay.portal.kernel.exception.SystemException {
1886                    return getPersistence().filterCountByG_F(groupId, folderIds);
1887            }
1888    
1889            /**
1890            * Counts all the d l file entries where groupId = &#63; and userId = &#63; and folderId = &#63;.
1891            *
1892            * @param groupId the group id to search with
1893            * @param userId the user id to search with
1894            * @param folderId the folder id to search with
1895            * @return the number of matching d l file entries
1896            * @throws SystemException if a system exception occurred
1897            */
1898            public static int countByG_U_F(long groupId, long userId, long folderId)
1899                    throws com.liferay.portal.kernel.exception.SystemException {
1900                    return getPersistence().countByG_U_F(groupId, userId, folderId);
1901            }
1902    
1903            /**
1904            * Counts all the d l file entries where groupId = &#63; and userId = &#63; and folderId = any &#63;.
1905            *
1906            * @param groupId the group id to search with
1907            * @param userId the user id to search with
1908            * @param folderIds the folder ids to search with
1909            * @return the number of matching d l file entries
1910            * @throws SystemException if a system exception occurred
1911            */
1912            public static int countByG_U_F(long groupId, long userId, long[] folderIds)
1913                    throws com.liferay.portal.kernel.exception.SystemException {
1914                    return getPersistence().countByG_U_F(groupId, userId, folderIds);
1915            }
1916    
1917            /**
1918            * Filters by the user's permissions and counts all the d l file entries where groupId = &#63; and userId = &#63; and folderId = &#63;.
1919            *
1920            * @param groupId the group id to search with
1921            * @param userId the user id to search with
1922            * @param folderId the folder id to search with
1923            * @return the number of matching d l file entries that the user has permission to view
1924            * @throws SystemException if a system exception occurred
1925            */
1926            public static int filterCountByG_U_F(long groupId, long userId,
1927                    long folderId)
1928                    throws com.liferay.portal.kernel.exception.SystemException {
1929                    return getPersistence().filterCountByG_U_F(groupId, userId, folderId);
1930            }
1931    
1932            /**
1933            * Filters by the user's permissions and counts all the d l file entries where groupId = &#63; and userId = &#63; and folderId = any &#63;.
1934            *
1935            * @param groupId the group id to search with
1936            * @param userId the user id to search with
1937            * @param folderIds the folder ids to search with
1938            * @return the number of matching d l file entries that the user has permission to view
1939            * @throws SystemException if a system exception occurred
1940            */
1941            public static int filterCountByG_U_F(long groupId, long userId,
1942                    long[] folderIds)
1943                    throws com.liferay.portal.kernel.exception.SystemException {
1944                    return getPersistence().filterCountByG_U_F(groupId, userId, folderIds);
1945            }
1946    
1947            /**
1948            * Counts all the d l file entries where groupId = &#63; and folderId = &#63; and name = &#63;.
1949            *
1950            * @param groupId the group id to search with
1951            * @param folderId the folder id to search with
1952            * @param name the name to search with
1953            * @return the number of matching d l file entries
1954            * @throws SystemException if a system exception occurred
1955            */
1956            public static int countByG_F_N(long groupId, long folderId,
1957                    java.lang.String name)
1958                    throws com.liferay.portal.kernel.exception.SystemException {
1959                    return getPersistence().countByG_F_N(groupId, folderId, name);
1960            }
1961    
1962            /**
1963            * Filters by the user's permissions and counts all the d l file entries where groupId = &#63; and folderId = &#63; and name = &#63;.
1964            *
1965            * @param groupId the group id to search with
1966            * @param folderId the folder id to search with
1967            * @param name the name to search with
1968            * @return the number of matching d l file entries that the user has permission to view
1969            * @throws SystemException if a system exception occurred
1970            */
1971            public static int filterCountByG_F_N(long groupId, long folderId,
1972                    java.lang.String name)
1973                    throws com.liferay.portal.kernel.exception.SystemException {
1974                    return getPersistence().filterCountByG_F_N(groupId, folderId, name);
1975            }
1976    
1977            /**
1978            * Counts all the d l file entries where groupId = &#63; and folderId = &#63; and title = &#63;.
1979            *
1980            * @param groupId the group id to search with
1981            * @param folderId the folder id to search with
1982            * @param title the title to search with
1983            * @return the number of matching d l file entries
1984            * @throws SystemException if a system exception occurred
1985            */
1986            public static int countByG_F_T(long groupId, long folderId,
1987                    java.lang.String title)
1988                    throws com.liferay.portal.kernel.exception.SystemException {
1989                    return getPersistence().countByG_F_T(groupId, folderId, title);
1990            }
1991    
1992            /**
1993            * Filters by the user's permissions and counts all the d l file entries where groupId = &#63; and folderId = &#63; and title = &#63;.
1994            *
1995            * @param groupId the group id to search with
1996            * @param folderId the folder id to search with
1997            * @param title the title to search with
1998            * @return the number of matching d l file entries that the user has permission to view
1999            * @throws SystemException if a system exception occurred
2000            */
2001            public static int filterCountByG_F_T(long groupId, long folderId,
2002                    java.lang.String title)
2003                    throws com.liferay.portal.kernel.exception.SystemException {
2004                    return getPersistence().filterCountByG_F_T(groupId, folderId, title);
2005            }
2006    
2007            /**
2008            * Counts all the d l file entries.
2009            *
2010            * @return the number of d l file entries
2011            * @throws SystemException if a system exception occurred
2012            */
2013            public static int countAll()
2014                    throws com.liferay.portal.kernel.exception.SystemException {
2015                    return getPersistence().countAll();
2016            }
2017    
2018            public static DLFileEntryPersistence getPersistence() {
2019                    if (_persistence == null) {
2020                            _persistence = (DLFileEntryPersistence)PortalBeanLocatorUtil.locate(DLFileEntryPersistence.class.getName());
2021                    }
2022    
2023                    return _persistence;
2024            }
2025    
2026            public void setPersistence(DLFileEntryPersistence persistence) {
2027                    _persistence = persistence;
2028            }
2029    
2030            private static DLFileEntryPersistence _persistence;
2031    }