1
14
15 package com.liferay.portlet.documentlibrary.service.persistence;
16
17 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
18 import com.liferay.portal.kernel.dao.orm.DynamicQuery;
19 import com.liferay.portal.kernel.exception.SystemException;
20
21 import com.liferay.portlet.documentlibrary.model.DLFileEntry;
22
23 import java.util.List;
24
25
38 public class DLFileEntryUtil {
39
42 public static void clearCache() {
43 getPersistence().clearCache();
44 }
45
46
49 public static void clearCache(DLFileEntry dlFileEntry) {
50 getPersistence().clearCache(dlFileEntry);
51 }
52
53
56 public long countWithDynamicQuery(DynamicQuery dynamicQuery)
57 throws SystemException {
58 return getPersistence().countWithDynamicQuery(dynamicQuery);
59 }
60
61
64 public static List<DLFileEntry> findWithDynamicQuery(
65 DynamicQuery dynamicQuery) throws SystemException {
66 return getPersistence().findWithDynamicQuery(dynamicQuery);
67 }
68
69
72 public static List<DLFileEntry> findWithDynamicQuery(
73 DynamicQuery dynamicQuery, int start, int end)
74 throws SystemException {
75 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
76 }
77
78
81 public static DLFileEntry remove(DLFileEntry dlFileEntry)
82 throws SystemException {
83 return getPersistence().remove(dlFileEntry);
84 }
85
86
89 public static DLFileEntry update(DLFileEntry dlFileEntry, boolean merge)
90 throws SystemException {
91 return getPersistence().update(dlFileEntry, merge);
92 }
93
94 public static void cacheResult(
95 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry) {
96 getPersistence().cacheResult(dlFileEntry);
97 }
98
99 public static void cacheResult(
100 java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> dlFileEntries) {
101 getPersistence().cacheResult(dlFileEntries);
102 }
103
104 public static com.liferay.portlet.documentlibrary.model.DLFileEntry create(
105 long fileEntryId) {
106 return getPersistence().create(fileEntryId);
107 }
108
109 public static com.liferay.portlet.documentlibrary.model.DLFileEntry remove(
110 long fileEntryId)
111 throws com.liferay.portal.kernel.exception.SystemException,
112 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
113 return getPersistence().remove(fileEntryId);
114 }
115
116 public static com.liferay.portlet.documentlibrary.model.DLFileEntry updateImpl(
117 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
118 boolean merge)
119 throws com.liferay.portal.kernel.exception.SystemException {
120 return getPersistence().updateImpl(dlFileEntry, merge);
121 }
122
123 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByPrimaryKey(
124 long fileEntryId)
125 throws com.liferay.portal.kernel.exception.SystemException,
126 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
127 return getPersistence().findByPrimaryKey(fileEntryId);
128 }
129
130 public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByPrimaryKey(
131 long fileEntryId)
132 throws com.liferay.portal.kernel.exception.SystemException {
133 return getPersistence().fetchByPrimaryKey(fileEntryId);
134 }
135
136 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid(
137 java.lang.String uuid)
138 throws com.liferay.portal.kernel.exception.SystemException {
139 return getPersistence().findByUuid(uuid);
140 }
141
142 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid(
143 java.lang.String uuid, int start, int end)
144 throws com.liferay.portal.kernel.exception.SystemException {
145 return getPersistence().findByUuid(uuid, start, end);
146 }
147
148 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid(
149 java.lang.String uuid, int start, int end,
150 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
151 throws com.liferay.portal.kernel.exception.SystemException {
152 return getPersistence().findByUuid(uuid, start, end, orderByComparator);
153 }
154
155 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByUuid_First(
156 java.lang.String uuid,
157 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
158 throws com.liferay.portal.kernel.exception.SystemException,
159 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
160 return getPersistence().findByUuid_First(uuid, orderByComparator);
161 }
162
163 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByUuid_Last(
164 java.lang.String uuid,
165 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
166 throws com.liferay.portal.kernel.exception.SystemException,
167 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
168 return getPersistence().findByUuid_Last(uuid, orderByComparator);
169 }
170
171 public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByUuid_PrevAndNext(
172 long fileEntryId, java.lang.String uuid,
173 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
174 throws com.liferay.portal.kernel.exception.SystemException,
175 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
176 return getPersistence()
177 .findByUuid_PrevAndNext(fileEntryId, uuid, orderByComparator);
178 }
179
180 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByUUID_G(
181 java.lang.String uuid, long groupId)
182 throws com.liferay.portal.kernel.exception.SystemException,
183 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
184 return getPersistence().findByUUID_G(uuid, groupId);
185 }
186
187 public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByUUID_G(
188 java.lang.String uuid, long groupId)
189 throws com.liferay.portal.kernel.exception.SystemException {
190 return getPersistence().fetchByUUID_G(uuid, groupId);
191 }
192
193 public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByUUID_G(
194 java.lang.String uuid, long groupId, boolean retrieveFromCache)
195 throws com.liferay.portal.kernel.exception.SystemException {
196 return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
197 }
198
199 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByGroupId(
200 long groupId)
201 throws com.liferay.portal.kernel.exception.SystemException {
202 return getPersistence().findByGroupId(groupId);
203 }
204
205 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByGroupId(
206 long groupId, int start, int end)
207 throws com.liferay.portal.kernel.exception.SystemException {
208 return getPersistence().findByGroupId(groupId, start, end);
209 }
210
211 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByGroupId(
212 long groupId, int start, int end,
213 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
214 throws com.liferay.portal.kernel.exception.SystemException {
215 return getPersistence()
216 .findByGroupId(groupId, start, end, orderByComparator);
217 }
218
219 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByGroupId_First(
220 long groupId,
221 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
222 throws com.liferay.portal.kernel.exception.SystemException,
223 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
224 return getPersistence().findByGroupId_First(groupId, orderByComparator);
225 }
226
227 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByGroupId_Last(
228 long groupId,
229 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
230 throws com.liferay.portal.kernel.exception.SystemException,
231 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
232 return getPersistence().findByGroupId_Last(groupId, orderByComparator);
233 }
234
235 public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByGroupId_PrevAndNext(
236 long fileEntryId, long groupId,
237 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
238 throws com.liferay.portal.kernel.exception.SystemException,
239 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
240 return getPersistence()
241 .findByGroupId_PrevAndNext(fileEntryId, groupId,
242 orderByComparator);
243 }
244
245 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByGroupId(
246 long groupId)
247 throws com.liferay.portal.kernel.exception.SystemException {
248 return getPersistence().filterFindByGroupId(groupId);
249 }
250
251 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByGroupId(
252 long groupId, int start, int end)
253 throws com.liferay.portal.kernel.exception.SystemException {
254 return getPersistence().filterFindByGroupId(groupId, start, end);
255 }
256
257 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByGroupId(
258 long groupId, int start, int end,
259 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
260 throws com.liferay.portal.kernel.exception.SystemException {
261 return getPersistence()
262 .filterFindByGroupId(groupId, start, end, orderByComparator);
263 }
264
265 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByCompanyId(
266 long companyId)
267 throws com.liferay.portal.kernel.exception.SystemException {
268 return getPersistence().findByCompanyId(companyId);
269 }
270
271 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByCompanyId(
272 long companyId, int start, int end)
273 throws com.liferay.portal.kernel.exception.SystemException {
274 return getPersistence().findByCompanyId(companyId, start, end);
275 }
276
277 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByCompanyId(
278 long companyId, int start, int end,
279 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
280 throws com.liferay.portal.kernel.exception.SystemException {
281 return getPersistence()
282 .findByCompanyId(companyId, start, end, orderByComparator);
283 }
284
285 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByCompanyId_First(
286 long companyId,
287 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
288 throws com.liferay.portal.kernel.exception.SystemException,
289 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
290 return getPersistence()
291 .findByCompanyId_First(companyId, orderByComparator);
292 }
293
294 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByCompanyId_Last(
295 long companyId,
296 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
297 throws com.liferay.portal.kernel.exception.SystemException,
298 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
299 return getPersistence()
300 .findByCompanyId_Last(companyId, orderByComparator);
301 }
302
303 public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByCompanyId_PrevAndNext(
304 long fileEntryId, long companyId,
305 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
306 throws com.liferay.portal.kernel.exception.SystemException,
307 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
308 return getPersistence()
309 .findByCompanyId_PrevAndNext(fileEntryId, companyId,
310 orderByComparator);
311 }
312
313 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U(
314 long groupId, long userId)
315 throws com.liferay.portal.kernel.exception.SystemException {
316 return getPersistence().findByG_U(groupId, userId);
317 }
318
319 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U(
320 long groupId, long userId, int start, int end)
321 throws com.liferay.portal.kernel.exception.SystemException {
322 return getPersistence().findByG_U(groupId, userId, start, end);
323 }
324
325 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U(
326 long groupId, long userId, int start, int end,
327 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
328 throws com.liferay.portal.kernel.exception.SystemException {
329 return getPersistence()
330 .findByG_U(groupId, userId, start, end, orderByComparator);
331 }
332
333 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_U_First(
334 long groupId, long userId,
335 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
336 throws com.liferay.portal.kernel.exception.SystemException,
337 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
338 return getPersistence()
339 .findByG_U_First(groupId, userId, orderByComparator);
340 }
341
342 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_U_Last(
343 long groupId, long userId,
344 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
345 throws com.liferay.portal.kernel.exception.SystemException,
346 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
347 return getPersistence()
348 .findByG_U_Last(groupId, userId, orderByComparator);
349 }
350
351 public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByG_U_PrevAndNext(
352 long fileEntryId, long groupId, long userId,
353 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
354 throws com.liferay.portal.kernel.exception.SystemException,
355 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
356 return getPersistence()
357 .findByG_U_PrevAndNext(fileEntryId, groupId, userId,
358 orderByComparator);
359 }
360
361 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U(
362 long groupId, long userId)
363 throws com.liferay.portal.kernel.exception.SystemException {
364 return getPersistence().filterFindByG_U(groupId, userId);
365 }
366
367 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U(
368 long groupId, long userId, int start, int end)
369 throws com.liferay.portal.kernel.exception.SystemException {
370 return getPersistence().filterFindByG_U(groupId, userId, start, end);
371 }
372
373 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U(
374 long groupId, long userId, int start, int end,
375 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
376 throws com.liferay.portal.kernel.exception.SystemException {
377 return getPersistence()
378 .filterFindByG_U(groupId, userId, start, end,
379 orderByComparator);
380 }
381
382 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F(
383 long groupId, long folderId)
384 throws com.liferay.portal.kernel.exception.SystemException {
385 return getPersistence().findByG_F(groupId, folderId);
386 }
387
388 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F(
389 long groupId, long folderId, int start, int end)
390 throws com.liferay.portal.kernel.exception.SystemException {
391 return getPersistence().findByG_F(groupId, folderId, start, end);
392 }
393
394 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F(
395 long groupId, long folderId, int start, int end,
396 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
397 throws com.liferay.portal.kernel.exception.SystemException {
398 return getPersistence()
399 .findByG_F(groupId, folderId, start, end, orderByComparator);
400 }
401
402 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_First(
403 long groupId, long folderId,
404 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
405 throws com.liferay.portal.kernel.exception.SystemException,
406 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
407 return getPersistence()
408 .findByG_F_First(groupId, folderId, orderByComparator);
409 }
410
411 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_Last(
412 long groupId, long folderId,
413 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
414 throws com.liferay.portal.kernel.exception.SystemException,
415 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
416 return getPersistence()
417 .findByG_F_Last(groupId, folderId, orderByComparator);
418 }
419
420 public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByG_F_PrevAndNext(
421 long fileEntryId, long groupId, long folderId,
422 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
423 throws com.liferay.portal.kernel.exception.SystemException,
424 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
425 return getPersistence()
426 .findByG_F_PrevAndNext(fileEntryId, groupId, folderId,
427 orderByComparator);
428 }
429
430 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F(
431 long groupId, long folderId)
432 throws com.liferay.portal.kernel.exception.SystemException {
433 return getPersistence().filterFindByG_F(groupId, folderId);
434 }
435
436 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F(
437 long groupId, long folderId, int start, int end)
438 throws com.liferay.portal.kernel.exception.SystemException {
439 return getPersistence().filterFindByG_F(groupId, folderId, start, end);
440 }
441
442 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F(
443 long groupId, long folderId, int start, int end,
444 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
445 throws com.liferay.portal.kernel.exception.SystemException {
446 return getPersistence()
447 .filterFindByG_F(groupId, folderId, start, end,
448 orderByComparator);
449 }
450
451 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_N(
452 long groupId, long folderId, java.lang.String name)
453 throws com.liferay.portal.kernel.exception.SystemException,
454 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
455 return getPersistence().findByG_F_N(groupId, folderId, name);
456 }
457
458 public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_N(
459 long groupId, long folderId, java.lang.String name)
460 throws com.liferay.portal.kernel.exception.SystemException {
461 return getPersistence().fetchByG_F_N(groupId, folderId, name);
462 }
463
464 public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_N(
465 long groupId, long folderId, java.lang.String name,
466 boolean retrieveFromCache)
467 throws com.liferay.portal.kernel.exception.SystemException {
468 return getPersistence()
469 .fetchByG_F_N(groupId, folderId, name, retrieveFromCache);
470 }
471
472 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_T(
473 long groupId, long folderId, java.lang.String title)
474 throws com.liferay.portal.kernel.exception.SystemException,
475 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
476 return getPersistence().findByG_F_T(groupId, folderId, title);
477 }
478
479 public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_T(
480 long groupId, long folderId, java.lang.String title)
481 throws com.liferay.portal.kernel.exception.SystemException {
482 return getPersistence().fetchByG_F_T(groupId, folderId, title);
483 }
484
485 public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_T(
486 long groupId, long folderId, java.lang.String title,
487 boolean retrieveFromCache)
488 throws com.liferay.portal.kernel.exception.SystemException {
489 return getPersistence()
490 .fetchByG_F_T(groupId, folderId, title, retrieveFromCache);
491 }
492
493 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll()
494 throws com.liferay.portal.kernel.exception.SystemException {
495 return getPersistence().findAll();
496 }
497
498 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll(
499 int start, int end)
500 throws com.liferay.portal.kernel.exception.SystemException {
501 return getPersistence().findAll(start, end);
502 }
503
504 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll(
505 int start, int end,
506 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
507 throws com.liferay.portal.kernel.exception.SystemException {
508 return getPersistence().findAll(start, end, orderByComparator);
509 }
510
511 public static void removeByUuid(java.lang.String uuid)
512 throws com.liferay.portal.kernel.exception.SystemException {
513 getPersistence().removeByUuid(uuid);
514 }
515
516 public static void removeByUUID_G(java.lang.String uuid, long groupId)
517 throws com.liferay.portal.kernel.exception.SystemException,
518 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
519 getPersistence().removeByUUID_G(uuid, groupId);
520 }
521
522 public static void removeByGroupId(long groupId)
523 throws com.liferay.portal.kernel.exception.SystemException {
524 getPersistence().removeByGroupId(groupId);
525 }
526
527 public static void removeByCompanyId(long companyId)
528 throws com.liferay.portal.kernel.exception.SystemException {
529 getPersistence().removeByCompanyId(companyId);
530 }
531
532 public static void removeByG_U(long groupId, long userId)
533 throws com.liferay.portal.kernel.exception.SystemException {
534 getPersistence().removeByG_U(groupId, userId);
535 }
536
537 public static void removeByG_F(long groupId, long folderId)
538 throws com.liferay.portal.kernel.exception.SystemException {
539 getPersistence().removeByG_F(groupId, folderId);
540 }
541
542 public static void removeByG_F_N(long groupId, long folderId,
543 java.lang.String name)
544 throws com.liferay.portal.kernel.exception.SystemException,
545 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
546 getPersistence().removeByG_F_N(groupId, folderId, name);
547 }
548
549 public static void removeByG_F_T(long groupId, long folderId,
550 java.lang.String title)
551 throws com.liferay.portal.kernel.exception.SystemException,
552 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
553 getPersistence().removeByG_F_T(groupId, folderId, title);
554 }
555
556 public static void removeAll()
557 throws com.liferay.portal.kernel.exception.SystemException {
558 getPersistence().removeAll();
559 }
560
561 public static int countByUuid(java.lang.String uuid)
562 throws com.liferay.portal.kernel.exception.SystemException {
563 return getPersistence().countByUuid(uuid);
564 }
565
566 public static int countByUUID_G(java.lang.String uuid, long groupId)
567 throws com.liferay.portal.kernel.exception.SystemException {
568 return getPersistence().countByUUID_G(uuid, groupId);
569 }
570
571 public static int countByGroupId(long groupId)
572 throws com.liferay.portal.kernel.exception.SystemException {
573 return getPersistence().countByGroupId(groupId);
574 }
575
576 public static int filterCountByGroupId(long groupId)
577 throws com.liferay.portal.kernel.exception.SystemException {
578 return getPersistence().filterCountByGroupId(groupId);
579 }
580
581 public static int countByCompanyId(long companyId)
582 throws com.liferay.portal.kernel.exception.SystemException {
583 return getPersistence().countByCompanyId(companyId);
584 }
585
586 public static int countByG_U(long groupId, long userId)
587 throws com.liferay.portal.kernel.exception.SystemException {
588 return getPersistence().countByG_U(groupId, userId);
589 }
590
591 public static int filterCountByG_U(long groupId, long userId)
592 throws com.liferay.portal.kernel.exception.SystemException {
593 return getPersistence().filterCountByG_U(groupId, userId);
594 }
595
596 public static int countByG_F(long groupId, long folderId)
597 throws com.liferay.portal.kernel.exception.SystemException {
598 return getPersistence().countByG_F(groupId, folderId);
599 }
600
601 public static int filterCountByG_F(long groupId, long folderId)
602 throws com.liferay.portal.kernel.exception.SystemException {
603 return getPersistence().filterCountByG_F(groupId, folderId);
604 }
605
606 public static int countByG_F_N(long groupId, long folderId,
607 java.lang.String name)
608 throws com.liferay.portal.kernel.exception.SystemException {
609 return getPersistence().countByG_F_N(groupId, folderId, name);
610 }
611
612 public static int filterCountByG_F_N(long groupId, long folderId,
613 java.lang.String name)
614 throws com.liferay.portal.kernel.exception.SystemException {
615 return getPersistence().filterCountByG_F_N(groupId, folderId, name);
616 }
617
618 public static int countByG_F_T(long groupId, long folderId,
619 java.lang.String title)
620 throws com.liferay.portal.kernel.exception.SystemException {
621 return getPersistence().countByG_F_T(groupId, folderId, title);
622 }
623
624 public static int filterCountByG_F_T(long groupId, long folderId,
625 java.lang.String title)
626 throws com.liferay.portal.kernel.exception.SystemException {
627 return getPersistence().filterCountByG_F_T(groupId, folderId, title);
628 }
629
630 public static int countAll()
631 throws com.liferay.portal.kernel.exception.SystemException {
632 return getPersistence().countAll();
633 }
634
635 public static DLFileEntryPersistence getPersistence() {
636 if (_persistence == null) {
637 _persistence = (DLFileEntryPersistence)PortalBeanLocatorUtil.locate(DLFileEntryPersistence.class.getName());
638 }
639
640 return _persistence;
641 }
642
643 public void setPersistence(DLFileEntryPersistence persistence) {
644 _persistence = persistence;
645 }
646
647 private static DLFileEntryPersistence _persistence;
648 }