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