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