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