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