001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.documentlibrary.service.persistence;
016    
017    import com.liferay.portal.service.persistence.BasePersistence;
018    
019    import com.liferay.portlet.documentlibrary.model.DLFolder;
020    
021    /**
022     * The persistence interface for the d l folder service.
023     *
024     * <p>
025     * Never modify this interface directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regnerate this interface.
026     * </p>
027     *
028     * @author Brian Wing Shun Chan
029     * @see DLFolderPersistenceImpl
030     * @see DLFolderUtil
031     * @generated
032     */
033    public interface DLFolderPersistence extends BasePersistence<DLFolder> {
034            /**
035            * Caches the d l folder in the entity cache if it is enabled.
036            *
037            * @param dlFolder the d l folder to cache
038            */
039            public void cacheResult(
040                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder);
041    
042            /**
043            * Caches the d l folders in the entity cache if it is enabled.
044            *
045            * @param dlFolders the d l folders to cache
046            */
047            public void cacheResult(
048                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> dlFolders);
049    
050            /**
051            * Creates a new d l folder with the primary key.
052            *
053            * @param folderId the primary key for the new d l folder
054            * @return the new d l folder
055            */
056            public com.liferay.portlet.documentlibrary.model.DLFolder create(
057                    long folderId);
058    
059            /**
060            * Removes the d l folder with the primary key from the database. Also notifies the appropriate model listeners.
061            *
062            * @param folderId the primary key of the d l folder to remove
063            * @return the d l folder that was removed
064            * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a d l folder with the primary key could not be found
065            * @throws SystemException if a system exception occurred
066            */
067            public com.liferay.portlet.documentlibrary.model.DLFolder remove(
068                    long folderId)
069                    throws com.liferay.portal.kernel.exception.SystemException,
070                            com.liferay.portlet.documentlibrary.NoSuchFolderException;
071    
072            public com.liferay.portlet.documentlibrary.model.DLFolder updateImpl(
073                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder,
074                    boolean merge)
075                    throws com.liferay.portal.kernel.exception.SystemException;
076    
077            /**
078            * Finds the d l folder with the primary key or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFolderException} if it could not be found.
079            *
080            * @param folderId the primary key of the d l folder to find
081            * @return the d l folder
082            * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a d l folder with the primary key could not be found
083            * @throws SystemException if a system exception occurred
084            */
085            public com.liferay.portlet.documentlibrary.model.DLFolder findByPrimaryKey(
086                    long folderId)
087                    throws com.liferay.portal.kernel.exception.SystemException,
088                            com.liferay.portlet.documentlibrary.NoSuchFolderException;
089    
090            /**
091            * Finds the d l folder with the primary key or returns <code>null</code> if it could not be found.
092            *
093            * @param folderId the primary key of the d l folder to find
094            * @return the d l folder, or <code>null</code> if a d l folder with the primary key could not be found
095            * @throws SystemException if a system exception occurred
096            */
097            public com.liferay.portlet.documentlibrary.model.DLFolder fetchByPrimaryKey(
098                    long folderId)
099                    throws com.liferay.portal.kernel.exception.SystemException;
100    
101            /**
102            * Finds all the d l folders where uuid = &#63;.
103            *
104            * @param uuid the uuid to search with
105            * @return the matching d l folders
106            * @throws SystemException if a system exception occurred
107            */
108            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid(
109                    java.lang.String uuid)
110                    throws com.liferay.portal.kernel.exception.SystemException;
111    
112            /**
113            * Finds a range of all the d l folders where uuid = &#63;.
114            *
115            * <p>
116            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
117            * </p>
118            *
119            * @param uuid the uuid to search with
120            * @param start the lower bound of the range of d l folders to return
121            * @param end the upper bound of the range of d l folders to return (not inclusive)
122            * @return the range of matching d l folders
123            * @throws SystemException if a system exception occurred
124            */
125            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid(
126                    java.lang.String uuid, int start, int end)
127                    throws com.liferay.portal.kernel.exception.SystemException;
128    
129            /**
130            * Finds an ordered range of all the d l folders where uuid = &#63;.
131            *
132            * <p>
133            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
134            * </p>
135            *
136            * @param uuid the uuid to search with
137            * @param start the lower bound of the range of d l folders to return
138            * @param end the upper bound of the range of d l folders to return (not inclusive)
139            * @param orderByComparator the comparator to order the results by
140            * @return the ordered range of matching d l folders
141            * @throws SystemException if a system exception occurred
142            */
143            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid(
144                    java.lang.String uuid, int start, int end,
145                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
146                    throws com.liferay.portal.kernel.exception.SystemException;
147    
148            /**
149            * Finds the first d l folder in the ordered set where uuid = &#63;.
150            *
151            * <p>
152            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
153            * </p>
154            *
155            * @param uuid the uuid to search with
156            * @param orderByComparator the comparator to order the set by
157            * @return the first matching d l folder
158            * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching d l folder could not be found
159            * @throws SystemException if a system exception occurred
160            */
161            public com.liferay.portlet.documentlibrary.model.DLFolder findByUuid_First(
162                    java.lang.String uuid,
163                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
164                    throws com.liferay.portal.kernel.exception.SystemException,
165                            com.liferay.portlet.documentlibrary.NoSuchFolderException;
166    
167            /**
168            * Finds the last d l folder in the ordered set where uuid = &#63;.
169            *
170            * <p>
171            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
172            * </p>
173            *
174            * @param uuid the uuid to search with
175            * @param orderByComparator the comparator to order the set by
176            * @return the last matching d l folder
177            * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching d l folder could not be found
178            * @throws SystemException if a system exception occurred
179            */
180            public com.liferay.portlet.documentlibrary.model.DLFolder findByUuid_Last(
181                    java.lang.String uuid,
182                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
183                    throws com.liferay.portal.kernel.exception.SystemException,
184                            com.liferay.portlet.documentlibrary.NoSuchFolderException;
185    
186            /**
187            * Finds the d l folders before and after the current d l folder in the ordered set where uuid = &#63;.
188            *
189            * <p>
190            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
191            * </p>
192            *
193            * @param folderId the primary key of the current d l folder
194            * @param uuid the uuid to search with
195            * @param orderByComparator the comparator to order the set by
196            * @return the previous, current, and next d l folder
197            * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a d l folder with the primary key could not be found
198            * @throws SystemException if a system exception occurred
199            */
200            public com.liferay.portlet.documentlibrary.model.DLFolder[] findByUuid_PrevAndNext(
201                    long folderId, java.lang.String uuid,
202                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
203                    throws com.liferay.portal.kernel.exception.SystemException,
204                            com.liferay.portlet.documentlibrary.NoSuchFolderException;
205    
206            /**
207            * Finds the d l folder where uuid = &#63; and groupId = &#63; or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFolderException} if it could not be found.
208            *
209            * @param uuid the uuid to search with
210            * @param groupId the group id to search with
211            * @return the matching d l folder
212            * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching d l folder could not be found
213            * @throws SystemException if a system exception occurred
214            */
215            public com.liferay.portlet.documentlibrary.model.DLFolder findByUUID_G(
216                    java.lang.String uuid, long groupId)
217                    throws com.liferay.portal.kernel.exception.SystemException,
218                            com.liferay.portlet.documentlibrary.NoSuchFolderException;
219    
220            /**
221            * Finds the d l folder where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
222            *
223            * @param uuid the uuid to search with
224            * @param groupId the group id to search with
225            * @return the matching d l folder, or <code>null</code> if a matching d l folder could not be found
226            * @throws SystemException if a system exception occurred
227            */
228            public com.liferay.portlet.documentlibrary.model.DLFolder fetchByUUID_G(
229                    java.lang.String uuid, long groupId)
230                    throws com.liferay.portal.kernel.exception.SystemException;
231    
232            /**
233            * Finds the d l folder where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
234            *
235            * @param uuid the uuid to search with
236            * @param groupId the group id to search with
237            * @return the matching d l folder, or <code>null</code> if a matching d l folder could not be found
238            * @throws SystemException if a system exception occurred
239            */
240            public com.liferay.portlet.documentlibrary.model.DLFolder fetchByUUID_G(
241                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
242                    throws com.liferay.portal.kernel.exception.SystemException;
243    
244            /**
245            * Finds all the d l folders where groupId = &#63;.
246            *
247            * @param groupId the group id to search with
248            * @return the matching d l folders
249            * @throws SystemException if a system exception occurred
250            */
251            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByGroupId(
252                    long groupId)
253                    throws com.liferay.portal.kernel.exception.SystemException;
254    
255            /**
256            * Finds a range of all the d l folders where groupId = &#63;.
257            *
258            * <p>
259            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
260            * </p>
261            *
262            * @param groupId the group id to search with
263            * @param start the lower bound of the range of d l folders to return
264            * @param end the upper bound of the range of d l folders to return (not inclusive)
265            * @return the range of matching d l folders
266            * @throws SystemException if a system exception occurred
267            */
268            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByGroupId(
269                    long groupId, int start, int end)
270                    throws com.liferay.portal.kernel.exception.SystemException;
271    
272            /**
273            * Finds an ordered range of all the d l folders where groupId = &#63;.
274            *
275            * <p>
276            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
277            * </p>
278            *
279            * @param groupId the group id to search with
280            * @param start the lower bound of the range of d l folders to return
281            * @param end the upper bound of the range of d l folders to return (not inclusive)
282            * @param orderByComparator the comparator to order the results by
283            * @return the ordered range of matching d l folders
284            * @throws SystemException if a system exception occurred
285            */
286            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByGroupId(
287                    long groupId, int start, int end,
288                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
289                    throws com.liferay.portal.kernel.exception.SystemException;
290    
291            /**
292            * Finds the first d l folder in the ordered set where groupId = &#63;.
293            *
294            * <p>
295            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
296            * </p>
297            *
298            * @param groupId the group id to search with
299            * @param orderByComparator the comparator to order the set by
300            * @return the first matching d l folder
301            * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching d l folder could not be found
302            * @throws SystemException if a system exception occurred
303            */
304            public com.liferay.portlet.documentlibrary.model.DLFolder findByGroupId_First(
305                    long groupId,
306                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
307                    throws com.liferay.portal.kernel.exception.SystemException,
308                            com.liferay.portlet.documentlibrary.NoSuchFolderException;
309    
310            /**
311            * Finds the last d l folder in the ordered set where groupId = &#63;.
312            *
313            * <p>
314            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
315            * </p>
316            *
317            * @param groupId the group id to search with
318            * @param orderByComparator the comparator to order the set by
319            * @return the last matching d l folder
320            * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching d l folder could not be found
321            * @throws SystemException if a system exception occurred
322            */
323            public com.liferay.portlet.documentlibrary.model.DLFolder findByGroupId_Last(
324                    long groupId,
325                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
326                    throws com.liferay.portal.kernel.exception.SystemException,
327                            com.liferay.portlet.documentlibrary.NoSuchFolderException;
328    
329            /**
330            * Finds the d l folders before and after the current d l folder in the ordered set where groupId = &#63;.
331            *
332            * <p>
333            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
334            * </p>
335            *
336            * @param folderId the primary key of the current d l folder
337            * @param groupId the group id to search with
338            * @param orderByComparator the comparator to order the set by
339            * @return the previous, current, and next d l folder
340            * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a d l folder with the primary key could not be found
341            * @throws SystemException if a system exception occurred
342            */
343            public com.liferay.portlet.documentlibrary.model.DLFolder[] findByGroupId_PrevAndNext(
344                    long folderId, long groupId,
345                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
346                    throws com.liferay.portal.kernel.exception.SystemException,
347                            com.liferay.portlet.documentlibrary.NoSuchFolderException;
348    
349            /**
350            * Filters by the user's permissions and finds all the d l folders where groupId = &#63;.
351            *
352            * @param groupId the group id to search with
353            * @return the matching d l folders that the user has permission to view
354            * @throws SystemException if a system exception occurred
355            */
356            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByGroupId(
357                    long groupId)
358                    throws com.liferay.portal.kernel.exception.SystemException;
359    
360            /**
361            * Filters by the user's permissions and finds a range of all the d l folders where groupId = &#63;.
362            *
363            * <p>
364            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
365            * </p>
366            *
367            * @param groupId the group id to search with
368            * @param start the lower bound of the range of d l folders to return
369            * @param end the upper bound of the range of d l folders to return (not inclusive)
370            * @return the range of matching d l folders that the user has permission to view
371            * @throws SystemException if a system exception occurred
372            */
373            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByGroupId(
374                    long groupId, int start, int end)
375                    throws com.liferay.portal.kernel.exception.SystemException;
376    
377            /**
378            * Filters by the user's permissions and finds an ordered range of all the d l folders where groupId = &#63;.
379            *
380            * <p>
381            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
382            * </p>
383            *
384            * @param groupId the group id to search with
385            * @param start the lower bound of the range of d l folders to return
386            * @param end the upper bound of the range of d l folders to return (not inclusive)
387            * @param orderByComparator the comparator to order the results by
388            * @return the ordered range of matching d l folders that the user has permission to view
389            * @throws SystemException if a system exception occurred
390            */
391            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByGroupId(
392                    long groupId, int start, int end,
393                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
394                    throws com.liferay.portal.kernel.exception.SystemException;
395    
396            /**
397            * Finds all the d l folders where companyId = &#63;.
398            *
399            * @param companyId the company id to search with
400            * @return the matching d l folders
401            * @throws SystemException if a system exception occurred
402            */
403            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByCompanyId(
404                    long companyId)
405                    throws com.liferay.portal.kernel.exception.SystemException;
406    
407            /**
408            * Finds a range of all the d l folders where companyId = &#63;.
409            *
410            * <p>
411            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
412            * </p>
413            *
414            * @param companyId the company id to search with
415            * @param start the lower bound of the range of d l folders to return
416            * @param end the upper bound of the range of d l folders to return (not inclusive)
417            * @return the range of matching d l folders
418            * @throws SystemException if a system exception occurred
419            */
420            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByCompanyId(
421                    long companyId, int start, int end)
422                    throws com.liferay.portal.kernel.exception.SystemException;
423    
424            /**
425            * Finds an ordered range of all the d l folders where companyId = &#63;.
426            *
427            * <p>
428            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
429            * </p>
430            *
431            * @param companyId the company id to search with
432            * @param start the lower bound of the range of d l folders to return
433            * @param end the upper bound of the range of d l folders to return (not inclusive)
434            * @param orderByComparator the comparator to order the results by
435            * @return the ordered range of matching d l folders
436            * @throws SystemException if a system exception occurred
437            */
438            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByCompanyId(
439                    long companyId, int start, int end,
440                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
441                    throws com.liferay.portal.kernel.exception.SystemException;
442    
443            /**
444            * Finds the first d l folder in the ordered set where companyId = &#63;.
445            *
446            * <p>
447            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
448            * </p>
449            *
450            * @param companyId the company id to search with
451            * @param orderByComparator the comparator to order the set by
452            * @return the first matching d l folder
453            * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching d l folder could not be found
454            * @throws SystemException if a system exception occurred
455            */
456            public com.liferay.portlet.documentlibrary.model.DLFolder findByCompanyId_First(
457                    long companyId,
458                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
459                    throws com.liferay.portal.kernel.exception.SystemException,
460                            com.liferay.portlet.documentlibrary.NoSuchFolderException;
461    
462            /**
463            * Finds the last d l folder in the ordered set where companyId = &#63;.
464            *
465            * <p>
466            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
467            * </p>
468            *
469            * @param companyId the company id to search with
470            * @param orderByComparator the comparator to order the set by
471            * @return the last matching d l folder
472            * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching d l folder could not be found
473            * @throws SystemException if a system exception occurred
474            */
475            public com.liferay.portlet.documentlibrary.model.DLFolder findByCompanyId_Last(
476                    long companyId,
477                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
478                    throws com.liferay.portal.kernel.exception.SystemException,
479                            com.liferay.portlet.documentlibrary.NoSuchFolderException;
480    
481            /**
482            * Finds the d l folders before and after the current d l folder in the ordered set where companyId = &#63;.
483            *
484            * <p>
485            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
486            * </p>
487            *
488            * @param folderId the primary key of the current d l folder
489            * @param companyId the company id to search with
490            * @param orderByComparator the comparator to order the set by
491            * @return the previous, current, and next d l folder
492            * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a d l folder with the primary key could not be found
493            * @throws SystemException if a system exception occurred
494            */
495            public com.liferay.portlet.documentlibrary.model.DLFolder[] findByCompanyId_PrevAndNext(
496                    long folderId, long companyId,
497                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
498                    throws com.liferay.portal.kernel.exception.SystemException,
499                            com.liferay.portlet.documentlibrary.NoSuchFolderException;
500    
501            /**
502            * Finds all the d l folders where groupId = &#63; and parentFolderId = &#63;.
503            *
504            * @param groupId the group id to search with
505            * @param parentFolderId the parent folder id to search with
506            * @return the matching d l folders
507            * @throws SystemException if a system exception occurred
508            */
509            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P(
510                    long groupId, long parentFolderId)
511                    throws com.liferay.portal.kernel.exception.SystemException;
512    
513            /**
514            * Finds a range of all the d l folders where groupId = &#63; and parentFolderId = &#63;.
515            *
516            * <p>
517            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
518            * </p>
519            *
520            * @param groupId the group id to search with
521            * @param parentFolderId the parent folder id to search with
522            * @param start the lower bound of the range of d l folders to return
523            * @param end the upper bound of the range of d l folders to return (not inclusive)
524            * @return the range of matching d l folders
525            * @throws SystemException if a system exception occurred
526            */
527            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P(
528                    long groupId, long parentFolderId, int start, int end)
529                    throws com.liferay.portal.kernel.exception.SystemException;
530    
531            /**
532            * Finds an ordered range of all the d l folders where groupId = &#63; and parentFolderId = &#63;.
533            *
534            * <p>
535            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
536            * </p>
537            *
538            * @param groupId the group id to search with
539            * @param parentFolderId the parent folder id to search with
540            * @param start the lower bound of the range of d l folders to return
541            * @param end the upper bound of the range of d l folders to return (not inclusive)
542            * @param orderByComparator the comparator to order the results by
543            * @return the ordered range of matching d l folders
544            * @throws SystemException if a system exception occurred
545            */
546            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P(
547                    long groupId, long parentFolderId, int start, int end,
548                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
549                    throws com.liferay.portal.kernel.exception.SystemException;
550    
551            /**
552            * Finds the first d l folder in the ordered set where groupId = &#63; and parentFolderId = &#63;.
553            *
554            * <p>
555            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
556            * </p>
557            *
558            * @param groupId the group id to search with
559            * @param parentFolderId the parent folder id to search with
560            * @param orderByComparator the comparator to order the set by
561            * @return the first matching d l folder
562            * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching d l folder could not be found
563            * @throws SystemException if a system exception occurred
564            */
565            public com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_First(
566                    long groupId, long parentFolderId,
567                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
568                    throws com.liferay.portal.kernel.exception.SystemException,
569                            com.liferay.portlet.documentlibrary.NoSuchFolderException;
570    
571            /**
572            * Finds the last d l folder in the ordered set where groupId = &#63; and parentFolderId = &#63;.
573            *
574            * <p>
575            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
576            * </p>
577            *
578            * @param groupId the group id to search with
579            * @param parentFolderId the parent folder id to search with
580            * @param orderByComparator the comparator to order the set by
581            * @return the last matching d l folder
582            * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching d l folder could not be found
583            * @throws SystemException if a system exception occurred
584            */
585            public com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_Last(
586                    long groupId, long parentFolderId,
587                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
588                    throws com.liferay.portal.kernel.exception.SystemException,
589                            com.liferay.portlet.documentlibrary.NoSuchFolderException;
590    
591            /**
592            * Finds the d l folders before and after the current d l folder in the ordered set where groupId = &#63; and parentFolderId = &#63;.
593            *
594            * <p>
595            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
596            * </p>
597            *
598            * @param folderId the primary key of the current d l folder
599            * @param groupId the group id to search with
600            * @param parentFolderId the parent folder id to search with
601            * @param orderByComparator the comparator to order the set by
602            * @return the previous, current, and next d l folder
603            * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a d l folder with the primary key could not be found
604            * @throws SystemException if a system exception occurred
605            */
606            public com.liferay.portlet.documentlibrary.model.DLFolder[] findByG_P_PrevAndNext(
607                    long folderId, long groupId, long parentFolderId,
608                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
609                    throws com.liferay.portal.kernel.exception.SystemException,
610                            com.liferay.portlet.documentlibrary.NoSuchFolderException;
611    
612            /**
613            * Filters by the user's permissions and finds all the d l folders where groupId = &#63; and parentFolderId = &#63;.
614            *
615            * @param groupId the group id to search with
616            * @param parentFolderId the parent folder id to search with
617            * @return the matching d l folders that the user has permission to view
618            * @throws SystemException if a system exception occurred
619            */
620            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P(
621                    long groupId, long parentFolderId)
622                    throws com.liferay.portal.kernel.exception.SystemException;
623    
624            /**
625            * Filters by the user's permissions and finds a range of all the d l folders where groupId = &#63; and parentFolderId = &#63;.
626            *
627            * <p>
628            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
629            * </p>
630            *
631            * @param groupId the group id to search with
632            * @param parentFolderId the parent folder id to search with
633            * @param start the lower bound of the range of d l folders to return
634            * @param end the upper bound of the range of d l folders to return (not inclusive)
635            * @return the range of matching d l folders that the user has permission to view
636            * @throws SystemException if a system exception occurred
637            */
638            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P(
639                    long groupId, long parentFolderId, int start, int end)
640                    throws com.liferay.portal.kernel.exception.SystemException;
641    
642            /**
643            * Filters by the user's permissions and finds an ordered range of all the d l folders where groupId = &#63; and parentFolderId = &#63;.
644            *
645            * <p>
646            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
647            * </p>
648            *
649            * @param groupId the group id to search with
650            * @param parentFolderId the parent folder id to search with
651            * @param start the lower bound of the range of d l folders to return
652            * @param end the upper bound of the range of d l folders to return (not inclusive)
653            * @param orderByComparator the comparator to order the results by
654            * @return the ordered range of matching d l folders that the user has permission to view
655            * @throws SystemException if a system exception occurred
656            */
657            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P(
658                    long groupId, long parentFolderId, int start, int end,
659                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
660                    throws com.liferay.portal.kernel.exception.SystemException;
661    
662            /**
663            * Finds all the d l folders where parentFolderId = &#63; and name = &#63;.
664            *
665            * @param parentFolderId the parent folder id to search with
666            * @param name the name to search with
667            * @return the matching d l folders
668            * @throws SystemException if a system exception occurred
669            */
670            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByP_N(
671                    long parentFolderId, java.lang.String name)
672                    throws com.liferay.portal.kernel.exception.SystemException;
673    
674            /**
675            * Finds a range of all the d l folders where parentFolderId = &#63; and name = &#63;.
676            *
677            * <p>
678            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
679            * </p>
680            *
681            * @param parentFolderId the parent folder id to search with
682            * @param name the name to search with
683            * @param start the lower bound of the range of d l folders to return
684            * @param end the upper bound of the range of d l folders to return (not inclusive)
685            * @return the range of matching d l folders
686            * @throws SystemException if a system exception occurred
687            */
688            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByP_N(
689                    long parentFolderId, java.lang.String name, int start, int end)
690                    throws com.liferay.portal.kernel.exception.SystemException;
691    
692            /**
693            * Finds an ordered range of all the d l folders where parentFolderId = &#63; and name = &#63;.
694            *
695            * <p>
696            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
697            * </p>
698            *
699            * @param parentFolderId the parent folder id to search with
700            * @param name the name to search with
701            * @param start the lower bound of the range of d l folders to return
702            * @param end the upper bound of the range of d l folders to return (not inclusive)
703            * @param orderByComparator the comparator to order the results by
704            * @return the ordered range of matching d l folders
705            * @throws SystemException if a system exception occurred
706            */
707            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByP_N(
708                    long parentFolderId, java.lang.String name, int start, int end,
709                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
710                    throws com.liferay.portal.kernel.exception.SystemException;
711    
712            /**
713            * Finds the first d l folder in the ordered set where parentFolderId = &#63; and name = &#63;.
714            *
715            * <p>
716            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
717            * </p>
718            *
719            * @param parentFolderId the parent folder id to search with
720            * @param name the name to search with
721            * @param orderByComparator the comparator to order the set by
722            * @return the first matching d l folder
723            * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching d l folder could not be found
724            * @throws SystemException if a system exception occurred
725            */
726            public com.liferay.portlet.documentlibrary.model.DLFolder findByP_N_First(
727                    long parentFolderId, java.lang.String name,
728                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
729                    throws com.liferay.portal.kernel.exception.SystemException,
730                            com.liferay.portlet.documentlibrary.NoSuchFolderException;
731    
732            /**
733            * Finds the last d l folder in the ordered set where parentFolderId = &#63; and name = &#63;.
734            *
735            * <p>
736            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
737            * </p>
738            *
739            * @param parentFolderId the parent folder id to search with
740            * @param name the name to search with
741            * @param orderByComparator the comparator to order the set by
742            * @return the last matching d l folder
743            * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching d l folder could not be found
744            * @throws SystemException if a system exception occurred
745            */
746            public com.liferay.portlet.documentlibrary.model.DLFolder findByP_N_Last(
747                    long parentFolderId, java.lang.String name,
748                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
749                    throws com.liferay.portal.kernel.exception.SystemException,
750                            com.liferay.portlet.documentlibrary.NoSuchFolderException;
751    
752            /**
753            * Finds the d l folders before and after the current d l folder in the ordered set where parentFolderId = &#63; and name = &#63;.
754            *
755            * <p>
756            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
757            * </p>
758            *
759            * @param folderId the primary key of the current d l folder
760            * @param parentFolderId the parent folder id to search with
761            * @param name the name to search with
762            * @param orderByComparator the comparator to order the set by
763            * @return the previous, current, and next d l folder
764            * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a d l folder with the primary key could not be found
765            * @throws SystemException if a system exception occurred
766            */
767            public com.liferay.portlet.documentlibrary.model.DLFolder[] findByP_N_PrevAndNext(
768                    long folderId, long parentFolderId, java.lang.String name,
769                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
770                    throws com.liferay.portal.kernel.exception.SystemException,
771                            com.liferay.portlet.documentlibrary.NoSuchFolderException;
772    
773            /**
774            * Finds the d l 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.
775            *
776            * @param groupId the group id to search with
777            * @param parentFolderId the parent folder id to search with
778            * @param name the name to search with
779            * @return the matching d l folder
780            * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching d l folder could not be found
781            * @throws SystemException if a system exception occurred
782            */
783            public com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_N(
784                    long groupId, long parentFolderId, java.lang.String name)
785                    throws com.liferay.portal.kernel.exception.SystemException,
786                            com.liferay.portlet.documentlibrary.NoSuchFolderException;
787    
788            /**
789            * Finds the d l 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.
790            *
791            * @param groupId the group id to search with
792            * @param parentFolderId the parent folder id to search with
793            * @param name the name to search with
794            * @return the matching d l folder, or <code>null</code> if a matching d l folder could not be found
795            * @throws SystemException if a system exception occurred
796            */
797            public com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_N(
798                    long groupId, long parentFolderId, java.lang.String name)
799                    throws com.liferay.portal.kernel.exception.SystemException;
800    
801            /**
802            * Finds the d l 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.
803            *
804            * @param groupId the group id to search with
805            * @param parentFolderId the parent folder id to search with
806            * @param name the name to search with
807            * @return the matching d l folder, or <code>null</code> if a matching d l folder could not be found
808            * @throws SystemException if a system exception occurred
809            */
810            public com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_N(
811                    long groupId, long parentFolderId, java.lang.String name,
812                    boolean retrieveFromCache)
813                    throws com.liferay.portal.kernel.exception.SystemException;
814    
815            /**
816            * Finds all the d l folders.
817            *
818            * @return the d l folders
819            * @throws SystemException if a system exception occurred
820            */
821            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll()
822                    throws com.liferay.portal.kernel.exception.SystemException;
823    
824            /**
825            * Finds a range of all the d l folders.
826            *
827            * <p>
828            * 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.
829            * </p>
830            *
831            * @param start the lower bound of the range of d l folders to return
832            * @param end the upper bound of the range of d l folders to return (not inclusive)
833            * @return the range of d l folders
834            * @throws SystemException if a system exception occurred
835            */
836            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll(
837                    int start, int end)
838                    throws com.liferay.portal.kernel.exception.SystemException;
839    
840            /**
841            * Finds an ordered range of all the d l folders.
842            *
843            * <p>
844            * 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.
845            * </p>
846            *
847            * @param start the lower bound of the range of d l folders to return
848            * @param end the upper bound of the range of d l folders to return (not inclusive)
849            * @param orderByComparator the comparator to order the results by
850            * @return the ordered range of d l folders
851            * @throws SystemException if a system exception occurred
852            */
853            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll(
854                    int start, int end,
855                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
856                    throws com.liferay.portal.kernel.exception.SystemException;
857    
858            /**
859            * Removes all the d l folders where uuid = &#63; from the database.
860            *
861            * @param uuid the uuid to search with
862            * @throws SystemException if a system exception occurred
863            */
864            public void removeByUuid(java.lang.String uuid)
865                    throws com.liferay.portal.kernel.exception.SystemException;
866    
867            /**
868            * Removes the d l folder where uuid = &#63; and groupId = &#63; from the database.
869            *
870            * @param uuid the uuid to search with
871            * @param groupId the group id to search with
872            * @throws SystemException if a system exception occurred
873            */
874            public void removeByUUID_G(java.lang.String uuid, long groupId)
875                    throws com.liferay.portal.kernel.exception.SystemException,
876                            com.liferay.portlet.documentlibrary.NoSuchFolderException;
877    
878            /**
879            * Removes all the d l folders where groupId = &#63; from the database.
880            *
881            * @param groupId the group id to search with
882            * @throws SystemException if a system exception occurred
883            */
884            public void removeByGroupId(long groupId)
885                    throws com.liferay.portal.kernel.exception.SystemException;
886    
887            /**
888            * Removes all the d l folders where companyId = &#63; from the database.
889            *
890            * @param companyId the company id to search with
891            * @throws SystemException if a system exception occurred
892            */
893            public void removeByCompanyId(long companyId)
894                    throws com.liferay.portal.kernel.exception.SystemException;
895    
896            /**
897            * Removes all the d l folders where groupId = &#63; and parentFolderId = &#63; from the database.
898            *
899            * @param groupId the group id to search with
900            * @param parentFolderId the parent folder id to search with
901            * @throws SystemException if a system exception occurred
902            */
903            public void removeByG_P(long groupId, long parentFolderId)
904                    throws com.liferay.portal.kernel.exception.SystemException;
905    
906            /**
907            * Removes all the d l folders where parentFolderId = &#63; and name = &#63; from the database.
908            *
909            * @param parentFolderId the parent folder id to search with
910            * @param name the name to search with
911            * @throws SystemException if a system exception occurred
912            */
913            public void removeByP_N(long parentFolderId, java.lang.String name)
914                    throws com.liferay.portal.kernel.exception.SystemException;
915    
916            /**
917            * Removes the d l folder where groupId = &#63; and parentFolderId = &#63; and name = &#63; from the database.
918            *
919            * @param groupId the group id to search with
920            * @param parentFolderId the parent folder id to search with
921            * @param name the name to search with
922            * @throws SystemException if a system exception occurred
923            */
924            public void removeByG_P_N(long groupId, long parentFolderId,
925                    java.lang.String name)
926                    throws com.liferay.portal.kernel.exception.SystemException,
927                            com.liferay.portlet.documentlibrary.NoSuchFolderException;
928    
929            /**
930            * Removes all the d l folders from the database.
931            *
932            * @throws SystemException if a system exception occurred
933            */
934            public void removeAll()
935                    throws com.liferay.portal.kernel.exception.SystemException;
936    
937            /**
938            * Counts all the d l folders where uuid = &#63;.
939            *
940            * @param uuid the uuid to search with
941            * @return the number of matching d l folders
942            * @throws SystemException if a system exception occurred
943            */
944            public int countByUuid(java.lang.String uuid)
945                    throws com.liferay.portal.kernel.exception.SystemException;
946    
947            /**
948            * Counts all the d l folders where uuid = &#63; and groupId = &#63;.
949            *
950            * @param uuid the uuid to search with
951            * @param groupId the group id to search with
952            * @return the number of matching d l folders
953            * @throws SystemException if a system exception occurred
954            */
955            public int countByUUID_G(java.lang.String uuid, long groupId)
956                    throws com.liferay.portal.kernel.exception.SystemException;
957    
958            /**
959            * Counts all the d l folders where groupId = &#63;.
960            *
961            * @param groupId the group id to search with
962            * @return the number of matching d l folders
963            * @throws SystemException if a system exception occurred
964            */
965            public int countByGroupId(long groupId)
966                    throws com.liferay.portal.kernel.exception.SystemException;
967    
968            /**
969            * Filters by the user's permissions and counts all the d l folders where groupId = &#63;.
970            *
971            * @param groupId the group id to search with
972            * @return the number of matching d l folders that the user has permission to view
973            * @throws SystemException if a system exception occurred
974            */
975            public int filterCountByGroupId(long groupId)
976                    throws com.liferay.portal.kernel.exception.SystemException;
977    
978            /**
979            * Counts all the d l folders where companyId = &#63;.
980            *
981            * @param companyId the company id to search with
982            * @return the number of matching d l folders
983            * @throws SystemException if a system exception occurred
984            */
985            public int countByCompanyId(long companyId)
986                    throws com.liferay.portal.kernel.exception.SystemException;
987    
988            /**
989            * Counts all the d l folders where groupId = &#63; and parentFolderId = &#63;.
990            *
991            * @param groupId the group id to search with
992            * @param parentFolderId the parent folder id to search with
993            * @return the number of matching d l folders
994            * @throws SystemException if a system exception occurred
995            */
996            public int countByG_P(long groupId, long parentFolderId)
997                    throws com.liferay.portal.kernel.exception.SystemException;
998    
999            /**
1000            * Filters by the user's permissions and counts all the d l folders where groupId = &#63; and parentFolderId = &#63;.
1001            *
1002            * @param groupId the group id to search with
1003            * @param parentFolderId the parent folder id to search with
1004            * @return the number of matching d l folders that the user has permission to view
1005            * @throws SystemException if a system exception occurred
1006            */
1007            public int filterCountByG_P(long groupId, long parentFolderId)
1008                    throws com.liferay.portal.kernel.exception.SystemException;
1009    
1010            /**
1011            * Counts all the d l folders where parentFolderId = &#63; and name = &#63;.
1012            *
1013            * @param parentFolderId the parent folder id to search with
1014            * @param name the name to search with
1015            * @return the number of matching d l folders
1016            * @throws SystemException if a system exception occurred
1017            */
1018            public int countByP_N(long parentFolderId, java.lang.String name)
1019                    throws com.liferay.portal.kernel.exception.SystemException;
1020    
1021            /**
1022            * Counts all the d l folders where groupId = &#63; and parentFolderId = &#63; and name = &#63;.
1023            *
1024            * @param groupId the group id to search with
1025            * @param parentFolderId the parent folder id to search with
1026            * @param name the name to search with
1027            * @return the number of matching d l folders
1028            * @throws SystemException if a system exception occurred
1029            */
1030            public int countByG_P_N(long groupId, long parentFolderId,
1031                    java.lang.String name)
1032                    throws com.liferay.portal.kernel.exception.SystemException;
1033    
1034            /**
1035            * Filters by the user's permissions and counts all the d l folders where groupId = &#63; and parentFolderId = &#63; and name = &#63;.
1036            *
1037            * @param groupId the group id to search with
1038            * @param parentFolderId the parent folder id to search with
1039            * @param name the name to search with
1040            * @return the number of matching d l folders that the user has permission to view
1041            * @throws SystemException if a system exception occurred
1042            */
1043            public int filterCountByG_P_N(long groupId, long parentFolderId,
1044                    java.lang.String name)
1045                    throws com.liferay.portal.kernel.exception.SystemException;
1046    
1047            /**
1048            * Counts all the d l folders.
1049            *
1050            * @return the number of d l folders
1051            * @throws SystemException if a system exception occurred
1052            */
1053            public int countAll()
1054                    throws com.liferay.portal.kernel.exception.SystemException;
1055    }