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