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