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