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.DLFileEntry;
024    
025    import java.util.List;
026    
027    /**
028     * @author    Brian Wing Shun Chan
029     * @see       DLFileEntryPersistence
030     * @see       DLFileEntryPersistenceImpl
031     * @generated
032     */
033    public class DLFileEntryUtil {
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(DLFileEntry dlFileEntry) {
045                    getPersistence().clearCache(dlFileEntry);
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<DLFileEntry> findWithDynamicQuery(
060                    DynamicQuery dynamicQuery) 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<DLFileEntry> 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<DLFileEntry> 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 DLFileEntry remove(DLFileEntry dlFileEntry)
088                    throws SystemException {
089                    return getPersistence().remove(dlFileEntry);
090            }
091    
092            /**
093             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean)
094             */
095            public static DLFileEntry update(DLFileEntry dlFileEntry, boolean merge)
096                    throws SystemException {
097                    return getPersistence().update(dlFileEntry, merge);
098            }
099    
100            /**
101             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
102             */
103            public static DLFileEntry update(DLFileEntry dlFileEntry, boolean merge,
104                    ServiceContext serviceContext) throws SystemException {
105                    return getPersistence().update(dlFileEntry, merge, serviceContext);
106            }
107    
108            public static void cacheResult(
109                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry) {
110                    getPersistence().cacheResult(dlFileEntry);
111            }
112    
113            public static void cacheResult(
114                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> dlFileEntries) {
115                    getPersistence().cacheResult(dlFileEntries);
116            }
117    
118            public static com.liferay.portlet.documentlibrary.model.DLFileEntry create(
119                    long fileEntryId) {
120                    return getPersistence().create(fileEntryId);
121            }
122    
123            public static com.liferay.portlet.documentlibrary.model.DLFileEntry remove(
124                    long fileEntryId)
125                    throws com.liferay.portal.kernel.exception.SystemException,
126                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
127                    return getPersistence().remove(fileEntryId);
128            }
129    
130            public static com.liferay.portlet.documentlibrary.model.DLFileEntry updateImpl(
131                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
132                    boolean merge)
133                    throws com.liferay.portal.kernel.exception.SystemException {
134                    return getPersistence().updateImpl(dlFileEntry, merge);
135            }
136    
137            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByPrimaryKey(
138                    long fileEntryId)
139                    throws com.liferay.portal.kernel.exception.SystemException,
140                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
141                    return getPersistence().findByPrimaryKey(fileEntryId);
142            }
143    
144            public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByPrimaryKey(
145                    long fileEntryId)
146                    throws com.liferay.portal.kernel.exception.SystemException {
147                    return getPersistence().fetchByPrimaryKey(fileEntryId);
148            }
149    
150            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid(
151                    java.lang.String uuid)
152                    throws com.liferay.portal.kernel.exception.SystemException {
153                    return getPersistence().findByUuid(uuid);
154            }
155    
156            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid(
157                    java.lang.String uuid, int start, int end)
158                    throws com.liferay.portal.kernel.exception.SystemException {
159                    return getPersistence().findByUuid(uuid, start, end);
160            }
161    
162            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid(
163                    java.lang.String uuid, int start, int end,
164                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
165                    throws com.liferay.portal.kernel.exception.SystemException {
166                    return getPersistence().findByUuid(uuid, start, end, orderByComparator);
167            }
168    
169            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByUuid_First(
170                    java.lang.String uuid,
171                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
172                    throws com.liferay.portal.kernel.exception.SystemException,
173                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
174                    return getPersistence().findByUuid_First(uuid, orderByComparator);
175            }
176    
177            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByUuid_Last(
178                    java.lang.String uuid,
179                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
180                    throws com.liferay.portal.kernel.exception.SystemException,
181                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
182                    return getPersistence().findByUuid_Last(uuid, orderByComparator);
183            }
184    
185            public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByUuid_PrevAndNext(
186                    long fileEntryId, java.lang.String uuid,
187                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
188                    throws com.liferay.portal.kernel.exception.SystemException,
189                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
190                    return getPersistence()
191                                       .findByUuid_PrevAndNext(fileEntryId, uuid, orderByComparator);
192            }
193    
194            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByUUID_G(
195                    java.lang.String uuid, long groupId)
196                    throws com.liferay.portal.kernel.exception.SystemException,
197                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
198                    return getPersistence().findByUUID_G(uuid, groupId);
199            }
200    
201            public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByUUID_G(
202                    java.lang.String uuid, long groupId)
203                    throws com.liferay.portal.kernel.exception.SystemException {
204                    return getPersistence().fetchByUUID_G(uuid, groupId);
205            }
206    
207            public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByUUID_G(
208                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
209                    throws com.liferay.portal.kernel.exception.SystemException {
210                    return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
211            }
212    
213            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByGroupId(
214                    long groupId)
215                    throws com.liferay.portal.kernel.exception.SystemException {
216                    return getPersistence().findByGroupId(groupId);
217            }
218    
219            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByGroupId(
220                    long groupId, int start, int end)
221                    throws com.liferay.portal.kernel.exception.SystemException {
222                    return getPersistence().findByGroupId(groupId, start, end);
223            }
224    
225            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByGroupId(
226                    long groupId, int start, int end,
227                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
228                    throws com.liferay.portal.kernel.exception.SystemException {
229                    return getPersistence()
230                                       .findByGroupId(groupId, start, end, orderByComparator);
231            }
232    
233            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByGroupId_First(
234                    long groupId,
235                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
236                    throws com.liferay.portal.kernel.exception.SystemException,
237                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
238                    return getPersistence().findByGroupId_First(groupId, orderByComparator);
239            }
240    
241            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByGroupId_Last(
242                    long groupId,
243                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
244                    throws com.liferay.portal.kernel.exception.SystemException,
245                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
246                    return getPersistence().findByGroupId_Last(groupId, orderByComparator);
247            }
248    
249            public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByGroupId_PrevAndNext(
250                    long fileEntryId, long groupId,
251                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
252                    throws com.liferay.portal.kernel.exception.SystemException,
253                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
254                    return getPersistence()
255                                       .findByGroupId_PrevAndNext(fileEntryId, groupId,
256                            orderByComparator);
257            }
258    
259            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByGroupId(
260                    long groupId)
261                    throws com.liferay.portal.kernel.exception.SystemException {
262                    return getPersistence().filterFindByGroupId(groupId);
263            }
264    
265            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByGroupId(
266                    long groupId, int start, int end)
267                    throws com.liferay.portal.kernel.exception.SystemException {
268                    return getPersistence().filterFindByGroupId(groupId, start, end);
269            }
270    
271            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByGroupId(
272                    long groupId, int start, int end,
273                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
274                    throws com.liferay.portal.kernel.exception.SystemException {
275                    return getPersistence()
276                                       .filterFindByGroupId(groupId, start, end, orderByComparator);
277            }
278    
279            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByCompanyId(
280                    long companyId)
281                    throws com.liferay.portal.kernel.exception.SystemException {
282                    return getPersistence().findByCompanyId(companyId);
283            }
284    
285            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByCompanyId(
286                    long companyId, int start, int end)
287                    throws com.liferay.portal.kernel.exception.SystemException {
288                    return getPersistence().findByCompanyId(companyId, start, end);
289            }
290    
291            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByCompanyId(
292                    long companyId, int start, int end,
293                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
294                    throws com.liferay.portal.kernel.exception.SystemException {
295                    return getPersistence()
296                                       .findByCompanyId(companyId, start, end, orderByComparator);
297            }
298    
299            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByCompanyId_First(
300                    long companyId,
301                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
302                    throws com.liferay.portal.kernel.exception.SystemException,
303                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
304                    return getPersistence()
305                                       .findByCompanyId_First(companyId, orderByComparator);
306            }
307    
308            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByCompanyId_Last(
309                    long companyId,
310                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
311                    throws com.liferay.portal.kernel.exception.SystemException,
312                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
313                    return getPersistence()
314                                       .findByCompanyId_Last(companyId, orderByComparator);
315            }
316    
317            public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByCompanyId_PrevAndNext(
318                    long fileEntryId, long companyId,
319                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
320                    throws com.liferay.portal.kernel.exception.SystemException,
321                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
322                    return getPersistence()
323                                       .findByCompanyId_PrevAndNext(fileEntryId, companyId,
324                            orderByComparator);
325            }
326    
327            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U(
328                    long groupId, long userId)
329                    throws com.liferay.portal.kernel.exception.SystemException {
330                    return getPersistence().findByG_U(groupId, userId);
331            }
332    
333            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U(
334                    long groupId, long userId, int start, int end)
335                    throws com.liferay.portal.kernel.exception.SystemException {
336                    return getPersistence().findByG_U(groupId, userId, start, end);
337            }
338    
339            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U(
340                    long groupId, long userId, int start, int end,
341                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
342                    throws com.liferay.portal.kernel.exception.SystemException {
343                    return getPersistence()
344                                       .findByG_U(groupId, userId, start, end, orderByComparator);
345            }
346    
347            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_U_First(
348                    long groupId, long userId,
349                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
350                    throws com.liferay.portal.kernel.exception.SystemException,
351                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
352                    return getPersistence()
353                                       .findByG_U_First(groupId, userId, orderByComparator);
354            }
355    
356            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_U_Last(
357                    long groupId, long userId,
358                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
359                    throws com.liferay.portal.kernel.exception.SystemException,
360                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
361                    return getPersistence()
362                                       .findByG_U_Last(groupId, userId, orderByComparator);
363            }
364    
365            public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByG_U_PrevAndNext(
366                    long fileEntryId, long groupId, long userId,
367                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
368                    throws com.liferay.portal.kernel.exception.SystemException,
369                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
370                    return getPersistence()
371                                       .findByG_U_PrevAndNext(fileEntryId, groupId, userId,
372                            orderByComparator);
373            }
374    
375            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U(
376                    long groupId, long userId)
377                    throws com.liferay.portal.kernel.exception.SystemException {
378                    return getPersistence().filterFindByG_U(groupId, userId);
379            }
380    
381            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U(
382                    long groupId, long userId, int start, int end)
383                    throws com.liferay.portal.kernel.exception.SystemException {
384                    return getPersistence().filterFindByG_U(groupId, userId, start, end);
385            }
386    
387            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U(
388                    long groupId, long userId, int start, int end,
389                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
390                    throws com.liferay.portal.kernel.exception.SystemException {
391                    return getPersistence()
392                                       .filterFindByG_U(groupId, userId, start, end,
393                            orderByComparator);
394            }
395    
396            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F(
397                    long groupId, long folderId)
398                    throws com.liferay.portal.kernel.exception.SystemException {
399                    return getPersistence().findByG_F(groupId, folderId);
400            }
401    
402            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F(
403                    long groupId, long folderId, int start, int end)
404                    throws com.liferay.portal.kernel.exception.SystemException {
405                    return getPersistence().findByG_F(groupId, folderId, start, end);
406            }
407    
408            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F(
409                    long groupId, long folderId, int start, int end,
410                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
411                    throws com.liferay.portal.kernel.exception.SystemException {
412                    return getPersistence()
413                                       .findByG_F(groupId, folderId, start, end, orderByComparator);
414            }
415    
416            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_First(
417                    long groupId, long folderId,
418                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
419                    throws com.liferay.portal.kernel.exception.SystemException,
420                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
421                    return getPersistence()
422                                       .findByG_F_First(groupId, folderId, orderByComparator);
423            }
424    
425            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_Last(
426                    long groupId, long folderId,
427                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
428                    throws com.liferay.portal.kernel.exception.SystemException,
429                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
430                    return getPersistence()
431                                       .findByG_F_Last(groupId, folderId, orderByComparator);
432            }
433    
434            public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByG_F_PrevAndNext(
435                    long fileEntryId, long groupId, long folderId,
436                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
437                    throws com.liferay.portal.kernel.exception.SystemException,
438                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
439                    return getPersistence()
440                                       .findByG_F_PrevAndNext(fileEntryId, groupId, folderId,
441                            orderByComparator);
442            }
443    
444            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F(
445                    long groupId, long[] folderIds)
446                    throws com.liferay.portal.kernel.exception.SystemException {
447                    return getPersistence().findByG_F(groupId, folderIds);
448            }
449    
450            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F(
451                    long groupId, long[] folderIds, int start, int end)
452                    throws com.liferay.portal.kernel.exception.SystemException {
453                    return getPersistence().findByG_F(groupId, folderIds, start, end);
454            }
455    
456            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F(
457                    long groupId, long[] folderIds, int start, int end,
458                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
459                    throws com.liferay.portal.kernel.exception.SystemException {
460                    return getPersistence()
461                                       .findByG_F(groupId, folderIds, start, end, orderByComparator);
462            }
463    
464            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F(
465                    long groupId, long folderId)
466                    throws com.liferay.portal.kernel.exception.SystemException {
467                    return getPersistence().filterFindByG_F(groupId, folderId);
468            }
469    
470            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F(
471                    long groupId, long folderId, int start, int end)
472                    throws com.liferay.portal.kernel.exception.SystemException {
473                    return getPersistence().filterFindByG_F(groupId, folderId, start, end);
474            }
475    
476            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F(
477                    long groupId, long folderId, int start, int end,
478                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
479                    throws com.liferay.portal.kernel.exception.SystemException {
480                    return getPersistence()
481                                       .filterFindByG_F(groupId, folderId, start, end,
482                            orderByComparator);
483            }
484    
485            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F(
486                    long groupId, long[] folderIds)
487                    throws com.liferay.portal.kernel.exception.SystemException {
488                    return getPersistence().filterFindByG_F(groupId, folderIds);
489            }
490    
491            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F(
492                    long groupId, long[] folderIds, int start, int end)
493                    throws com.liferay.portal.kernel.exception.SystemException {
494                    return getPersistence().filterFindByG_F(groupId, folderIds, start, end);
495            }
496    
497            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F(
498                    long groupId, long[] folderIds, int start, int end,
499                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
500                    throws com.liferay.portal.kernel.exception.SystemException {
501                    return getPersistence()
502                                       .filterFindByG_F(groupId, folderIds, start, end,
503                            orderByComparator);
504            }
505    
506            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F(
507                    long groupId, long userId, long folderId)
508                    throws com.liferay.portal.kernel.exception.SystemException {
509                    return getPersistence().findByG_U_F(groupId, userId, folderId);
510            }
511    
512            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F(
513                    long groupId, long userId, long folderId, int start, int end)
514                    throws com.liferay.portal.kernel.exception.SystemException {
515                    return getPersistence()
516                                       .findByG_U_F(groupId, userId, folderId, start, end);
517            }
518    
519            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F(
520                    long groupId, long userId, long folderId, int start, int end,
521                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
522                    throws com.liferay.portal.kernel.exception.SystemException {
523                    return getPersistence()
524                                       .findByG_U_F(groupId, userId, folderId, start, end,
525                            orderByComparator);
526            }
527    
528            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_U_F_First(
529                    long groupId, long userId, long folderId,
530                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
531                    throws com.liferay.portal.kernel.exception.SystemException,
532                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
533                    return getPersistence()
534                                       .findByG_U_F_First(groupId, userId, folderId,
535                            orderByComparator);
536            }
537    
538            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_U_F_Last(
539                    long groupId, long userId, long folderId,
540                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
541                    throws com.liferay.portal.kernel.exception.SystemException,
542                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
543                    return getPersistence()
544                                       .findByG_U_F_Last(groupId, userId, folderId,
545                            orderByComparator);
546            }
547    
548            public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByG_U_F_PrevAndNext(
549                    long fileEntryId, long groupId, long userId, long folderId,
550                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
551                    throws com.liferay.portal.kernel.exception.SystemException,
552                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
553                    return getPersistence()
554                                       .findByG_U_F_PrevAndNext(fileEntryId, groupId, userId,
555                            folderId, orderByComparator);
556            }
557    
558            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F(
559                    long groupId, long userId, long[] folderIds)
560                    throws com.liferay.portal.kernel.exception.SystemException {
561                    return getPersistence().findByG_U_F(groupId, userId, folderIds);
562            }
563    
564            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F(
565                    long groupId, long userId, long[] folderIds, int start, int end)
566                    throws com.liferay.portal.kernel.exception.SystemException {
567                    return getPersistence()
568                                       .findByG_U_F(groupId, userId, folderIds, start, end);
569            }
570    
571            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F(
572                    long groupId, long userId, long[] folderIds, int start, int end,
573                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
574                    throws com.liferay.portal.kernel.exception.SystemException {
575                    return getPersistence()
576                                       .findByG_U_F(groupId, userId, folderIds, start, end,
577                            orderByComparator);
578            }
579    
580            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F(
581                    long groupId, long userId, long folderId)
582                    throws com.liferay.portal.kernel.exception.SystemException {
583                    return getPersistence().filterFindByG_U_F(groupId, userId, folderId);
584            }
585    
586            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F(
587                    long groupId, long userId, long folderId, int start, int end)
588                    throws com.liferay.portal.kernel.exception.SystemException {
589                    return getPersistence()
590                                       .filterFindByG_U_F(groupId, userId, folderId, start, end);
591            }
592    
593            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F(
594                    long groupId, long userId, long folderId, int start, int end,
595                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
596                    throws com.liferay.portal.kernel.exception.SystemException {
597                    return getPersistence()
598                                       .filterFindByG_U_F(groupId, userId, folderId, start, end,
599                            orderByComparator);
600            }
601    
602            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F(
603                    long groupId, long userId, long[] folderIds)
604                    throws com.liferay.portal.kernel.exception.SystemException {
605                    return getPersistence().filterFindByG_U_F(groupId, userId, folderIds);
606            }
607    
608            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F(
609                    long groupId, long userId, long[] folderIds, int start, int end)
610                    throws com.liferay.portal.kernel.exception.SystemException {
611                    return getPersistence()
612                                       .filterFindByG_U_F(groupId, userId, folderIds, start, end);
613            }
614    
615            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F(
616                    long groupId, long userId, long[] folderIds, int start, int end,
617                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
618                    throws com.liferay.portal.kernel.exception.SystemException {
619                    return getPersistence()
620                                       .filterFindByG_U_F(groupId, userId, folderIds, start, end,
621                            orderByComparator);
622            }
623    
624            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_N(
625                    long groupId, long folderId, java.lang.String name)
626                    throws com.liferay.portal.kernel.exception.SystemException,
627                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
628                    return getPersistence().findByG_F_N(groupId, folderId, name);
629            }
630    
631            public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_N(
632                    long groupId, long folderId, java.lang.String name)
633                    throws com.liferay.portal.kernel.exception.SystemException {
634                    return getPersistence().fetchByG_F_N(groupId, folderId, name);
635            }
636    
637            public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_N(
638                    long groupId, long folderId, java.lang.String name,
639                    boolean retrieveFromCache)
640                    throws com.liferay.portal.kernel.exception.SystemException {
641                    return getPersistence()
642                                       .fetchByG_F_N(groupId, folderId, name, retrieveFromCache);
643            }
644    
645            public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_T(
646                    long groupId, long folderId, java.lang.String title)
647                    throws com.liferay.portal.kernel.exception.SystemException,
648                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
649                    return getPersistence().findByG_F_T(groupId, folderId, title);
650            }
651    
652            public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_T(
653                    long groupId, long folderId, java.lang.String title)
654                    throws com.liferay.portal.kernel.exception.SystemException {
655                    return getPersistence().fetchByG_F_T(groupId, folderId, title);
656            }
657    
658            public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_T(
659                    long groupId, long folderId, java.lang.String title,
660                    boolean retrieveFromCache)
661                    throws com.liferay.portal.kernel.exception.SystemException {
662                    return getPersistence()
663                                       .fetchByG_F_T(groupId, folderId, title, retrieveFromCache);
664            }
665    
666            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll()
667                    throws com.liferay.portal.kernel.exception.SystemException {
668                    return getPersistence().findAll();
669            }
670    
671            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll(
672                    int start, int end)
673                    throws com.liferay.portal.kernel.exception.SystemException {
674                    return getPersistence().findAll(start, end);
675            }
676    
677            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll(
678                    int start, int end,
679                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
680                    throws com.liferay.portal.kernel.exception.SystemException {
681                    return getPersistence().findAll(start, end, orderByComparator);
682            }
683    
684            public static void removeByUuid(java.lang.String uuid)
685                    throws com.liferay.portal.kernel.exception.SystemException {
686                    getPersistence().removeByUuid(uuid);
687            }
688    
689            public static void removeByUUID_G(java.lang.String uuid, long groupId)
690                    throws com.liferay.portal.kernel.exception.SystemException,
691                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
692                    getPersistence().removeByUUID_G(uuid, groupId);
693            }
694    
695            public static void removeByGroupId(long groupId)
696                    throws com.liferay.portal.kernel.exception.SystemException {
697                    getPersistence().removeByGroupId(groupId);
698            }
699    
700            public static void removeByCompanyId(long companyId)
701                    throws com.liferay.portal.kernel.exception.SystemException {
702                    getPersistence().removeByCompanyId(companyId);
703            }
704    
705            public static void removeByG_U(long groupId, long userId)
706                    throws com.liferay.portal.kernel.exception.SystemException {
707                    getPersistence().removeByG_U(groupId, userId);
708            }
709    
710            public static void removeByG_F(long groupId, long folderId)
711                    throws com.liferay.portal.kernel.exception.SystemException {
712                    getPersistence().removeByG_F(groupId, folderId);
713            }
714    
715            public static void removeByG_U_F(long groupId, long userId, long folderId)
716                    throws com.liferay.portal.kernel.exception.SystemException {
717                    getPersistence().removeByG_U_F(groupId, userId, folderId);
718            }
719    
720            public static void removeByG_F_N(long groupId, long folderId,
721                    java.lang.String name)
722                    throws com.liferay.portal.kernel.exception.SystemException,
723                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
724                    getPersistence().removeByG_F_N(groupId, folderId, name);
725            }
726    
727            public static void removeByG_F_T(long groupId, long folderId,
728                    java.lang.String title)
729                    throws com.liferay.portal.kernel.exception.SystemException,
730                            com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
731                    getPersistence().removeByG_F_T(groupId, folderId, title);
732            }
733    
734            public static void removeAll()
735                    throws com.liferay.portal.kernel.exception.SystemException {
736                    getPersistence().removeAll();
737            }
738    
739            public static int countByUuid(java.lang.String uuid)
740                    throws com.liferay.portal.kernel.exception.SystemException {
741                    return getPersistence().countByUuid(uuid);
742            }
743    
744            public static int countByUUID_G(java.lang.String uuid, long groupId)
745                    throws com.liferay.portal.kernel.exception.SystemException {
746                    return getPersistence().countByUUID_G(uuid, groupId);
747            }
748    
749            public static int countByGroupId(long groupId)
750                    throws com.liferay.portal.kernel.exception.SystemException {
751                    return getPersistence().countByGroupId(groupId);
752            }
753    
754            public static int filterCountByGroupId(long groupId)
755                    throws com.liferay.portal.kernel.exception.SystemException {
756                    return getPersistence().filterCountByGroupId(groupId);
757            }
758    
759            public static int countByCompanyId(long companyId)
760                    throws com.liferay.portal.kernel.exception.SystemException {
761                    return getPersistence().countByCompanyId(companyId);
762            }
763    
764            public static int countByG_U(long groupId, long userId)
765                    throws com.liferay.portal.kernel.exception.SystemException {
766                    return getPersistence().countByG_U(groupId, userId);
767            }
768    
769            public static int filterCountByG_U(long groupId, long userId)
770                    throws com.liferay.portal.kernel.exception.SystemException {
771                    return getPersistence().filterCountByG_U(groupId, userId);
772            }
773    
774            public static int countByG_F(long groupId, long folderId)
775                    throws com.liferay.portal.kernel.exception.SystemException {
776                    return getPersistence().countByG_F(groupId, folderId);
777            }
778    
779            public static int countByG_F(long groupId, long[] folderIds)
780                    throws com.liferay.portal.kernel.exception.SystemException {
781                    return getPersistence().countByG_F(groupId, folderIds);
782            }
783    
784            public static int filterCountByG_F(long groupId, long folderId)
785                    throws com.liferay.portal.kernel.exception.SystemException {
786                    return getPersistence().filterCountByG_F(groupId, folderId);
787            }
788    
789            public static int filterCountByG_F(long groupId, long[] folderIds)
790                    throws com.liferay.portal.kernel.exception.SystemException {
791                    return getPersistence().filterCountByG_F(groupId, folderIds);
792            }
793    
794            public static int countByG_U_F(long groupId, long userId, long folderId)
795                    throws com.liferay.portal.kernel.exception.SystemException {
796                    return getPersistence().countByG_U_F(groupId, userId, folderId);
797            }
798    
799            public static int countByG_U_F(long groupId, long userId, long[] folderIds)
800                    throws com.liferay.portal.kernel.exception.SystemException {
801                    return getPersistence().countByG_U_F(groupId, userId, folderIds);
802            }
803    
804            public static int filterCountByG_U_F(long groupId, long userId,
805                    long folderId)
806                    throws com.liferay.portal.kernel.exception.SystemException {
807                    return getPersistence().filterCountByG_U_F(groupId, userId, folderId);
808            }
809    
810            public static int filterCountByG_U_F(long groupId, long userId,
811                    long[] folderIds)
812                    throws com.liferay.portal.kernel.exception.SystemException {
813                    return getPersistence().filterCountByG_U_F(groupId, userId, folderIds);
814            }
815    
816            public static int countByG_F_N(long groupId, long folderId,
817                    java.lang.String name)
818                    throws com.liferay.portal.kernel.exception.SystemException {
819                    return getPersistence().countByG_F_N(groupId, folderId, name);
820            }
821    
822            public static int filterCountByG_F_N(long groupId, long folderId,
823                    java.lang.String name)
824                    throws com.liferay.portal.kernel.exception.SystemException {
825                    return getPersistence().filterCountByG_F_N(groupId, folderId, name);
826            }
827    
828            public static int countByG_F_T(long groupId, long folderId,
829                    java.lang.String title)
830                    throws com.liferay.portal.kernel.exception.SystemException {
831                    return getPersistence().countByG_F_T(groupId, folderId, title);
832            }
833    
834            public static int filterCountByG_F_T(long groupId, long folderId,
835                    java.lang.String title)
836                    throws com.liferay.portal.kernel.exception.SystemException {
837                    return getPersistence().filterCountByG_F_T(groupId, folderId, title);
838            }
839    
840            public static int countAll()
841                    throws com.liferay.portal.kernel.exception.SystemException {
842                    return getPersistence().countAll();
843            }
844    
845            public static DLFileEntryPersistence getPersistence() {
846                    if (_persistence == null) {
847                            _persistence = (DLFileEntryPersistence)PortalBeanLocatorUtil.locate(DLFileEntryPersistence.class.getName());
848                    }
849    
850                    return _persistence;
851            }
852    
853            public void setPersistence(DLFileEntryPersistence persistence) {
854                    _persistence = persistence;
855            }
856    
857            private static DLFileEntryPersistence _persistence;
858    }