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.kernel.bean.PortalBeanLocatorUtil;
018    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
019    import com.liferay.portal.kernel.exception.SystemException;
020    import com.liferay.portal.kernel.util.OrderByComparator;
021    import com.liferay.portal.service.ServiceContext;
022    
023    import com.liferay.portlet.documentlibrary.model.DLFolder;
024    
025    import java.util.List;
026    
027    /**
028     * @author    Brian Wing Shun Chan
029     * @see       DLFolderPersistence
030     * @see       DLFolderPersistenceImpl
031     * @generated
032     */
033    public class DLFolderUtil {
034            /**
035             * @see com.liferay.portal.service.persistence.BasePersistence#clearCache()
036             */
037            public static void clearCache() {
038                    getPersistence().clearCache();
039            }
040    
041            /**
042             * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel)
043             */
044            public static void clearCache(DLFolder dlFolder) {
045                    getPersistence().clearCache(dlFolder);
046            }
047    
048            /**
049             * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery)
050             */
051            public long countWithDynamicQuery(DynamicQuery dynamicQuery)
052                    throws SystemException {
053                    return getPersistence().countWithDynamicQuery(dynamicQuery);
054            }
055    
056            /**
057             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery)
058             */
059            public static List<DLFolder> findWithDynamicQuery(DynamicQuery dynamicQuery)
060                    throws SystemException {
061                    return getPersistence().findWithDynamicQuery(dynamicQuery);
062            }
063    
064            /**
065             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int)
066             */
067            public static List<DLFolder> findWithDynamicQuery(
068                    DynamicQuery dynamicQuery, int start, int end)
069                    throws SystemException {
070                    return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
071            }
072    
073            /**
074             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
075             */
076            public static List<DLFolder> findWithDynamicQuery(
077                    DynamicQuery dynamicQuery, int start, int end,
078                    OrderByComparator orderByComparator) throws SystemException {
079                    return getPersistence()
080                                       .findWithDynamicQuery(dynamicQuery, start, end,
081                            orderByComparator);
082            }
083    
084            /**
085             * @see com.liferay.portal.service.persistence.BasePersistence#remove(com.liferay.portal.model.BaseModel)
086             */
087            public static DLFolder remove(DLFolder dlFolder) throws SystemException {
088                    return getPersistence().remove(dlFolder);
089            }
090    
091            /**
092             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean)
093             */
094            public static DLFolder update(DLFolder dlFolder, boolean merge)
095                    throws SystemException {
096                    return getPersistence().update(dlFolder, merge);
097            }
098    
099            /**
100             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
101             */
102            public static DLFolder update(DLFolder dlFolder, boolean merge,
103                    ServiceContext serviceContext) throws SystemException {
104                    return getPersistence().update(dlFolder, merge, serviceContext);
105            }
106    
107            public static void cacheResult(
108                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder) {
109                    getPersistence().cacheResult(dlFolder);
110            }
111    
112            public static void cacheResult(
113                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> dlFolders) {
114                    getPersistence().cacheResult(dlFolders);
115            }
116    
117            public static com.liferay.portlet.documentlibrary.model.DLFolder create(
118                    long folderId) {
119                    return getPersistence().create(folderId);
120            }
121    
122            public static com.liferay.portlet.documentlibrary.model.DLFolder remove(
123                    long folderId)
124                    throws com.liferay.portal.kernel.exception.SystemException,
125                            com.liferay.portlet.documentlibrary.NoSuchFolderException {
126                    return getPersistence().remove(folderId);
127            }
128    
129            public static com.liferay.portlet.documentlibrary.model.DLFolder updateImpl(
130                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder,
131                    boolean merge)
132                    throws com.liferay.portal.kernel.exception.SystemException {
133                    return getPersistence().updateImpl(dlFolder, merge);
134            }
135    
136            public static com.liferay.portlet.documentlibrary.model.DLFolder findByPrimaryKey(
137                    long folderId)
138                    throws com.liferay.portal.kernel.exception.SystemException,
139                            com.liferay.portlet.documentlibrary.NoSuchFolderException {
140                    return getPersistence().findByPrimaryKey(folderId);
141            }
142    
143            public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByPrimaryKey(
144                    long folderId)
145                    throws com.liferay.portal.kernel.exception.SystemException {
146                    return getPersistence().fetchByPrimaryKey(folderId);
147            }
148    
149            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid(
150                    java.lang.String uuid)
151                    throws com.liferay.portal.kernel.exception.SystemException {
152                    return getPersistence().findByUuid(uuid);
153            }
154    
155            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid(
156                    java.lang.String uuid, int start, int end)
157                    throws com.liferay.portal.kernel.exception.SystemException {
158                    return getPersistence().findByUuid(uuid, start, end);
159            }
160    
161            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid(
162                    java.lang.String uuid, int start, int end,
163                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
164                    throws com.liferay.portal.kernel.exception.SystemException {
165                    return getPersistence().findByUuid(uuid, start, end, orderByComparator);
166            }
167    
168            public static com.liferay.portlet.documentlibrary.model.DLFolder findByUuid_First(
169                    java.lang.String uuid,
170                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
171                    throws com.liferay.portal.kernel.exception.SystemException,
172                            com.liferay.portlet.documentlibrary.NoSuchFolderException {
173                    return getPersistence().findByUuid_First(uuid, orderByComparator);
174            }
175    
176            public static com.liferay.portlet.documentlibrary.model.DLFolder findByUuid_Last(
177                    java.lang.String uuid,
178                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
179                    throws com.liferay.portal.kernel.exception.SystemException,
180                            com.liferay.portlet.documentlibrary.NoSuchFolderException {
181                    return getPersistence().findByUuid_Last(uuid, orderByComparator);
182            }
183    
184            public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByUuid_PrevAndNext(
185                    long folderId, java.lang.String uuid,
186                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
187                    throws com.liferay.portal.kernel.exception.SystemException,
188                            com.liferay.portlet.documentlibrary.NoSuchFolderException {
189                    return getPersistence()
190                                       .findByUuid_PrevAndNext(folderId, uuid, orderByComparator);
191            }
192    
193            public static com.liferay.portlet.documentlibrary.model.DLFolder findByUUID_G(
194                    java.lang.String uuid, long groupId)
195                    throws com.liferay.portal.kernel.exception.SystemException,
196                            com.liferay.portlet.documentlibrary.NoSuchFolderException {
197                    return getPersistence().findByUUID_G(uuid, groupId);
198            }
199    
200            public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByUUID_G(
201                    java.lang.String uuid, long groupId)
202                    throws com.liferay.portal.kernel.exception.SystemException {
203                    return getPersistence().fetchByUUID_G(uuid, groupId);
204            }
205    
206            public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByUUID_G(
207                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
208                    throws com.liferay.portal.kernel.exception.SystemException {
209                    return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
210            }
211    
212            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByGroupId(
213                    long groupId)
214                    throws com.liferay.portal.kernel.exception.SystemException {
215                    return getPersistence().findByGroupId(groupId);
216            }
217    
218            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByGroupId(
219                    long groupId, int start, int end)
220                    throws com.liferay.portal.kernel.exception.SystemException {
221                    return getPersistence().findByGroupId(groupId, start, end);
222            }
223    
224            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByGroupId(
225                    long groupId, int start, int end,
226                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
227                    throws com.liferay.portal.kernel.exception.SystemException {
228                    return getPersistence()
229                                       .findByGroupId(groupId, start, end, orderByComparator);
230            }
231    
232            public static com.liferay.portlet.documentlibrary.model.DLFolder findByGroupId_First(
233                    long groupId,
234                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
235                    throws com.liferay.portal.kernel.exception.SystemException,
236                            com.liferay.portlet.documentlibrary.NoSuchFolderException {
237                    return getPersistence().findByGroupId_First(groupId, orderByComparator);
238            }
239    
240            public static com.liferay.portlet.documentlibrary.model.DLFolder findByGroupId_Last(
241                    long groupId,
242                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
243                    throws com.liferay.portal.kernel.exception.SystemException,
244                            com.liferay.portlet.documentlibrary.NoSuchFolderException {
245                    return getPersistence().findByGroupId_Last(groupId, orderByComparator);
246            }
247    
248            public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByGroupId_PrevAndNext(
249                    long folderId, long groupId,
250                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
251                    throws com.liferay.portal.kernel.exception.SystemException,
252                            com.liferay.portlet.documentlibrary.NoSuchFolderException {
253                    return getPersistence()
254                                       .findByGroupId_PrevAndNext(folderId, groupId,
255                            orderByComparator);
256            }
257    
258            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByGroupId(
259                    long groupId)
260                    throws com.liferay.portal.kernel.exception.SystemException {
261                    return getPersistence().filterFindByGroupId(groupId);
262            }
263    
264            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByGroupId(
265                    long groupId, int start, int end)
266                    throws com.liferay.portal.kernel.exception.SystemException {
267                    return getPersistence().filterFindByGroupId(groupId, start, end);
268            }
269    
270            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByGroupId(
271                    long groupId, int start, int end,
272                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
273                    throws com.liferay.portal.kernel.exception.SystemException {
274                    return getPersistence()
275                                       .filterFindByGroupId(groupId, start, end, orderByComparator);
276            }
277    
278            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByCompanyId(
279                    long companyId)
280                    throws com.liferay.portal.kernel.exception.SystemException {
281                    return getPersistence().findByCompanyId(companyId);
282            }
283    
284            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByCompanyId(
285                    long companyId, int start, int end)
286                    throws com.liferay.portal.kernel.exception.SystemException {
287                    return getPersistence().findByCompanyId(companyId, start, end);
288            }
289    
290            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByCompanyId(
291                    long companyId, int start, int end,
292                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
293                    throws com.liferay.portal.kernel.exception.SystemException {
294                    return getPersistence()
295                                       .findByCompanyId(companyId, start, end, orderByComparator);
296            }
297    
298            public static com.liferay.portlet.documentlibrary.model.DLFolder findByCompanyId_First(
299                    long companyId,
300                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
301                    throws com.liferay.portal.kernel.exception.SystemException,
302                            com.liferay.portlet.documentlibrary.NoSuchFolderException {
303                    return getPersistence()
304                                       .findByCompanyId_First(companyId, orderByComparator);
305            }
306    
307            public static com.liferay.portlet.documentlibrary.model.DLFolder findByCompanyId_Last(
308                    long companyId,
309                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
310                    throws com.liferay.portal.kernel.exception.SystemException,
311                            com.liferay.portlet.documentlibrary.NoSuchFolderException {
312                    return getPersistence()
313                                       .findByCompanyId_Last(companyId, orderByComparator);
314            }
315    
316            public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByCompanyId_PrevAndNext(
317                    long folderId, long companyId,
318                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
319                    throws com.liferay.portal.kernel.exception.SystemException,
320                            com.liferay.portlet.documentlibrary.NoSuchFolderException {
321                    return getPersistence()
322                                       .findByCompanyId_PrevAndNext(folderId, companyId,
323                            orderByComparator);
324            }
325    
326            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P(
327                    long groupId, long parentFolderId)
328                    throws com.liferay.portal.kernel.exception.SystemException {
329                    return getPersistence().findByG_P(groupId, parentFolderId);
330            }
331    
332            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P(
333                    long groupId, long parentFolderId, int start, int end)
334                    throws com.liferay.portal.kernel.exception.SystemException {
335                    return getPersistence().findByG_P(groupId, parentFolderId, start, end);
336            }
337    
338            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P(
339                    long groupId, long parentFolderId, int start, int end,
340                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
341                    throws com.liferay.portal.kernel.exception.SystemException {
342                    return getPersistence()
343                                       .findByG_P(groupId, parentFolderId, start, end,
344                            orderByComparator);
345            }
346    
347            public static com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_First(
348                    long groupId, long parentFolderId,
349                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
350                    throws com.liferay.portal.kernel.exception.SystemException,
351                            com.liferay.portlet.documentlibrary.NoSuchFolderException {
352                    return getPersistence()
353                                       .findByG_P_First(groupId, parentFolderId, orderByComparator);
354            }
355    
356            public static com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_Last(
357                    long groupId, long parentFolderId,
358                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
359                    throws com.liferay.portal.kernel.exception.SystemException,
360                            com.liferay.portlet.documentlibrary.NoSuchFolderException {
361                    return getPersistence()
362                                       .findByG_P_Last(groupId, parentFolderId, orderByComparator);
363            }
364    
365            public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByG_P_PrevAndNext(
366                    long folderId, long groupId, long parentFolderId,
367                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
368                    throws com.liferay.portal.kernel.exception.SystemException,
369                            com.liferay.portlet.documentlibrary.NoSuchFolderException {
370                    return getPersistence()
371                                       .findByG_P_PrevAndNext(folderId, groupId, parentFolderId,
372                            orderByComparator);
373            }
374    
375            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P(
376                    long groupId, long parentFolderId)
377                    throws com.liferay.portal.kernel.exception.SystemException {
378                    return getPersistence().filterFindByG_P(groupId, parentFolderId);
379            }
380    
381            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P(
382                    long groupId, long parentFolderId, int start, int end)
383                    throws com.liferay.portal.kernel.exception.SystemException {
384                    return getPersistence()
385                                       .filterFindByG_P(groupId, parentFolderId, start, end);
386            }
387    
388            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P(
389                    long groupId, long parentFolderId, int start, int end,
390                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
391                    throws com.liferay.portal.kernel.exception.SystemException {
392                    return getPersistence()
393                                       .filterFindByG_P(groupId, parentFolderId, start, end,
394                            orderByComparator);
395            }
396    
397            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByP_N(
398                    long parentFolderId, java.lang.String name)
399                    throws com.liferay.portal.kernel.exception.SystemException {
400                    return getPersistence().findByP_N(parentFolderId, name);
401            }
402    
403            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByP_N(
404                    long parentFolderId, java.lang.String name, int start, int end)
405                    throws com.liferay.portal.kernel.exception.SystemException {
406                    return getPersistence().findByP_N(parentFolderId, name, start, end);
407            }
408    
409            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByP_N(
410                    long parentFolderId, java.lang.String name, int start, int end,
411                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
412                    throws com.liferay.portal.kernel.exception.SystemException {
413                    return getPersistence()
414                                       .findByP_N(parentFolderId, name, start, end,
415                            orderByComparator);
416            }
417    
418            public static com.liferay.portlet.documentlibrary.model.DLFolder findByP_N_First(
419                    long parentFolderId, java.lang.String name,
420                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
421                    throws com.liferay.portal.kernel.exception.SystemException,
422                            com.liferay.portlet.documentlibrary.NoSuchFolderException {
423                    return getPersistence()
424                                       .findByP_N_First(parentFolderId, name, orderByComparator);
425            }
426    
427            public static com.liferay.portlet.documentlibrary.model.DLFolder findByP_N_Last(
428                    long parentFolderId, java.lang.String name,
429                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
430                    throws com.liferay.portal.kernel.exception.SystemException,
431                            com.liferay.portlet.documentlibrary.NoSuchFolderException {
432                    return getPersistence()
433                                       .findByP_N_Last(parentFolderId, name, orderByComparator);
434            }
435    
436            public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByP_N_PrevAndNext(
437                    long folderId, long parentFolderId, java.lang.String name,
438                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
439                    throws com.liferay.portal.kernel.exception.SystemException,
440                            com.liferay.portlet.documentlibrary.NoSuchFolderException {
441                    return getPersistence()
442                                       .findByP_N_PrevAndNext(folderId, parentFolderId, name,
443                            orderByComparator);
444            }
445    
446            public static com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_N(
447                    long groupId, long parentFolderId, java.lang.String name)
448                    throws com.liferay.portal.kernel.exception.SystemException,
449                            com.liferay.portlet.documentlibrary.NoSuchFolderException {
450                    return getPersistence().findByG_P_N(groupId, parentFolderId, name);
451            }
452    
453            public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_N(
454                    long groupId, long parentFolderId, java.lang.String name)
455                    throws com.liferay.portal.kernel.exception.SystemException {
456                    return getPersistence().fetchByG_P_N(groupId, parentFolderId, name);
457            }
458    
459            public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_N(
460                    long groupId, long parentFolderId, java.lang.String name,
461                    boolean retrieveFromCache)
462                    throws com.liferay.portal.kernel.exception.SystemException {
463                    return getPersistence()
464                                       .fetchByG_P_N(groupId, parentFolderId, name,
465                            retrieveFromCache);
466            }
467    
468            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll()
469                    throws com.liferay.portal.kernel.exception.SystemException {
470                    return getPersistence().findAll();
471            }
472    
473            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll(
474                    int start, int end)
475                    throws com.liferay.portal.kernel.exception.SystemException {
476                    return getPersistence().findAll(start, end);
477            }
478    
479            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll(
480                    int start, int end,
481                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
482                    throws com.liferay.portal.kernel.exception.SystemException {
483                    return getPersistence().findAll(start, end, orderByComparator);
484            }
485    
486            public static void removeByUuid(java.lang.String uuid)
487                    throws com.liferay.portal.kernel.exception.SystemException {
488                    getPersistence().removeByUuid(uuid);
489            }
490    
491            public static void removeByUUID_G(java.lang.String uuid, long groupId)
492                    throws com.liferay.portal.kernel.exception.SystemException,
493                            com.liferay.portlet.documentlibrary.NoSuchFolderException {
494                    getPersistence().removeByUUID_G(uuid, groupId);
495            }
496    
497            public static void removeByGroupId(long groupId)
498                    throws com.liferay.portal.kernel.exception.SystemException {
499                    getPersistence().removeByGroupId(groupId);
500            }
501    
502            public static void removeByCompanyId(long companyId)
503                    throws com.liferay.portal.kernel.exception.SystemException {
504                    getPersistence().removeByCompanyId(companyId);
505            }
506    
507            public static void removeByG_P(long groupId, long parentFolderId)
508                    throws com.liferay.portal.kernel.exception.SystemException {
509                    getPersistence().removeByG_P(groupId, parentFolderId);
510            }
511    
512            public static void removeByP_N(long parentFolderId, java.lang.String name)
513                    throws com.liferay.portal.kernel.exception.SystemException {
514                    getPersistence().removeByP_N(parentFolderId, name);
515            }
516    
517            public static void removeByG_P_N(long groupId, long parentFolderId,
518                    java.lang.String name)
519                    throws com.liferay.portal.kernel.exception.SystemException,
520                            com.liferay.portlet.documentlibrary.NoSuchFolderException {
521                    getPersistence().removeByG_P_N(groupId, parentFolderId, name);
522            }
523    
524            public static void removeAll()
525                    throws com.liferay.portal.kernel.exception.SystemException {
526                    getPersistence().removeAll();
527            }
528    
529            public static int countByUuid(java.lang.String uuid)
530                    throws com.liferay.portal.kernel.exception.SystemException {
531                    return getPersistence().countByUuid(uuid);
532            }
533    
534            public static int countByUUID_G(java.lang.String uuid, long groupId)
535                    throws com.liferay.portal.kernel.exception.SystemException {
536                    return getPersistence().countByUUID_G(uuid, groupId);
537            }
538    
539            public static int countByGroupId(long groupId)
540                    throws com.liferay.portal.kernel.exception.SystemException {
541                    return getPersistence().countByGroupId(groupId);
542            }
543    
544            public static int filterCountByGroupId(long groupId)
545                    throws com.liferay.portal.kernel.exception.SystemException {
546                    return getPersistence().filterCountByGroupId(groupId);
547            }
548    
549            public static int countByCompanyId(long companyId)
550                    throws com.liferay.portal.kernel.exception.SystemException {
551                    return getPersistence().countByCompanyId(companyId);
552            }
553    
554            public static int countByG_P(long groupId, long parentFolderId)
555                    throws com.liferay.portal.kernel.exception.SystemException {
556                    return getPersistence().countByG_P(groupId, parentFolderId);
557            }
558    
559            public static int filterCountByG_P(long groupId, long parentFolderId)
560                    throws com.liferay.portal.kernel.exception.SystemException {
561                    return getPersistence().filterCountByG_P(groupId, parentFolderId);
562            }
563    
564            public static int countByP_N(long parentFolderId, java.lang.String name)
565                    throws com.liferay.portal.kernel.exception.SystemException {
566                    return getPersistence().countByP_N(parentFolderId, name);
567            }
568    
569            public static int countByG_P_N(long groupId, long parentFolderId,
570                    java.lang.String name)
571                    throws com.liferay.portal.kernel.exception.SystemException {
572                    return getPersistence().countByG_P_N(groupId, parentFolderId, name);
573            }
574    
575            public static int filterCountByG_P_N(long groupId, long parentFolderId,
576                    java.lang.String name)
577                    throws com.liferay.portal.kernel.exception.SystemException {
578                    return getPersistence().filterCountByG_P_N(groupId, parentFolderId, name);
579            }
580    
581            public static int countAll()
582                    throws com.liferay.portal.kernel.exception.SystemException {
583                    return getPersistence().countAll();
584            }
585    
586            public static DLFolderPersistence getPersistence() {
587                    if (_persistence == null) {
588                            _persistence = (DLFolderPersistence)PortalBeanLocatorUtil.locate(DLFolderPersistence.class.getName());
589                    }
590    
591                    return _persistence;
592            }
593    
594            public void setPersistence(DLFolderPersistence persistence) {
595                    _persistence = persistence;
596            }
597    
598            private static DLFolderPersistence _persistence;
599    }