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