1
22
23 package com.liferay.portlet.documentlibrary.service.persistence;
24
25
31 public class DLFileEntryUtil {
32 public static void cacheResult(
33 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry) {
34 getPersistence().cacheResult(dlFileEntry);
35 }
36
37 public static void cacheResult(
38 java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> dlFileEntries) {
39 getPersistence().cacheResult(dlFileEntries);
40 }
41
42 public static void clearCache() {
43 getPersistence().clearCache();
44 }
45
46 public static com.liferay.portlet.documentlibrary.model.DLFileEntry create(
47 long fileEntryId) {
48 return getPersistence().create(fileEntryId);
49 }
50
51 public static com.liferay.portlet.documentlibrary.model.DLFileEntry remove(
52 long fileEntryId)
53 throws com.liferay.portal.SystemException,
54 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
55 return getPersistence().remove(fileEntryId);
56 }
57
58 public static com.liferay.portlet.documentlibrary.model.DLFileEntry remove(
59 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
60 throws com.liferay.portal.SystemException {
61 return getPersistence().remove(dlFileEntry);
62 }
63
64
67 public static com.liferay.portlet.documentlibrary.model.DLFileEntry update(
68 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
69 throws com.liferay.portal.SystemException {
70 return getPersistence().update(dlFileEntry);
71 }
72
73
86 public static com.liferay.portlet.documentlibrary.model.DLFileEntry update(
87 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
88 boolean merge) throws com.liferay.portal.SystemException {
89 return getPersistence().update(dlFileEntry, merge);
90 }
91
92 public static com.liferay.portlet.documentlibrary.model.DLFileEntry updateImpl(
93 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
94 boolean merge) throws com.liferay.portal.SystemException {
95 return getPersistence().updateImpl(dlFileEntry, merge);
96 }
97
98 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByPrimaryKey(
99 long fileEntryId)
100 throws com.liferay.portal.SystemException,
101 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
102 return getPersistence().findByPrimaryKey(fileEntryId);
103 }
104
105 public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByPrimaryKey(
106 long fileEntryId) throws com.liferay.portal.SystemException {
107 return getPersistence().fetchByPrimaryKey(fileEntryId);
108 }
109
110 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid(
111 java.lang.String uuid) throws com.liferay.portal.SystemException {
112 return getPersistence().findByUuid(uuid);
113 }
114
115 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid(
116 java.lang.String uuid, int start, int end)
117 throws com.liferay.portal.SystemException {
118 return getPersistence().findByUuid(uuid, start, end);
119 }
120
121 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid(
122 java.lang.String uuid, int start, int end,
123 com.liferay.portal.kernel.util.OrderByComparator obc)
124 throws com.liferay.portal.SystemException {
125 return getPersistence().findByUuid(uuid, start, end, obc);
126 }
127
128 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByUuid_First(
129 java.lang.String uuid,
130 com.liferay.portal.kernel.util.OrderByComparator obc)
131 throws com.liferay.portal.SystemException,
132 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
133 return getPersistence().findByUuid_First(uuid, obc);
134 }
135
136 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByUuid_Last(
137 java.lang.String uuid,
138 com.liferay.portal.kernel.util.OrderByComparator obc)
139 throws com.liferay.portal.SystemException,
140 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
141 return getPersistence().findByUuid_Last(uuid, obc);
142 }
143
144 public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByUuid_PrevAndNext(
145 long fileEntryId, java.lang.String uuid,
146 com.liferay.portal.kernel.util.OrderByComparator obc)
147 throws com.liferay.portal.SystemException,
148 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
149 return getPersistence().findByUuid_PrevAndNext(fileEntryId, uuid, obc);
150 }
151
152 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByUUID_G(
153 java.lang.String uuid, long groupId)
154 throws com.liferay.portal.SystemException,
155 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
156 return getPersistence().findByUUID_G(uuid, groupId);
157 }
158
159 public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByUUID_G(
160 java.lang.String uuid, long groupId)
161 throws com.liferay.portal.SystemException {
162 return getPersistence().fetchByUUID_G(uuid, groupId);
163 }
164
165 public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByUUID_G(
166 java.lang.String uuid, long groupId, boolean retrieveFromCache)
167 throws com.liferay.portal.SystemException {
168 return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
169 }
170
171 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByGroupId(
172 long groupId) throws com.liferay.portal.SystemException {
173 return getPersistence().findByGroupId(groupId);
174 }
175
176 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByGroupId(
177 long groupId, int start, int end)
178 throws com.liferay.portal.SystemException {
179 return getPersistence().findByGroupId(groupId, start, end);
180 }
181
182 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByGroupId(
183 long groupId, int start, int end,
184 com.liferay.portal.kernel.util.OrderByComparator obc)
185 throws com.liferay.portal.SystemException {
186 return getPersistence().findByGroupId(groupId, start, end, obc);
187 }
188
189 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByGroupId_First(
190 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
191 throws com.liferay.portal.SystemException,
192 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
193 return getPersistence().findByGroupId_First(groupId, obc);
194 }
195
196 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByGroupId_Last(
197 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
198 throws com.liferay.portal.SystemException,
199 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
200 return getPersistence().findByGroupId_Last(groupId, obc);
201 }
202
203 public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByGroupId_PrevAndNext(
204 long fileEntryId, long groupId,
205 com.liferay.portal.kernel.util.OrderByComparator obc)
206 throws com.liferay.portal.SystemException,
207 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
208 return getPersistence()
209 .findByGroupId_PrevAndNext(fileEntryId, groupId, obc);
210 }
211
212 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByCompanyId(
213 long companyId) throws com.liferay.portal.SystemException {
214 return getPersistence().findByCompanyId(companyId);
215 }
216
217 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByCompanyId(
218 long companyId, int start, int end)
219 throws com.liferay.portal.SystemException {
220 return getPersistence().findByCompanyId(companyId, start, end);
221 }
222
223 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByCompanyId(
224 long companyId, int start, int end,
225 com.liferay.portal.kernel.util.OrderByComparator obc)
226 throws com.liferay.portal.SystemException {
227 return getPersistence().findByCompanyId(companyId, start, end, obc);
228 }
229
230 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByCompanyId_First(
231 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
232 throws com.liferay.portal.SystemException,
233 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
234 return getPersistence().findByCompanyId_First(companyId, obc);
235 }
236
237 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByCompanyId_Last(
238 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
239 throws com.liferay.portal.SystemException,
240 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
241 return getPersistence().findByCompanyId_Last(companyId, obc);
242 }
243
244 public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByCompanyId_PrevAndNext(
245 long fileEntryId, long companyId,
246 com.liferay.portal.kernel.util.OrderByComparator obc)
247 throws com.liferay.portal.SystemException,
248 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
249 return getPersistence()
250 .findByCompanyId_PrevAndNext(fileEntryId, companyId, obc);
251 }
252
253 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByFolderId(
254 long folderId) throws com.liferay.portal.SystemException {
255 return getPersistence().findByFolderId(folderId);
256 }
257
258 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByFolderId(
259 long folderId, int start, int end)
260 throws com.liferay.portal.SystemException {
261 return getPersistence().findByFolderId(folderId, start, end);
262 }
263
264 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByFolderId(
265 long folderId, int start, int end,
266 com.liferay.portal.kernel.util.OrderByComparator obc)
267 throws com.liferay.portal.SystemException {
268 return getPersistence().findByFolderId(folderId, start, end, obc);
269 }
270
271 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByFolderId_First(
272 long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
273 throws com.liferay.portal.SystemException,
274 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
275 return getPersistence().findByFolderId_First(folderId, obc);
276 }
277
278 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByFolderId_Last(
279 long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
280 throws com.liferay.portal.SystemException,
281 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
282 return getPersistence().findByFolderId_Last(folderId, obc);
283 }
284
285 public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByFolderId_PrevAndNext(
286 long fileEntryId, long folderId,
287 com.liferay.portal.kernel.util.OrderByComparator obc)
288 throws com.liferay.portal.SystemException,
289 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
290 return getPersistence()
291 .findByFolderId_PrevAndNext(fileEntryId, folderId, obc);
292 }
293
294 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U(
295 long groupId, long userId) throws com.liferay.portal.SystemException {
296 return getPersistence().findByG_U(groupId, userId);
297 }
298
299 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U(
300 long groupId, long userId, int start, int end)
301 throws com.liferay.portal.SystemException {
302 return getPersistence().findByG_U(groupId, userId, start, end);
303 }
304
305 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U(
306 long groupId, long userId, int start, int end,
307 com.liferay.portal.kernel.util.OrderByComparator obc)
308 throws com.liferay.portal.SystemException {
309 return getPersistence().findByG_U(groupId, userId, start, end, obc);
310 }
311
312 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_U_First(
313 long groupId, long userId,
314 com.liferay.portal.kernel.util.OrderByComparator obc)
315 throws com.liferay.portal.SystemException,
316 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
317 return getPersistence().findByG_U_First(groupId, userId, obc);
318 }
319
320 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_U_Last(
321 long groupId, long userId,
322 com.liferay.portal.kernel.util.OrderByComparator obc)
323 throws com.liferay.portal.SystemException,
324 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
325 return getPersistence().findByG_U_Last(groupId, userId, obc);
326 }
327
328 public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByG_U_PrevAndNext(
329 long fileEntryId, long groupId, long userId,
330 com.liferay.portal.kernel.util.OrderByComparator obc)
331 throws com.liferay.portal.SystemException,
332 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
333 return getPersistence()
334 .findByG_U_PrevAndNext(fileEntryId, groupId, userId, obc);
335 }
336
337 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByF_N(
338 long folderId, java.lang.String name)
339 throws com.liferay.portal.SystemException,
340 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
341 return getPersistence().findByF_N(folderId, name);
342 }
343
344 public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByF_N(
345 long folderId, java.lang.String name)
346 throws com.liferay.portal.SystemException {
347 return getPersistence().fetchByF_N(folderId, name);
348 }
349
350 public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByF_N(
351 long folderId, java.lang.String name, boolean retrieveFromCache)
352 throws com.liferay.portal.SystemException {
353 return getPersistence().fetchByF_N(folderId, name, retrieveFromCache);
354 }
355
356 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByF_T(
357 long folderId, java.lang.String title)
358 throws com.liferay.portal.SystemException {
359 return getPersistence().findByF_T(folderId, title);
360 }
361
362 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByF_T(
363 long folderId, java.lang.String title, int start, int end)
364 throws com.liferay.portal.SystemException {
365 return getPersistence().findByF_T(folderId, title, start, end);
366 }
367
368 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByF_T(
369 long folderId, java.lang.String title, int start, int end,
370 com.liferay.portal.kernel.util.OrderByComparator obc)
371 throws com.liferay.portal.SystemException {
372 return getPersistence().findByF_T(folderId, title, start, end, obc);
373 }
374
375 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByF_T_First(
376 long folderId, java.lang.String title,
377 com.liferay.portal.kernel.util.OrderByComparator obc)
378 throws com.liferay.portal.SystemException,
379 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
380 return getPersistence().findByF_T_First(folderId, title, obc);
381 }
382
383 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByF_T_Last(
384 long folderId, java.lang.String title,
385 com.liferay.portal.kernel.util.OrderByComparator obc)
386 throws com.liferay.portal.SystemException,
387 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
388 return getPersistence().findByF_T_Last(folderId, title, obc);
389 }
390
391 public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByF_T_PrevAndNext(
392 long fileEntryId, long folderId, java.lang.String title,
393 com.liferay.portal.kernel.util.OrderByComparator obc)
394 throws com.liferay.portal.SystemException,
395 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
396 return getPersistence()
397 .findByF_T_PrevAndNext(fileEntryId, folderId, title, obc);
398 }
399
400 public static java.util.List<Object> findWithDynamicQuery(
401 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
402 throws com.liferay.portal.SystemException {
403 return getPersistence().findWithDynamicQuery(dynamicQuery);
404 }
405
406 public static java.util.List<Object> findWithDynamicQuery(
407 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
408 int end) throws com.liferay.portal.SystemException {
409 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
410 }
411
412 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll()
413 throws com.liferay.portal.SystemException {
414 return getPersistence().findAll();
415 }
416
417 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll(
418 int start, int end) throws com.liferay.portal.SystemException {
419 return getPersistence().findAll(start, end);
420 }
421
422 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll(
423 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
424 throws com.liferay.portal.SystemException {
425 return getPersistence().findAll(start, end, obc);
426 }
427
428 public static void removeByUuid(java.lang.String uuid)
429 throws com.liferay.portal.SystemException {
430 getPersistence().removeByUuid(uuid);
431 }
432
433 public static void removeByUUID_G(java.lang.String uuid, long groupId)
434 throws com.liferay.portal.SystemException,
435 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
436 getPersistence().removeByUUID_G(uuid, groupId);
437 }
438
439 public static void removeByGroupId(long groupId)
440 throws com.liferay.portal.SystemException {
441 getPersistence().removeByGroupId(groupId);
442 }
443
444 public static void removeByCompanyId(long companyId)
445 throws com.liferay.portal.SystemException {
446 getPersistence().removeByCompanyId(companyId);
447 }
448
449 public static void removeByFolderId(long folderId)
450 throws com.liferay.portal.SystemException {
451 getPersistence().removeByFolderId(folderId);
452 }
453
454 public static void removeByG_U(long groupId, long userId)
455 throws com.liferay.portal.SystemException {
456 getPersistence().removeByG_U(groupId, userId);
457 }
458
459 public static void removeByF_N(long folderId, java.lang.String name)
460 throws com.liferay.portal.SystemException,
461 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
462 getPersistence().removeByF_N(folderId, name);
463 }
464
465 public static void removeByF_T(long folderId, java.lang.String title)
466 throws com.liferay.portal.SystemException {
467 getPersistence().removeByF_T(folderId, title);
468 }
469
470 public static void removeAll() throws com.liferay.portal.SystemException {
471 getPersistence().removeAll();
472 }
473
474 public static int countByUuid(java.lang.String uuid)
475 throws com.liferay.portal.SystemException {
476 return getPersistence().countByUuid(uuid);
477 }
478
479 public static int countByUUID_G(java.lang.String uuid, long groupId)
480 throws com.liferay.portal.SystemException {
481 return getPersistence().countByUUID_G(uuid, groupId);
482 }
483
484 public static int countByGroupId(long groupId)
485 throws com.liferay.portal.SystemException {
486 return getPersistence().countByGroupId(groupId);
487 }
488
489 public static int countByCompanyId(long companyId)
490 throws com.liferay.portal.SystemException {
491 return getPersistence().countByCompanyId(companyId);
492 }
493
494 public static int countByFolderId(long folderId)
495 throws com.liferay.portal.SystemException {
496 return getPersistence().countByFolderId(folderId);
497 }
498
499 public static int countByG_U(long groupId, long userId)
500 throws com.liferay.portal.SystemException {
501 return getPersistence().countByG_U(groupId, userId);
502 }
503
504 public static int countByF_N(long folderId, java.lang.String name)
505 throws com.liferay.portal.SystemException {
506 return getPersistence().countByF_N(folderId, name);
507 }
508
509 public static int countByF_T(long folderId, java.lang.String title)
510 throws com.liferay.portal.SystemException {
511 return getPersistence().countByF_T(folderId, title);
512 }
513
514 public static int countAll() throws com.liferay.portal.SystemException {
515 return getPersistence().countAll();
516 }
517
518 public static DLFileEntryPersistence getPersistence() {
519 return _persistence;
520 }
521
522 public void setPersistence(DLFileEntryPersistence persistence) {
523 _persistence = persistence;
524 }
525
526 private static DLFileEntryPersistence _persistence;
527 }