1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   * 
13   */
14  
15  package com.liferay.portlet.imagegallery.service.persistence;
16  
17  import com.liferay.portal.SystemException;
18  import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
19  import com.liferay.portal.kernel.dao.orm.DynamicQuery;
20  
21  import com.liferay.portlet.imagegallery.model.IGImage;
22  
23  import java.util.List;
24  
25  /**
26   * <a href="IGImageUtil.java.html"><b><i>View Source</i></b></a>
27   *
28   * <p>
29   * ServiceBuilder generated this class. Modifications in this class will be
30   * overwritten the next time is generated.
31   * </p>
32   *
33   * @author    Brian Wing Shun Chan
34   * @see       IGImagePersistence
35   * @see       IGImagePersistenceImpl
36   * @generated
37   */
38  public class IGImageUtil {
39      /**
40       * @see com.liferay.portal.service.persistence.BasePersistence#clearCache()
41       */
42      public static void clearCache() {
43          getPersistence().clearCache();
44      }
45  
46      /**
47       * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery)
48       */
49      public static List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery)
50          throws SystemException {
51          return getPersistence().findWithDynamicQuery(dynamicQuery);
52      }
53  
54      /**
55       * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int)
56       */
57      public static List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery,
58          int start, int end) throws SystemException {
59          return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
60      }
61  
62      /**
63       * @see com.liferay.portal.service.persistence.BasePersistence#remove(com.liferay.portal.model.BaseModel)
64       */
65      public static IGImage remove(IGImage igImage) throws SystemException {
66          return getPersistence().remove(igImage);
67      }
68  
69      /**
70       * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean)
71       */
72      public static IGImage update(IGImage igImage, boolean merge)
73          throws SystemException {
74          return getPersistence().update(igImage, merge);
75      }
76  
77      public static void cacheResult(
78          com.liferay.portlet.imagegallery.model.IGImage igImage) {
79          getPersistence().cacheResult(igImage);
80      }
81  
82      public static void cacheResult(
83          java.util.List<com.liferay.portlet.imagegallery.model.IGImage> igImages) {
84          getPersistence().cacheResult(igImages);
85      }
86  
87      public static com.liferay.portlet.imagegallery.model.IGImage create(
88          long imageId) {
89          return getPersistence().create(imageId);
90      }
91  
92      public static com.liferay.portlet.imagegallery.model.IGImage remove(
93          long imageId)
94          throws com.liferay.portal.SystemException,
95              com.liferay.portlet.imagegallery.NoSuchImageException {
96          return getPersistence().remove(imageId);
97      }
98  
99      /**
100      * @deprecated Use {@link com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean)}.
101      */
102     public static com.liferay.portlet.imagegallery.model.IGImage update(
103         com.liferay.portlet.imagegallery.model.IGImage igImage)
104         throws com.liferay.portal.SystemException {
105         return getPersistence().update(igImage);
106     }
107 
108     public static com.liferay.portlet.imagegallery.model.IGImage updateImpl(
109         com.liferay.portlet.imagegallery.model.IGImage igImage, boolean merge)
110         throws com.liferay.portal.SystemException {
111         return getPersistence().updateImpl(igImage, merge);
112     }
113 
114     public static com.liferay.portlet.imagegallery.model.IGImage findByPrimaryKey(
115         long imageId)
116         throws com.liferay.portal.SystemException,
117             com.liferay.portlet.imagegallery.NoSuchImageException {
118         return getPersistence().findByPrimaryKey(imageId);
119     }
120 
121     public static com.liferay.portlet.imagegallery.model.IGImage fetchByPrimaryKey(
122         long imageId) throws com.liferay.portal.SystemException {
123         return getPersistence().fetchByPrimaryKey(imageId);
124     }
125 
126     public static java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByUuid(
127         java.lang.String uuid) throws com.liferay.portal.SystemException {
128         return getPersistence().findByUuid(uuid);
129     }
130 
131     public static java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByUuid(
132         java.lang.String uuid, int start, int end)
133         throws com.liferay.portal.SystemException {
134         return getPersistence().findByUuid(uuid, start, end);
135     }
136 
137     public static java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByUuid(
138         java.lang.String uuid, int start, int end,
139         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
140         throws com.liferay.portal.SystemException {
141         return getPersistence().findByUuid(uuid, start, end, orderByComparator);
142     }
143 
144     public static com.liferay.portlet.imagegallery.model.IGImage findByUuid_First(
145         java.lang.String uuid,
146         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
147         throws com.liferay.portal.SystemException,
148             com.liferay.portlet.imagegallery.NoSuchImageException {
149         return getPersistence().findByUuid_First(uuid, orderByComparator);
150     }
151 
152     public static com.liferay.portlet.imagegallery.model.IGImage findByUuid_Last(
153         java.lang.String uuid,
154         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
155         throws com.liferay.portal.SystemException,
156             com.liferay.portlet.imagegallery.NoSuchImageException {
157         return getPersistence().findByUuid_Last(uuid, orderByComparator);
158     }
159 
160     public static com.liferay.portlet.imagegallery.model.IGImage[] findByUuid_PrevAndNext(
161         long imageId, java.lang.String uuid,
162         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
163         throws com.liferay.portal.SystemException,
164             com.liferay.portlet.imagegallery.NoSuchImageException {
165         return getPersistence()
166                    .findByUuid_PrevAndNext(imageId, uuid, orderByComparator);
167     }
168 
169     public static com.liferay.portlet.imagegallery.model.IGImage findByUUID_G(
170         java.lang.String uuid, long groupId)
171         throws com.liferay.portal.SystemException,
172             com.liferay.portlet.imagegallery.NoSuchImageException {
173         return getPersistence().findByUUID_G(uuid, groupId);
174     }
175 
176     public static com.liferay.portlet.imagegallery.model.IGImage fetchByUUID_G(
177         java.lang.String uuid, long groupId)
178         throws com.liferay.portal.SystemException {
179         return getPersistence().fetchByUUID_G(uuid, groupId);
180     }
181 
182     public static com.liferay.portlet.imagegallery.model.IGImage fetchByUUID_G(
183         java.lang.String uuid, long groupId, boolean retrieveFromCache)
184         throws com.liferay.portal.SystemException {
185         return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
186     }
187 
188     public static java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByGroupId(
189         long groupId) throws com.liferay.portal.SystemException {
190         return getPersistence().findByGroupId(groupId);
191     }
192 
193     public static java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByGroupId(
194         long groupId, int start, int end)
195         throws com.liferay.portal.SystemException {
196         return getPersistence().findByGroupId(groupId, start, end);
197     }
198 
199     public static java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByGroupId(
200         long groupId, int start, int end,
201         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
202         throws com.liferay.portal.SystemException {
203         return getPersistence()
204                    .findByGroupId(groupId, start, end, orderByComparator);
205     }
206 
207     public static com.liferay.portlet.imagegallery.model.IGImage findByGroupId_First(
208         long groupId,
209         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
210         throws com.liferay.portal.SystemException,
211             com.liferay.portlet.imagegallery.NoSuchImageException {
212         return getPersistence().findByGroupId_First(groupId, orderByComparator);
213     }
214 
215     public static com.liferay.portlet.imagegallery.model.IGImage findByGroupId_Last(
216         long groupId,
217         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
218         throws com.liferay.portal.SystemException,
219             com.liferay.portlet.imagegallery.NoSuchImageException {
220         return getPersistence().findByGroupId_Last(groupId, orderByComparator);
221     }
222 
223     public static com.liferay.portlet.imagegallery.model.IGImage[] findByGroupId_PrevAndNext(
224         long imageId, long groupId,
225         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
226         throws com.liferay.portal.SystemException,
227             com.liferay.portlet.imagegallery.NoSuchImageException {
228         return getPersistence()
229                    .findByGroupId_PrevAndNext(imageId, groupId,
230             orderByComparator);
231     }
232 
233     public static java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByFolderId(
234         long folderId) throws com.liferay.portal.SystemException {
235         return getPersistence().findByFolderId(folderId);
236     }
237 
238     public static java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByFolderId(
239         long folderId, int start, int end)
240         throws com.liferay.portal.SystemException {
241         return getPersistence().findByFolderId(folderId, start, end);
242     }
243 
244     public static java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByFolderId(
245         long folderId, int start, int end,
246         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
247         throws com.liferay.portal.SystemException {
248         return getPersistence()
249                    .findByFolderId(folderId, start, end, orderByComparator);
250     }
251 
252     public static com.liferay.portlet.imagegallery.model.IGImage findByFolderId_First(
253         long folderId,
254         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
255         throws com.liferay.portal.SystemException,
256             com.liferay.portlet.imagegallery.NoSuchImageException {
257         return getPersistence().findByFolderId_First(folderId, orderByComparator);
258     }
259 
260     public static com.liferay.portlet.imagegallery.model.IGImage findByFolderId_Last(
261         long folderId,
262         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
263         throws com.liferay.portal.SystemException,
264             com.liferay.portlet.imagegallery.NoSuchImageException {
265         return getPersistence().findByFolderId_Last(folderId, orderByComparator);
266     }
267 
268     public static com.liferay.portlet.imagegallery.model.IGImage[] findByFolderId_PrevAndNext(
269         long imageId, long folderId,
270         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
271         throws com.liferay.portal.SystemException,
272             com.liferay.portlet.imagegallery.NoSuchImageException {
273         return getPersistence()
274                    .findByFolderId_PrevAndNext(imageId, folderId,
275             orderByComparator);
276     }
277 
278     public static com.liferay.portlet.imagegallery.model.IGImage findBySmallImageId(
279         long smallImageId)
280         throws com.liferay.portal.SystemException,
281             com.liferay.portlet.imagegallery.NoSuchImageException {
282         return getPersistence().findBySmallImageId(smallImageId);
283     }
284 
285     public static com.liferay.portlet.imagegallery.model.IGImage fetchBySmallImageId(
286         long smallImageId) throws com.liferay.portal.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.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.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) throws com.liferay.portal.SystemException {
306         return getPersistence().fetchByLargeImageId(largeImageId);
307     }
308 
309     public static com.liferay.portlet.imagegallery.model.IGImage fetchByLargeImageId(
310         long largeImageId, boolean retrieveFromCache)
311         throws com.liferay.portal.SystemException {
312         return getPersistence()
313                    .fetchByLargeImageId(largeImageId, retrieveFromCache);
314     }
315 
316     public static com.liferay.portlet.imagegallery.model.IGImage findByCustom1ImageId(
317         long custom1ImageId)
318         throws com.liferay.portal.SystemException,
319             com.liferay.portlet.imagegallery.NoSuchImageException {
320         return getPersistence().findByCustom1ImageId(custom1ImageId);
321     }
322 
323     public static com.liferay.portlet.imagegallery.model.IGImage fetchByCustom1ImageId(
324         long custom1ImageId) throws com.liferay.portal.SystemException {
325         return getPersistence().fetchByCustom1ImageId(custom1ImageId);
326     }
327 
328     public static com.liferay.portlet.imagegallery.model.IGImage fetchByCustom1ImageId(
329         long custom1ImageId, boolean retrieveFromCache)
330         throws com.liferay.portal.SystemException {
331         return getPersistence()
332                    .fetchByCustom1ImageId(custom1ImageId, retrieveFromCache);
333     }
334 
335     public static com.liferay.portlet.imagegallery.model.IGImage findByCustom2ImageId(
336         long custom2ImageId)
337         throws com.liferay.portal.SystemException,
338             com.liferay.portlet.imagegallery.NoSuchImageException {
339         return getPersistence().findByCustom2ImageId(custom2ImageId);
340     }
341 
342     public static com.liferay.portlet.imagegallery.model.IGImage fetchByCustom2ImageId(
343         long custom2ImageId) throws com.liferay.portal.SystemException {
344         return getPersistence().fetchByCustom2ImageId(custom2ImageId);
345     }
346 
347     public static com.liferay.portlet.imagegallery.model.IGImage fetchByCustom2ImageId(
348         long custom2ImageId, boolean retrieveFromCache)
349         throws com.liferay.portal.SystemException {
350         return getPersistence()
351                    .fetchByCustom2ImageId(custom2ImageId, retrieveFromCache);
352     }
353 
354     public static java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_U(
355         long groupId, long userId) throws com.liferay.portal.SystemException {
356         return getPersistence().findByG_U(groupId, userId);
357     }
358 
359     public static java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_U(
360         long groupId, long userId, int start, int end)
361         throws com.liferay.portal.SystemException {
362         return getPersistence().findByG_U(groupId, userId, start, end);
363     }
364 
365     public static java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_U(
366         long groupId, long userId, int start, int end,
367         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
368         throws com.liferay.portal.SystemException {
369         return getPersistence()
370                    .findByG_U(groupId, userId, start, end, orderByComparator);
371     }
372 
373     public static com.liferay.portlet.imagegallery.model.IGImage findByG_U_First(
374         long groupId, long userId,
375         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
376         throws com.liferay.portal.SystemException,
377             com.liferay.portlet.imagegallery.NoSuchImageException {
378         return getPersistence()
379                    .findByG_U_First(groupId, userId, orderByComparator);
380     }
381 
382     public static com.liferay.portlet.imagegallery.model.IGImage findByG_U_Last(
383         long groupId, long userId,
384         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
385         throws com.liferay.portal.SystemException,
386             com.liferay.portlet.imagegallery.NoSuchImageException {
387         return getPersistence()
388                    .findByG_U_Last(groupId, userId, orderByComparator);
389     }
390 
391     public static com.liferay.portlet.imagegallery.model.IGImage[] findByG_U_PrevAndNext(
392         long imageId, long groupId, long userId,
393         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
394         throws com.liferay.portal.SystemException,
395             com.liferay.portlet.imagegallery.NoSuchImageException {
396         return getPersistence()
397                    .findByG_U_PrevAndNext(imageId, groupId, userId,
398             orderByComparator);
399     }
400 
401     public static java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByF_N(
402         long folderId, java.lang.String name)
403         throws com.liferay.portal.SystemException {
404         return getPersistence().findByF_N(folderId, name);
405     }
406 
407     public static java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByF_N(
408         long folderId, java.lang.String name, int start, int end)
409         throws com.liferay.portal.SystemException {
410         return getPersistence().findByF_N(folderId, name, start, end);
411     }
412 
413     public static java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByF_N(
414         long folderId, java.lang.String name, int start, int end,
415         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
416         throws com.liferay.portal.SystemException {
417         return getPersistence()
418                    .findByF_N(folderId, name, start, end, orderByComparator);
419     }
420 
421     public static com.liferay.portlet.imagegallery.model.IGImage findByF_N_First(
422         long folderId, java.lang.String name,
423         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
424         throws com.liferay.portal.SystemException,
425             com.liferay.portlet.imagegallery.NoSuchImageException {
426         return getPersistence()
427                    .findByF_N_First(folderId, name, orderByComparator);
428     }
429 
430     public static com.liferay.portlet.imagegallery.model.IGImage findByF_N_Last(
431         long folderId, java.lang.String name,
432         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
433         throws com.liferay.portal.SystemException,
434             com.liferay.portlet.imagegallery.NoSuchImageException {
435         return getPersistence().findByF_N_Last(folderId, name, orderByComparator);
436     }
437 
438     public static com.liferay.portlet.imagegallery.model.IGImage[] findByF_N_PrevAndNext(
439         long imageId, long folderId, java.lang.String name,
440         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
441         throws com.liferay.portal.SystemException,
442             com.liferay.portlet.imagegallery.NoSuchImageException {
443         return getPersistence()
444                    .findByF_N_PrevAndNext(imageId, folderId, name,
445             orderByComparator);
446     }
447 
448     public static java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findAll()
449         throws com.liferay.portal.SystemException {
450         return getPersistence().findAll();
451     }
452 
453     public static java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findAll(
454         int start, int end) throws com.liferay.portal.SystemException {
455         return getPersistence().findAll(start, end);
456     }
457 
458     public static java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findAll(
459         int start, int end,
460         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
461         throws com.liferay.portal.SystemException {
462         return getPersistence().findAll(start, end, orderByComparator);
463     }
464 
465     public static void removeByUuid(java.lang.String uuid)
466         throws com.liferay.portal.SystemException {
467         getPersistence().removeByUuid(uuid);
468     }
469 
470     public static void removeByUUID_G(java.lang.String uuid, long groupId)
471         throws com.liferay.portal.SystemException,
472             com.liferay.portlet.imagegallery.NoSuchImageException {
473         getPersistence().removeByUUID_G(uuid, groupId);
474     }
475 
476     public static void removeByGroupId(long groupId)
477         throws com.liferay.portal.SystemException {
478         getPersistence().removeByGroupId(groupId);
479     }
480 
481     public static void removeByFolderId(long folderId)
482         throws com.liferay.portal.SystemException {
483         getPersistence().removeByFolderId(folderId);
484     }
485 
486     public static void removeBySmallImageId(long smallImageId)
487         throws com.liferay.portal.SystemException,
488             com.liferay.portlet.imagegallery.NoSuchImageException {
489         getPersistence().removeBySmallImageId(smallImageId);
490     }
491 
492     public static void removeByLargeImageId(long largeImageId)
493         throws com.liferay.portal.SystemException,
494             com.liferay.portlet.imagegallery.NoSuchImageException {
495         getPersistence().removeByLargeImageId(largeImageId);
496     }
497 
498     public static void removeByCustom1ImageId(long custom1ImageId)
499         throws com.liferay.portal.SystemException,
500             com.liferay.portlet.imagegallery.NoSuchImageException {
501         getPersistence().removeByCustom1ImageId(custom1ImageId);
502     }
503 
504     public static void removeByCustom2ImageId(long custom2ImageId)
505         throws com.liferay.portal.SystemException,
506             com.liferay.portlet.imagegallery.NoSuchImageException {
507         getPersistence().removeByCustom2ImageId(custom2ImageId);
508     }
509 
510     public static void removeByG_U(long groupId, long userId)
511         throws com.liferay.portal.SystemException {
512         getPersistence().removeByG_U(groupId, userId);
513     }
514 
515     public static void removeByF_N(long folderId, java.lang.String name)
516         throws com.liferay.portal.SystemException {
517         getPersistence().removeByF_N(folderId, name);
518     }
519 
520     public static void removeAll() throws com.liferay.portal.SystemException {
521         getPersistence().removeAll();
522     }
523 
524     public static int countByUuid(java.lang.String uuid)
525         throws com.liferay.portal.SystemException {
526         return getPersistence().countByUuid(uuid);
527     }
528 
529     public static int countByUUID_G(java.lang.String uuid, long groupId)
530         throws com.liferay.portal.SystemException {
531         return getPersistence().countByUUID_G(uuid, groupId);
532     }
533 
534     public static int countByGroupId(long groupId)
535         throws com.liferay.portal.SystemException {
536         return getPersistence().countByGroupId(groupId);
537     }
538 
539     public static int countByFolderId(long folderId)
540         throws com.liferay.portal.SystemException {
541         return getPersistence().countByFolderId(folderId);
542     }
543 
544     public static int countBySmallImageId(long smallImageId)
545         throws com.liferay.portal.SystemException {
546         return getPersistence().countBySmallImageId(smallImageId);
547     }
548 
549     public static int countByLargeImageId(long largeImageId)
550         throws com.liferay.portal.SystemException {
551         return getPersistence().countByLargeImageId(largeImageId);
552     }
553 
554     public static int countByCustom1ImageId(long custom1ImageId)
555         throws com.liferay.portal.SystemException {
556         return getPersistence().countByCustom1ImageId(custom1ImageId);
557     }
558 
559     public static int countByCustom2ImageId(long custom2ImageId)
560         throws com.liferay.portal.SystemException {
561         return getPersistence().countByCustom2ImageId(custom2ImageId);
562     }
563 
564     public static int countByG_U(long groupId, long userId)
565         throws com.liferay.portal.SystemException {
566         return getPersistence().countByG_U(groupId, userId);
567     }
568 
569     public static int countByF_N(long folderId, java.lang.String name)
570         throws com.liferay.portal.SystemException {
571         return getPersistence().countByF_N(folderId, name);
572     }
573 
574     public static int countAll() throws com.liferay.portal.SystemException {
575         return getPersistence().countAll();
576     }
577 
578     public static IGImagePersistence getPersistence() {
579         if (_persistence == null) {
580             _persistence = (IGImagePersistence)PortalBeanLocatorUtil.locate(IGImagePersistence.class.getName());
581         }
582 
583         return _persistence;
584     }
585 
586     public void setPersistence(IGImagePersistence persistence) {
587         _persistence = persistence;
588     }
589 
590     private static IGImagePersistence _persistence;
591 }